d14bbcf0a50472b11d6e400dd6fe41acfc9b3238
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * gst/gstclock.h:
4           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
5           field has moved to GstObject.
6
7 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
8
9         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
10         (gst_base_src_get_range), (gst_base_src_change_state):
11         Call unlock for live sources so that they can't get stuck in _create and
12         produce a buffer before they are set back to PLAYING.
13
14 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
15
16         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
17         (gst_queue_locked_dequeue):
18         Comment the segment-related code... in the PROPER function.
19         See #482147 and my commit from yesterday.
20
21 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
22
23         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
24         Also initialize the counter that calculates the first timestamp on a
25         buffer correctly for non-live sources.
26
27 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
28
29         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
30         Disable code that's breaking the current-time-level reporting.
31         See #482147
32
33 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
34
35         * docs/gst/gstreamer-sections.txt:
36         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
37         as they shouldn't show up. Fixes the docs build.
38
39 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
40         
41         * gst/gstinfo.h:
42         Add an explicit variable importation needed on VS6 (only for MSC_VER)
43         Define M_PI which is used in files which are including gstinfo.h. 
44         VS6 includes doesn't define it.
45         * win32/common/libgstbase.def:
46         * win32/common/libgstcontroller.def:
47         * win32/common/libgstreamer.def:
48         Add new exported functions and variables.
49         * win32/vs6/libgstcontroller.dsp:
50         * win32/vs6/libgstreamer.dsp:
51         Update the list of files to build.
52         
53 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
54
55         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
56
57         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
58         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
59         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
60         Improve debugging. Fixes #480858.
61
62 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
63
64         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
65
66         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
67         First patch of code cleanups, use the macros and right arguments in the
68         macros to signal and lock the queue. See #480858.
69
70 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
71
72         * gst/gstbus.c: (poll_func):
73         Improve debugging when dealing with _poll().
74
75 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
76
77         * gst/gstregistryxml.c:
78           Fix memory leak I introduced a few days ago.
79
80 2007-09-26  Michael Smith <msmith@fluendo.com>
81
82         * gst/gstbuffer.c: (gst_buffer_finalize):
83           Make it once again possible to free GstBuffers in the default
84           build.
85           The poisoning scribbles on parts of the miniobject we need in
86           order to free it.
87           Fixes #480341
88
89 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
90
91         * docs/gst/gstreamer-sections.txt:
92         * gst/gsttaglist.c:
93         * gst/gsttaglist.h:
94         API: add GST_TAG_COMPOSER, fixes #459809.
95
96 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
97
98         * gst/gstplugin.c:
99         * gst/gstplugin.h:
100         Add the 3-clause BSD license and the MIT/X11 license to the license
101         list. Fixes #479784.
102
103 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
104
105         * docs/faq/getting.xml:
106           Add Q+A about different GStreamer versions (#364056).
107
108 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
109
110         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
111         (gst_base_sink_event), (gst_base_sink_change_state):
112         Return correct gboolean from query function.
113
114 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
115
116         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
117         (gst_base_sink_event), (gst_base_sink_query),
118         (gst_base_sink_change_state):
119         Simplify latency query.
120         When not synchronizing, we can report latency without querying the peer
121         element.
122
123 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
124
125         * gst/gstobject.h:
126         * gst/gstvalue.c:
127         Fix small typos in the docs.
128
129 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
130
131         * docs/design/draft-latency.txt:
132         * docs/design/draft-push-pull.txt:
133         * docs/design/draft-tagreading.txt:
134         * docs/design/part-MT-refcounting.txt:
135         * docs/design/part-activation.txt:
136         * docs/design/part-block.txt:
137         * docs/design/part-element-source.txt:
138         * docs/design/part-events.txt:
139         * docs/design/part-gstbin.txt:
140         * docs/design/part-gstelement.txt:
141         * docs/design/part-gstobject.txt:
142         * docs/design/part-gstpipeline.txt:
143         * docs/design/part-messages.txt:
144         * docs/design/part-preroll.txt:
145         * docs/design/part-push-pull.txt:
146         * docs/design/part-qos.txt:
147         * docs/design/part-query.txt:
148         * docs/design/part-scheduling.txt:
149         * docs/design/part-seeking.txt:
150         * docs/design/part-segments.txt:
151         * docs/design/part-states.txt:
152         Documentation updates and typo fixes.
153
154 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
155
156         * plugins/elements/gstfakesink.c:
157           Add some debug text to error message to indicate that
158           we errored out on request.
159
160         * tools/gst-launch.c:
161           When the state change to PLAYING fails, check for an
162           error message on the bus and print it.
163
164 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
165
166         translated by: Jorge González González <aloriel@gmail.com>
167
168         * po/LINGUAS:
169         * po/es.po:
170           Added Spanish translation.
171
172 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
173
174         * plugins/elements/gstqueue.c: (gst_queue_push_one):
175         Fix printf arguments.
176
177 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
178
179         * tests/check/generic/states.c:
180           Improved state change unit test.
181
182 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
183
184         * gst/gstbin.h:
185           Move priv to the right place.
186
187         * gst/gstsystemclock.c:
188           Add FIXME: and improve log.
189
190         * tests/check/Makefile.am:
191         * tests/examples/manual/Makefile.am:
192           Work with all types of registries.
193
194 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
195
196         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
197         Don't unref the event after pushing it. Fixes #478401.
198
199 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
200
201         * .cvsignore:
202         * tests/examples/manual/.cvsignore:
203           Ignore registries in any format.
204
205 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
206
207         * gst/glib-compat-private.h:
208           Add compatibility macro for g_intern_string() for
209           GLib-2.8 (any reason we can't just bump the
210           requirement to at least 2.10?)
211
212         * gst/gstpadtemplate.h:
213         * gst/gstelementfactory.c:
214         * gst/gstregistryxml.c:
215         * gst/gstregistrybinary.c:
216           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
217           up the internal code accordingly.  This shouldn't be a problem, since
218           there is no reason external code could ever assume the string in such
219           a structure is dynamically allocated unless it did that itself;  the
220           use of g_strdup() is private to element factories.  The new code also
221           saves some memory by putting pad template name strings into the GLib
222           quark table instead of allocating them dynamically.
223           Declaring this field constant fixes warnings with g++-4.2 when using
224           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
225
226 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
227
228         * gst/gstelementfactory.c:
229           Release static caps. Fixes #475723.
230
231 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
232
233         * gst/gstinfo.c:
234         * gst/gstinfo.h:
235           Make some internal API take const gchar * instead of just
236           gchar * to avoid compiler warnings with g++-4.2.2 when
237           passing string constants (partially fixes #478092).
238
239 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
240
241         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
242         A latency query fails when one of the sinks fail.
243
244         * gst/gstelement.c: (gst_element_set_base_time):
245         Improve debugging.
246
247 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
248
249         * gst/gstbin.c: (gst_bin_continue_func):
250         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
251         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
252         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
253
254         Fix minor compilation warnings shown with Forte.
255
256 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
257
258         * plugins/elements/gstqueue.c: (apply_buffer),
259         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
260         Measure queue level based on the diff between head and tail timestamps
261         even when pushing the first buffer.
262
263 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
264
265         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
266         (gst_base_sink_event), (gst_base_sink_change_state):
267         Sinks that don't preroll can always be queried for the latency.
268         Don't post ASYNC start when we are not async.
269
270 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
271
272         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
273         (gst_queue_handle_sink_event), (gst_queue_chain),
274         (gst_queue_push_one), (gst_queue_handle_src_query),
275         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
276         * plugins/elements/gstqueue.h:
277         When downstream returns UNEXPECTED from pushing a buffer, don't try to
278         push more buffers but allow pushing of EOS and NEWSEGMENT.
279         Add some more debug info here and there. Fixes #476514.
280
281 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
282
283         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
284         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
285         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
286         (gst_base_sink_set_flushing), (gst_base_sink_query),
287         (gst_base_sink_change_state):
288         Latency query is allowed after we are prerolled. Introduce a new flag
289         for this and stop abusing other variables.
290
291 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
292
293         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
294         Push OOB events downstream when we get them in send_event. This allows
295         the application to insert events in the pipeline.
296         Add some more comments.
297
298 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
299
300         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
301         (do_bin_latency), (gst_bin_change_state_func):
302         * gst/gstpipeline.c: (gst_pipeline_change_state):
303         Move latency query from GstPipeline to GstBin so that we can also
304         use it when async-handling is enabled on bins.
305
306 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
307
308         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
309         (gst_base_src_do_sync), (gst_base_src_change_state):
310         Update docs.
311         Clean up the timestamping and syncing code for pseudo live sources.
312
313 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
314
315         Patch by: Steve Fink  <sphink gmail com>
316
317         * docs/manual/appendix-checklist.xml:
318           Mention less -R switch in the section about debug output (#474055).
319
320 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
321
322         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
323         Queue can latency to the pipeline up to the configured max size in time.
324         Report this fact in the latency query.
325
326 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
327
328         Patch by: Sebastien Moutte <sebastien at moutte dot net>
329
330         * libs/gst/controller/gstinterpolation.c:
331         * libs/gst/controller/gstlfocontrolsource.c:
332         Use gst_guint64_to_gdouble() when converting from a uint64 or
333         GstClockTime to double to fix the build on win32. Fixes #474371.
334
335 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
336
337         * gst/gstbuffer.c: (gst_buffer_finalize):
338         Implement poisoning for GstBuffer if --enable-poisoning is specified.
339         When finalizing a buffer the complete struct is filled with 0xff,
340         thus making a use of the buffer after the final unref impossible.
341
342 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
343
344         * tests/check/libs/controller.c: (GST_START_TEST):
345         Use fail_unless_equals_int(a, b) instead of
346         fail_unless_equals (a == b) to get better output on failures.
347
348 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
349
350         * tests/check/gst/gsturi.c:
351           Also check for the other file URI variant on win32.
352
353 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
354
355         * gst/gsturi.c: (gst_uri_get_location):
356           If there's no hostname, we want to return 'c:/foo/bar.txt'
357           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
358
359         * tests/check/gst/gsturi.c:
360           Unit test for the above and a few more things.
361
362 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
363
364         * docs/design/part-live-source.txt:
365         Add docs on how live sources should timestamp.
366
367         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
368         Add some more debug info.
369         For subclasses that are live and like to sync, add aditional startup
370         latency to sync time and timestamps so that we timstamp according to the
371         design doc.
372
373 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
374
375         * gst/gstbuffer.c:
376           Also do a g_type_class_ref() for the subbuffer type in
377           the init function.
378
379 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
380
381         * docs/gst/gstreamer-sections.txt:
382         * gst/gstpad.c: (gst_pad_peer_query):
383         * gst/gstpad.h:
384         Add function to perform a query on the peer of a pad.
385         API: gst_pad_peer_query()
386
387 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
388
389         * tests/check/gst/gstsystemclock.c:
390           Cleanup the test a little (use gst-logging and not g_message). Improve
391           test to check if a wait reached the target.
392
393 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
394
395         * docs/libs/gstreamer-libs-sections.txt:
396           Add new API to docs and fix the build.
397
398 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
399
400         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
401         (gst_base_src_init), (gst_base_src_set_do_timestamp),
402         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
403         (gst_base_src_get_property), (gst_base_src_do_sync):
404         * libs/gst/base/gstbasesrc.h:
405         Add property to make the basesrc timestamp buffers based on the current
406         running time.
407         API: GstBaseSrc::do-timestamp
408         API: gst_base_src_set_do_timestamp()
409         API: gst_base_src_get_do_timestamp()
410
411 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
412
413         * docs/random/release:
414           Really make sure translations are up-to-date before
415           a release (#465010).
416
417 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
418
419         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
420         Always destroy the timer, also in error cases.
421
422 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
423
424         * docs/manual/highlevel-xml.xml:
425         Fix XML example code. Fixes #472714.
426
427 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
428
429         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
430         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
431         (gst_base_sink_query):
432         Protect eos and have_preroll with the OBJECT lock so we don't need to
433         take the PREROLL lock when querying the latency. Fixes #473846.
434
435 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
436
437         * gst/gstelement.c:
438           Give some log-messages a category.
439
440 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
441
442         * gst/gststructure.c:
443         (gst_structure_fixate_field_nearest_fraction):
444         Fix fraction list fixation code. Take the fraction with the smallest
445         difference with the target instead of the first one in the list.
446
447         * tests/check/gst/gststructure.c: (GST_START_TEST),
448         (gst_structure_suite):
449         Added test to verify correct fraction list fixation behaviour.
450
451 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
452
453         * win32/common/libgstreamer.def:
454           Export gst_bus_add_signal_watch too.
455
456 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
457
458         * docs/libs/gstreamer-libs-sections.txt:
459         Add new methods to docs.
460
461         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
462         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
463         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
464         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
465         * libs/gst/base/gstbasesink.h:
466         Add ts-offset property to fine-tune the synchronisation.
467         API: GstBaseSink::ts-offset property
468         API: gst_base_sink_set_ts_offset()
469         API: gst_base_sink_get_ts_offset()
470
471 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
472
473         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
474         (gst_base_sink_init), (gst_base_sink_set_sync),
475         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
476         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
477         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
478         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
479         (gst_base_sink_get_property), (gst_base_sink_change_state):
480         * libs/gst/base/gstbasesink.h:
481         Add async property to instruct the sink never to inform the parent about
482         ASYNC state changes, update docs.
483         Check argument with g_return_* for the public functions.
484         API: GstBaseSink::async property
485         API: gst_base_sink_set_async_enabled()
486         API: gst_base_sink_is_async_enabled()
487
488 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
489
490         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
491         Improve debugging.
492
493         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
494         (gst_base_src_default_query), (gst_base_src_wait),
495         (gst_base_src_do_sync), (gst_base_src_change_state):
496         Rearrange some code so that we can add support for measuring the 
497         startup latency.
498
499 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
500
501         * docs/random/ensonic/dynlink.txt:
502           More thoughs on this.
503
504         * plugins/elements/gstcapsfilter.c:
505           Add bugzilla ticket number to FIXME comment.
506
507 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
508
509         * docs/design/part-TODO.txt:
510         * docs/design/part-block.txt:
511         Update some docs.
512
513 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
514
515         * gst/Makefile.am:
516           Revert patch which uses $(gst_headers) instead of $^ because it
517           breaks make dist.
518
519 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
520
521         * tests/check/gst/gstbin.c: (GST_START_TEST):
522           Fix leaks in the new unit test.
523
524 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
525
526         * gst/gst.c:
527           Don't use GST_INFO before the debug system is actually initialised
528           (shouldn't do any harm, but won't print anything either, so we can
529           just as well remove it).
530
531         * gst/gstinfo.h:
532           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
533           compilers that don't support variadic macros (such as MSVC), should
534           check for debug_level <= __gst_debug_min as well, since that's the
535           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
536           inline helper functions. Should improve performance a bit, but also
537           makes sure uses of GST_INFO et.al are ignored if the debugging
538           system isn't initialised yet (instead of printing an assertion
539           failure).
540
541 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
542
543         patch by: David Nečas <yeti@physics.muni.cz>
544
545         * gst/Makefile.am:
546           Replace some non portable makefile constructs.
547
548 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
549
550         * common/gtk-doc-plugins.mak:
551           Grrrrr. Don't remove the types file on make clean.
552
553 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
554
555         * tools/gst-launch.1.in:
556         Add colorspace to example pipeline. Fixes #458274.
557
558 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
559
560         * docs/random/release:
561           The release manager should run 'make download-po' before making a
562           release to make sure translations are up-to-date.
563
564         * po/LINGUAS:
565         * po/be.po:
566         * po/pl.po:
567         * po/rw.po:
568           Add some new translations.
569
570 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
571
572         * tools/gst-launch.c: (event_loop), (main):
573         Don´t try to do any state management when a live pipeline posts
574         buffering messages.
575         Also make the buffering string translatable.
576
577 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
578
579         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
580         (bin_handle_async_start), (gst_bin_handle_message_func):
581         Improve debugging.
582         When adding elements, insert messages into the bus of the newly added
583         element and make sure the element is the source of the message. This
584         allows the parent bin to intercept the message and do the
585         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
586         messages to the app (which is not allowed).
587         Update some docs.
588
589         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
590         Fix testsuite so that is does not work around messages that should not
591         have been posted in the first place.
592
593 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
594
595         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
596         (update_degree), (gst_bin_sort_iterator_next):
597         Fix annoying bug in the sorted iterator where a sink that is not really
598         a sink (when it has downstream links) screwed up the iterator.
599
600         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
601         Unit test to verify the fix.
602
603 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
604
605         * gst/gstmessage.h:
606         Add some more docs for the messages.
607
608         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
609         (gst_base_sink_query):
610         Add some more debugging.
611
612         * tools/gst-launch.c: (event_loop):
613         When interrupting, don't try to set pipeline to PAUSED twice.
614
615 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
616
617         
618         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
619         (bin_handle_async_start), (gst_bin_handle_message_func):
620         Move ASYNC_START message posting to where it belongs, similar to
621         async_done. 
622         Don't post ASYNC_START when we are in error. 
623         Post ASYNC_START when we added an async element to a bin.
624
625 2007-08-14  Julien MOUTTE  <julien@moutte.net>
626
627         * gst/gstindex.c: (gst_index_add_association): Fix index entry
628         generation from vargs. Fixes #466595.
629
630 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
631
632         * gst/gstbin.c: (gst_bin_element_set_state):
633         Always change the state of a NO_PREROLL element even if it has ASYNC
634         elements inside (in case of a bin).
635
636         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
637         Unit test for this case.
638
639 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
640
641         * libs/gst/check/gstbufferstraw.c:
642         * libs/gst/check/gstcheck.h:
643         * libs/gst/controller/gstcontroller.c:
644         * libs/gst/controller/gstcontrolsource.h:
645         * libs/gst/controller/gstlfocontrolsource.h:
646         * plugins/elements/gstcapsfilter.h:
647         * plugins/elements/gstfdsink.h:
648         * plugins/elements/gstfdsrc.h:
649           Add more missing docs.
650
651 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
652
653         * gst/gststructure.c:
654         Add Since tag to docs.
655
656 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
657
658         * docs/gst/gstreamer-sections.txt:
659         * gst/gststructure.c: (gst_structure_get_uint):
660         * gst/gststructure.h:
661         Add function to get uint from a structure.
662         API: gst_structure_get_uint()
663
664 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
665
666         * gst/gstcaps.c: (gst_caps_set_simple_valist),
667         (gst_caps_intersect):
668         Fix proper check for simple caps.
669
670 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
671
672         * docs/gst/Makefile.am:
673         * docs/libs/Makefile.am:
674           Remove cruft and do some cleanups.
675
676         * docs/gst/gstreamer-docs.sgml:
677         * docs/libs/gstreamer-libs-docs.sgml:
678           Prepare for comming gtkdoc features (rebase against online docs).
679
680 2007-08-10  Michael Smith <msmith@fluendo.com>
681
682         * docs/gst/gstreamer-sections.txt:
683           Add gst_registry_add_path to docs.
684
685 2007-08-10  Michael Smith <msmith@fluendo.com>
686
687         * gst/gstregistry.h:
688           Add gst_registry_add_path, which was missing from this header.
689
690 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
691
692         * libs/gst/controller/gstlfocontrolsource.c:
693           Printf format fix.
694
695 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
696
697         * libs/gst/base/gstbasesink.c:
698           Don't send an async_start message during downwards state change if 
699           target state is less than READY
700
701 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
702
703         translated by: Gabor Kelemen <kelemeng@gnome.hu>
704
705         * po/LINGUAS:
706         * po/hu.po:
707           Added Hungarian translation.
708
709 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
710
711         * po/fi.po:
712         * po/it.po:
713         * po/nl.po:
714         * po/sv.po:
715         * po/uk.po:
716           Updated translations.
717
718 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
719
720         * libs/gst/controller/Makefile.am:
721         Dist gstlfocontrolsourceprivate.h
722
723 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
724
725         * docs/libs/gstreamer-libs.types:
726         Don't register the enum type gst_lfo_waveform_get_type() in the
727         .types file - only GObject derived types belong.
728
729 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
730
731         Patch by: <arenevier at fdn dot fr>
732
733         * gst/gstbuffer.h:
734         Remove comma from last element in enum to avoid compile errors when
735         using -pendantic. Fixes #464366.
736
737 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
738
739         * docs/design/part-TODO.txt:
740         Add some more TODO items
741
742         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
743         Improve debugging.
744
745         * gst/gstcaps.c: (gst_caps_intersect):
746         Optimize trivial intersection case between identical caps pointers.
747
748         * gst/gstelement.c: (gst_element_continue_state),
749         (gst_element_set_state_func):
750         * gst/gstpad.c:
751         Fix spelling and grammar mistakes.
752
753 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
754
755         * po/POTFILES.in:
756         * po/POTFILES.skip:
757           Update POTFILES. Fixes #461599.
758
759 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
760
761         * gst/gst.c:
762         Fix confusing typo in debug output.
763
764 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
765
766         reviewed by: Stefan Kost <ensonic@users.sf.net>
767
768         * libs/gst/controller/Makefile.am:
769         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
770         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
771         (gst_lfo_control_source_new),
772         (gst_lfo_control_source_set_waveform),
773         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
774         (gst_lfo_control_source_finalize),
775         (gst_lfo_control_source_dispose),
776         (gst_lfo_control_source_set_property),
777         (gst_lfo_control_source_get_property),
778         (gst_lfo_control_source_class_init):
779         * libs/gst/controller/gstlfocontrolsource.h:
780         * libs/gst/controller/gstlfocontrolsourceprivate.h:
781         API: Add GstLFOControlSource, a control source that gives values
782         for specific timestamps based on several periodic waveforms.
783         Fixes #459717.
784
785         * tests/check/libs/controller.c: (GST_START_TEST),
786         (gst_controller_suite):
787         * docs/libs/gstreamer-libs-docs.sgml:
788         * docs/libs/gstreamer-libs-sections.txt:
789         * docs/libs/gstreamer-libs.types:
790         Add documentation and unit tests for GstLFOControlSource.
791
792 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
793
794         * configure.ac:
795         Back to CVS
796
797 === release 0.10.14 ===
798
799 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
800
801         * configure.ac:
802           releasing 0.10.14, "Breathing Vacuum"
803
804 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
805
806         * gst/gstelement.c: (gst_element_class_set_details_simple):
807         * gst/gstelement.h:
808           Make strings passed to gst_element_class_set_details_simple()
809           constant, as they should be (#462752).
810
811 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
812
813         * gst/gstbin.c: (gst_bin_change_state_func),
814         (bin_handle_async_done), (gst_bin_handle_message_func):
815         Don't forget about the fact that some element went ASYNC even after a
816         resync. This makes us post the ASYNC_DONE message correctly.
817         Fixes #462558.
818
819 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
820
821         * gst/gstregistry.c: (gst_registry_add_feature):
822         When replacing an existing feature in the registry, make sure to
823         continue holding a reference until we've replaced the name string
824         within our feature hash table. Make sure to use g_hash_table_replace
825         instead of g_hash_table_insert to ensure the new name string is used
826         as a key instead of the old one that we're about to free.
827         Fixes: #462085
828
829 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
830
831         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
832         (gst_plugin_feature_set_name):
833         Revert patch from #459466 until after the release and we can work
834         out exactly what the problem is (if any).
835
836 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
837
838         * docs/gst/gstreamer-sections.txt:
839         * gst/gsttaglist.c:
840         * gst/gsttaglist.h:
841           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
842
843 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
844
845         * docs/libs/Makefile.am:
846         Include our build-prefix libs and includes before the generic ones to
847         avoid linking against the installed libs when we want the build-tree
848         ones.
849
850 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
851
852         Patch by: Steve Fink  <sphink gmail com>
853
854         * docs/pwg/building-testapp.xml:
855           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
856           if people try to build or install the example from the plugin
857           template against a GStreamer from package using the configure
858           defaults.
859
860 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
861
862         Patch by: Steve Fink  <sphink gmail com>
863
864         * tools/gst-inspect.1.in:
865           Document --print-all and --print-plugin-auto-install-info command
866           line options in man page.
867
868 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
869
870         * docs/gst/gstreamer-sections.txt:
871         Add docs for new api function.
872
873 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
874
875         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
876         * gst/gstelementfactory.h:
877         API: gst_element_factory_has_interface()
878         Added method to check if an element factory implements a named
879         interface.
880
881 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
882
883         * configure.ac:
884         * docs/gst/gstreamer.types.in:
885           Another conditional doc check.
886
887         * gst/gstmessage.c:
888         * gst/gstparamspecs.h:
889         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
890         * gst/gstvalue.c:
891         * gst/gstxml.h:
892           API-doc fixes.
893
894 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
895
896         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
897         (gst_registry_binary_load_feature),
898         (gst_registry_binary_load_plugin),
899         (gst_registry_binary_read_cache):
900           Print error just once and with additional info.
901
902 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
903
904         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
905         (helper_find_suggest), (helper_find_get_length),
906         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
907         (gst_type_find_helper_for_buffer):
908           Cleanup the typefindhelper code and add private doc comments.
909
910 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
911
912         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
913         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
914         Fix capsfilter for cases where the caps set on capsfilter will provide
915         additional information.
916         Fixes #449197
917
918 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
919
920         * gst/gsttypefindfactory.c:
921           Fix docs that recommened wrong function to use.
922
923 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
924
925         * tools/gst-inspect.c: (print_plugin_features):
926           Also give media-type for typefinders in element output.
927
928 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
929
930         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
931         (gst_registry_remove_features_for_plugin_unlocked),
932         (gst_registry_add_feature), (gst_registry_remove_feature),
933         (gst_registry_lookup_feature_locked):
934         * gst/gstregistry.h:
935           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
936           Fixes #459501.
937
938 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
939
940         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
941         (gst_plugin_feature_set_name):
942           Avoid double memory usage for pluginfeature names. Fixes #459466.
943
944 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
945
946         * gst/gstpad.h:
947           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
948           driving the pipeline may need to explicitly check for NOT_LINKED as
949           well, since IS_FATAL doesn't cover that.
950
951 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
952
953         * docs/pwg/advanced-types.xml:
954           Fix typo and duplicate entry in video formats list.
955
956 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
957
958         * libs/gst/controller/gstinterpolation.c:
959         Also round to the nearest int when using cubic interpolation.
960
961 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
962
963         * libs/gst/controller/gstinterpolation.c:
964         When linearly interpolating integer types, round to the nearest int
965         by adding 0.5. Don't do it for float/double types.
966         Fixes the failing controller test on my machine, which is somehow
967         rounding differently than on the buildbots.
968
969 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
970
971         * tools/gst-plot-timeline.py:
972           Better log parsing (categories can have -). Adjust text vs. lines, so
973           that they span the same y-range.        
974
975 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
976
977         * docs/random/ensonic/audiobaseclasses.txt:
978         * docs/random/ensonic/dynlink.txt:
979         * docs/random/ensonic/profiling.txt:
980           Save my thoughts.
981
982         * docs/random/moving-plugins:
983           Add note to use g_assert type macros.
984
985 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
986
987         * configure.ac:
988         * libs/gst/check/Makefile.am:
989           Add libm check as we use in for plugins.
990
991 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
992
993         * gst/gstbin.c: (gst_bin_continue_func):
994         Check that the state_cookie hasn't changed since the continue_func
995         was scheduled. Avoids problems where the state changes back to
996         something it shouldn't be because it was changed in the meantime.
997
998 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
999
1000         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1001         (gst_registry_binary_save_string),
1002         (gst_registry_binary_save_pad_template),
1003         (gst_registry_binary_save_feature),
1004         (gst_registry_binary_save_plugin),
1005         (gst_registry_binary_load_feature),
1006         (gst_registry_binary_load_plugin),
1007         (gst_registry_binary_read_cache):
1008           Fix memory leak. Be less verbose in the log.
1009
1010 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1011
1012         * tests/check/elements/.cvsignore:
1013         Add file to cvsignore as commanded.
1014
1015 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1016
1017         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1018         (mq_dummypad_event), (run_output_order_test):
1019         Use a GStaticMutex to protect all cases where libcheck
1020         fail_if/fail_unless macros might be called from multiple threads
1021         simultaneously to avoid errors like:
1022           "check_pack.c:107: :-1081725400:Bad message type arg"
1023
1024 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1025
1026         * tests/check/pipelines/stress.c: (GST_START_TEST):
1027         Make sure we set the pipeline back to the NULL state before
1028         dropping our final reference.
1029
1030 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1031
1032         * tests/check/elements/tee.c: (GST_START_TEST):
1033         Make the tee stress-test a little less stressful so it doesn't just
1034         time out on slow-machines, and remove a small race when it's starting 
1035         up by adding a get_state() call.
1036
1037 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
1038
1039         * gst/gst.c:
1040           Avoid reading registry twice on startup. Fixes #457322.
1041
1042 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1043
1044         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1045         * pkgconfig/gstreamer-check.pc.in:
1046         Substitute the CFLAGS for libcheck into our .pc file too so that
1047         dependent modules will pick it up properly if libcheck is installed
1048         into some other prefix.
1049
1050 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1051
1052         * configure.ac:
1053         Revert the pkg-config check for libcheck, since it pulls in the
1054         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1055         a proper solution, either from the check project, or something else.
1056
1057 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
1058
1059         * configure.ac:
1060           Use pkg-config to locate check.
1061
1062 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
1063
1064         * gst/gsttaglist.c:
1065           Fix doc syntax.
1066
1067         * gst/gstutils.c:
1068         * gst/gstutils.h:
1069           Add deprecation guards.
1070
1071         * libs/gst/base/gstcollectpads.h:
1072           Don't document object (this is implicitly private).
1073
1074 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
1075
1076         * gst/gststructure.c: (gst_structure_parse_value):
1077           When deserialising foo=bar without a type cast, check if it's a
1078           boolean before falling back to a string type, otherwise things like
1079           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1080           because the filtercaps end up having a signed=(string)true field,
1081           which causes problems later when intersection caps.
1082
1083         * tests/check/gst/gststructure.c: (GST_START_TEST):
1084           Add a unit test for this.
1085
1086 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
1087
1088         Reviewed by: Stefan Kost <ensonic@users.sf.net>
1089
1090         * libs/gst/controller/Makefile.am:
1091         * libs/gst/controller/gstcontroller.c:
1092         (gst_controlled_property_add_interpolation_control_source),
1093         (gst_controlled_property_new), (gst_controlled_property_free),
1094         (gst_controller_find_controlled_property),
1095         (gst_controller_new_valist), (gst_controller_new_list),
1096         (gst_controller_new), (gst_controller_remove_properties_valist),
1097         (gst_controller_remove_properties_list),
1098         (gst_controller_remove_properties),
1099         (gst_controller_set_property_disabled),
1100         (gst_controller_set_disabled), (gst_controller_set_control_source),
1101         (gst_controller_get_control_source), (gst_controller_get),
1102         (gst_controller_sync_values), (gst_controller_get_value_array),
1103         (_gst_controller_dispose), (gst_controller_get_type),
1104         (gst_controlled_property_set_interpolation_mode),
1105         (gst_controller_set), (gst_controller_set_from_list),
1106         (gst_controller_unset), (gst_controller_unset_all),
1107         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1108         * libs/gst/controller/gstcontroller.h:
1109         * libs/gst/controller/gstcontrollerprivate.h:
1110         * libs/gst/controller/gstcontrolsource.c:
1111         (gst_control_source_class_init), (gst_control_source_init),
1112         (gst_control_source_get_value),
1113         (gst_control_source_get_value_array), (gst_control_source_bind):
1114         * libs/gst/controller/gstcontrolsource.h:
1115         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1116         (gst_object_get_control_source):
1117         * libs/gst/controller/gstinterpolation.c:
1118         (gst_interpolation_control_source_find_control_point_node),
1119         (gst_interpolation_control_source_get_first_value),
1120         (_interpolate_none_get), (interpolate_none_get),
1121         (interpolate_none_get_boolean_value_array),
1122         (interpolate_none_get_enum_value_array),
1123         (interpolate_none_get_string_value_array),
1124         (_interpolate_trigger_get), (interpolate_trigger_get),
1125         (interpolate_trigger_get_boolean_value_array),
1126         (interpolate_trigger_get_enum_value_array),
1127         (interpolate_trigger_get_string_value_array):
1128         * libs/gst/controller/gstinterpolationcontrolsource.c:
1129         (gst_control_point_free), (gst_interpolation_control_source_reset),
1130         (gst_interpolation_control_source_new),
1131         (gst_interpolation_control_source_set_interpolation_mode),
1132         (gst_interpolation_control_source_bind),
1133         (gst_control_point_compare), (gst_control_point_find),
1134         (gst_interpolation_control_source_set_internal),
1135         (gst_interpolation_control_source_set),
1136         (gst_interpolation_control_source_set_from_list),
1137         (gst_interpolation_control_source_unset),
1138         (gst_interpolation_control_source_unset_all),
1139         (gst_interpolation_control_source_get_all),
1140         (gst_interpolation_control_source_get_count),
1141         (gst_interpolation_control_source_init),
1142         (gst_interpolation_control_source_finalize),
1143         (gst_interpolation_control_source_dispose),
1144         (gst_interpolation_control_source_class_init):
1145         * libs/gst/controller/gstinterpolationcontrolsource.h:
1146         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1147         API: Refactor GstController into the core controller which can take
1148         a GstControlSource for providing actual values for timestamps.
1149         Implement a interpolation control source and use this for backward
1150         compatibility, deprecate a bunch of functions that are now handled
1151         by GstControlSource or GstInterpolationControlSource.
1152         Make it possible to disable the controller completely or only for
1153         specific properties. Fixes #450711.
1154         * docs/libs/gstreamer-libs-docs.sgml:
1155         * docs/libs/gstreamer-libs-sections.txt:
1156         * docs/libs/gstreamer-libs.types:
1157         Add new functions and classes to the docs.
1158         * tests/check/libs/controller.c: (GST_START_TEST),
1159         (gst_controller_suite):
1160         * tests/examples/controller/audio-example.c: (main):
1161         Port unit test and example to the new API and add some new
1162         unit tests.
1163
1164 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
1165
1166         Patch by: Mark Nauwelaerts <manauw at skynet be>
1167
1168         * plugins/elements/gstmultiqueue.c:
1169         (gst_multi_queue_get_internal_links), (apply_buffer),
1170         (single_queue_overrun_cb), (gst_single_queue_new):
1171         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1172         the pipeline layout can be tracked correctly. Fixes #453732.
1173
1174 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
1175
1176         * docs/gst/Makefile.am:
1177         * docs/libs/Makefile.am:
1178         * docs/plugins/Makefile.am:
1179           Simplify --extra-dir as gtkdoc scans recursively.
1180
1181 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1182
1183         * tools/gst-launch.c: (main):
1184         When we got an error, there is no point in waiting for preroll when
1185         shutting down.
1186
1187 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1188
1189         * plugins/elements/gsttee.c: (gst_tee_base_init),
1190         (gst_tee_request_new_pad), (gst_tee_release_pad),
1191         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1192         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1193         (gst_tee_chain):
1194         Be a lot smarter when deciding what srcpad to use for proxying
1195         the buffer_alloc. Also handle pad added/removed when doing so.
1196         Fixes #357959.
1197         Keep track of what pads we already pushed on in case we have pads
1198         added/removed while pushing. Fixes #374639 
1199
1200         * tests/check/Makefile.am:
1201         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1202         (tee_suite):
1203         Added unit test for pad resync.
1204
1205 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1206
1207         * po/nl.po:
1208         * po/sv.po:
1209           Updated translations.
1210
1211 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1212
1213         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1214
1215         * po/LINGUAS:
1216         * po/fi.po:
1217           Added new Finnish translation.
1218
1219 2007-06-28  Wim Taymans  <wim@fluendo.com>
1220
1221         * plugins/elements/gstmultiqueue.c: (apply_buffer),
1222         (single_queue_overrun_cb):
1223         When figuring out when a queue is filled, use our internal time estimate
1224         based on segments, just like check_full does.
1225
1226 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
1227
1228         * gst/gstminiobject.c: (gst_mini_object_get_type):
1229           Remove 3 do-nothing methods.
1230
1231 2007-06-27  Wim Taymans  <wim@fluendo.com>
1232
1233         Patch by: Tim Angus <tim at ngus dot net>
1234
1235         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1236         (gst_capsfilter_set_property):
1237         Take a reference instead of a copy when setting "caps".
1238         Fix documentation to clarify this behaviour. Fixes #449414.
1239
1240 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
1241
1242         * gst/gstindexfactory.c: (gst_index_factory_get_type):
1243         * gst/gstplugin.c: (gst_plugin_init):
1244         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1245         * gst/gstquery.c: (gst_query_get_type):
1246         * gst/gstregistry.c: (gst_registry_init):
1247         * gst/gsturi.c: (gst_uri_handler_base_init):
1248           Remove empty instance_init() functions to save relocs and lessen the
1249           noise. Remove some of the function prototypes that are doubled by
1250           G_DEFINE_TYPE.
1251           
1252 2007-06-27  Wim Taymans  <wim@fluendo.com>
1253
1254         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1255
1256         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1257         Add peer and direction in the XML serialisation of ghostpads.
1258         Fixes #449226.
1259
1260 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
1261
1262         * configure.ac:
1263           Preserve useful information, thanks Tim.
1264
1265 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
1266
1267         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1268         (gst_single_queue_flush), (apply_segment), (apply_buffer),
1269         (gst_single_queue_push_one), (gst_multi_queue_loop),
1270         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1271         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1272         (compute_high_id), (gst_single_queue_new):
1273         * plugins/elements/gstmultiqueue.h:
1274         Take the multiqueue lock when updating the fill level so we don't get
1275         confused. 
1276
1277         After applying a buffer or event on the src pad segment, make sure to
1278         call gst_data_queue_limits_changed() to get the data queue to unblock
1279         and check the filled state again.
1280         
1281         Rework the not-linked pad handling so the logic is that not-linked 
1282         pads can push as fast as they like, but only so they never get 
1283         ahead of any linked pads.
1284
1285         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1286         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1287         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1288
1289         Add a test to check that not-linked pads always stay behind
1290         linked pads.
1291
1292         Fixes: #430682
1293
1294 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
1295
1296         * docs/random/release:
1297           Some updates to the release procedure.
1298
1299 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
1300
1301         * gst/gstelementfactory.c: (__gst_element_details_clear):
1302           Microoptimization that saves stunning 80 bytes.
1303
1304 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
1305
1306         * docs/plugins/gstreamer-plugins.args:
1307         * docs/plugins/inspect/plugin-coreelements.xml:
1308         * docs/plugins/inspect/plugin-coreindexers.xml:
1309           Update docs with caps info.
1310
1311 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1312
1313         * po/it.po:
1314           Updated Italian translation.
1315
1316 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1317
1318         * ChangeLog:
1319         * po/vi.po:
1320           Update Vietnamese translations.
1321
1322 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1323
1324         * libs/gst/base/gstbasesink.c:
1325           Remove unused signal enum.
1326
1327 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
1328
1329         * docs/gst/gstreamer-sections.txt:
1330         * gst/gstelement.c:
1331         * gst/gstutils.c: (gst_type_register_static_full):
1332         Beef up and include the docs for gst_type_register_static_full and
1333         gst_element_class_set_details_simple and add the API keyword
1334         in the ChangeLog.
1335
1336 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
1337
1338         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1339         (update_time_level), (gst_single_queue_push_one),
1340         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1341         (single_queue_overrun_cb), (single_queue_underrun_cb),
1342         (single_queue_check_full):
1343         Fix setting max-* properties after adding queues.
1344         Use IS_FILLED for checking visible items.
1345         Signal overrun if multiple queues overrun.
1346         Add extra debug output.
1347         Patch by: Wim Taymans <wim@fluendo.com>
1348
1349 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
1350
1351         * gst/gstelement.c: (gst_element_class_set_details_simple):
1352         * gst/gstelement.h:
1353         * gst/gstutils.c: (gst_type_register_static_full):
1354         * gst/gstutils.h:
1355         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1356         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1357         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1358         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1359         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1360         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1361         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1362         * plugins/elements/gstidentity.c: (gst_identity_base_init):
1363         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1364         * plugins/elements/gstqueue.c: (gst_queue_base_init),
1365         (apply_buffer), (gst_queue_chain):
1366         * plugins/elements/gsttee.c: (gst_tee_base_init):
1367         * plugins/elements/gsttypefindelement.c:
1368         (gst_type_find_element_base_init),
1369         (gst_type_find_element_class_init):
1370           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1371           API: add gst_type_register_static_full
1372           API: add gst_element_class_set_details_simple
1373
1374 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1375
1376         * docs/pwg/advanced-types.xml:
1377           Fix typo in iana.org URI.
1378
1379 2007-06-19  Andy Wingo  <wingo@pobox.com>
1380
1381         * tests/check/pipelines/simple-launch-lines.c
1382         (test_state_change_returns): Enable pull-mode tests now that
1383         basesink has been fixed.
1384
1385         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
1386         Changed from gst_base_sink_is_prerolled, reversing the sense of
1387         the return value. Returns FALSE also if the sink is in pull mode,
1388         in which case it needs no preroll.
1389         (gst_base_sink_query, gst_base_sink_change_state): Update for
1390         needs_preroll change.
1391         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
1392         chaining up, in which we return SUCCESS directly if we activated
1393         in pull mode instead of ASYNC. Involves countering an async_start
1394         message sent before chaining up; not sure if this is correct, in
1395         an ideal world we only send async-start when activating in push
1396         mode.
1397
1398         * tests/check/pipelines/simple-launch-lines.c
1399         (test_state_change_returns): New test, partially disabled until
1400         basesink is fixed.
1401
1402 2007-06-19  Wim Taymans  <wim@fluendo.com>
1403
1404         * plugins/elements/gstmultiqueue.c: (apply_buffer),
1405         (gst_multi_queue_sink_event):
1406         Fix event leak.
1407
1408 2007-06-19  Wim Taymans  <wim@fluendo.com>
1409
1410         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1411         (gst_bin_change_state_func), (bin_push_state_continue),
1412         (bin_handle_async_start), (bin_handle_async_done),
1413         (gst_bin_handle_message_func):
1414         Move the common code for posting state-change messages into
1415         one function.
1416         Broadcast the state signal after we posted the messages.
1417         Mark the bin as busy when it's doing a state-change.
1418         Make sure async-start/done messages don't interfere with the bin's
1419         state when it's busy.
1420         After the state change, let the bin check which elements completed the
1421         state change while it was busy so that it can update its state.
1422
1423 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
1424
1425         * docs/random/release:
1426         Add a note about updating the doap file to the release checklist
1427
1428 2007-06-18  Wim Taymans  <wim@fluendo.com>
1429
1430         * plugins/elements/gstmultiqueue.c: (apply_buffer),
1431         (gst_single_queue_push_one), (gst_multi_queue_chain),
1432         (gst_multi_queue_sink_event):
1433         Make sure we don't reference the buffer/event after we have given away
1434         ownership in the queue.
1435
1436 2007-06-18  Wim Taymans  <wim@fluendo.com>
1437
1438         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1439         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
1440         Update queue state _after_ adding the item in the queue because else we
1441         could end up being full without the element added yet.
1442
1443 2007-06-18  Wim Taymans  <wim@fluendo.com>
1444
1445         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1446         (gst_bin_remove_func), (gst_bin_get_state_func),
1447         (gst_bin_element_set_state), (gst_bin_continue_func),
1448         (bin_push_state_continue), (bin_handle_async_start),
1449         (bin_handle_async_done), (gst_bin_handle_message_func):
1450         * gst/gstbin.h:
1451         Immediatly commit the toplevel bin state when receiving an async-done
1452         message. This enables us to avoid spawning a thread to commit the state
1453         in some common cases and it also avoids some races.
1454         Avoid spawning a state thread when adding/removing async elements to a
1455         toplevel bin. Instead we immediatly update the bin state.
1456         Get rid of iterating all the children when getting the state in the bin
1457         because it is now always up-to-date.
1458         Fix bug where locked elements would always return _SUCCESS even it they
1459         returned NO_PREROLL before being locked.
1460         Fix the order of the state_change, async-start/done messages that was
1461         sometimes incorrect.
1462         Mark the state_dirty field as deprecated, we don't need it anymore as we
1463         are always up-to-date.
1464
1465         * gst/gstelement.c: (gst_element_get_state_func),
1466         (gst_element_continue_state):
1467         Small debug inprovements.
1468         Return the previous element state return when nothing is pending instead
1469         of blindly returning SUCCESS.
1470
1471         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
1472         (gst_sinks_suite):
1473         Add a whole bunch of new testcases.
1474
1475 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1476
1477         * po/uk.po:
1478         * po/vi.po:
1479           Update translations.
1480
1481 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
1482
1483         * gst/gstpad.c:
1484         Fix typo in the docs.
1485
1486 2007-06-15  Wim Taymans  <wim@fluendo.com>
1487
1488         * docs/libs/gstreamer-libs-sections.txt:
1489         Add docs for new methods.
1490
1491 2007-06-15  Wim Taymans  <wim@fluendo.com>
1492
1493         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
1494         (gst_multi_queue_item_new):
1495         Don't use GSlice because we don't depend on >= 2.10 yet.
1496
1497 2007-06-15  Wim Taymans  <wim@fluendo.com>
1498
1499         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1500         (update_time_level), (apply_segment), (apply_buffer),
1501         (gst_single_queue_push_one), (gst_multi_queue_item_new),
1502         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
1503         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
1504         (single_queue_underrun_cb), (single_queue_check_full):
1505         Remove debug printf.
1506
1507 2007-06-15  Wim Taymans  <wim@fluendo.com>
1508
1509         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1510         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1511         (gst_data_queue_set_flushing), (gst_data_queue_push),
1512         (gst_data_queue_pop), (gst_data_queue_drop_head),
1513         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1514         * libs/gst/base/gstdataqueue.h:
1515         Various cleanups.
1516         Added methods to get the current levels and to inform the queue that the
1517         'full' limits changed.
1518
1519         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1520         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1521         (gst_single_queue_flush), (update_time_level), (apply_segment),
1522         (apply_buffer), (gst_single_queue_push_one),
1523         (gst_multi_queue_item_steal_object),
1524         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1525         (gst_multi_queue_loop), (gst_multi_queue_chain),
1526         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1527         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1528         (gst_multi_queue_src_query), (single_queue_overrun_cb),
1529         (single_queue_underrun_cb), (single_queue_check_full),
1530         (gst_single_queue_new):
1531         Keep track of time in the queue by measuring the difference between
1532         running_time on input and output. This gives more accurate results and
1533         can compensate for segments correctly.
1534         Make a queue by default only 5 buffers deep. We will now increase the
1535         buffer size depending on the filledness of the other queues.
1536         Factor out commong flush code.
1537         Make sure we don't add additional refcounts to buffers when we can avoid
1538         it.
1539         Propagate GstFlowReturn differently.
1540         Use GSlice for intermediate GstMultiQueueItems.
1541         Keep track of EOS.
1542         Resize queues on over and underruns based on filled level of other
1543         queues.
1544         When checking if the queue is filled, prefer to measure in time if we
1545         can and fall back to bytes when no time is known.
1546
1547         * plugins/elements/gstqueue.c:
1548         Fix return value.
1549
1550 2007-06-15  Wim Taymans  <wim@fluendo.com>
1551
1552         * libs/gst/base/gstbasetransform.c:
1553         (gst_base_transform_sink_event):
1554         Work around the brokenness of the event vmethod in basetransform. Prefer
1555         to return TRUE when the subclass returned FALSE (meaning don't forward
1556         the event). 
1557
1558         * libs/gst/base/gstbasetransform.h:
1559         Clarify the docs.
1560
1561 2007-06-15  Wim Taymans  <wim@fluendo.com>
1562
1563         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1564         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1565         (gst_base_src_default_query), (gst_base_src_get_range),
1566         (gst_base_src_start):
1567         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1568         Improve debugging.
1569
1570 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
1571
1572         * docs/pwg/advanced-types.xml:
1573           Added more formats to caps table.
1574
1575 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
1576
1577         * tools/gst-launch.c: (main):
1578           Remove crufy code. GOption does not need this workaround.
1579
1580 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
1581
1582         * libs/gst/controller/gstcontroller.c:
1583         (gst_controlled_property_set_interpolation_mode):
1584           Fix wrong getter for enums in controller.
1585
1586 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1587
1588         * libs/gst/check/gstcheck.c: (gst_check_init):
1589           Intercept criticals and warnings in the Gst-Phonon log domain, so
1590           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1591           well.
1592         
1593 2007-06-14  Edward Hervey  <edward@fluendo.com>
1594
1595         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1596         Since this file doesn't include "gst.h" it will not go through the
1597         macros that disable GST_LOG if debugging was disabled.
1598
1599 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1600
1601         * libs/gst/check/Makefile.am:
1602         * libs/gst/check/gstcheck.h:
1603         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1604         * pkgconfig/gstreamer-check.pc.in:
1605           Ugly 'fix' for the controller unit test on the p5 bot: in
1606           fail_unless_equals_float() check whether the values are 'almost
1607           equal' by allowing a small absolute error, which should be good
1608           enough for our use cases (normal numbers and values close to 0).
1609           Proper fixage left to floating point arithmetic aficionados.
1610
1611 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
1612
1613         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1614         (gst_base_sink_render_object), (gst_base_sink_get_position):
1615           Add two breaks thats where missing.
1616
1617 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1618
1619         * docs/libs/gstreamer-libs-sections.txt:
1620         * libs/gst/check/gstcheck.h:
1621           API: add fail_unless_equals_float() and assert_equals_float().
1622           Add documentation for some of the macros.
1623
1624         * tests/check/libs/controller.c: (GST_START_TEST):
1625           Use newly-added asserts.
1626
1627 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
1628
1629         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1630           Show the caps change in the log to help spotting the case of not
1631           exactly matching caps.
1632
1633 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1634
1635         * docs/pwg/building-boiler.xml:
1636           Fix typos, spotted by Thijs Vermeir (#447190).
1637
1638 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
1639
1640         * docs/plugins/tmpl/.cvsignore:
1641         Ignore file to keep the buildbots happy
1642
1643 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
1644
1645         * docs/plugins/Makefile.am:
1646         * docs/plugins/gstreamer-plugins-docs.sgml:
1647         * docs/plugins/gstreamer-plugins-sections.txt:
1648         Pull fdsink into the docs too.
1649
1650 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
1651
1652         * libs/gst/controller/gstinterpolation.c:
1653         Actually use the new functions with min/max checks for the trigger and
1654         none interpolation modes for get() and get_value_array() instead of
1655         just the latter.
1656
1657 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
1658
1659         * libs/gst/controller/gstcontroller.c:
1660         (gst_controlled_property_free):
1661         Unset the minimum and maximum GValues when freeing the corresponding
1662         GstControllerProperty struct.
1663
1664 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
1665
1666         * libs/gst/controller/gstcontroller.c:
1667         (gst_controlled_property_new):
1668         * libs/gst/controller/gstcontrollerprivate.h:
1669         * libs/gst/controller/gstinterpolation.c:
1670         (gst_controlled_property_find_control_point_node),
1671         (interpolate_none_get), (interpolate_none_get_enum_value_array),
1672         (interpolate_none_get_string_value_array),
1673         (interpolate_trigger_get),
1674         (interpolate_trigger_get_enum_value_array),
1675         (interpolate_trigger_get_string_value_array):
1676         Protect against values larger or smaller than the minimum or maximum
1677         allowed value for the property when using values that can be compared.
1678
1679         Optimize trigger interpolator a bit by taking the last requested value
1680         into account instead of always looping through the complete list.
1681
1682         Fix coding style a bit, everywhere else we use "return foo" instead
1683         of "return (foo)".
1684         
1685         * tests/check/libs/controller.c: (GST_START_TEST),
1686         (gst_controller_suite):
1687         Add unit test for the protection against too large or too small
1688         values.
1689
1690 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
1691
1692         * docs/random/slomo/controller.txt:
1693         Add some thoughts about the future of the controller.
1694
1695 2007-06-08  Wim Taymans  <wim@fluendo.com>
1696
1697         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1698         Don't overflow in retimestamping code.
1699
1700 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
1701
1702         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1703         Use gst_util_guint64_to_gdouble for conversions.
1704         * win32/common/libgstreamer.def:
1705         Add new exported functions.
1706
1707 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
1708
1709         * gst/gstutils.c:
1710           Small docs addition.
1711
1712 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1713
1714         * README:
1715           Remove that test line again.
1716
1717 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1718
1719         * README:
1720           Test commit mail sending.
1721
1722 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1723
1724         * configure.ac:
1725           Fix typo and test commit mail sending.
1726
1727 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1728
1729         * tests/examples/controller/audio-example.c:
1730           Improve comment and test commit mail sending.
1731
1732 2007-06-07  Wim Taymans  <wim@fluendo.com>
1733
1734         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
1735         (gst_bin_remove_func), (gst_bin_element_set_state),
1736         (bin_handle_async_start), (bin_handle_async_done),
1737         (gst_bin_handle_message_func):
1738         Add helper function to find messages.
1739         Generate the async-done messages together with the state change
1740         messages.
1741         Small cleanups in handling toplevel bins.
1742
1743 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1744
1745         * libs/gst/base/gstdataqueue.c:
1746         * libs/gst/base/gstdataqueue.h:
1747         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1748         (gst_multi_queue_item_new), (gst_multi_queue_chain),
1749         (gst_multi_queue_sink_event):
1750         * tests/check/elements/multiqueue.c: (multiqueue_suite):
1751           Fix multiqueue leaking buffers and events when downstream or the
1752           queue are flushing. Make refcounting assumptions explicit and
1753           document them (shouldn't break existing code that uses it other than
1754           maybe leak miniobjects, but that already happens anyway). Add unit
1755           test for the most common flushing case. Fixes #423700.
1756           
1757 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
1758
1759         * libs/gst/controller/gstcontroller.c:
1760         Clarify docs: The get_all, get_value_array(s) functions
1761         don't modify the GObject properties.
1762
1763 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
1764
1765         * libs/gst/controller/gstcontroller.c:
1766         (gst_controlled_property_set_interpolation_mode),
1767         (gst_controlled_property_prepend_default),
1768         (gst_controlled_property_new), (gst_controller_set_unlocked),
1769         (gst_controller_set), (gst_controller_set_from_list),
1770         (gst_controller_unset), (gst_controller_unset_all):
1771         * libs/gst/controller/gstcontrollerprivate.h:
1772         * libs/gst/controller/gstinterpolation.c:
1773         Factor out the 'set' logic into gst_controller_set_unlocked for the
1774         gst_controller_set and gst_controller_set_from_list functions.
1775
1776         To make life of the interpolators easier always add a control point
1777         at timestamp zero with the default value.
1778
1779         In the linear interpolator make things more obvious by better variable
1780         naming (slope).
1781
1782         Implement cubic interpolation mode (by using a natural cubic spline)
1783         and map the quadratic interpolation mode to this too (as quadratic
1784         doesn't make much sense, see discussion on the list).
1785
1786         * tests/check/libs/controller.c: (GST_START_TEST),
1787         (gst_controller_suite):
1788         Add unit test for the cubic interpolation mode and check everywhere
1789         if the interpolation mode could be set as expected.
1790
1791 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1792
1793         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
1794           Don't use GLib-2.10 functions, we still depend on
1795           GLib-how-old-is-it-again-2.8.
1796
1797 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1798
1799         * docs/gst/gstreamer-sections.txt:
1800         * gst/Makefile.am:
1801         * gst/gst.c:
1802         * gst/gst.h:
1803         * gst/gstparamspecs.c: (_gst_param_fraction_init),
1804         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1805         (_gst_param_fraction_values_cmp),
1806         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1807         * gst/gstparamspecs.h:
1808         * gst/gstvalue.c:
1809         * tests/check/Makefile.am:
1810         * tests/check/gst/.cvsignore:
1811         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1812         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1813         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1814         (GST_START_TEST), (gst_param_spec_suite):
1815           API: add GstParamSpecFraction, so elements can have fraction
1816           properties without lots of painful string parsing (#444648).
1817
1818 2007-06-05  Wim Taymans  <wim@fluendo.com>
1819
1820         * gst/gstobject.c: (gst_object_class_init):
1821         Fix signal signature.
1822
1823         * gst/gstsegment.c:
1824         Add small clarification in the api docs.
1825
1826         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1827         States are protected with object lock.
1828
1829 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1830
1831         * AUTHORS:
1832         I should probably be listed as an author by now.
1833
1834         * docs/random/release:
1835         Update the release doc
1836
1837 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
1838
1839         * gst/gstvalue.c:
1840           Make docs for gst_value_compare() mention return enums that
1841           actually exist.
1842
1843 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1844
1845         * configure.ac:
1846           Back to CVS
1847
1848 === release 0.10.13 ===
1849
1850 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
1851
1852         * configure.ac:
1853           releasing 0.10.13, "With or without you"
1854
1855 2007-05-25  Wim Taymans  <wim@fluendo.com>
1856
1857         * gst/gstbin.c: (bin_handle_async_done):
1858         Make sure that the child bin stops after completing the async state
1859         change so that the parent can continue the state change to PLAYING.
1860         Fixes #441159.
1861
1862 2007-05-25  Wim Taymans  <wim@fluendo.com>
1863
1864         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1865         (unref_data), (gst_collect_pads_remove_pad),
1866         (gst_collect_pads_check_pads):
1867         Use additional refcounting to avoid crashes when dynamically adding and
1868         removing pads. Fixes #420206.
1869
1870 2007-05-24  Wim Taymans  <wim@fluendo.com>
1871
1872         * tools/gst-launch.c: (event_loop):
1873         When buffering goes from a two digit to a single digit number, make sure
1874         to remove the old second digit by writing a blank over it.
1875
1876 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1877
1878         * libs/gst/base/gstdataqueue.c:
1879           Eliminate tabs and trailing comma in enum list; fix some typos.
1880
1881 2007-05-24  Wim Taymans  <wim@fluendo.com>
1882
1883         * tests/check/gst/gstbin.c: (GST_START_TEST):
1884         Allow refcount of 3 and 4 because some state thread might still be busy
1885         with it.
1886
1887 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1888
1889         * plugins/elements/Makefile.am:
1890         * plugins/elements/gstmultiqueue.h:
1891         * plugins/elements/gstqueue.h:
1892           These are not installed headers, no need for padding.
1893
1894 2007-05-24  Wim Taymans  <wim@fluendo.com>
1895
1896         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1897         (gst_bin_continue_func):
1898         Enable latency for next release.
1899         Restore STATE_LOCK around recalc_state that was left out during the
1900         rewrite and could result in racy behaviour when _get_state and
1901         recalc_state are run concurrently. See #440463.
1902
1903 2007-05-23  Wim Taymans  <wim@fluendo.com>
1904
1905         * tests/check/gst/gstsystemclock.c: (store_callback),
1906         (GST_START_TEST):
1907         Improve test_async_order to also work when both timers are already
1908         expired when we get scheduled to check it.
1909
1910 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1911
1912         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1913         (gst_bin_set_property), (gst_bin_get_property),
1914         (gst_bin_remove_func), (gst_bin_handle_message_func):
1915         * gst/gstbin.h:
1916           'private' is a c++ keyword, let's not use that in header files,
1917           otherwise c++ compilers will throw a tantrum.
1918
1919 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1920
1921         * plugins/elements/gstelements.c:
1922         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1923         (gst_file_sink_get_current_offset):
1924         * plugins/indexers/gstindexers.c: (plugin_init):
1925           Use #ifdef for HAVE_XYZ for consistency.
1926
1927         * tests/check/Makefile.am:
1928         * tests/check/elements/.cvsignore:
1929         * tests/check/elements/filesink.c: (setup_filesink),
1930         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1931           Add some unit tests for filesink.
1932
1933 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1934
1935         Patch by: Mark Nauwelaerts <manauw at skynet be>
1936
1937         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1938         (gst_file_sink_query), (gst_file_sink_do_seek),
1939         (gst_file_sink_get_current_offset), (gst_file_sink_render):
1940         * plugins/elements/gstfilesink.h:
1941           Fix position reporting; rename data_written member to current_pos to
1942           reflect its real meaning (fixes #412648).
1943
1944 2007-05-22  Edward Hervey  <edward@fluendo.com>
1945
1946         * docs/gst/gstreamer-sections.txt:
1947         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1948         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1949         (gst_bin_remove_func), (gst_bin_handle_message_func):
1950         * gst/gstbin.h:
1951         Add a property for bins that handle the state change of their childs.
1952         Fixes #435880
1953
1954 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1955
1956         * libs/gst/controller/gstinterpolation.c:
1957         Use an array of the correct type when using _get_value_array with
1958         linear interpolation.
1959
1960 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
1961
1962         * gst/gstelement.c (gst_element_requires_clock,
1963           gst_element_provides_clock, gst_element_request_pad,
1964           gst_element_class_set_details, gst_element_class_set_details_simple,
1965           gst_element_default_send_event, gst_element_abort_state,
1966           gst_element_continue_state, gst_element_set_state,
1967           gst_element_set_state_func, iterator_activate_fold_with_resync):
1968         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1969           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1970           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1971           gst_pad_get_range, gst_pad_pull_range):
1972         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1973           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1974           GstPadActivateModeFunction, GstPadChainFunction,
1975           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1976           GstPadFixateCapsFunction, GstPadTemplate):
1977         * gst/gstpipeline.c (gst_pipeline_change_state,
1978           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1979           gst_pipeline_set_clock, gst_pipeline_auto_clock,
1980           gst_pipeline_get_delay):
1981           Whitespace and docs fixes.
1982
1983 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1984
1985         * libs/gst/controller/gstinterpolation.c:
1986         (interpolate_trigger_get_enum_value_array),
1987         (interpolate_trigger_get_string_value_array):
1988         Add support for retrieving value arrays when using the trigger
1989         interpolation mode. 
1990
1991 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1992
1993         * libs/gst/controller/gstcontroller.c:
1994         (gst_controller_get_value_array):
1995         * libs/gst/controller/gstcontroller.h:
1996         Clarify the docs of gst_controller_get_value_array(): The array where
1997         the values should be written to must be allocated as there seems to be
1998         no way to get the size of a random GType. This doesn't change any
1999         behaviour. Also fix some typos all over the place and remove an unused,
2000         commented function that is not necessary as g_object_set() could be
2001         used instead.
2002         * tests/check/libs/controller.c: (GST_START_TEST),
2003         (gst_controller_suite):
2004         Add unit test for gst_controller_get_value_array().
2005
2006 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
2007
2008         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2009
2010         Disable part of the gst_buffer_try_new_and_alloc test, because
2011         it can happily succeed on 64-bit systems where there's more address
2012         space available.
2013
2014 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2015
2016         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2017         Add unit test for the improved caps checking from bug #421543.
2018
2019 2007-05-21  Wim Taymans  <wim@fluendo.com>
2020
2021         * docs/design/part-synchronisation.txt:
2022         Small addition.
2023
2024         * gst/gstbin.c: (gst_bin_query):
2025         * plugins/elements/gstqueue.c: (apply_segment):
2026         Improve debugging.
2027
2028         * gst/gstmessage.h:
2029         Improve docs.
2030
2031 2007-05-21  Wim Taymans  <wim@fluendo.com>
2032
2033         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2034         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2035         (gst_pad_configure_src):
2036         Added simple version of improved caps checking. It was previously
2037         assumed that a setcaps function would check the validity of the caps but
2038         people prefer us to check caps against the template automatically. 
2039         Fixes #421543.
2040
2041 2007-05-21  Wim Taymans  <wim@fluendo.com>
2042
2043         * libs/gst/base/gstbasetransform.h:
2044         Fix macro for locking/unlocking the transform lock.
2045
2046 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2047
2048         * docs/plugins/tmpl/.cvsignore:
2049           Ignore more.
2050
2051 2007-05-18  Edward Hervey  <edward@fluendo.com>
2052
2053         * plugins/elements/gstqueue.c: (gst_queue_loop):
2054         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2055         for the subtle art of warning a potentially blocking thread that it
2056         should check the source pad return value, and relay the information
2057         upstream.
2058
2059 2007-05-18  Edward Hervey  <edward@fluendo.com>
2060
2061         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2062         Release the queue lock !
2063
2064 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2065
2066         * docs/libs/gstreamer-libs-sections.txt:
2067         Add the two new controller functions to the appropiate places.
2068
2069 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2070
2071         reviewed by: Stefan Kost <ensonic@users.sf.net>
2072
2073         * libs/gst/controller/gstcontroller.c:
2074         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2075         (_gst_controller_get_property), (_gst_controller_set_property),
2076         (_gst_controller_init), (_gst_controller_class_init):
2077         * libs/gst/controller/gstcontroller.h:
2078         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2079         (gst_object_get_control_rate), (gst_object_set_control_rate):
2080         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2081         Add API that provides sync suggestion timestamps for elements that
2082         call gst_object_sync_values() from which those elements can subdivide
2083         their processing loop to get the best results for the controlled
2084         properties. For now it just suggests last_sync + control_rate as
2085         new timestamp but this will be improved in the future.
2086
2087         While doing that change the control-rate property to a GstClockTime
2088         from guint and change it's meaning from samples to nanoseconds as
2089         the GstController doesn't know anything about sampling rate. Strictly
2090         speaking this breaks ABI but as the control-rate property didn't do
2091         anything in the past and as such couldn't be used this should be no
2092         problem.        
2093
2094 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2095
2096         reviewed by: Stefan Kost <ensonic@users.sf.net>
2097
2098         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2099         (gst_controller_unset_all):
2100         * libs/gst/controller/gstcontrollerprivate.h:
2101         * libs/gst/controller/gstinterpolation.c:
2102         (gst_controlled_property_find_control_point_node):
2103         Save last synced value from the list to continue searching from there
2104         in future syncs. This speeds everything up a bit.
2105         
2106 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2107
2108         reviewed by: Stefan Kost <ensonic@users.sf.net>
2109
2110         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2111         (gst_control_point_find), (gst_controlled_property_new),
2112         (gst_control_point_free), (gst_controlled_property_free),
2113         (gst_controller_set), (gst_controller_set_from_list),
2114         (gst_controller_unset), (gst_controller_unset_all),
2115         (gst_controller_sync_values):
2116         * libs/gst/controller/gstcontroller.h:
2117         * libs/gst/controller/gstcontrollerprivate.h:
2118         * libs/gst/controller/gstinterpolation.c:
2119         (gst_controlled_property_find_control_point_node),
2120         (interpolate_none_get), (interpolate_trigger_get):
2121         Add a new private GstControlPoint struct which "inherits" from
2122         GstTimedValue to allow different interpolators to store internal
2123         values next to each control point. From the outside everything is
2124         still a GstControlPoint so we don't loose binary compatibility.
2125         Also fixup all the GValue handling to not leak GValues or list nodes.
2126         * tests/check/libs/controller.c: (GST_START_TEST):
2127         Free the list nodes and GValues in the controller_misc test.
2128
2129 2007-05-17  Edward Hervey  <edward@fluendo.com>
2130
2131         * gst/gstsegment.c:
2132         Small doc fix.
2133
2134 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2135
2136         * gst/gstplugin.c: (gst_plugin_load_file):
2137           If we fail to load a plugin because of unresolved symbols or missing
2138           libraries and spew a warning to stderr, we may just as well mention
2139           which plugin it was that failed to load.
2140
2141 2007-05-13  David Schleef  <ds@schleef.org>
2142
2143         * docs/Makefile.am: the gtk-doc makefile snippet correctly
2144           handles the case when ENABLE_GTK_DOC is false, and installs
2145           the prebuilt documentation.  So gtk-doc subdirs are 
2146           unconditionally enabled.  Fixes: #349099.
2147
2148 2007-05-13  David Schleef  <ds@schleef.org>
2149
2150         * gst/gstutils.h: Reword some documentation.
2151
2152 2007-05-12  David Schleef  <ds@schleef.org>
2153
2154         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2155           do anything with the passed "module" parameter, so remove it.
2156           Allows removal of additional vestigal code.
2157
2158 2007-05-12  David Schleef  <ds@schleef.org>
2159
2160         * gst/gstplugin.c:
2161           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2162           Switch to using g_stat() because it's more portable.
2163
2164 2007-05-12  David Schleef  <ds@schleef.org>
2165
2166         * gst/gst.c:
2167           Add GST_DISABLE_OPTION_PARSING, in order to disable option
2168           parsing for embedded systems.
2169         * gst/gstelementfactory.c:
2170           Allow gst_element_register() to be called with plugin==NULL.
2171           Did nobody notice that static elements were broken?
2172
2173 2007-05-12  Wim Taymans  <wim@fluendo.com>
2174
2175         * tools/gst-launch.c: (event_loop):
2176         Give more interesting info when buffering starts and stops.
2177         Fix case where buffering starts but we fail to update the buffering flag
2178         because the target state is not PLAYING.
2179
2180 2007-05-12  Wim Taymans  <wim@fluendo.com>
2181
2182         * plugins/elements/gstqueue.c: (gst_queue_init),
2183         (gst_queue_finalize), (update_time_level), (apply_segment),
2184         (apply_buffer), (gst_queue_locked_flush),
2185         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2186         (gst_queue_handle_sink_event), (gst_queue_chain),
2187         (gst_queue_push_one), (gst_queue_loop):
2188         * plugins/elements/gstqueue.h:
2189         Refactor an cleanup queue a bit.
2190         Do better time level calculations that also work when the srcpad is not
2191         yet running.
2192         Remove some unneeded debug lines.
2193
2194         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2195         Added testcase for time level measurement.
2196         Try to make some stuff more racefree.
2197
2198 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2199
2200         * gst/gsturi.c: (gst_element_make_from_uri):
2201           Don't leak plugin feature.
2202
2203         * tests/check/Makefile.am:
2204         * tests/check/gst/.cvsignore:
2205         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2206           Add brain-dead unit test.
2207
2208 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2209
2210         Patch by: Jeroen Wouters <woutersj at gmail com>
2211
2212         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2213           Treat protocol strings in a case-insensitive way (#437563).
2214
2215 2007-05-11  Michael Smith <msmith@fluendo.com>
2216
2217         * gst/gstplugin.c: (gst_plugin_load_file):
2218         * gst/gstregistry.c: (gst_registry_scan_path_level):
2219           Don't print a g_warning for any failure to load a shared object.
2220           Instead, push this down into gstplugin.c, and warn _only_ if we
2221           failed to open the module (i.e. failure to link).
2222           Avoids warnings on normal, working, non-plugin .so files.
2223
2224 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
2225
2226         * gst/gstplugin.c (gst_plugin_load_file):
2227         * gst/gstregistry.c (GST_CAT_DEFAULT,
2228           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2229           Print a g_warning if there was an error when loading a plugins during
2230           registry scan. The shuld help beginners starting with gst-plugin
2231           template.
2232
2233 2007-05-10  Wim Taymans  <wim@fluendo.com>
2234
2235         * plugins/elements/gstqueue.c: (gst_queue_class_init),
2236         (update_time_level), (gst_queue_locked_flush),
2237         (gst_queue_handle_sink_event), (gst_queue_chain),
2238         (gst_queue_push_one), (gst_queue_loop):
2239         * plugins/elements/gstqueue.h:
2240         Be smarter when calculating the current amount of data in the queue by
2241         measuring the difference between start and end timestamps (in running
2242         time) inside the queue. Fixes #432876.
2243         API: GstQueue::pushing to notify elements that we are pushing data again
2244         since the running signal is rather broken for this purpose.
2245
2246 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
2247
2248         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2249           gst_queue_base_init, gst_queue_init):
2250           use GST_BOILERPLATE
2251
2252 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
2253
2254         * win32/common/libgstreamer.def:
2255         Add new exported functions.
2256         * win32/vs6/grammar.dsp:
2257         Use grammar pre-generated files.
2258
2259 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2260
2261         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
2262
2263         * gst/Makefile.am:
2264         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2265         * gst/gstparse.h:
2266         * gst/gstutils.c: (gst_parse_bin_from_description):
2267         * gst/gstutils.h:
2268           Maintain API and ABI when --disable-parse is used. Now that
2269           we have an appropriate error code, we can just return NULL and the
2270           appropriate error when gst_parse_launch() is used despite it having
2271           been disabled (#342564).
2272
2273         * tests/check/Makefile.am:
2274         * tests/check/pipelines/.cvsignore:
2275         * tests/check/pipelines/parse-disabled.c:
2276           Make sure these functions exist and return NULL plus a GError when
2277           --disable-parse is used.
2278
2279 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2280
2281         * tests/benchmarks/complexity.c: (main):
2282         * tests/benchmarks/mass-elements.c: (main):
2283           Set a good example and don't leak messages.
2284
2285 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
2286
2287         * docs/gst/Makefile.am:
2288         * docs/libs/Makefile.am:
2289           Correct fixxrefs options.
2290
2291         * docs/plugins/Makefile.am:
2292         * docs/plugins/gstreamer-plugins-docs.sgml:
2293         * docs/plugins/gstreamer-plugins-sections.txt:
2294         * plugins/elements/Makefile.am:
2295         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2296         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2297           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2298           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2299           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2300           _GstCapsFilterClass, trans_class):
2301         * plugins/elements/gstelements.c (name, rank, type, _elements):
2302         * plugins/elements/gstidentity.c
2303           (gst_identity_check_imperfect_timestamp,
2304           gst_identity_check_imperfect_offset):
2305           Document capsfilter and add doc-blurb to identity.
2306
2307 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
2308
2309         * libs/gst/controller/gstcontroller.c:
2310         (gst_controlled_property_set_interpolation_mode):
2311         * libs/gst/controller/gstinterpolation.c:
2312           Don't crash if someone tries to set an interpolation mode that
2313           is invalid or that isn't supported yet. Fixes #422295.
2314
2315         * tests/check/libs/controller.c: (GST_START_TEST),
2316         (gst_controller_suite):
2317           Add a test case for the above.
2318
2319 2007-05-03  Edward Hervey  <edward@fluendo.com>
2320
2321         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2322         Properly set the last_stop position on GstSegment. This will only happen
2323         if there is a buffer to push out.
2324
2325 2007-05-03  Wim Taymans  <wim@fluendo.com>
2326
2327         * libs/gst/base/gstbasetransform.c:
2328         (gst_base_transform_buffer_alloc):
2329         always_in_place does not mean that the sink and source caps are the
2330         same! Make sure we don't blindly proxy the buffer_alloc in this case.
2331
2332 2007-05-03  Wim Taymans  <wim@fluendo.com>
2333
2334         * docs/libs/gstreamer-libs-sections.txt:
2335         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2336         (gst_base_src_default_query), (gst_base_src_get_range):
2337         * libs/gst/base/gstbasesrc.h:
2338         API: gst_base_src_query_latency(). Added method so that subclasses can
2339         easily get the latency values of the base source class.
2340
2341 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
2342
2343         * tools/gst-inspect.c (print_implementation_info):
2344         Remove 0.8 cruft.
2345
2346 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
2347
2348         * tools/Makefile.am:
2349         * tools/gst-launch.1.in:
2350           Don't create a customised man page based on the host architecture,
2351           describe the default registry path generically. That way the man
2352           page is the same for all architectures and packagers have one
2353           multilib issue less to deal with. Fixes #434926.
2354
2355 2007-05-02  Wim Taymans  <wim@fluendo.com>
2356
2357         * gst/gstpad.c:
2358         Fix documentation as spotted by rg on IRC. 
2359
2360 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
2361
2362         * gst/gstutils.c:
2363           Improve docs for gst_element_{link,unlink}.
2364
2365 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
2366
2367         * docs/design/part-events.txt:
2368         * docs/design/part-overview.txt:
2369         * gst/gstevent.c:
2370         * gst/gsturi.c:
2371         * gst/gsturi.h:
2372         * libs/gst/base/gstbasesink.c:
2373           Typo fixes; minor docs addition.
2374
2375 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
2376
2377         * docs/gst/gstreamer-sections.txt:
2378         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2379         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2380         * gst/gsturi.h:
2381         API: Add gst_uri_protocol_is_supported(), which checks if a sink
2382         or src that supports a given URI protocol exists.
2383
2384 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
2385
2386         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2387         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2388         Set the location to NULL if "file://" is set as URI. Otherwise
2389         some random previous URI would still be set if "file://" is
2390         set on an already used filesink/filesrc.
2391
2392 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
2393
2394         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2395         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2396         Special case the "file://" URI as as this is used by some
2397         applications to test with gst_element_make_from_uri if there's
2398         an element that supports the URI protocol.
2399         Also move the g_path_is_absolute() check for the location part
2400         of the URI to also check this for "file://localhost/bla" URIs.
2401
2402 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
2403
2404         * docs/gst/gstreamer-sections.txt:
2405         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
2406         * gst/gstbuffer.h:
2407         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2408         (gst_buffer_suite):
2409           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2410
2411 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
2412
2413         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2414         (gst_registry_binary_load_pad_template),
2415         (gst_registry_binary_load_plugin),
2416         (gst_registry_binary_read_cache):
2417         * gst/gstregistrybinary.h:
2418           Implement no-mmap alternative for registry reading. Do code cleanups.
2419           Add more comments about avoiding strdups for all text data. Comments
2420           welcome.
2421
2422 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
2423
2424         * gst/gstregistrybinary.h (GstBinaryPluginElement,
2425           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
2426           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
2427           Comment structs and reformat to fix the build (that stuff should go
2428           into a priv. header).
2429
2430 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
2431
2432         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2433         (gst_registry_binary_load_feature):
2434         * gst/gstregistrybinary.h:
2435           Refactor so that we can implement multiple features. Add support for
2436           TypeFindFactory features.
2437
2438 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
2439
2440         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
2441
2442         * configure.ac:
2443           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
2444
2445 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
2446
2447         * gst/gstbin.c: (gst_bin_element_set_state),
2448         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
2449         (bin_handle_async_done), (gst_bin_handle_message_func):
2450           Fix build with --gst-disable-gst-debug
2451
2452 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
2453
2454         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
2455           Make sure streaming has finished before calling the ::stop() vfunc,
2456           since that vfunc might clear state which is being used in the
2457           streaming thread. This fixes a race that caused crashes in
2458           audioresample when shutting down a pipeline (#420106).
2459
2460 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
2461
2462         * docs/gst/gstreamer-sections.txt:
2463           That was one byte missing.
2464
2465 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
2466
2467         * configure.ac:
2468         * docs/gst/gstreamer-sections.txt:
2469         * gst/Makefile.am:
2470         * gst/gstconfig.h.in:
2471         * gst/gstobject.c: (gst_object_class_init),
2472         (gst_signal_object_class_init):
2473         * gst/gstobject.h:
2474           2nd attempt to have a xml-less build as a joined effort of #413123
2475           and #421480.
2476
2477 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
2478
2479         * docs/design/draft-tagreading.txt:
2480           Added open issues/thoughts to draft.
2481
2482 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2483
2484         * gst/parse/grammar.tab.pre.c:
2485         * gst/parse/grammar.tab.pre.h:
2486         * gst/parse/lex._gst_parse_yy.pre.c:
2487         Update the prebuild parser sources.
2488
2489 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2490
2491         * gst/parse/Makefile.am:
2492         And now fix the building of the flex sources. Now everything should
2493         work as expected.
2494
2495 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2496
2497         * gst/parse/Makefile.am:
2498         Now hopefully fix the build failures by setting proper rule
2499         dependencies and moving instead of copying.
2500
2501 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
2502
2503         * tests/benchmarks/complexity.gnuplot:
2504         * tests/benchmarks/complexity.scm:
2505         * tests/benchmarks/mass-elements.gnuplot:
2506         * tests/benchmarks/mass-elements.scm:
2507           Total licensification.
2508
2509 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
2510
2511         * gst/parse/Makefile.am:
2512           Fix the build by correcting the rule that gave wrong files to flex.
2513
2514 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
2515
2516         * tests/benchmarks/complexity.c:
2517         * tests/benchmarks/mass-elements.c:
2518           Change licence to LGPL as granted by Benjamin and Andy.
2519
2520 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2521
2522         * gst/parse/Makefile.am:
2523         Add correct grammar.tab.h dependency if compiling without new enough
2524         flex. Fixes #431150.
2525
2526 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
2527
2528         * gst/parse/Makefile.am:
2529         Fix typo and use outdated sources if the flex/bison sources are newer
2530         than the pregenerated ones but flex is too old. Print a warning in
2531         that case. This should fix the build on the build bot.
2532
2533 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
2534
2535         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2536         * gst/parse/Makefile.am:
2537         * gst/parse/grammar.y:
2538         * gst/parse/parse.l:
2539         Make the parser reentrant and recursively callable. This requires flex
2540         >= 2.5.31, for older versions pregenerated sources are used as we
2541         can't bump the build dependency. Finally fixes #349180.
2542
2543         * gst/gstparse.c: (gst_parse_launch):
2544         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2545         now anyway.
2546
2547         * docs/gst/Makefile.am:
2548         * docs/gst/Makefile.am:
2549         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2550         (__gst_parse_strfree), (__gst_parse_link_new),
2551         (__gst_parse_link_free), (__gst_parse_chain_new),
2552         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2553         (gst_parse_element_set), (gst_parse_free_link),
2554         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2555         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2556         (_gst_parse_launch):
2557         * gst/parse/grammar.tab.pre.h:
2558         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2559         (yy_get_previous_state), (yy_try_NUL_trans), (input),
2560         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2561         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2562         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2563         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2564         (_gst_parse_yypop_buffer_state),
2565         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2566         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2567         (yy_fatal_error), (_gst_parse_yyget_extra),
2568         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2569         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2570         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2571         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2572         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2573         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2574         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2575         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2576         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2577         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2578         (_gst_parse_yyfree):
2579         If the installed flex version is too old use pre-generated parser
2580         sources. These pre-generated parser sources are always updated when
2581         the actual flex/bison sources change but require everybody who wants
2582         to change something in the parser to have flex >= 2.5.31 installed.
2583
2584 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
2585
2586         * common/m4/gst-gettext.m4:
2587         * gst/gst-i18n-lib.h:
2588           Make --disable-nls to work
2589
2590 2007-04-17  Wim Taymans  <wim@fluendo.com>
2591
2592         * gst/gstconfig.h.in:
2593         Revert previous change that broke the build.
2594
2595 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
2596
2597         * configure.ac:
2598         * gst/Makefile.am:
2599         * gst/gstconfig.h.in:
2600           Drop libxml2 dependency when building with 
2601           --enable-binary-registry --disable-loadsave
2602
2603 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
2604
2605         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2606         (gst_registry_binary_read_cache):
2607         * gst/gstregistrybinary.h:
2608           Remove unnecessary <sys/mman.h> include which broke the win32 build
2609           with MingW; move includes from header file to .c file, even if the
2610           header file isn't installed; use g_strerror() where UTF-8 strings
2611           are expected, such as in GST_DEBUG messages.
2612
2613 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2614
2615         * docs/libs/gstreamer-libs-sections.txt:
2616         Remove bogus addition for API I didn't end up keeping.
2617
2618         * libs/gst/base/gstbasesrc.h:
2619         Mention Since: 0.10.13 in the documentation.
2620
2621         Add the API keyword to the previous ChangeLog entry.
2622
2623 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2624
2625         * docs/libs/gstreamer-libs-sections.txt:
2626         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2627         (gst_base_src_default_prepare_seek_segment),
2628         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2629         * libs/gst/base/gstbasesrc.h:
2630         Allow basesrc derived classes to execute seeks in other formats
2631         by providing a prepare_seek_segment vmethod. Sub-classes can choose
2632         to prepare the GstSegment in any format that their perform_seek method
2633         will be able to understand. The default implementation provides the
2634         old behaviour of attempting to convert the seek offsets to the 
2635         configured native format.
2636
2637         API: basesrc::prepare_seek_segment vmethod.
2638
2639 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2640
2641         * gst/gstelement.c: (gst_element_get_state_func):
2642         Don't output the same debug statement twice.
2643
2644         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2645         (gst_adapter_peek), (gst_adapter_take_buffer):
2646         Optimise the case where we have buffers at the head of the queue that
2647         can be joined quickly (because they're contiguous sub-buffers) by
2648         merging them together rather than copying data out into new memory.
2649
2650         * gst/parse/grammar.y:
2651         * tests/check/pipelines/parse-launch.c:
2652         Fix a leak in an error path for parse_launch, and add a check 
2653         for it to the testsuite.
2654
2655 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2656
2657         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2658           Don't deadlock when releasing a pad - gst_pad_set_active may try
2659           and take the multiqueue lock too.
2660
2661 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
2662
2663         * gst/gsterror.c: (_gst_core_errors_init):
2664         * gst/gsterror.h:
2665           API: add GST_CORE_ERROR_DISABLED (#392804).
2666
2667 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2668
2669         * docs/faq/gst-uninstalled:
2670           don't get empty paths on the PATH variables
2671         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2672           Don't format for the uncommon terminal width of 84 characters.
2673
2674 2007-04-06  Wim Taymans  <wim@fluendo.com>
2675
2676         * gst/gstpipeline.c: (reset_stream_time),
2677         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2678         Only try to select a different pipeline clock when we went back to
2679         PAUSED and not when we merely got flushed.
2680
2681 2007-04-05  Michael Smith  <msmith@fluendo.com>
2682
2683         * tools/gst-launch.1.in:
2684           fractions are better supported in gstreamer than ractions, so
2685           suggest using those.
2686
2687 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
2688
2689         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2690
2691         * po/LINGUAS:
2692         * po/da.po:
2693           Added Danish translation.
2694
2695 2007-04-05  Wim Taymans  <wim@fluendo.com>
2696
2697         * libs/gst/base/gstbasesink.c:
2698         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2699         Fix leak caused when refusing newsegment after EOS.
2700
2701         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2702         (gst_fake_sink_init), (gst_fake_sink_set_property),
2703         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2704         (gst_fake_sink_render), (gst_fake_sink_change_state):
2705         * plugins/elements/gstfakesink.h:
2706         Add num-buffers property to make the element generate EOS after a
2707         configurable amount of buffers.
2708         API: fakesink::num-buffers property.
2709
2710         * tests/check/elements/fakesink.c: (GST_START_TEST),
2711         (fakesink_suite):
2712         Fix GstBus leak in test.
2713         Test for fakesink num-buffers.
2714
2715 2007-04-05  Wim Taymans  <wim@fluendo.com>
2716
2717         * libs/gst/base/gstbasesink.c:
2718         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2719         (gst_base_sink_change_state):
2720         Don't accept anything after an EOS, return UNEXPECTED instead.
2721
2722         * tests/check/elements/fakesink.c: (GST_START_TEST),
2723         (fakesink_suite):
2724         Unit test for new EOS behaviour.
2725
2726 2007-04-05  Wim Taymans  <wim@fluendo.com>
2727
2728         * gst/gstelement.c: (gst_element_get_request_pad):
2729         Make padtemplates also work when they don't contain %s or %d.
2730
2731 2007-04-05  Wim Taymans  <wim@fluendo.com>
2732
2733         * docs/gst/gstreamer-sections.txt:
2734         * gst/gstclock.c: (gst_clock_adjust_unlocked),
2735         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
2736         * gst/gstclock.h:
2737         Improve _adjust_unlocked() so that it overflows less.
2738         Add gst_clock_unadjust_unlocked to convert from external time to
2739         internal time based on calibration.
2740         Add some more debug.
2741         API: GstClock::gst_clock_unadjust_unlocked()
2742
2743 2007-04-03  Wim Taymans  <wim@fluendo.com>
2744
2745         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2746
2747         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2748         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
2749         when releasing sink pad. Fixes #425400.
2750
2751 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
2752
2753         * docs/random/ensonic/dynlink.txt:
2754           More work on proposal for new core api.
2755
2756         * docs/libs/gstreamer-libs-sections.txt:
2757         * libs/gst/base/gstbasetransform.h:
2758           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
2759           
2760         * libs/gst/controller/gstcontroller.c:
2761         (on_object_controlled_property_changed),
2762         (gst_controller_sync_values),
2763         (gst_controller_set_interpolation_mode):
2764         * libs/gst/controller/gstcontroller.h:
2765           Less verbose logging add docs for unimplemented parts and correctly
2766           return when using unavailable parts.
2767
2768 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
2769
2770         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
2771         Move all the debug to the CLOCK category, and associate it with
2772         the clock object.
2773
2774 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
2775
2776         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
2777         Make take_buffer a bit quicker by removing redundant checks
2778         caused by calling gst_adapter_take.
2779
2780 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
2781
2782         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
2783           Don't leak GCond.
2784
2785         * tests/check/Makefile.am:
2786         * tests/check/elements/.cvsignore:
2787         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2788         (GST_START_TEST), (multiqueue_suite):
2789           Add some dead simple unit tests for the 'multiqueue' element
2790           (some bits don't work yet and are disabled for now).
2791
2792 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
2793
2794         * gst/gstelement.c: (gst_element_get_request_pad),
2795         (gst_element_class_get_request_pad_template):
2796           Make gst_element_get_request_pad() create request pads only for
2797           request pad templates and not for, say, sometimes pad templates.
2798
2799 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
2800
2801         * docs/design/draft-klass.txt:
2802           Add example that needs more thinking.
2803         
2804         * docs/design/draft-missing-plugins.txt:
2805           More thoughts about wrapper plugins.
2806         
2807         * docs/random/ensonic/embedded.txt:
2808         * docs/random/ensonic/profiling.txt:
2809           More design work.
2810
2811 2007-03-25  Wim Taymans  <wim@fluendo.com>
2812
2813         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2814         (gst_base_src_loop):
2815         Only push the segment events in the PLAYING state for live sources.
2816
2817 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
2818
2819         * gst/gstpipeline.c: (gst_pipeline_change_state):
2820         Modify the clock distribution path in PAUSED->PLAYING so that we 
2821         never attempt to choose a new clock unless we're actually leaving
2822         the PAUSED state for the first time. This prevents choosing a
2823         different clock when the state_change gets called for a 2nd time due
2824         to some element doing an async state change.
2825
2826 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2827
2828         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2829         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2830         (gst_pad_chain_unchecked), (gst_pad_push):
2831         Revert last commit. This needs some more thoughts.
2832
2833 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2834
2835         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2836         (gst_pad_chain_unchecked), (gst_pad_push):
2837         Check in set_caps if the caps are compatible with the pad and remove
2838         two functions that are redundant now. Fixes #421543.
2839
2840 2007-03-22  Wim Taymans  <wim@fluendo.com>
2841
2842         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2843         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2844         Unref some more to make valgrind happy.
2845
2846 2007-03-22  Wim Taymans  <wim@fluendo.com>
2847
2848         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2849         (gst_system_clock_id_wait_jitter),
2850         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2851         Fix anoying regression that survived a few releases. When adding an
2852         async entry while blocking on a sync entry, the sync entry will unblock
2853         but still be busy, so it should continue to wait instead of returning
2854         _BUSY to the app.
2855         Add some comments here and there.
2856
2857         * tests/check/gst/gstsystemclock.c: (mixed_thread),
2858         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2859         Add testcase for this.
2860
2861 2007-03-22  Wim Taymans  <wim@fluendo.com>
2862
2863         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2864         Handle errors from the clock sync better, only UNSCHEDULED indicates a
2865         WRONG_STATE and can silently pause the task. All other cases should
2866         error out.
2867
2868 2007-03-22  Wim Taymans  <wim@fluendo.com>
2869
2870         Patch by: Ville Syrjala <syrjala at sci dot fi>
2871
2872         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2873         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
2874         Improve debugging.
2875
2876 2007-03-21  Michael Smith  <msmith@fluendo.com>
2877
2878         * docs/pwg/advanced-types.xml:
2879           Fix some errors in the typefinding docs pointed out on irc.
2880
2881 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
2882
2883         * libs/gst/base/gstbasesrc.c:
2884         Clarify FIXME comment in the face of having added unlock_stop()
2885
2886 2007-03-21  Wim Taymans  <wim@fluendo.com>
2887
2888         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2889         Prepare for release where we warn against possible app breakage in the
2890         case of live pipelines along with an env var to enable/disable live
2891         preroll mode (GST_COMPAT=[no-]live-preroll).
2892
2893 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2894
2895         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2896         So we should use correct constants for checking for None offset.
2897
2898 2007-03-20  Wim Taymans  <wim@fluendo.com>
2899
2900         * docs/design/part-block.txt:
2901         Mention the fact that the newly switched element should be set to at
2902         least PAUSED.
2903
2904 2007-03-20  Wim Taymans  <wim@fluendo.com>
2905
2906         * gst/gst.c:
2907         Fix compilation with registry disabled as spotted by Saur.
2908
2909 2007-03-20  Wim Taymans  <wim@fluendo.com>
2910
2911         Patch by: Olivier Crete <tester at tester dot ca>
2912
2913         * gst/gstelement.c: (gst_element_sync_state_with_parent):
2914         Look at the pending state too when syncing the element state to the
2915         parent. Fixes #420133.
2916
2917 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
2918
2919         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2920         (gst_base_sink_change_state):
2921         * libs/gst/base/gstbasesink.h:
2922         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2923         (gst_base_src_default_event), (gst_base_src_unlock_stop),
2924         (gst_base_src_deactivate):
2925         * libs/gst/base/gstbasesrc.h:
2926         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2927         for sub-classes to correctly clear any state they set trying to
2928         unlock, such as clearing out unlock commands from a command fd.
2929         API: basesrc::unlock_stop
2930         API: basesink::unlock_stop
2931
2932         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2933         (gst_fd_sink_render), (gst_fd_sink_unlock),
2934         (gst_fd_sink_unlock_stop):
2935         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2936         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2937         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2938
2939         Implement unlock_stop in fdsrc and fdsink.
2940         Implement seeking in fdsrc when a seekable fd is passed, as in
2941         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2942
2943 2007-03-19  Wim Taymans  <wim@fluendo.com>
2944
2945         Patch by: Evan Nemerson <evan at coeus dash group dot com>
2946
2947         * gst/gstelement.c: (gst_element_class_init):
2948         Fix pad-added and pad-removed signal signatures so that the pad type is
2949         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2950
2951 2007-03-19  Wim Taymans  <wim@fluendo.com>
2952
2953         * docs/gst/gstreamer-sections.txt:
2954         Add new element field and method.
2955
2956         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2957         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2958         (gst_bin_recalc_state), (gst_bin_get_state_func),
2959         (gst_bin_element_set_state), (gst_bin_change_state_func),
2960         (gst_bin_continue_func), (bin_bus_handler),
2961         (bin_push_state_continue), (bin_handle_async_start),
2962         (bin_handle_async_done), (gst_bin_handle_message_func):
2963         Make async state changes a bit smarter by using new ASYNC_START and
2964         ASYNC_DONE messages. This reduces the number of times we run the state
2965         recalculation thread.
2966         Don't change state of element with a pending ASYNC_START message.
2967         Deprecate STATE_DIRTY messages.
2968         
2969         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2970         (gst_element_get_state_func), (gst_element_continue_state),
2971         (gst_element_lost_state), (gst_element_set_state_func),
2972         (gst_element_change_state):
2973         * gst/gstelement.h:
2974         Keep the state that was last set by the app in a new element field.
2975         Don't allow state changes when handling an element event.
2976         Post ASYNC_START and ASYNC_DONE messages.
2977         Change lost_state so that we go to PAUSED and wait for the parent to set
2978         us to PLAYING again (so latency calculation can be performed)
2979         Export gst_element_change_state() method so that subclasses can use it.
2980         API: gst_element_change_state()
2981         API: GST_STATE_TARGET
2982
2983         * gst/gstpipeline.c: (gst_pipeline_class_init),
2984         (reset_stream_time), (gst_pipeline_change_state),
2985         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2986         Using the new ASYNC_START message we can reset the base_time when
2987         needed. This can then be used to implement base_time redistribution in
2988         flushing seeks so that we can remove the explicit seek handling.
2989         Perform latency query and configuration when going to PLAYING.
2990
2991         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2992         (gst_base_sink_query), (gst_base_sink_change_state):
2993         Post new ASYNC_START/ASYNC_DONE messages.
2994
2995         * tests/check/generic/sinks.c: (GST_START_TEST):
2996         Fix test because the bin will not set the async element to PLAYING right
2997         away.
2998
2999         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3000         Make the message check a little stronger.
3001         Handle ASYNC messages.
3002
3003         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3004         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3005         Expect ASYNC_DONE messages.
3006
3007 2007-03-19  Wim Taymans  <wim@fluendo.com>
3008
3009         * docs/gst/gstreamer-sections.txt:
3010         * gst/gstmessage.c: (gst_message_new_async_start),
3011         (gst_message_new_async_done), (gst_message_parse_info),
3012         (gst_message_parse_async_start):
3013         * gst/gstmessage.h:
3014         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3015         support.
3016
3017 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
3018
3019         * tools/gst-inspect.c:
3020         (print_plugin_automatic_install_info_codecs):
3021           Now that we don't check for the 'Codec' keyword any longer in the
3022           klass, we shouldn't spew a warning if the klass isn't a decoder or
3023           encoder (since it might be a Source/Network, for example).
3024
3025 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3026
3027         * tools/gst-inspect.c:
3028         (print_plugin_automatic_install_info_codecs):
3029           Don't require decoder/demuxer/depayloader elements or
3030           encoder/muxer/paylader elements to have 'Codec' as part of their
3031           factory class string when introspecting a plugin's capabilities.
3032           draft-klass.txt mentions that it might be removed in future, and
3033           flump3dec doesn't have it as part of its class string, so chances
3034           are others might also not have it.
3035
3036 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3037
3038         * po/af.po:
3039         * po/az.po:
3040         * po/bg.po:
3041         * po/ca.po:
3042         * po/cs.po:
3043         * po/de.po:
3044         * po/en_GB.po:
3045         * po/fr.po:
3046         * po/it.po:
3047         * po/nb.po:
3048         * po/nl.po:
3049         * po/ru.po:
3050         * po/sq.po:
3051         * po/sr.po:
3052         * po/sv.po:
3053         * po/tr.po:
3054         * po/uk.po:
3055         * po/vi.po:
3056         * po/zh_CN.po:
3057         * po/zh_TW.po:
3058           Update translations from translation project
3059
3060 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
3061
3062         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3063         (gst_child_proxy_set_property):
3064           Invert precondition check to be alike the ones in the mimiced gobject
3065           api.
3066
3067 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
3068
3069         * docs/design/draft-tagreading.txt:
3070         * docs/random/ensonic/audiobaseclasses.txt:
3071           Do some Architect work.
3072
3073         * gst/gstobject.c: (gst_object_set_name):
3074           Add a WARNING.
3075
3076         * gst/gstpad.c:
3077           Add docs that point from gst_pad_get_range to gst_pad_pull_range
3078
3079 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
3080
3081         * gst/gstsystemclock.c: (gst_system_clock_init),
3082         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3083         Defer starting the async system clock thread until the first async
3084         wait is scheduled. Fixes #414986.
3085
3086 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
3087
3088         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3089         (gst_single_queue_free):
3090           Fix small leak (free GstSingleQueue structure too, not only contents).
3091
3092 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
3093
3094         * gst/gstbin.c:(gst_bin_add):
3095         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3096         * win32/common/libgstbase.def:
3097         * win32/common/libgstreamer.def:
3098         Add new exported functions.
3099
3100 2007-03-09  Wim Taymans  <wim@fluendo.com>
3101
3102         * docs/plugins/gstreamer-plugins-sections.txt:
3103         Fix GstTee docs.
3104
3105 2007-03-09  Wim Taymans  <wim@fluendo.com>
3106
3107         * docs/gst/gstreamer-sections.txt:
3108         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3109         * gst/gstbuffer.h:
3110         Add metadata copy functions. Fixes #393099.
3111         API: gst_buffer_copy_metadata()
3112
3113         * gst/gstutils.c: (gst_buffer_stamp):
3114         * libs/gst/base/gstbasetransform.c:
3115         (gst_base_transform_prepare_output_buffer):
3116         Use new metadata copy functions.
3117
3118 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3119
3120         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3121         (gst_identity_init), (gst_identity_check_perfect),
3122         (gst_identity_check_imperfect_timestamp),
3123         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3124         (gst_identity_set_property), (gst_identity_get_property):
3125         * plugins/elements/gstidentity.h:
3126         Separate out check-imperfect-timestamp and check-imperfect-offset.
3127         Put back check-perfect as it was to keep compatibility.
3128
3129 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
3130
3131         * gst/gstelement.c: (gst_element_dispose):
3132         There's no need to warn if VOID_PENDING is not NONE here, as
3133         long as the state is NULL it's ok, and that's checked immediately
3134         above.
3135
3136 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3137
3138         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3139         Fix check for perfect stream to ignore buffers with -1 
3140         offsets/offset ends when checking data contiguity.
3141
3142 2007-03-08  Wim Taymans  <wim@fluendo.com>
3143
3144         * tools/gst-launch.c: (event_loop):
3145         Print INFO messages.
3146
3147 2007-03-08  Wim Taymans  <wim@fluendo.com>
3148
3149         * libs/gst/base/gstbasetransform.c:
3150         (gst_base_transform_sink_eventfunc),
3151         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3152         (gst_base_transform_activate):
3153         * libs/gst/base/gstbasetransform.h:
3154         Add support for dropping buffers with custom GstFlowReturn.
3155         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3156         buffers or dropped buffers.
3157
3158         * docs/libs/gstreamer-libs-sections.txt:
3159         docs for new custom return code.
3160
3161         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3162         Use drop support in base class to implement drop-probability.
3163
3164 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
3165
3166         * gst/gst.c: (load_plugin_func):
3167         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3168         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3169         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3170           Remove newlines at end of debug log strings.
3171
3172 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3173
3174         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3175         Only post bus message at max, once per buffer received.
3176
3177 2007-03-07  Wim Taymans  <wim@fluendo.com>
3178
3179         * docs/design/Makefile.am:
3180         * docs/design/part-synchronisation.txt:
3181         Add doc about synchronisation
3182
3183         * docs/design/draft-latency.txt:
3184         * docs/design/part-TODO.txt:
3185         * docs/design/part-clocks.txt:
3186         * docs/design/part-events.txt:
3187         * docs/design/part-gstbus.txt:
3188         * docs/design/part-gstpipeline.txt:
3189         * docs/design/part-live-source.txt:
3190         * docs/design/part-messages.txt:
3191         * docs/design/part-overview.txt:
3192         * docs/design/part-streams.txt:
3193         * docs/design/part-trickmodes.txt:
3194         Documentation updates.
3195
3196 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3197
3198         * gstreamer.doap:
3199         Update the doap file.
3200
3201 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3202
3203         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3204         Rename non-perfect to imperfect for Mike and for the sanctity of the
3205         language.
3206         Also make sure bus message gets emitted for data-incontiguities.
3207
3208 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3209
3210         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3211         (gst_identity_start):
3212         * plugins/elements/gstidentity.h:
3213         Emit bus message if check-perfect is true and we encounter a
3214         non-perfect stream between 2 consecutive buffers.
3215         Fixes #415394.
3216
3217 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3218
3219         * configure.ac:
3220         Back to CVS
3221
3222 === release 0.10.12 ===
3223
3224 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
3225
3226         * configure.ac:
3227           releasing 0.10.12, "Inevitable Demise"
3228
3229 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
3230
3231         * configure.ac:
3232          Version 0.10.11.2 (0.10.12 pre-release)
3233          Bump libtool versioning.
3234
3235 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
3236
3237         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3238           Log flow-names and not numbers.
3239
3240 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3241
3242         * configure.ac:
3243           Convert to new AG_GST style.
3244
3245 2007-02-28  Wim Taymans  <wim@fluendo.com>
3246
3247         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3248         Don't unref query twice.
3249
3250 2007-02-28  Wim Taymans  <wim@fluendo.com>
3251
3252         * gst/gstvalue.c: (gst_value_transform_object_string),
3253         (_gst_value_initialize):
3254         Implement GstObject -> string transform so we print object names
3255         when serializing GValues containing GstObjects.
3256
3257 2007-02-28  Wim Taymans  <wim@fluendo.com>
3258
3259         * docs/gst/gstreamer-sections.txt:
3260         Add new stuff to docs.
3261
3262 2007-02-28  Wim Taymans  <wim@fluendo.com>
3263
3264         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3265         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3266         (gst_base_sink_change_state):
3267         Improve latency query code.
3268         Don't leak latency events.
3269
3270         * tests/check/gst/gstbin.c: (GST_START_TEST):
3271         Improve debugging.
3272
3273 2007-02-28  Wim Taymans  <wim@fluendo.com>
3274
3275         * gst/gstelement.c: (gst_element_message_full),
3276         (gst_element_get_state_func):
3277         * gst/gstelement.h:
3278         Improve docs a little. Added Since: for new macro.
3279
3280         * gst/gstobject.c: (gst_object_sink):
3281         * gst/gstpipeline.c: (gst_pipeline_change_state),
3282         (gst_pipeline_set_new_stream_time):
3283         * gst/gstpipeline.h:
3284         Improve debugging and docs.
3285
3286         * gst/gstutils.c: (gst_element_state_change_return_get_name):
3287         Improve debugging.
3288
3289 2007-02-28  Wim Taymans  <wim@fluendo.com>
3290
3291         * gst/gstelement.c: (gst_element_message_full),
3292         (gst_element_set_locked_state), (gst_element_get_state_func),
3293         (gst_element_change_state):
3294         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3295         Documentation updates.
3296         Small code cleanups.
3297
3298         * gst/gstmessage.c: (gst_message_new_info),
3299         (gst_message_parse_info):
3300         * gst/gstmessage.h:
3301         API: gst_message_new_info()
3302         API: gst_message_parse_info()
3303         Add INFO message create and parse code.
3304
3305 2007-02-28  Wim Taymans  <wim@fluendo.com>
3306
3307         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3308         (bin_query_latency_done):
3309         Also report the live parameter of a latency query.
3310
3311 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3312
3313         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3314           Copy the current generic/states example from -base and adapt so
3315           we can use the exact same code everywhere.
3316           Check a STATES_IGNORE_ELEMENTS env var which can be used
3317           to ignore certain element factories for this test, which is
3318           what is being done in -base
3319         * tests/check/Makefile.am:
3320           Mention this environment variable.
3321
3322 2007-02-27  Wim Taymans  <wim@fluendo.com>
3323
3324         * docs/gst/gstreamer-sections.txt:
3325         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3326         (gst_bus_timed_pop), (gst_bus_pop):
3327         * gst/gstbus.h:
3328         API: gst_bus_timed_pop()
3329         Implement gst_bus_timed_pop() to do a blocking timed wait for a
3330         message to arrive on the bus.
3331
3332         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3333         (gst_bus_suite):
3334         Two unit tests for new _timed_pop() function.
3335
3336 2007-02-23  Wim Taymans  <wim@fluendo.com>
3337
3338         * gst/gstpipeline.c: (gst_pipeline_change_state),
3339         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3340         Don't ref a NULL clock in _provide_clock_func().
3341         Don't allow an INVALID delay.
3342         Don't try to calculate base_time with an invalid start_time.
3343         Also distribute and notify a NULL clock when it was selected.
3344
3345         * tools/gst-launch.c: (event_loop):
3346         Don't crash when a NULL clock was selected in the pipeline.
3347
3348 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3349
3350         * docs/design/Makefile.am:
3351         * docs/design/draft-missing-plugins.txt:
3352         * docs/random/draft-missing-plugins.txt:
3353           Some small updates: update plugin system identifier prefix
3354           ('gstreamer.net' to 'gstreamer'), mention our new install
3355           API in libgstbaseutils rather than libgimme-codec, add
3356           reference to the online docs.
3357
3358 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3359
3360         * win32/common/config.h:
3361           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
3362           use moap cl ci to only check in what is mentioned in the ChangeLog.
3363
3364 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3365
3366         * docs/gst/gstreamer-sections.txt:
3367         * gst/gstelement.h:
3368           Fix up documentation to link to the correct GstGError section.
3369           Add GST_ELEMENT_INFO macro since someone else added a Info message.
3370
3371 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3372
3373         * tools/gst-launch.c: (event_loop):
3374           Make sure that we actually show the important message part of a
3375           warning message.
3376           No need to check if the gerror is not NULL to free; first of all
3377           g_free accepts NULL; and second the default error handler would
3378           segfault if gerror was NULL.
3379
3380 2007-02-21  Wim Taymans  <wim@fluendo.com>
3381
3382         * docs/gst/gstreamer-sections.txt:
3383         Removed docs as well.
3384
3385 2007-02-21  Wim Taymans  <wim@fluendo.com>
3386
3387         * gst/gstmessage.c: (gst_message_parse_duration):
3388         * gst/gstmessage.h:
3389         Remove new messages for release.
3390
3391 2007-02-20  Wim Taymans  <wim@fluendo.com>
3392
3393         * docs/design/part-gstghostpad.txt:
3394         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
3395         (gst_ghost_pad_new_full):
3396         Make the ghostpad a parent of the internal pad again for better backward
3397         compatibility. Don't write code that relies on this however.
3398
3399         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3400         (gst_pad_link_check_hierarchy):
3401         Require that parents should be GstElements in the hierarchy check.
3402
3403 2007-02-20  Wim Taymans  <wim@fluendo.com>
3404
3405         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
3406         (gst_bin_change_state_func), (bin_query_min_max_init),
3407         (bin_query_latency_fold), (bin_query_latency_done),
3408         (gst_bin_query):
3409         Improve debug info.
3410         Implement latency query.
3411
3412 2007-02-20  Wim Taymans  <wim@fluendo.com>
3413
3414         * docs/design/part-gstghostpad.txt:
3415         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
3416         (gst_ghost_pad_internal_do_activate_push),
3417         (gst_ghost_pad_internal_do_activate_pull),
3418         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3419         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
3420         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
3421         Do not set the internal pad as a parent anymore so we can avoid
3422         hierarchy linking errors when the ghostpad has no parent yet. This also
3423         fixes failed activation because of unlinked internal pads, which in
3424         turn fixes the impossible case where you have to activate a pad before
3425         you can add it to a running element.
3426         Also fix the docs.
3427
3428         * gst/gstpad.c: (pre_activate), (post_activate),
3429         (gst_pad_set_active), (gst_pad_activate_pull),
3430         (gst_pad_activate_push), (gst_pad_check_pull_range):
3431         Add some more debug info.
3432         Mark activation mode in pre_activate so that we don't try to activate in
3433         endless loops. Fixes #385084.
3434
3435 2007-02-19  Wim Taymans  <wim@fluendo.com>
3436
3437         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3438         (gst_base_transform_check_get_range):
3439         Implement a checkgetrange function instead of relying on the default
3440         core behaviour that assumes we can operate in pull mode if we have a
3441         getrange function. First step at fixing #385084.
3442
3443 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
3444
3445         * gst/gstchildproxy.h:
3446         * libs/gst/base/gstbasesink.h:
3447         * libs/gst/base/gstbasesrc.h:
3448         * libs/gst/base/gstbasetransform.h:
3449         More docs coverage and some ChangeLog surgery (add missing names)
3450
3451 2007-02-15  Wim Taymans  <wim@fluendo.com>
3452
3453         * docs/design/part-TODO.txt:
3454         * docs/design/part-activation.txt:
3455         * docs/design/part-block.txt:
3456         * docs/design/part-buffering.txt:
3457         * docs/design/part-clocks.txt:
3458         * docs/design/part-element-source.txt:
3459         * docs/design/part-events.txt:
3460         * docs/design/part-gstbin.txt:
3461         * docs/design/part-gstbus.txt:
3462         * docs/design/part-gstpipeline.txt:
3463         * docs/design/part-live-source.txt:
3464         * docs/design/part-messages.txt:
3465         * docs/design/part-overview.txt:
3466         * docs/design/part-qos.txt:
3467         * docs/design/part-query.txt:
3468         * docs/design/part-states.txt:
3469         * docs/design/part-trickmodes.txt:
3470         Some doc updates. Start renaming from stream_time to running_time where
3471         it was used wrongly.
3472
3473 2007-02-15  Wim Taymans  <wim@fluendo.com>
3474
3475         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3476         Answer LATENCY query.
3477
3478 2007-02-15  Wim Taymans  <wim@fluendo.com>
3479
3480         * tests/check/gst/gstevent.c: (event_probe), (test_event),
3481         (GST_START_TEST):
3482         Improve debugging.
3483
3484 2007-02-15  Wim Taymans  <wim@fluendo.com>
3485
3486         * gst/gstpad.c: (gst_pad_get_internal_links_default),
3487         (gst_pad_dispatcher):
3488         Improve debugging of default pad dispatcher and query functions.
3489
3490 2007-02-15  Wim Taymans  <wim@fluendo.com>
3491
3492         * docs/gst/gstreamer-sections.txt:
3493         Remove old unused method.
3494
3495 2007-02-13  Wim Taymans  <wim@fluendo.com>
3496
3497         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3498         Fix check
3499
3500 2007-02-13  Wim Taymans  <wim@fluendo.com>
3501
3502         * docs/design/part-seeking.txt:
3503         Some small update.
3504
3505         * gst/gstsegment.c: (gst_segment_set_seek):
3506         Revert old bogus change that should make seeking work again.
3507
3508 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
3509
3510         * docs/random/ensonic/dynlink.txt:
3511         * docs/random/ensonic/interfaces.txt:
3512         * docs/random/ensonic/receipies.txt:
3513           Possible dynamic reconnection api, plus some type fixes the other two
3514           docs.
3515
3516 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
3517
3518         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3519         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3520         Also check for an absolute path following file:// in the filesrc
3521         element. Remove redundant check and call g_path_is_absolute() on the
3522         unescaped location.
3523
3524 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
3525
3526         * docs/design/draft-klass.txt:
3527           Add existing category analysis.
3528           
3529         * gst/gstcaps.c:
3530           Fix doc example, framerate is a fraction.
3531
3532 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
3533
3534         * configure.ac:
3535         * docs/gst/Makefile.am:
3536         * docs/gst/gstreamer-sections.txt:
3537         * docs/libs/Makefile.am:
3538           Erm, forgot a bunch of --extra-dir.
3539
3540 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
3541
3542         * configure.ac:
3543         * docs/gst/Makefile.am:
3544         * docs/libs/Makefile.am:
3545         * docs/plugins/Makefile.am:
3546           Add crossreferences to glib/gobject docs.
3547
3548 2007-02-12  Wim Taymans  <wim@fluendo.com>
3549
3550         * docs/design/draft-latency.txt:
3551         Small update.
3552
3553         * docs/libs/gstreamer-libs-sections.txt:
3554         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3555         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3556         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3557         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3558         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3559         (gst_base_sink_get_position), (gst_base_sink_query),
3560         (gst_base_sink_change_state):
3561         * libs/gst/base/gstbasesink.h:
3562         API: gst_base_sink_query_latency() to let subclasses query the upstream
3563         latency.
3564         API: gst_base_sink_get_latency() to let subclasses query the configured
3565         latency in the sink.
3566         Implement query and set latency.
3567         Update some docs.
3568         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3569         don't continue preroll when we are flushing. Fixes #405284.
3570
3571         * tests/check/pipelines/stress.c: (change_state_timeout),
3572         (quit_timeout), (GST_START_TEST), (stress_suite):
3573         Test for #405284.
3574
3575 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
3576
3577         Patch by: René Stadler <mail at renestadler de>
3578
3579         * docs/gst/gstreamer-sections.txt:
3580         * gst/gsttaglist.c: (_gst_tag_initialize):
3581         * gst/gsttaglist.h:
3582           API: add GST_TAG_REFERENCE_LEVEL (#403597).
3583
3584 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
3585
3586         * docs/libs/Makefile.am:
3587           Fix path to core docs.
3588
3589         * gst/gstbin.c: (gst_bin_get_by_interface),
3590         (gst_bin_iterate_all_by_interface):
3591           Refix docs by also renaming 'interface' to 'iface' in implementation.
3592
3593         * docs/gst/gstreamer-sections.txt:
3594         * gst/gstcaps.c:
3595         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3596         * gst/gstchildproxy.h:
3597         * gst/gstelementfactory.c:
3598         * gst/gstpadtemplate.h:
3599         * libs/gst/controller/gstcontroller.c:
3600         (gst_controlled_property_new):
3601           Document more.
3602
3603 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
3604
3605         * gst/gstbin.h:(gst_bin_get_by_interface),
3606         (gst_bin_iterate_all_by_interface):
3607         Replace interface parameter name by iface as interface is 
3608         a reserved keyword in Visual Studio for C++ projects so it removes
3609         a build error for application developpers using VS.
3610         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3611         Fix a bug on Windows in uri format check. Now the prefix checked
3612         is file:// and next we check if the path after file:// is absolute.
3613         * win32/common/libgstbase.def:
3614         * win32/common/libgstdataprotocol.def:
3615         * win32/common/libgstgstreamer.def:
3616         Add new exported functions.
3617
3618 2007-02-09  Andy Wingo  <wingo@pobox.com>
3619
3620         * tests/check/pipelines/simple-launch-lines.c
3621         (simple_launch_lines_suite, test_tee): Disable tee test until I
3622         have time to fix it :-(
3623
3624         * tests/check/Makefile.am (noinst_HEADERS): 
3625         * tests/check/libs/libsabi.c: 
3626         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3627         * tests/check/gst/gstabi.c: 
3628         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3629
3630         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3631         tests for push and pull tee behavior.
3632
3633         * plugins/elements/gsttee.h: 
3634         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3635         mark as deprecated as well as unimplemented. It was a crack idea.
3636         Add support for tee operating in pull mode, off by default.
3637
3638         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3639         normal-case logs down to LOG, raise errors to WARNING.
3640         (gst_registry_xml_read_cache): Don't log before calling a function
3641         that logs.
3642
3643         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3644         exit (registry finalize).
3645         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3646         DEBUG log when we emit signals that people don't even have the
3647         chance to connect to.
3648         (gst_registry_scan_path_level): Less logging in the normal case.
3649
3650 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3651
3652         Patch by: Michal Benes <michal dot benes at itonis dot tv>
3653
3654         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3655         Correctly generate EOS for non-seekable files. We don't have a total
3656         length for them and would get an unexpected end of file if we only
3657         special-cased for regular files. (Fixes: #404569)
3658
3659 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3660
3661         * tests/check/elements/filesrc.c: (GST_START_TEST),
3662         (filesrc_suite):
3663         Add unit test for the GstURIHandler interface in filesrc. This also
3664         tests the newly added file://localhost/foo/bar support.
3665
3666 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
3667
3668         * gst/gstelementfactory.h:
3669           The klass string is not a hierarchy. Add reference to the design doc
3670           for more information and common types.
3671
3672 2007-02-02  Wim Taymans  <wim@fluendo.com>
3673
3674         * gst/gstquery.c: (gst_query_new_latency):
3675         Remove old structure field.
3676
3677 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
3678
3679         * tools/gst-launch.1.in:
3680           Give example for network streaming (#351998)
3681
3682 2007-02-02  Wim Taymans  <wim@fluendo.com>
3683
3684         * docs/gst/gstreamer-sections.txt:
3685         Add docs for new methods.
3686
3687         * gst/gstevent.c: (gst_event_new_latency),
3688         (gst_event_parse_latency):
3689         * gst/gstevent.h:
3690         Add new LATENCY event to configure latency in a pipeline.
3691         API: gst_event_new_latency
3692         API: gst_event_parse_latency
3693
3694         * gst/gstmessage.c: (gst_message_new_buffering),
3695         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3696         (gst_message_new_latency), (gst_message_parse_buffering),
3697         (gst_message_parse_lost_preroll):
3698         * gst/gstmessage.h:
3699         Added messages used in draft-latency.
3700         API: gst_message_new_lost_preroll
3701         API: gst_message_parse_lost_preroll
3702         API: gst_message_new_prerolled
3703         API: gst_message_new_latency
3704
3705         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3706         (gst_query_parse_latency):
3707         * gst/gstquery.h:
3708         Implemented new latency query as in design doc.
3709         API: gst_query_new_latency
3710         API: gst_query_set_latency
3711         API: gst_query_parse_latency
3712
3713 2007-02-02  Wim Taymans  <wim@fluendo.com>
3714
3715         * docs/design/draft-latency.txt:
3716         Slight redesign to allow for dynamic latency adjustments.
3717
3718         * docs/design/part-negotiation.txt:
3719         Fix some typos.
3720
3721 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
3722
3723         reviewed by: Wim Taymans <wim@fluendo.com>
3724
3725         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3726         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3727         Allow file://localhost/foo/bar URLs and correctly fail for every other
3728         hostname that one sets. This was gnomevfssrc is linked for those if
3729         installed as it can handle it (#403172)
3730
3731 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
3732
3733         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3734
3735         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3736         (unref_data), (gst_collect_pads_add_pad_full):
3737         * libs/gst/base/gstcollectpads.h:
3738         Don't put the previously added destroy notify in the GstCollectData
3739         struct as all it's padding is already used and we don't want to break
3740         ABI. Instead put in the pad's GObject data for now. This should be
3741         cleaned up for 0.11 (#402393).
3742
3743 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
3744
3745         reviewed by: Wim Taymans <wim@fluendo.com>
3746
3747         * docs/libs/gstreamer-libs-sections.txt:
3748         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3749         (unref_data), (gst_collect_pads_add_pad),
3750         (gst_collect_pads_add_pad_full):
3751         * libs/gst/base/gstcollectpads.h:
3752         API: Add function to specify a destroy notification for custom
3753         GstCollectData when adding new pads in GstCollectPads (#402393).
3754
3755 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
3756
3757         * po/sv.po:
3758           Update Swedish translation (#378255).
3759
3760 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
3761
3762         * docs/design/draft-klass.txt:
3763           Fix the previous change, this is a list of categories and not a hierarchy.
3764
3765 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
3766
3767         * docs/design/draft-klass.txt:
3768           Add info about how to get a list of used classes.
3769
3770 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
3771
3772         * plugins/elements/gsttypefindelement.c:
3773         (gst_type_find_element_chain_do_typefinding),
3774         (gst_type_find_element_change_state):
3775           Don't leak found caps in chain function (no idea why that never
3776           showed up as a leak anywhere).
3777
3778 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
3779
3780         * gst/gstplugin.h:
3781           Fix and expand GstPluginDesc API docs.
3782
3783 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
3784
3785         * gst/gstcaps.c:
3786         * gst/gstelementfactory.c:
3787         * gst/gstpadtemplate.h:
3788           api doc fixes
3789
3790         * libs/gst/controller/gstcontroller.c:
3791         (gst_controlled_property_new):
3792         * tests/examples/controller/audio-example.c:
3793           comment fixes
3794
3795 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
3796
3797         * configure.ac:
3798           comment about refining the xml deps
3799
3800         * docs/manuals.mak:
3801           comments about moving away from jade for docs
3802         
3803         * gst/gst.c:
3804           recommit the ifdefs to use the binary registry
3805         
3806         * gst/gstbin.c: (gst_bin_change_state_func):
3807           this break is obsolete
3808
3809         * gst/gstelementfactory.h:
3810           better GST_ELEMENT_DETAILS docs, add comment about translation
3811
3812         * gst/gstinfo.h:
3813           remove eol slash
3814
3815         * gst/gstobject.c: (gst_signal_object_get_type):
3816           add G_UNLIKELY as usual
3817
3818         * gst/gstpad.c: (gst_pad_event_default):
3819           add fall trhu comment
3820
3821         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3822         (gst_registry_binary_initialize_magic),
3823         (gst_registry_binary_save_string),
3824         (gst_registry_binary_save_pad_template),
3825         (gst_registry_binary_save_feature),
3826         (gst_registry_binary_save_plugin),
3827         (gst_registry_binary_write_cache),
3828         (gst_registry_binary_check_magic),
3829         (gst_registry_binary_load_pad_template),
3830         (gst_registry_binary_load_feature),
3831         (gst_registry_binary_load_plugin),
3832         (gst_registry_binary_read_cache):
3833           comment typo and formatting
3834
3835         * gst/gstutils.c: (gst_element_state_get_name),
3836         (gst_element_state_change_return_get_name):
3837           remove obsolete breaks
3838
3839         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3840           add FIXME 0.11 and remove cpp comment
3841
3842 2007-01-29  Edward Hervey  <edward@fluendo.com>
3843
3844         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3845         Fix print statement in an even more portable way.
3846
3847 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
3848
3849         * docs/gst/gstreamer-sections.txt:
3850         * gst/gstutils.h:
3851           API: add GST_ROUND_DOWN_* macros (#401781).
3852
3853 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
3854
3855         * docs/gst/gstreamer.types.in:
3856         * gst/gstregistry.c: (gst_registry_class_init):
3857           Document registry signals and make gtk-doc pick them up (#401381).
3858
3859 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3860
3861         * docs/pwg/building-testapp.xml:
3862           Add some audioconverts and audioresample to the pipeline, and some
3863           more comments and error handling.
3864
3865 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3866
3867         * docs/manual/manual.xml:
3868         * docs/pwg/pwg.xml:
3869           Fix typo (#400987).
3870
3871 2007-01-26  Wim Taymans  <wim@fluendo.com>
3872
3873         * gst/gstcaps.c: (gst_static_caps_get):
3874         Init caps flags too.
3875
3876 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
3877
3878         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3879
3880         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3881         If not using mmap'ed files try to seek to the end instead of the
3882         start to determine whether we can seek at all. This fixes the case
3883         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3884         seeks for everything afterwards fail. Fixes #400656
3885
3886 2007-01-25  Wim Taymans  <wim@fluendo.com>
3887
3888         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3889         Add some refcount debugging.
3890         Make gst_static_caps_get threadsafe, which is needed when autoplugging
3891         in multiple streaming threads.
3892
3893 2007-01-25  Wim Taymans  <wim@fluendo.com>
3894
3895         Patch by: David Schleef <ds at schleef dot org>
3896
3897         * docs/libs/gstreamer-libs-sections.txt:
3898         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3899         * libs/gst/base/gstadapter.h:
3900         API: gst_adapter_copy() that can reduce the amount of memcpy when
3901         getting data from the adapter. Fixes #388201.
3902
3903 2007-01-25  Edward Hervey  <edward@fluendo.com>
3904
3905         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3906         In print statements, "%x" is for guint. Fixes build on macosx.
3907
3908 2007-01-24  Edward Hervey  <edward@fluendo.com>
3909
3910         * plugins/elements/gstmultiqueue.c:
3911         (gst_multi_queue_loop):
3912         Small fix.
3913         (single_queue_overrun_cb), (single_queue_underrun_cb),
3914         (single_queue_check_full), (gst_single_queue_new):
3915         Implement single queue growth system.
3916         This uses the extra-size properties, and will grow single queues by
3917         that much if one goes full whereas there are others empty. This is
3918         called extra-mode in the code.
3919         When a single queue's levels go back below the initial max-size
3920         limits, it is no longer in extra-mode. This is to ensure we don't
3921         consume too much memory.
3922         Fixes #399875
3923
3924 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
3925
3926         * gst/gst.c: (gst_init_get_option_group):
3927           Make warning about late g_thread_init() calls a bit more explicit,
3928           so that it's more obvious to application developers what they need
3929           to do if a user files a bug against their application.
3930
3931 2007-01-22  Edward Hervey  <edward@fluendo.com>
3932
3933         * plugins/elements/gstmultiqueue.c:
3934         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3935         Remove previous hack of unsetting the flushing flag for the source pad
3936         instead of activating it. Instead, fix the source pad activate function
3937         so that it no longer depends on having a parent set or not.
3938
3939 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
3940
3941         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3942
3943         * docs/manual/basics-bus.xml:
3944           Fix example code, gst_element_unref() doesn't exist any longer.
3945
3946 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
3947
3948         Patch by: Mark Nauwelaerts <manauw at skynet be>
3949
3950         * gst/gstpad.c:
3951           Fix two docs typoes (#399094).
3952
3953 2007-01-19  Edward Hervey  <edward@fluendo.com>
3954
3955         * docs/faq/gst-uninstalled:
3956         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3957         depending on libgstbaseutils can work in uninstalled environment.
3958
3959 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
3960
3961         * gst/gsttaglist.h:
3962         * gst/gsttagsetter.c:
3963         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3964         statement for new tag.
3965
3966 2007-01-17  Edward Hervey  <edward@fluendo.com>
3967
3968         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3969         When dynamically creating single queues, activate sinkpad before adding
3970         it.
3971         We should be doing the same thing for the source pad, but we can't
3972         since it would call a method which needs the parent to be set in order
3973         to work propertly. Instead of activating the source pad, we just unset
3974         the flushing flag, which is the minimal requirement for adding a pad
3975         to an element in a state greater than READY.
3976
3977 2007-01-17  Edward Hervey  <edward@fluendo.com>
3978
3979         * docs/faq/gst-uninstalled:
3980         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3981         Mac OS X.
3982
3983 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3984
3985         * tests/check/gst/gstabi.c:
3986         * tests/check/gst/struct_hppa.h:
3987         * tests/check/libs/libsabi.c:
3988         * tests/check/libs/struct_hppa.h:
3989           Add ABI structs for HPPA (see #393796).
3990
3991 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
3992
3993         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3994           Actually write ABI structs to the file specified in the GST_ABI
3995           environment variable, as the message we print claims we would.
3996
3997 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3998
3999         * tests/check/gst/gsttask.c:
4000           Fix header comment.
4001
4002 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4003
4004         * gst/gsttaglist.c: (_gst_tag_initialize):
4005           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4006           previous two entries.
4007
4008 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4009
4010         * docs/gst/gstreamer-sections.txt:
4011         * gst/gsttaglist.c: (_gst_tag_initialize):
4012         * gst/gsttaglist.h:
4013           Add tag support for beat-per-minute.
4014
4015 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4016
4017         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4018         (gst_registry_binary_initialize_magic),
4019         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4020         (gst_registry_binary_save_pad_template),
4021         (gst_registry_binary_save_feature),
4022         (gst_registry_binary_save_plugin),
4023         (gst_registry_binary_write_cache),
4024         (gst_registry_binary_check_magic),
4025         (gst_registry_binary_load_pad_template),
4026         (gst_registry_binary_load_feature),
4027         (gst_registry_binary_load_plugin),
4028         (gst_registry_binary_read_cache):
4029         * gst/gstregistrybinary.h:
4030           Use glib types, cleanup comments, impement interfaces and uri-types.
4031
4032 2007-01-13  Andy Wingo  <wingo@pobox.com>
4033
4034         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4035         getrange() to return buffers with other caps, while we fix
4036         demuxers and typefind, or otherwise change part-negotiation.txt.
4037
4038 2007-01-12  Andy Wingo  <wingo@pobox.com>
4039
4040         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4041         Factor start/stop into this private function instead of partially
4042         in activate functions and partially in the change_state function.
4043         Fixes setup before the element has changed from READY->PAUSED, as
4044         is the case in pull-mode pipelines.
4045         (gst_base_transform_sink_activate_push)
4046         (gst_base_transform_src_activate_pull): Refactor to use
4047         gst_base_transform_activate().
4048         (gst_base_transform_change_state): Removed, not needed any more.
4049
4050         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4051         Truncate before fixating.
4052         
4053         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4054         Don't set_caps() if the result of fixating is ANY, as it's not
4055         supported, and not necessary in the case of a link with no
4056         template caps on either side. Fixes tests/check/libs/basesrc in
4057         some pull-mode tests.
4058
4059         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4060         (gst_base_transform_init, gst_base_transform_sink_activate_push)
4061         (gst_base_transform_src_activate_pull): 
4062         Track the activation mode.
4063         (gst_base_transform_setcaps): In pull mode, when activating the
4064         src pad, after activating the sink pad, activate the sink pad's
4065         peer, as discussed in part-negotiation.txt.
4066
4067         * libs/gst/base/gstbasesrc.h: 
4068         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4069         vmethod, as in basesink.
4070
4071         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4072
4073         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4074         mode, first proxy the setcaps to the peer pad.
4075         (gst_base_sink_pad_fixate): Add a fixate function that calls the
4076         new fixate vmethod.
4077         (gst_base_sink_default_activate_pull): Rename from
4078         gst_base_sink_activate_pull.
4079         (gst_base_sink_negotiate_pull): New function, performs negotiation
4080         in pull mode before calling ::activate_pull().
4081         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4082         vmethod instead of the default implementation. I have no idea how
4083         this worked before. Negotiate before calling activate_pull.
4084
4085         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4086         sink pads in pull mode. In addition to being correct, fixes
4087         filesrc ! decodebin ! identity ! fakesink.
4088         (gst_pad_get_range, gst_pad_pull_range): Don't call
4089         gst_pad_set_caps() if the caps changes; instead error out with
4090         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4091
4092 2007-01-12  Andy Wingo  <wingo@pobox.com>
4093
4094         * docs/design/part-negotiation.txt: Update with more policy.
4095
4096 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4097
4098         * libs/gst/check/gstbufferstraw.h:
4099         * libs/gst/check/gstcheck.h:
4100           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4101           belongs.
4102
4103 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4104
4105         * tests/check/Makefile.am:
4106         * tests/check/gst/.cvsignore:
4107         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4108         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4109         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4110         (GST_START_TEST), (gst_tag_setter_suite):
4111           Add minimal unit test for beforementioned GstTagSetter bug.
4112
4113 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4114
4115         Patch by: René Stadler <mail at renestadler dot de>
4116
4117         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4118           gst_tag_list_merge() returns a new list, so it's not the best idea
4119           to ingore its return value. Effectively meant that tags could only
4120           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4121           Also add function guard to require a non-NULL taglist as input (has
4122           always been so due to gst_tag_list_copy(), just making it explicit).
4123
4124 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4125
4126         * docs/random/draft-missing-plugins.txt:
4127           Some additions: mention new API that is supposed to be used at the
4128           various stages; short blob about new gst-inspect introspection
4129           option; mention potential future problem with plugins that have
4130           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4131
4132 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4133
4134         * tools/gst-inspect.c:
4135         (print_plugin_automatic_install_info_codecs),
4136         (print_plugin_automatic_install_info_protocols),
4137         (print_plugin_automatic_install_info), (main):
4138         Add --print-plugin-auto-install-info option to gst-inspect, so we can
4139         introspect plugin files and get machine-parsable output that corresponds
4140         to the last bit of the missing-plugin installer string (small gotcha:
4141         doesn't take into account ranks).
4142
4143 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
4144
4145         * configure.ac:
4146         * docs/gst/gstreamer-sections.txt:
4147         * gst/Makefile.am:
4148         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4149         (gst_registry_lookup_locked):
4150         * gst/gstregistry.h:
4151         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4152         (gst_registry_binary_initialize_magic),
4153         (gst_registry_binary_save_string),
4154         (gst_registry_binary_save_pad_template),
4155         (gst_registry_binary_save_feature),
4156         (gst_registry_binary_save_plugin),
4157         (gst_registry_binary_write_cache),
4158         (gst_registry_binary_check_magic),
4159         (gst_registry_binary_load_pad_template),
4160         (gst_registry_binary_load_feature),
4161         (gst_registry_binary_load_plugin),
4162         (gst_registry_binary_read_cache):
4163         * gst/gstregistrybinary.h:
4164         * gst/gstregistryxml.c: (load_feature),
4165         (gst_registry_xml_read_cache):
4166           commit binary registry (disabled by default, see #359653)
4167
4168 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4169
4170         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4171           Fix 'make check' too.
4172
4173 2007-01-10  Andy Wingo  <wingo@pobox.com>
4174
4175         * docs/design/part-negotiation.txt: Fix a typo, add a couple
4176         notes.
4177         
4178         * docs/design/part-negotiation.txt: Update with, um, one way that
4179         pull-mode negotiation might work?
4180
4181         * gst/gstpad.h: 
4182         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4183         that the pad must be a src pad; makes sense to call it the other
4184         way in pull mode, and the logic is symmetric anyway.
4185
4186 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4187
4188         * plugins/elements/gstfilesink.c:
4189           Include <stdio.h> for fseeko().
4190
4191 2007-01-10  Wim Taymans  <wim@fluendo.com>
4192
4193         * gst/gstevent.c:
4194         * gst/gstevent.h:
4195         Reserve LATENCY event.
4196
4197 2007-01-09  Wim Taymans  <wim@fluendo.com>
4198
4199         * docs/design/draft-latency.txt:
4200         Updates.
4201
4202 2007-01-09  Wim Taymans  <wim@fluendo.com>
4203
4204         * docs/design/draft-latency.txt:
4205         Updates.
4206
4207         * gst/gstelement.h:
4208         * gst/gststructure.c:
4209         * gst/gsttrace.c:
4210         Small typo fixes.
4211
4212 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4213
4214         * tests/check/.cvsignore:
4215           Ignore test-registry.xml as well.
4216
4217 2007-01-09  Wim Taymans  <wim@fluendo.com>
4218
4219         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4220         unref data at the end when we are done with the pad.
4221
4222 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4223
4224         * docs/gst/gstreamer-sections.txt:
4225         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4226         (init_post), (gst_deinit), (gst_update_registry):
4227         * gst/gst.h:
4228           API: add gst_update_registry() (#391296).
4229
4230         * tests/check/Makefile.am:
4231         * tests/check/gst/gstregistry.c:
4232         * tests/check/gst/.cvsignore:
4233           Simple unit test for the above.
4234
4235 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4236
4237         * gst/gstregistry.c: (gst_registry_scan_path_level):
4238           Plugin extension on HP-UX is .sl, add that to the list of approved
4239           plugin extensions (see #393796).
4240
4241         * tests/check/gst/gstpad.c: (GST_START_TEST):
4242           ulong => gulong. Fixes compilation with HP-UX compiler.
4243
4244         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4245           Fix compilation if valgrind headers are not available.
4246
4247 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
4248
4249         * win32/common/libgstreamer.def: 
4250           Add new exported function.
4251         * win32/vs6/libgstbase.dsp: 
4252           Add gstdataqueue.c to the build.
4253         * win32/vs6/libgstcoreelements.dsp:
4254           Add gstmultiqueue.c to the build.
4255         
4256 2007-01-06  Andy Wingo  <wingo@pobox.com>
4257
4258         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4259         activate_pull(), providing for a way to specialize the process of
4260         spawning a thread to pull on the sink pad. There is a default
4261         implementation.
4262
4263         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4264         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4265         (gst_base_sink_init): Renamed pad activation functions (inserting
4266         "_pad" in their names). Refactor to use the new activate_pull
4267         vmethod, as appropriate.
4268         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4269         default activate_pull function to start a task pulling from the
4270         sink pad, as before.
4271
4272         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4273         on the pads if necessary, as in push()/chain(). Update docs.
4274         Shouldn't affect existing pull() usage as it is currently only
4275         being used on buffers without caps.
4276
4277 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4278
4279         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4280         (init_pre):
4281           Call g_thread_init() first thing in gst_init() / gst_check_init().
4282           When initialisation is done via gst_init_get_option_group() and
4283           GOption parsing, issue a warning if the GLib thread system has not
4284           been initialised yet by the time gst_init_get_option_group() is
4285           called, as it's quite likely other GLib functions such as
4286           g_option_context_new() have been called already then, and
4287           g_thread_init() must be called before any other GLib function. The
4288           application in question must be fixed in that case, since memory
4289           corruption might happen otherwise.
4290           We issue the warning because even if the GLib folks decide to work
4291           around the problem on their end in future, this is still an issue
4292           with all GLib versions >= 2.10.0, so we should warn until we depend
4293           on a GLib version we know to be safe.
4294           Update documentation as well.
4295           Closes bug #391278.
4296
4297 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4298
4299         * tools/gst-inspect.c: (main):
4300         * tools/gst-launch.c: (main):
4301         * tools/gst-typefind.c: (main):
4302         * tools/gst-xmlinspect.c: (main):
4303           Call g_thread_init() really really early, before any other GLib
4304           function (see #342564 and recent discussion on gtk-devel-list).
4305
4306 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4307
4308         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
4309
4310         * gst/gst_private.h:
4311         * gst/gstconfig.h.in:
4312         * gst/gstinfo.h:
4313           On win32, all the __declspec stuff for symbol exporting is
4314           apparently only needed with MSVC, but doesn't work with MingW.
4315           Fixes compilation with MingW and #391909.
4316
4317 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4318
4319         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4320           Change some GST_ERROR_OBJECT that aren't really errors to
4321           GST_WARNING_OBJECT in order to reduce terminal spam.
4322
4323 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
4324
4325         * tests/check/Makefile.am:
4326           disable test again, as there seem to be still race problems
4327
4328 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
4329
4330         * tests/check/Makefile.am:
4331         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4332         (GST_START_TEST), (queue_suite):
4333           enable queue test again, add tests for the leaky behaviour
4334
4335 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
4336
4337         * configure.ac:
4338         * tests/examples/Makefile.am:
4339           Compile adapter test/example only if the required headers are
4340           available (fixes #391915).
4341
4342 2007-01-01  David Schleef  <ds@schleef.org>
4343
4344         * gst/gstplugin.c:
4345           Restore the previous signal handler for SIGSEGV instead of
4346           setting to default, since we may have stolen it away from
4347           someone.  (i.e., Mono)
4348
4349 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
4350
4351         * docs/random/draft-missing-plugins.txt:
4352           Some small additions and clarifications.
4353
4354 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
4355
4356         * gst/gstregistryxml.c: (gst_registry_save_escaped):
4357           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4358           since that can lead to random memory corruptions and crashes
4359           (may or may not be related to #383244, #386711, and #386711).
4360
4361 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4362
4363         * tests/check/.cvsignore:
4364         * tests/check/Makefile.am:
4365           sync .cvsignome and CLEANFILES
4366
4367 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4368
4369         * tests/check/Makefile.am:
4370           fix distcheck
4371
4372 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4373
4374         * docs/design/part-states.txt:
4375           two tiny additional comments
4376         
4377         * gst/gststructure.c:
4378           doc fixing
4379
4380         * tests/check/Makefile.am:
4381         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4382         (GST_START_TEST):
4383           disable test for now, unless it gets fixed
4384
4385 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4386
4387         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4388         (GST_START_TEST):
4389           fix race in underrun test
4390
4391 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4392
4393         * tests/check/elements/.cvsignore:
4394           ignore more
4395
4396         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4397         (GST_START_TEST):
4398           try to narrow test failure
4399
4400 2006-12-21  David Schleef  <ds@schleef.org>
4401
4402         * plugins/elements/gstfakesrc.c:
4403           Use g_random_int_range(), since it produces better random
4404           numbers in a range than almost-correct floating point code.
4405
4406 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4407
4408         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4409         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4410         (gst_check_teardown_sink_pad):
4411           do not automatically (de)activate pads
4412
4413         * tests/check/Makefile.am:
4414         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4415         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
4416           add new, yet simple tests for queue
4417
4418         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
4419         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
4420         * tests/check/elements/filesrc.c: (cleanup_filesrc),
4421         (GST_START_TEST):
4422         * tests/check/elements/identity.c: (cleanup_identity):
4423           consistent pad (de)activation
4424
4425 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
4426
4427         Patch by: Sebastian Dröge  <slomo ubuntu com>
4428
4429         * libs/gst/base/gstcollectpads.c:
4430           Fix two doc typos (#387866).
4431
4432 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
4433
4434         * docs/manual/advanced-dparams.xml:
4435           Fix typo (g_object_control_properties() doesn't exist).
4436
4437 2006-12-19  Edward Hervey  <edward@fluendo.com>
4438
4439         * gst/gstsegment.c: (gst_segment_set_seek):
4440         Fine tune the cases where the segment start/stop values are really
4441         updated.
4442         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4443         Add tests for the return values of gst_segment_set_seek().
4444
4445 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
4446
4447         * gst/gst.c:
4448           Docs typo fix.
4449
4450         * plugins/elements/gstqueue.c: (gst_queue_class_init),
4451         (gst_queue_init):
4452           Fix incorrect documentation and flesh it out a bit more.
4453           Set default values for the max properties on the GParamSpec as well,
4454           so it shows up correctly in gst-inspect.
4455
4456 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
4457
4458         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4459           Correct docs of queue, add more detail and crosslink it more.
4460
4461 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
4462
4463         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4464           Print additional debug info when the stream isn't perfectly
4465           timestamped; don't try to use invalid durations.
4466
4467 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
4468
4469         * docs/design/Makefile.am:
4470           Dist new design docs.
4471
4472 2006-12-16  Wim Taymans  <wim@fluendo.com>
4473
4474         Patch by: Sjoerd Simons <sjoerd at luon dot net>
4475
4476         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
4477         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4478         (gst_collect_pads_stop), (gst_collect_pads_event),
4479         (gst_collect_pads_chain):
4480         * libs/gst/base/gstcollectpads.h:
4481         Add refcounting to the collectpads data so we can track when it's safe
4482         to free the data. Fixes #383382.
4483
4484 2006-12-15  Wim Taymans  <wim@fluendo.com>
4485
4486         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4487         (gst_collect_pads_remove_pad):
4488         Automatically activate/deactivate pads when they are added to a
4489         started/stoped collectpads.
4490
4491 2006-12-15  Wim Taymans  <wim@fluendo.com>
4492
4493         * gst/gstelement.c: (gst_element_add_pad):
4494         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4495         * gst/gstpad.c: (gst_pad_init):
4496         Set pads to FLUSHING when they are created. Check, warn and fix when a
4497         demuxer adds an inactive pad to itself when running. Fixes #339326.
4498
4499 2006-12-15  Wim Taymans  <wim@fluendo.com>
4500
4501         * gst/gstelement.c: (gst_element_class_init),
4502         (gst_element_default_send_event), (gst_element_send_event),
4503         (gst_element_default_query), (gst_element_query):
4504         Expose default element send_event and query handling as vmethods that
4505         subclasses can chain up to.
4506
4507 2006-12-15  Wim Taymans  <wim@fluendo.com>
4508
4509         * gst/gstelement.c: (gst_element_set_state_func):
4510         Small documentation fixes.
4511
4512 2006-12-15  Wim Taymans  <wim@fluendo.com>
4513
4514         * docs/design/draft-latency.txt:
4515         Checked in draft for handling latency in pipelines.
4516
4517 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4518
4519         * Makefile.am:
4520         * gstreamer.doap:
4521         * gstreamer.spec.in:
4522           adding .doap file
4523
4524 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
4525
4526         * gst/gst.c: (init_pre), (init_post):
4527           init_pre() and init_post() might be called via our GOptionGroup or
4528           from gst_init(), and we should skip both of them if we've already
4529           been initialised, otherwise we will init some things twice or add
4530           two default log functions.
4531
4532 2006-12-13  Edward Hervey  <edward@fluendo.com>
4533
4534         * docs/manual/basics-bus.xml:
4535         No, gst_main_loop does not exist. Its g_main_loop.
4536         Discovered by somebody who abused the copy-paste technique of coding :)
4537
4538 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
4539
4540         * gst/gstghostpad.c:
4541           Log ghostpad debug stuff to the GST_PADS category as well rather
4542           than just to the default category.
4543
4544 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4545
4546         * configure.ac:
4547         * gst/gst.c: (init_pre):
4548           Add some basic system details such as OS and architecture
4549           to the debug output if possible, courtesy of uname().
4550
4551 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4552
4553         * docs/gst/running.xml:
4554           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4555           environment variables.
4556
4557 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
4558
4559         * tests/check/gst/gstbin.c: (GST_START_TEST):
4560         It is acceptable to have a refcount of 2 or 3 at this point in the
4561         test, because the pipeline might be just posting its state_change
4562         message. The next line then waits for that message to appear using
4563         bus_poll, so that should be fine too.
4564
4565 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
4566
4567         * gst/gst.c: (ensure_current_registry_forking):
4568         Ignore EINTR when reading from the child registry pipe.
4569         Explicitly ignore the return value from close, since it makes no
4570         difference.
4571
4572         * gst/gstminiobject.c: (gst_mini_object_ref),
4573         (gst_mini_object_unref):
4574         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4575
4576         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4577         When removing cached plugins, remove their features too, so they're
4578         not visible after they've disappeared.
4579
4580         * gst/gstutils.c: (prepare_link_maybe_ghosting):
4581         In the unlikely case that we are linking pads with no parents, don't
4582         crash trying to get the non-existent parent bin.
4583
4584         * gst/parse/grammar.y:
4585         Output debug in the PIPELINE category
4586
4587 2005-03-08  Wim Taymans  <wim@fluendo.com>
4588
4589         Patch by: René Stadler <mail at renestadler dot de>
4590
4591         * gst/gstclock.c: (gst_clock_new_periodic_id):
4592         Reject invalid clock times for interval of periodic ids.
4593         Fixes ##383506.
4594
4595 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
4596
4597         * gst/gstelementfactory.c: (gst_element_factory_create):
4598         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4599         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4600         * tools/gst-inspect.c: (print_element_info):
4601         Fix refcounting of gst_plugin_feature_load to match the docs. 
4602         Fixes: #380129
4603
4604 2006-12-07  Wim Taymans  <wim@fluendo.com>
4605
4606         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4607         (gst_base_sink_get_position):
4608         Improve debugging of events.
4609
4610 2006-12-07  Wim Taymans  <wim@fluendo.com>
4611
4612         Patch by: René Stadler <mail at renestadler dot de>
4613
4614         * gst/gstclock.c: (gst_clock_id_wait):
4615         Make period ids add the interval to the origial requested time instead
4616         of the possibly updated time which can be wrong when there are multiple
4617         waiters for the same id. Fixes #382592.
4618
4619         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4620         (gst_system_clock_id_wait_jitter_unlocked),
4621         (gst_system_clock_id_wait_jitter):
4622         Fix restart in the async notify thread when an async entry is added to
4623         the front of the list. Fixes #381492. 
4624
4625         * tests/check/gst/gstsystemclock.c: (store_callback),
4626         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4627         Added test for multiple async waits.
4628         Added test for async wait order.
4629
4630 2006-12-07  Wim Taymans  <wim@fluendo.com>
4631
4632         * gst/gstbin.c: (gst_bin_query):
4633         Add some more docs about the POSITION query.
4634
4635 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
4636
4637         * configure.ac:
4638         Bump version nano - back to CVS.
4639
4640 === release 0.10.11 ===
4641
4642 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
4643
4644         * configure.ac:
4645           releasing 0.10.11, "Love never runs on time"
4646
4647 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
4648
4649         * win32/common/libgstbase.def:
4650         * win32/common/libgstreamer.def:
4651         * win32/vs8/libgstbase.vcproj:
4652         * win32/vs8/libgstcoreelements.vcproj:
4653         * win32/vs8/libgstreamer.vcproj:
4654         Fix compilation on win32 under VS8
4655         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4656         Partially fixes #381175
4657
4658 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
4659
4660         * gst/gstvalue.c: (gst_value_compare_fraction):
4661         If someone is foolish enough to compare 2 fractions with denominator =
4662         0, return UNORDERED rather than aborting.
4663
4664 2006-11-28  Edward Hervey  <edward@fluendo.com>
4665
4666         * libs/gst/base/Makefile.am:
4667         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4668         (gst_data_queue_base_init), (gst_data_queue_class_init),
4669         (gst_data_queue_init), (gst_data_queue_new),
4670         (gst_data_queue_cleanup), (gst_data_queue_finalize),
4671         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4672         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4673         (gst_data_queue_is_empty), (gst_data_queue_is_full),
4674         (gst_data_queue_set_flushing), (gst_data_queue_push),
4675         (gst_data_queue_pop), (gst_data_queue_drop_head),
4676         (gst_data_queue_set_property), (gst_data_queue_get_property):
4677         * libs/gst/base/gstdataqueue.h:
4678         New GstDataQueue object for threadsafe queueing. Most useful for
4679         elements that need some queueing functionnality.
4680         * docs/libs/gstreamer-libs-docs.sgml:
4681         * docs/libs/gstreamer-libs-sections.txt:
4682         Insert documentation for GstDataQueue
4683         * plugins/elements/Makefile.am:
4684         * plugins/elements/gstelements.c:
4685         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4686         (gst_multi_queue_class_init), (gst_multi_queue_init),
4687         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4688         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4689         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4690         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4691         (gst_multi_queue_loop), (gst_multi_queue_chain),
4692         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4693         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4694         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4695         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4696         (wake_up_next_non_linked), (compute_next_non_linked),
4697         (single_queue_overrun_cb), (single_queue_underrun_cb),
4698         (single_queue_check_full), (gst_single_queue_new):
4699         * plugins/elements/gstmultiqueue.h:
4700         New multiqueue element, using GstDataQueue. Used for queuing multiple
4701         streams.
4702         Closes #344639 and #347785
4703
4704 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
4705
4706         * docs/pwg/advanced-types.xml:
4707           add more missing type details
4708
4709         * tools/gst-run.c: (main):
4710           remove unused variable
4711
4712 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
4713
4714         * docs/libs/Makefile.am:
4715         * docs/libs/gstreamer-libs.types:
4716           add types of base classes to enable gobject specific stuff in the docs
4717
4718         * docs/random/ensonic/embedded.txt:
4719           more ideas about isolating platform specific things
4720
4721 2006-11-20  Wim Taymans  <wim@fluendo.com>
4722
4723         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
4724
4725         * libs/gst/check/gstcheck.h:
4726         Fix compilation and running against 0.9.4. Fixes #377332.
4727
4728 2006-11-20  Wim Taymans  <wim@fluendo.com>
4729
4730         * gst/gstsegment.c: (gst_segment_set_seek),
4731         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4732         (gst_segment_to_running_time):
4733         Fix boundary checking in to_running_time() and to_stream_time().
4734         Fixes #377183.
4735
4736         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4737         stream and running time can now be calculated for the complete
4738         clipped segment.
4739
4740 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
4741
4742         * gst/gstpad.c: (gst_pad_push_event):
4743           Can't access event structure after giving away ownership of
4744           the event.
4745
4746 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
4747
4748         * docs/random/ensonic/embedded.txt:
4749         * docs/random/ensonic/profiling.txt:
4750         * docs/random/ensonic/receipies.txt:
4751           more thinking
4752
4753 2006-11-13  Wim Taymans  <wim@fluendo.com>
4754
4755         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4756
4757         * gst/gstpad.c:
4758         Fix documentation for gst_pad_dispatcher. Fixes #374475.
4759
4760 2006-11-13  Wim Taymans  <wim@fluendo.com>
4761
4762         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
4763
4764         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4765         Store new length in segment duration so we don't keep on calling the
4766         potentially expensize get_size() call. Fixes #370865.
4767
4768 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
4769
4770         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
4771
4772         * win32/common/libgstreamer.def:
4773           Add two missing symbols (#366492).
4774
4775 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
4776
4777         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
4778         (gst_adapter_take_buffer):
4779         Fix format string to use all its arguments.
4780         Remove useless >= check on a guint
4781
4782 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4783
4784         * tests/examples/adapter/.cvsignore:
4785         Ignore build file as commanded by the build-bot
4786
4787 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4788
4789         * tests/examples/adapter/Makefile.am:
4790         * tests/examples/adapter/adapter_test.c: (run_test_take),
4791         (run_test_take_buffer), (run_tests), (main):
4792
4793         Add new files from the previous commit
4794
4795 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4796
4797         * Makefile.am:
4798         * configure.ac:
4799         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
4800         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
4801         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
4802         * libs/gst/base/gstadapter.h:
4803         * tests/check/libs/adapter.c: (create_and_fill_adapter),
4804         (GST_START_TEST), (gst_adapter_suite):
4805         * tests/examples/Makefile.am:
4806         Do some optimisation work in GstAdapter to avoid copies in more cases.
4807         It could still do slightly better by merging buffers when
4808         gst_buffer_is_span_fast is true, but is already faster. 
4809
4810         Also, avoid traversing a single-linked list to append each incoming 
4811         buffer inside the adapter.
4812
4813         Add simple test app that times the adapter behaviour in different
4814         situations, and extend the unit test to check that bytes enter and
4815         exit the adapter in their original order.
4816
4817 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
4818
4819         * docs/random/draft-missing-plugins.txt:
4820           Update: use element message instead of adding a new message
4821           type to the core; don't provide GStreamer API to initiate the
4822           plugin download, just provide API to compose the strings needed
4823           and let an external libgimmestuff handle the rest.
4824
4825 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
4826
4827         * tools/gst-inspect.c: (print_element_properties_info):
4828         Print a string instead of 'unknown type' for GValueArray properties
4829
4830 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
4831
4832         * docs/random/draft-missing-plugins.txt:
4833         More small fixes.
4834
4835 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4836
4837         * tests/examples/typefind/typefind.c: (type_found), (main):
4838           Make typefind element example work again (#371894); add a
4839           license header.
4840
4841 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4842
4843         * docs/random/draft-missing-plugins.txt:
4844           Commit initial draft about how to deal with missing plugins,
4845           needs work (API too).
4846
4847 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
4848
4849         * docs/pwg/advanced-types.xml:
4850           documents the new caps elements (see #363118)
4851
4852 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4853
4854         * gst/gstplugin.c: (gst_plugin_load_file):
4855         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4856         (gst_file_src_map_region), (gst_file_src_start):
4857         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4858         (gst_file_index_commit):
4859           Use g_strerror() instead of strerror() - we want UTF-8.
4860
4861 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4862
4863         Patch by: Peter Kjellerstedt <pkj at axis com>
4864
4865         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4866           Another printf fix (#371493).
4867
4868 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4869
4870         * tests/check/gst/gsttag.c:
4871           relicence (okay with author=company)
4872
4873 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4874
4875         * gst/gstpad.c: (gst_pad_event_default_dispatch),
4876         (gst_pad_push_event):
4877           Enhance debug and improve docs
4878         
4879         * gst/gsturi.c:
4880           Fix docs
4881
4882 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4883
4884         * docs/random/ensonic/distributed.txt:
4885         * docs/random/ensonic/profiling.txt:
4886           more ideas
4887
4888 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4889
4890         * docs/gst/gstreamer-sections.txt:
4891           add new API and fix the build
4892           
4893         * gst/gstbin.c: (gst_bin_recalc_state):
4894         * gst/gstelement.c: (gst_element_message_full),
4895         (gst_element_get_state_func), (gst_element_set_state_func):
4896           use new API and improve logging
4897         
4898         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4899         * gst/gstutils.h:
4900           API: add function to get StateChangereturn names to improve logs 
4901
4902 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4903
4904         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4905           I'm considering shooting the next person to put strerror stuff
4906           in the translateable part of the message.
4907
4908 2006-11-03  Wim Taymans  <wim@fluendo.com>
4909
4910         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4911         Get the type and printf conversion specifiers right.
4912
4913 2006-11-03  Wim Taymans  <wim@fluendo.com>
4914
4915         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4916
4917         * gst/gstpad.c: (gst_pad_init), (pre_activate),
4918         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4919         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4920         Some small cleanups. Improve debugging.
4921         * gst/gstpad.h:
4922         Signal all waiting threads with a broadcast instead of just one.
4923         Fixes #369942.
4924
4925 2006-11-03  Wim Taymans  <wim@fluendo.com>
4926
4927         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4928         (gst_fd_src_create):
4929         Add some debugging. 
4930         Only update fd when it's different from the old.
4931
4932 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4933
4934         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4935           Printf fixes for PPC/OSX, take two (#369366).
4936
4937 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4938
4939         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
4940
4941         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4942         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4943         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4944           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4945           don't cast to long long for portability reasons, but use
4946           GLib's types instead.
4947
4948 2006-10-30  Michael Smith  <msmith@fluendo.com>
4949
4950         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4951           Get the arguments to lseek() the right way around.
4952           Fixes 367677.
4953
4954 2006-10-30  Wim Taymans  <wim@fluendo.com>
4955
4956         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4957
4958         * gst/gstinfo.h:
4959         _declspec should be __declspec (two underscores, not one). Fixes 366572.
4960
4961 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4962
4963         Patch by: Kjartan Maraas  <kmaraas at gnome org>
4964
4965         * docs/design/part-MT-refcounting.txt:
4966         * docs/random/wtay/capsnego2-docs:
4967         * gst/gstclock.c:
4968         * gst/gstxml.c:
4969           Typo fixes (#366212).
4970
4971 2006-10-28  Wim Taymans  <wim@fluendo.com>
4972
4973         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4974
4975         * gst/gst.c:
4976         * win32/common/libgstbase.def:
4977         * win32/common/libgstreamer.def:
4978         * win32/vs8/libgstbase.vcproj:
4979         * win32/vs8/libgstcontroller.vcproj:
4980         Add needed entries in .def files.
4981         Use HAVE_UNISTD_H.
4982         Rearrange def files in vs8 solutions. Fixes #366286.
4983
4984 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4985
4986         * win32/common/gstconfig.h:
4987           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4988           hand-made win32 gstconfig.h. Fixes #366321.
4989
4990 2006-10-27  Wim Taymans  <wim@fluendo.com>
4991
4992         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4993         (gst_ghost_pad_new_full):
4994         Make acceptcaps return TRUE when we don't have a target, just like
4995         setcaps does.
4996
4997 2006-10-27  Wim Taymans  <wim@fluendo.com>
4998
4999         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5000         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5001
5002 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5003
5004         * gst/gststructure.c: (gst_structure_id_set_value):
5005           If someone tries to set a non-UTF8 string field on a structure,
5006           don't just print a warning, but also ignore the request and do
5007           not change/add that field to the structure.
5008
5009         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5010           Test for the above.
5011
5012 2006-10-25  David Schleef  <ds@schleef.org>
5013
5014         * gst/gstinfo.c:
5015           g_hash_table_insert() needs a cast to a non-const pointer duh.
5016
5017 2006-10-25  David Schleef  <ds@schleef.org>
5018
5019         * gst/gstinfo.c:
5020         * gst/gstinfo.h:
5021           Change name parameter of _gst_debug_register_funcptr to const
5022           to reflect the constness of its use in the function as well
5023           as to quiet a gcc warning.
5024
5025 2006-10-25  Edward Hervey  <edward@fluendo.com>
5026
5027         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5028         Don't push the buffer if it's empty.
5029         Closes #363095
5030
5031 2006-10-24  Wim Taymans  <wim@fluendo.com>
5032
5033         * gst/gstevent.h:
5034         Add small comment.
5035
5036         * libs/gst/base/gstbasetransform.c:
5037         (gst_base_transform_sink_eventfunc):
5038         Debug segment values *after* updating them as this is more
5039         interesting.
5040
5041 2006-10-23  Wim Taymans  <wim@fluendo.com>
5042
5043         * docs/design/part-events.txt:
5044         Update some docs.
5045
5046         * docs/design/part-block.txt:
5047         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5048         (gst_pad_push_event):
5049         Revert BLOCKING patch, it tries to be smart without really having a
5050         clear idea what or how. So, now we discard all FLUSHING events again on
5051         a blocking pad. Should fix gnonlin again.
5052
5053 2006-10-23  Wim Taymans  <wim@fluendo.com>
5054
5055         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5056
5057         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5058         (gst_base_src_start), (gst_base_src_activate_push):
5059         Make sure size is always initialized. Fixes #364388.
5060
5061 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
5062
5063         * docs/random/ensonic/distributed.txt:
5064           add some ideas about doing distributed processing
5065
5066         * docs/random/ensonic/profiling.txt:
5067           get_rusage look promising
5068
5069 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5070
5071         * docs/manual/basics-helloworld.xml:
5072           Add a cast in example to fix compile warning
5073
5074 2006-10-18  Wim Taymans  <wim@fluendo.com>
5075
5076         * gst/gstsegment.c: (gst_segment_set_last_stop),
5077         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5078         Relax arg checking again, -1 is allowed.
5079
5080 2006-10-18  Wim Taymans  <wim@fluendo.com>
5081
5082         * gst/gstsegment.c: (gst_segment_set_last_stop),
5083         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5084         _set_last_stop() must be with a value != -1
5085         A _TYPE_SET to -1 means seek to 0.
5086         Calc last_stop correctly for negative rates.
5087         Make sure we work with positive durations when updating a segment.
5088
5089 2006-10-18  Wim Taymans  <wim@fluendo.com>
5090
5091         * docs/design/part-live-source.txt:
5092         * gst/gstclock.h:
5093         Small docs fixes.
5094
5095 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
5096
5097         * gst/gstbuffer.h:
5098           Add an explicit cast to GstBuffer** to keep old code that added an
5099           explicit cast to GstMiniObject** for gst_mini_object_replace()
5100           compiling without warning.
5101
5102 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5103
5104         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5105           check for validity of dates
5106
5107 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5108
5109         * docs/gst/gstreamer-sections.txt:
5110           Forgot this one, makes gtk-doc shut up.
5111
5112 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5113
5114         Patch by: Peter Kjellerstedt <pkj at axis com>
5115
5116         * gst/gstobject.h:
5117           Don't define xmlNodePtr to gpointer if the core was built with
5118           --disable-loadsave and --disable-registry, this will break
5119           applications that want to use libxml2 but are buildling against a
5120           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5121           instead so we don't have to mess with the libxml2 namespace
5122           (#361675).
5123
5124 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5125
5126         * gst/gstbuffer.h:
5127           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5128           type-punned pointer warnings.
5129
5130 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5131
5132         * gst/gstelement.h:
5133           Add casts to the correct return type to state <=> state transition
5134           macros.
5135
5136 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
5137
5138         * docs/design/part-live-source.txt:
5139           describe howto handle latency
5140         
5141         * docs/random/ensonic/profiling.txt:
5142           more ideas
5143
5144         * tools/gst-plot-timeline.py:
5145           fix log parsing for solaris, remove unused function
5146
5147 2006-10-16  Wim Taymans  <wim@fluendo.com>
5148
5149         * docs/design/part-trickmodes.txt:
5150         * gst/gstevent.c:
5151         Update some docs regarding reverse playback.
5152
5153 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5154
5155         Patch by: Marcus Granado  <mrc dot gran at gmail com>
5156
5157         * win32/vs8/grammar.vcproj:
5158           Error out with a warning if glib-genmarshal.exe is not in path,
5159           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5160
5161 2006-10-13  Wim Taymans  <wim@fluendo.com>
5162
5163         * gst/gstsegment.c: (gst_segment_set_seek):
5164         When seeking to stop -1, set last_stop (current position) to the
5165         duration of the segment.
5166
5167 2006-10-13  Wim Taymans  <wim@fluendo.com>
5168
5169         * gst/gstelement.h:
5170         Clarify _NO_PREROLL a bit more.
5171
5172         * gst/gstevent.c:
5173         Fix docs.
5174
5175         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5176         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5177         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5178         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5179         due to wrong locking order. Fixes #361769.
5180         Remove some redundant/misplaced checks in pad_block.
5181
5182         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5183         For negative rates, count backwards from the duration.
5184
5185 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5186
5187         * gst/gsterror.c: (_gst_library_errors_init):
5188           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5189           up with something better).
5190
5191 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5192
5193         * win32/vs6/libgstreamer.dsp:
5194         * win32/vs7/libgstreamer.vcproj:
5195         * win32/vs8/libgstreamer.vcproj:
5196           Don't reference glib-compat.c which is currently not used and not
5197           disted; add gstquark.c which was recently added. Fixes #361730.
5198
5199 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5200
5201         * win32/common/libgstbase.def:
5202         * win32/common/libgstcontroller.def:
5203         * win32/common/libgstreamer.def:
5204           Add gst_caps_merge() and a bunch of other recently-added functions.
5205           Fixes #361732.
5206
5207 2006-10-11  Wim Taymans  <wim@fluendo.com>
5208
5209         * docs/plugins/gstreamer-plugins.args:
5210         * docs/plugins/inspect/plugin-coreelements.xml:
5211         * docs/plugins/inspect/plugin-coreindexers.xml:
5212         Update element args.
5213
5214         * gst/gstsystemclock.c:
5215         Small comment update.
5216
5217         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5218         (gst_tee_request_new_pad), (gst_tee_release_pad),
5219         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5220         (gst_tee_sink_activate_pull):
5221         * plugins/elements/gsttee.h:
5222         Some tee loving:
5223         Add default property defines.
5224         Implement release pad function.
5225         Give properties better blubs etc.
5226         Activate pads before adding them to a running tee.
5227         Do simple buffer_alloc on the first requested pad.
5228         Post error when activation fails.
5229
5230 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
5231
5232         * gst/gst.c: (ensure_current_registry_forking):
5233           Check return value of write() to make compiler happy.
5234
5235 2006-10-11  Wim Taymans  <wim@fluendo.com>
5236
5237         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5238
5239         * plugins/elements/gstqueue.c: (gst_queue_chain):
5240         Recheck queue filledness after signalling the overrun when we're about
5241         to leak downstream because we released the lock when emitting the signal
5242         and the queue could be empty again. Fixes #352345.
5243
5244 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
5245
5246         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5247           Fix refcounting here too, just like we did for _new_valist() a few
5248           days ago (#357180) (thanks to René Stadler). Also remove all those
5249           'Since: 0.9' from the gtk-doc blobs.
5250
5251         * tests/check/libs/controller.c: (controller_refcount_new_list),
5252         (gst_controller_suite):
5253           Unit test for the above.
5254
5255 2006-10-10  Wim Taymans  <wim@fluendo.com>
5256
5257         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5258
5259         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5260         (gst_pad_save_thyself):
5261         Update some docs.
5262         Write pad direction in XML output. Fixes #345496.
5263
5264 2006-10-10  Wim Taymans  <wim@fluendo.com>
5265
5266         Patch by: René Stadler <mail at renestadler dot de>
5267
5268         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5269         (gst_controller_new_list), (_gst_controller_dispose),
5270         (_gst_controller_finalize), (_gst_controller_class_init):
5271         Take ref to controlled object so that it cannot disappear. 
5272         Fixes #357432.
5273
5274 2006-10-10  Wim Taymans  <wim@fluendo.com>
5275
5276         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5277         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5278         (gst_check_teardown_sink_pad):
5279         Activate/deactivate pads in setup/teardown respectively.
5280
5281 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5282
5283         Patch by: Josep Torre Valles <josep@fluendo.com>
5284
5285         * gst/Makefile.am:
5286         Cast values when making gstenumtypes.h.  This pacifies Forte
5287         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5288         in the enumeration.
5289
5290 2006-10-09  Wim Taymans  <wim@fluendo.com>
5291
5292         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5293         Rename some more @cur to @start to fix docs. 
5294
5295         * gst/gstsegment.c: (gst_segment_set_seek):
5296         Fix typo.
5297         time and start must always stay in sync as defined in design doc.
5298
5299         * gst/gsttaglist.c: (gst_tag_list_is_empty):
5300         Rename param to fix docs.
5301
5302         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5303         Check that start and time are in sync.
5304
5305         * tests/check/pipelines/parse-launch.c:
5306         (gst_parse_test_element_change_state):
5307         Activate pad before adding to the element.
5308
5309 2006-10-09  Wim Taymans  <wim@fluendo.com>
5310
5311         * docs/design/part-qos.txt:
5312         Fix typo.
5313
5314         * gst/gstevent.c:
5315         * gst/gstevent.h:
5316         Update seek event docs regarding negative rates.
5317         Rename @cur to @start. 
5318
5319         * gst/gstsegment.c: (gst_segment_set_seek):
5320         * gst/gstsegment.h:
5321         Update set_seek docs regarding negative rates.
5322         Correctly update last_stop to @stop when dealing with negative
5323         rates.
5324         Rename @cur to @start. 
5325
5326         * tests/check/gst/gstpad.c: (GST_START_TEST):
5327         Activate pads before trying to use them.
5328
5329         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5330         (gst_segment_suite):
5331         Add simple check for segments and negative rates.
5332
5333 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5334
5335         * gst/gsttaglist.c: (gst_tag_list_is_empty):
5336         * gst/gsttaglist.h:
5337         * docs/gst/gstreamer-sections.txt:
5338           API: add gst_tag_list_is_empty() (#360467).
5339
5340         * tests/check/gst/gsttag.c: (GST_START_TEST):
5341           And a test case.
5342
5343 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5344
5345         * gst/gstmessage.h:
5346         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5347         a value that doesn't fit on enumeration.
5348
5349 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5350
5351         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5352         Remove local debugging system and use Gstreamer's instead.
5353
5354 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5355
5356         Patch by: Josep Torre Valles <josep@fluendo.com>
5357
5358         * common/m4/gst-error.m4:
5359         Disable warning of statement not reached on Forte.
5360         * gst/gstmessage.h:
5361         Fix warning on Forte (value doesn't fit on enumeration).
5362         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5363         Fix warning on Forte (value doesn't fit on enumeration).
5364         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5365         DEBUG macro says it takes minimum of 2 args and so Forte
5366         complains about the use with just 1 arg.
5367         * plugins/elements/gstfdsink.c:
5368         * plugins/elements/gstfdsrc.c:
5369         * plugins/elements/gstfilesink.c:
5370         * plugins/elements/gstfilesrc.c:
5371         Use correct return type for the uri handler implementations.
5372
5373         All these fix warnings in Forte.  Fixes bug #360860.
5374
5375 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5376
5377         * gst/gstelement.h:
5378           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5379           format string, so don't use G_GNUC_PRINTF for those versions.
5380
5381 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
5382
5383         * gst/gsttaglist.c: (gst_is_tag_list):
5384         * gst/gsttaglist.h:
5385           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
5386
5387         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5388           Small test for the above.
5389
5390 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
5391
5392         * gst/gsttaglist.h:
5393           Less tabs, more spaces.
5394
5395 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
5396
5397         * gst/gstinfo.h:
5398           Those two function declarations do actually belong there, revert
5399           commit from yesterday that turned them intro macros.
5400
5401 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5402
5403         Patch by: Josep Torre Valles <josep@fluendo.com>
5404
5405         * gst/gst.c: (gst_init_get_option_group):
5406         Fix empty declaration and type mismatch.
5407         * gst/gstbin.c: (gst_bin_change_state_func):
5408         Fix type mismatch.
5409         * gst/gstelement.c: (gst_element_continue_state),
5410         (gst_element_set_state_func), (gst_element_change_state),
5411         (gst_element_change_state_func):
5412         Fix type mismatches.
5413         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
5414         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
5415         Cast as appropriate.
5416         * gst/gstobject.c: (gst_class_signal_connect):
5417         Cast as appropriate.  The function pointer parameter really
5418         has the wrong type but would break API if we change it.
5419         * gst/gstquery.c:
5420         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
5421         order of including string.h.
5422         * gst/gstutils.c: (gst_element_state_get_name):
5423         Remove unreachable line.
5424         * gst/gstxml.c: (gst_xml_parse_doc):
5425         Fix type mismatch.
5426         All these caught by Forte.
5427
5428 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5429
5430         Patch by: Josep Torre Valles <josep@fluendo.com>
5431
5432         * common/m4/gst-error.m4:
5433         Fixed bug #360151.
5434         We need to disable warnings on Forte for empty declarations
5435         due to gst-indent adding ;s to lines that just use macros
5436         where the macro actually doesn't need a ; at end to end
5437         statement.
5438
5439 2006-10-06  Wim Taymans  <wim@fluendo.com>
5440
5441         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5442         (gst_file_sink_close_file), (gst_file_sink_event),
5443         (gst_file_sink_render):
5444         Add some FIXME for the NEWSEGMENT handling.
5445
5446 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5447
5448         * gst/parse/grammar.y:
5449         Remove static function gst_parse_element_lock as all it does
5450         is return.  Looks like cruft from 0.8.
5451
5452 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5453
5454         Patch by: Josep Torre Valles <josep@fluendo.com>
5455
5456         * common/m4/gst-error.m4:
5457         * configure.ac:
5458         * libs/gst/net/Makefile.am:
5459         Fix a compilation issue with Forte on Solaris.  inet_aton is in
5460         libresolv.
5461
5462 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
5463
5464         * gst/gstpad.c: (pre_activate):
5465         * gst/gstregistry.c: (gst_registry_scan_path_level):
5466         * gst/gstregistryxml.c: (load_plugin):
5467         * libs/gst/controller/gstcontroller.c:
5468         (gst_controlled_property_set_interpolation_mode):
5469         * libs/gst/dataprotocol/dataprotocol.c:
5470         (gst_dp_packet_from_event_1_0):
5471         * libs/gst/net/gstnetclientclock.c:
5472         (gst_net_client_clock_observe_times):
5473         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5474           Printf fixes.
5475
5476 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
5477
5478         * configure.ac:
5479         * docs/gst/gstreamer-sections.txt:
5480         * gst/gstconfig.h.in:
5481         * gst/gstelement.h:
5482         * gst/gstinfo.h:
5483           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
5484           whether we can use G_GNUC_PRINTF in other header files and at
5485           least check the printf format/arguments of debug messages and
5486           GST_ELEMENT_ERROR messages when the printf extension is not
5487           being used.
5488           Replace more tabs with spaces in gstinfo.h and remove two spurious
5489           function declarations in GST_DISABLE_DEBUG part with macros.
5490
5491 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
5492
5493         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
5494           More docs for the sync-message signal (mention that it is not
5495           emitted by default); log message structures of messages posted on
5496           the bus as well.
5497
5498 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
5499
5500         * gst/gst.c: (ensure_current_registry_forking):
5501         Use a pipe pair to receive status results from the forked child, and
5502         ignore the result from waitpid. Fixes #355499
5503
5504 2006-10-02  Wim Taymans  <wim@fluendo.com>
5505
5506         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5507         (gst_ghost_pad_suite):
5508         Fix leak in check.
5509
5510 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5511
5512         * gst/gstpad.c:
5513           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5514
5515 2006-10-02  Edward Hervey  <edward@fluendo.com>
5516
5517         * docs/design/part-block.txt:
5518         Further explain the use of flushing on blocked pads.
5519         * docs/gst/gstreamer-sections.txt:
5520         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5521         (gst_pad_push_event):
5522         * gst/gstpad.h:
5523         Added new GstPadFlag : GST_PAD_BLOCKING.
5524         Adds the notion of pads really blocking, which enables to properly
5525         handle FLUSH_START/FLUSH_STOP events on blocked pads.
5526         Fixes #358999
5527         API: gst_pad_is_blocking()
5528         API: GST_PAD_IS_BLOCKING() macro
5529         API: GST_PAD_BLOCKING GstPadFlag
5530         
5531 2006-10-02  Wim Taymans  <wim@fluendo.com>
5532
5533         Patch by: mrcgran <mrc.gran at gmail dot com>
5534
5535         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5536         Filter the proxied caps against the padtemplate if we have one.
5537
5538         * gst/gstquery.c: (gst_query_new_segment):
5539         Add include for gstinfo.h so that compilation with
5540         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5541
5542 2006-10-02  Wim Taymans  <wim@fluendo.com>
5543
5544         Patch by: Alessandro Decina  <alessandro at nnva org>
5545
5546         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5547         (gst_file_sink_set_location), (gst_file_sink_open_file),
5548         (gst_file_sink_close_file), (gst_file_sink_event),
5549         (gst_file_sink_render):
5550         Set file to NULL when closing filesink so that we can set a new filename
5551         in READY. Fixes #358613.
5552
5553 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5554
5555         Patch by: Alessandro Decina  <alessandro at nnva org>
5556
5557         * gst/gstevent.c: (_gst_event_copy):
5558           Fix gst_mini_object_make_writable() and gst_event_copy() for events
5559           with event structures by setting the parent refcount address of the
5560           copied structure to the address of the refcount member of the newly
5561           copied event rather than the address of the refcount member of the
5562           original event. Fixes #358737.
5563
5564         * tests/check/gst/gstevent.c: (GST_START_TEST):
5565           Unit test for the above.
5566
5567 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
5568
5569         * docs/design/Makefile.am:
5570           Dist some more files.
5571
5572 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5573
5574         * tests/check/libs/controller.c: (GST_START_TEST),
5575         (gst_controller_suite):
5576           Add test for the previous fix; add some more tests
5577           for correct refcounting behaviour; fix a few leaks
5578           in test cases; call gst_controller_init() at start
5579           of all tests.
5580
5581 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5582
5583         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5584         (gst_controller_set_from_list):
5585           Don't g_return_val_if_fail() on timed values with invalid timestamps
5586           inside a critical section without unlocking the mutex. Spotted by
5587           René Stadler. (#357617)
5588           Also, fix up refcounting properly: when returning an existing
5589           controller, we should increase the reference only once and not
5590           once per property and when trying to control a property again
5591           we should also increase the refcount.
5592
5593 2006-09-29  Wim Taymans  <wim@fluendo.com>
5594
5595         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5596         * libs/gst/net/gstnettimeprovider.c:
5597         (gst_net_time_provider_thread):
5598         Stop reading commands when EOF as well.
5599
5600         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5601         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5602         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5603         Unify description of the dump property.
5604
5605 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5606
5607         * tests/examples/manual/.cvsignore:
5608         OK, so it's actually cvsignore that needs changing. Stop laughing.
5609
5610 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5611
5612         * tests/examples/manual/Makefile.am:
5613         Gah, declare vars *before* using them
5614
5615 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5616
5617         * gst/gst.c: (init_pre), (scan_and_update_registry),
5618         (ensure_current_registry_nonforking),
5619         (ensure_current_registry_forking), (ensure_current_registry),
5620         (init_post), (gst_debug_help), (gst_deinit):
5621         * gst/gst_private.h:
5622         * gst/gstregistry.c: (gst_registry_finalize),
5623         (gst_registry_remove_features_for_plugin_unlocked),
5624         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5625         (gst_registry_scan_path),
5626         (_priv_gst_registry_remove_cache_plugins),
5627         (_priv_gst_registry_cleanup):
5628         * gst/gstregistry.h:
5629         Re-commit the registry changes, along with an extra fix:
5630           When a cached plugin is encountered at a different file path,
5631           update the stored path in the registry cache so that the parent
5632           process knows where it actually is now when it re-reads the registry
5633           cache. Fixes the thing that broke distcheck with the previous commit.
5634
5635         * tests/check/Makefile.am:
5636         Clean up files named 'core' too when running make clean.
5637
5638         * tests/examples/manual/Makefile.am:
5639         Set up a registry path for running these tests, and clean it properly
5640         for distcheck.
5641
5642 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5643
5644         * configure.ac:
5645         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5646         want gmodule-no-export-2.0.pc instead so that we don't drag in
5647         --export-dynamic on every project that links to GStreamer.
5648
5649         Also, make our export regex only match the start of symbols, rather 
5650         than any symbol that contains '_gst' somewhere.
5651
5652         * libs/gst/check/Makefile.am:
5653         The libgstcheck we build does however need export-dynamic, as it
5654         produces some symbols that don't match our _gst... style regex.
5655         Fixes: #318031
5656
5657 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
5658
5659         * gst/gst.c: (init_pre), (scan_and_update_registry),
5660         (ensure_current_registry_nonforking),
5661         (ensure_current_registry_forking), (ensure_current_registry),
5662         (init_post), (gst_debug_help), (gst_deinit):
5663         * gst/gst_private.h:
5664         * gst/gstregistry.c: (gst_registry_finalize),
5665         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5666         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5667         (_gst_registry_cleanup):
5668         * gst/gstregistry.h:
5669           Revert previous change until I figure out why it breaks distcheck.
5670
5671 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
5672
5673         * gst/gst.c: (init_pre), (scan_and_update_registry),
5674         (ensure_current_registry_nonforking),
5675         (ensure_current_registry_forking), (ensure_current_registry),
5676         (init_post), (gst_debug_help), (gst_deinit):
5677
5678           Make init_pre and init_post take the full complement of GOptionFunc
5679           args so they can return useful GErrors. Make the registry updating
5680           functions do so.
5681
5682           Call _priv_gst_registry_remove_cache_plugins after scanning files to
5683           ensure that the registry we're about to write out doesn't contain
5684           stale information about old-deleted plugin files.
5685
5686           Make _priv_gst_registry_remove_cache_plugins return a boolean so
5687           that deletion of plugin files is considered a registry change.
5688
5689         * gst/gst_private.h:
5690         * gst/gstregistry.c: (gst_registry_finalize),
5691         (gst_registry_remove_features_for_plugin_unlocked),
5692         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5693         (gst_registry_scan_path),
5694         (_priv_gst_registry_remove_cache_plugins),
5695         (_priv_gst_registry_cleanup):
5696         * gst/gstregistry.h:
5697         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5698         by adding _priv prefix, so that they won't appear in the global
5699         symbol table. They still do atm though because of #318031. Move the
5700         prototypes to gst_private.h
5701
5702         When removing a plugin, remove all features for that plugin too. 
5703         Fixes #340878.
5704
5705 2006-09-27  Wim Taymans  <wim@fluendo.com>
5706
5707         * docs/random/moving-plugins:
5708         Make it clear that the "compiled-in descriptions" really mean
5709         the element details.
5710
5711         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5712         (gst_base_sink_wait_preroll):
5713         Update docs.
5714
5715         * docs/libs/gstreamer-libs-sections.txt:
5716         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5717         (gst_base_src_get_range), (gst_base_src_activate_push):
5718         * libs/gst/base/gstbasesrc.h:
5719         Added function to block while waiting for PLAYING, this function
5720         is used by live sources that block on the clock.
5721         API: gst_base_src_wait_playing()
5722
5723 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5724
5725         Patch by: Peter Kjellerstedt <pkj at axis com>
5726
5727         * Makefile.am:
5728           gst-element-check.m4 is generated and should therefore be
5729           copied from the build dir rather than the source dir (#357593).
5730           'make distcheck' hasn't noticed this because we were disting
5731           the file as well, so stop doing that.
5732
5733 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5734
5735         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5736           Add some tests for gst_caps_intersect().
5737
5738         * tools/gst-launch.c: (event_loop):
5739           Print all buffering percentages we get, even the 100% one.
5740
5741 2006-09-26  Wim Taymans  <wim@fluendo.com>
5742
5743         * tools/gst-inspect.c: (print_element_properties_info),
5744         (print_signal_info):
5745         Fix printing of flags to match the look of enums.
5746
5747 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5748
5749         * gst/gstelementfactory.c:
5750           Fix typo in docs blurb.
5751
5752 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5753
5754         * gst/gsturi.c: (search_by_entry):
5755           Don't assert/crash here if a uri handler doesn't return any
5756           supported protocols. The list of protocols could be generated
5757           dynamically at runtime or at plugin registration, and an error
5758           in the underlying library shouldn't be fatal (#353301).
5759
5760 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5761
5762         * gst/gstinfo.c:
5763           Fix warning if HAVE_PRINTF_EXTENSION is undefined
5764           (spotted by Peter Kjellerstedt).
5765
5766 2006-09-23  Wim Taymans  <wim@fluendo.com>
5767
5768         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
5769
5770         * libs/gst/base/gstbasesrc.c:
5771         (gst_base_src_default_check_get_range), (gst_base_src_start),
5772         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5773         (gst_base_src_change_state):
5774         Match _start/_stop calls in the activate functions. Remove redundant
5775         _stop call from the state change function. Fixes #356910.
5776         Turn failure DEBUG into ERROR. 
5777
5778 2006-09-22  Wim Taymans  <wim@fluendo.com>
5779
5780         * docs/design/part-buffering.txt:
5781         * gst/gstmessage.c: (gst_message_new_buffering),
5782         (gst_message_parse_buffering):
5783         Update docs about buffering.
5784
5785         * docs/design/part-trickmodes.txt:
5786         Fix typo.
5787
5788 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
5789
5790         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5791         (gst_controller_new_list):
5792           Ref instances when returning them again (fixes #357180)
5793
5794 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5795
5796         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
5797           Don't forget to release proxy lock when there's an error.
5798
5799 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
5800
5801         * gst/gstcaps.h:
5802           Add extra initialisers for Caps things, to fix some plugin warnings
5803           when using -Wextra
5804
5805 2006-09-18  Wim Taymans  <wim@fluendo.com>
5806
5807         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5808           Also set template on the internal pad so that a getcaps from the 
5809           target pad returns the template caps.
5810
5811 2006-09-18  Wim Taymans  <wim@fluendo.com>
5812
5813         * gst/gstelement.c: (gst_element_post_message),
5814         (gst_element_dispose):
5815         Use _DEBUG_OBJECT some more.
5816
5817         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5818         Avoid typechecks.
5819
5820         * tools/gst-launch.c: (main):
5821         If the toplevel element is not a GstPipeline, it must be put in a
5822         pipeline so that a bus and clock is selected.
5823
5824 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
5825
5826         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5827           JITTER, RATE, and LATENCY query should be handled by the
5828           default case and not by the CONVERT query code.
5829
5830 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
5831
5832         * gst/gstformat.c: (gst_format_register):
5833           Fix locking order (must take lock before using n_values).
5834
5835         * gst/gstvalue.c: (gst_value_serialize_enum),
5836         (gst_value_deserialize_enum_iter_cmp),
5837         (gst_value_deserialize_enum):
5838           Fix serialisation/deserialisation of custom registered GstFormats.
5839
5840         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5841           Unit test for custom format serialisation/deserialisation.
5842
5843 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
5844
5845         * docs/pwg/building-boiler.xml:
5846         * plugins/elements/gstcapsfilter.c:
5847         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5848         section.
5849
5850 2006-09-16  Edward Hervey  <edward@fluendo.com>
5851
5852         * libs/gst/base/gstbasetransform.c:
5853         (gst_base_transform_buffer_alloc):
5854         Check if requested caps are the same as the sinks caps IF
5855         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5856         is FALSE.
5857         This fixes the renegotiation issues stated in #352827.
5858
5859 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5860
5861         * configure.ac:
5862         * docs/manual/advanced-autoplugging.xml:
5863         * tests/examples/Makefile.am:
5864         * tests/examples/manual/.cvsignore:
5865         * tests/examples/manual/Makefile.am:
5866         * tests/examples/manual/extract.pl:
5867           Extract the manual examples again like we used to do.
5868           Fix one of them.
5869
5870 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5871
5872         * win32/common/config.h:
5873           update for version
5874
5875 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
5876
5877         * gst/gsterror.c:
5878           Documents how to receive errors.
5879
5880 2006-09-15  Wim Taymans  <wim@fluendo.com>
5881
5882         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5883         (event_loop), (main):
5884         Added some comments here and there.
5885         Post an application message when an interrupt is caught instead of doing
5886         an uncontrolled state change.
5887         Clean up the event loop.
5888         Handle buffering messages, pause/resume the pipeline.
5889         Make shutdown because of an interrupt more reliable.
5890
5891 2006-09-15  Wim Taymans  <wim@fluendo.com>
5892
5893         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5894         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5895         (gst_base_sink_preroll_object):
5896         Make sure that our internal state is correct when we commit our state
5897         asynchronously. This solves a race where a state change to PLAYING
5898         could cause the sink to remain blocked in preroll in some situations.
5899
5900 2006-09-15  Wim Taymans  <wim@fluendo.com>
5901
5902         * tools/gst-inspect.c: (print_element_properties_info),
5903         (print_signal_info):
5904         List flags as hex so it's easier to deal with.
5905
5906 2006-09-15  Wim Taymans  <wim@fluendo.com>
5907
5908         * docs/libs/gstreamer-libs-sections.txt:
5909         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5910         (gst_base_sink_do_sync):
5911         * libs/gst/base/gstbasesink.h:
5912         Expose logic to wait for preroll so that subclasses such as audiosink
5913         can also use this method.
5914         API: gst_base_sink_wait_preroll()
5915
5916 2006-09-15  Wim Taymans  <wim@fluendo.com>
5917
5918         * gst/gstobject.c: (gst_object_set_parent):
5919         * gst/gstpipeline.c: (do_pipeline_seek):
5920         Small cleanups in docs and code.
5921
5922         * gst/gstsegment.c: (gst_segment_clip):
5923         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5924         if stop == start and start is in the segment, no clipping should be
5925         done. Also add a test for this.
5926
5927 2006-09-15  Wim Taymans  <wim@fluendo.com>
5928
5929         * docs/design/part-buffering.txt:
5930         * docs/gst/gstreamer-sections.txt:
5931         * gst/gstmessage.c: (gst_message_new_buffering),
5932         (gst_message_parse_buffering):
5933         * gst/gstmessage.h:
5934         Added methods to create and parse BUFFERING messages.
5935         Added preliminary docs about buffering.
5936         API: gst_message_new_buffering
5937         API: gst_message_parse_buffering
5938
5939 2006-09-06  Wim Taymans  <wim@fluendo.com>
5940
5941         * gst/gstbin.c:
5942         Update documentation.
5943
5944         * gst/gstelement.c: (gst_element_class_init),
5945         (gst_element_release_request_pad), (gst_element_set_clock),
5946         (gst_element_get_index), (gst_element_add_pad),
5947         (gst_element_remove_pad), (gst_element_get_random_pad),
5948         (gst_element_send_event), (gst_element_get_query_types),
5949         (gst_element_query), (gst_element_post_message),
5950         (gst_element_message_full), (gst_element_continue_state),
5951         (gst_element_lost_state), (gst_element_save_thyself),
5952         (gst_element_restore_thyself):
5953         Documentation updates.
5954         Rename last bit of the new-pad -> pad-added signal rename.
5955         Fix the case where an element query would only work if the source
5956         pad was linked.
5957         Avoid some useless type checking in message handling.
5958
5959         * gst/gstevent.c:
5960         * gst/gstevent.h:
5961         * gst/gstutils.c:
5962         Documentation updates.
5963
5964 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5965
5966         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5967           add an INFO line for when we actually update the fd
5968
5969 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5970
5971         * configure.ac:
5972           back to TRUNK
5973
5974 === release 0.10.10 ===
5975
5976 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
5977
5978         * configure.ac:
5979           releasing 0.10.10, "Pais"
5980
5981 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
5982
5983         * docs/manual/advanced-position.xml:
5984           Fix typo in sample code.
5985
5986 2006-09-05  Wim Taymans  <wim@fluendo.com>
5987
5988         * libs/gst/net/gstnetclientclock.c: (inet_aton),
5989         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5990         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5991         * libs/gst/net/gstnetclientclock.h:
5992         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5993         * libs/gst/net/gstnettimepacket.h:
5994         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5995         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5996         (gst_net_time_provider_thread), (gst_net_time_provider_new):
5997         * libs/gst/net/gstnettimeprovider.h:
5998         Make stuff compile on windows. Fixes #345295.
5999
6000 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6001
6002         * gst/gst.c: (ensure_current_registry_forking):
6003           Print better details when child was terminated by signal.
6004
6005 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6006
6007         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6008           Print a warning rather than g_assert() if a plugin feature
6009           is a URI handler but returns no protocols (#353976).
6010
6011 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
6012
6013         * docs/random/moving-plugins:
6014         Fix two typos.         
6015
6016 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6017
6018         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6019           Fix locking order, handle NULL function values properly.
6020
6021         * gst/gstinfo.h:
6022           Fix docs.
6023
6024         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6025           Initialise variable before using it and fix debug statement to
6026           print the address of the function rather than the address of the
6027           variable on the stack holding the address of the function.
6028
6029 2006-09-01  Wim Taymans  <wim@fluendo.com>
6030
6031         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6032         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6033         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6034         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6035         (gst_ghost_pad_parent_unset),
6036         (gst_ghost_pad_internal_do_activate_push),
6037         (gst_ghost_pad_internal_do_activate_pull),
6038         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6039         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6040         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6041         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6042         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6043         (gst_ghost_pad_new_no_target_from_template),
6044         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6045         More cleanups.
6046         Avoid needless typechecking in macros.
6047         Since the internal pad is always present and never changes, there is
6048         no need to locking or ref when retrieving it.
6049         Improve debugging a bit.
6050         Handle link errors when setting the target. Fixes #341029.
6051
6052 2006-09-01  Wim Taymans  <wim@fluendo.com>
6053
6054         * docs/libs/gstreamer-libs-sections.txt:
6055         * docs/plugins/gstreamer-plugins-sections.txt:
6056         Fix docs some more.
6057
6058         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6059         (gst_collect_pads_event):
6060         * libs/gst/base/gstcollectpads.h:
6061         Documentation updates.
6062         Free queued buffer when removing a pad.
6063
6064 2006-08-31  Michael Smith  <msmith@fluendo.com>
6065
6066         * gst/gstutils.c: (gst_element_link_pads),
6067         (gst_element_link_pads_filtered):
6068           Ensure that we set a capsfilter to NULL if we failed to link it
6069           when doing filtered linking, to avoid criticals.
6070
6071           No need to check for unreffing srcpad, which is explicly NULLed
6072           above (a trivial code cleanup).
6073
6074 2006-08-31  Wim Taymans  <wim@fluendo.com>
6075
6076         * docs/design/part-gstghostpad.txt:
6077         Update ascii art in documentation.
6078
6079         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6080         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6081         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6082         (gst_ghost_pad_internal_do_activate_push),
6083         (gst_ghost_pad_internal_do_activate_pull),
6084         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6085         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6086         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6087         (gst_ghost_pad_set_target):
6088         Small cleanups and leak fixes.
6089         Remove some checks now that the internal pad is never NULL.
6090         Fix the case where linking pads without a target would create nasty
6091         criticals. Fixes #341029.
6092         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6093         value of _set_target().
6094
6095         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6096         (gst_ghost_pad_suite):
6097         Some more tests for creating and linking untargeted ghostpads.
6098
6099 2006-08-31  Edward Hervey  <edward@fluendo.com>
6100
6101         * docs/gst/gstreamer-sections.txt:
6102         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6103         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6104         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6105         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6106         (gst_ghost_pad_new_from_template),
6107         (gst_ghost_pad_new_no_target_from_template):
6108         * gst/gstghostpad.h:
6109         Refactored *_new() functions.
6110         Templates are now used as a g_object_new() parameter.
6111         Use template in _do_getcaps() if we don't have a target.
6112         Small documentation cleanups.
6113         Added two new constructors:
6114         gst_ghost_pad_new_from_template()
6115         gst_ghost_pad_new_no_target_from_template()
6116         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6117         (gst_ghost_pad_suite):
6118         Added tests for new ghostpad instanciation functions.
6119
6120         API additions: gst_ghost_pad_new_from_template,
6121         gst_ghost_pad_new_no_target_from_template
6122
6123 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
6124
6125         * docs/random/ensonic/profiling.txt:
6126           Ideas about qos profiling.
6127
6128 2006-08-29  Wim Taymans  <wim@fluendo.com>
6129
6130         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6131         Code cleanups.
6132         Fix memleak.
6133
6134 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
6135
6136         * gst/gstxml.c:
6137           Improve and detypofy docs.
6138
6139         * tests/check/Makefile.am:
6140         * tests/check/gst/.cvsignore:
6141         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6142           Add a basic test suite for GstXML.
6143
6144 2006-08-29  Wim Taymans  <wim@fluendo.com>
6145
6146         * gst/gstelement.c: (activate_pads), (clear_caps),
6147         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6148         Clear the pad caps when the element shut down all of the pads and
6149         is not streaming data that could modify the caps. 
6150         Fixes #352958.
6151
6152 2006-08-28  Michael Smith  <msmith@fluendo.com>
6153
6154         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6155           Revert previous change; I misunderstood single-segment mode.
6156
6157 2006-08-28  Michael Smith  <msmith@fluendo.com>
6158
6159         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6160           Unset DISCONT on buffers when using single-segment mode.
6161
6162 2006-08-28  Wim Taymans  <wim@fluendo.com>
6163
6164         * gst/gstcaps.c: (gst_caps_merge_structure):
6165         * gst/gstcaps.h:
6166         Fix docs and indentation again.
6167
6168         * tests/check/gst/gstquery.c: (GST_START_TEST):
6169         Fix leak in tests and add some more tests.
6170
6171 2006-08-28  Edward Hervey  <edward@fluendo.com>
6172
6173         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6174         Inform GstSegment of the last stop position in order for the current
6175         segment to have a proper duration if it doesn't have a specific stop
6176         position from which a duration could be calculated.
6177         This bug was noticeable when a non-flushing, non-update new segment was
6178         followed by another segment (all buffers from the new segment were being
6179         dropped).
6180
6181 2006-08-28  Wim Taymans  <wim@fluendo.com>
6182
6183         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6184         Small comment update.
6185
6186         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6187         (gst_identity_transform_ip):
6188         Drop-probability is broken, mention this in the code with a 
6189         FIXME and also in the property description.
6190         Make silent also be silent about the drop messages.
6191
6192 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
6193
6194         * docs/manual/appendix-win32.xml:
6195           Remove mention of popt, we don't depend on that any
6196           longer (#353136). Add some comments pointing out that
6197           this section is slightly outdated.
6198
6199 2006-08-28  Wim Taymans  <wim@fluendo.com>
6200
6201         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6202
6203         * gst/gstquery.c: (gst_query_new_segment):
6204         * tests/check/gst/gstquery.c: (GST_START_TEST):
6205         Initialize variables when creating a new segment query.
6206         Fixes #353121.
6207
6208 2006-08-28  Wim Taymans  <wim@fluendo.com>
6209
6210         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6211
6212         * gst/gstelement.c: (gst_element_get_bus):
6213         * tests/check/gst/gstelement.c: (GST_START_TEST):
6214         Check for NULL before _reffing the bus. Fixes #353122.
6215
6216 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
6217
6218         * docs/manual/basics-bus.xml:
6219           Docs update: fix wrong callback return value explanation; add
6220           some lines about the implicit relationship between main loop
6221           and main context; remove duplicate main loop variable declaration.
6222
6223 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
6224
6225         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6226           Don't leak caps in unit test; add a few more simple
6227           checks. 
6228
6229 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
6230
6231         * docs/gst/gstreamer-sections.txt:
6232         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6233         (gst_caps_structure_is_subset), (gst_caps_merge),
6234         (gst_caps_merge_structure):
6235         * gst/gstcaps.h:
6236         * libs/gst/base/gstbasetransform.c:
6237         (gst_base_transform_transform_caps):
6238         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6239           implement caps merging (fixes #352580)
6240
6241 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
6242
6243         * tools/Makefile.am:
6244         * tools/gst-plot-timeline.py:
6245           add debug-log plotting developer tool (#340674)
6246
6247 2006-08-23  Wim Taymans  <wim@fluendo.com>
6248
6249         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6250         (gst_pad_stop_task):
6251         Improve debugging for task functions.
6252
6253         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6254         (gst_task_start), (gst_task_pause), (gst_task_join):
6255         Make sure that the task function started and finished after a 
6256         join(). 
6257         Don't try to push the task function on the threadpool multiple
6258         times.
6259         Improve the g_warning message with some useful suggestions
6260         about how to fix the problem. 
6261
6262 2006-08-23  Wim Taymans  <wim@fluendo.com>
6263
6264         * gst/gstutils.c: (gst_pad_proxy_getcaps):
6265         Handle RESYNC correctly in _proxy_getcaps.
6266
6267 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
6268
6269         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6270         (gst_xml_parse_memory), (gst_xml_get_element):
6271           Chain up to parent class in dispose function and also
6272           unref the elements in the toplevel_elements GList.
6273           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6274           Always return a reference in gst_xml_get_element() rather
6275           than only sometimes.
6276
6277         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6278           Don't leak GstXml object.
6279
6280 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
6281
6282         * docs/gst/gstreamer-sections.txt:
6283         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6284         (gst_caps_merge):
6285         * gst/gstcaps.h:
6286         * libs/gst/base/gstbasetransform.c:
6287         (gst_base_transform_transform_caps):
6288           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6289           in a better way
6290
6291 2006-08-21  Edward Hervey  <edward@fluendo.com>
6292
6293         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6294         Implement GObject::dispose virtual method in GstXML so we can free the
6295         top_elements GList.
6296
6297 2006-08-21  Wim Taymans  <wim@fluendo.com>
6298
6299         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6300         (gst_buffer_create_sub):
6301         Copy duration/offset_end/caps when creating a subbuffer of the
6302         complete parent.
6303         Make the subbuffer read-only when we make the metadata writable for
6304         now. Fixes #351768.
6305
6306         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6307         Added check for metadata copy when creating subbuffers.
6308
6309 2006-08-21  Edward Hervey  <edward@fluendo.com>
6310
6311         * libs/gst/base/gstbasetransform.c:
6312         (gst_base_transform_buffer_alloc):
6313         Only call downstream buffer_alloc if transform element is passthrough
6314         or always_in_place. Closes #350449.
6315
6316 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6317
6318         * ChangeLog:
6319           ChangeLog surgery to add comments to previous changes
6320
6321 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6322
6323         * gst/gst.c:
6324           Add comments
6325
6326         * gst/gstpad.c: (gst_pad_set_active):
6327           Be more verbose in the log
6328
6329         * libs/gst/base/gstbasetransform.c:
6330         (gst_base_transform_transform_caps):
6331           Simplify caps to get rid of duplicates, fixes #345444
6332
6333 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6334
6335         * gst/gstvalue.c:
6336         * gst/gstvalue.h:
6337           Use these optimizations only internally.
6338
6339 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6340
6341         * gst/gstvalue.c: (gst_value_compare_list),
6342         (gst_value_compare_fraction_range),
6343         (gst_value_intersect_fraction_fraction_range),
6344         (gst_value_intersect_fraction_range_fraction_range),
6345         (gst_value_subtract_fraction_fraction_range),
6346         (gst_value_subtract_fraction_range_fraction_range),
6347         (gst_value_get_compare_func), (gst_value_compare),
6348         (gst_value_compare_with_func):
6349         * gst/gstvalue.h:
6350           Saves the expensive lookup of the compare function in many cases
6351          (#345444)
6352
6353 2006-08-18  Edward Hervey  <edward@fluendo.com>
6354
6355         * tests/check/gst/gstinfo.c: (gst_info_suite):
6356         Disable test that require gstdebug if it wasn't built in core.
6357
6358 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
6359
6360         * docs/random/ensonic/logging.txt:
6361           update ideas
6362           
6363         * gst/gstinfo.c: (gst_debug_log_default):
6364           reorder fields, save some columns, add optional color codes for log
6365           levels
6366
6367 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
6368
6369         * docs/random/ensonic/logging.txt:
6370           add ideas about making the logs a bit more useful
6371
6372 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
6373
6374         * docs/pwg/advanced-events.xml:
6375         * docs/pwg/titlepage.xml:
6376           Update for 0.10 API (#340627). Add myself
6377           to authors list.
6378
6379 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
6380
6381         * docs/libs/gstreamer-libs-docs.sgml:
6382         * docs/libs/gstreamer-libs-sections.txt:
6383         * libs/gst/check/gstbufferstraw.c:
6384           Make gstcheck stuff show up in docs (still needs to
6385           be documented properly though).
6386
6387 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
6388
6389         * docs/gst/gstreamer-sections.txt:
6390         * gst/Makefile.am:
6391         * gst/gst.c: (init_post):
6392         * gst/gst_private.h:
6393         * gst/gstquark.c: (_priv_gst_quarks_initialize):
6394         * gst/gstquark.h:
6395         * gst/gstquery.c: (gst_query_new_position),
6396         (gst_query_set_position), (gst_query_parse_position),
6397         (gst_query_new_duration), (gst_query_set_duration),
6398         (gst_query_parse_duration), (gst_query_new_convert),
6399         (gst_query_set_convert), (gst_query_parse_convert),
6400         (gst_query_new_segment), (gst_query_set_segment),
6401         (gst_query_parse_segment), (gst_query_new_seeking),
6402         (gst_query_set_seeking), (gst_query_parse_seeking):
6403         Add internal helpers for pre-registering quarks from static strings
6404         and using the quark values directly instead of looking them up when
6405         creating and parsing queries. Can be used for event construction too.
6406         Closes #350432.
6407
6408 2006-08-16  Wim Taymans  <wim@fluendo.com>
6409
6410         * gst/gstbin.c:
6411         Fix bogus docs.
6412
6413 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
6414
6415         * gst/gstutils.c: (gst_util_set_value_from_string):
6416           Fix memleak (#351502).
6417
6418         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6419           Add unit test for most of gst_util_set_value_from_string()
6420           (not that one would want to encourage use of this function).
6421
6422 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
6423
6424         * libs/gst/check/gstcheck.h:
6425           Use const gchar * variables in fail_unless_equals_string
6426           macro to avoid compiler warnings (and don't use tabs for
6427           indenting).
6428
6429 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
6430
6431         * tools/gst-launch.c: (print_tag):
6432           More space on the left for the tag names, to cater
6433           for the 'extended comment' tag (not touching the
6434           string for the first line since it's translated).
6435
6436 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
6437
6438         * libs/gst/check/gstcheck.h:
6439           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
6440           print something when they fail.
6441
6442 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
6443
6444         * docs/gst/gstreamer-sections.txt:
6445         * gst/gsttaglist.c: (_gst_tag_initialize):
6446         * gst/gsttaglist.h:
6447           API: add GST_TAG_EXTENDED_COMMENT (#350935).
6448           Also change merge function for GST_TAG_COMMENT to
6449           use_first.
6450
6451 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
6452
6453         * gst/gstinfo.c: (gst_debug_print_object):
6454           Make GST_PTR_FORMAT print messages as well.
6455
6456         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
6457         (GST_START_TEST), (gst_info_suite):
6458           More tests.
6459
6460 2006-08-14  Edward Hervey  <edward@fluendo.com>
6461
6462         * gst/gstelementfactory.c: (gst_element_register):
6463         If the GstElementClass doesn't have a GstElementDetails with all fields
6464         filled up correctly (longname, description AND author), then error out
6465         nicely instead of crashing.
6466
6467 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
6468
6469         * gst/gststructure.c:
6470           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
6471
6472         * gst/gstvalue.h:
6473           Expand on the difference between arrays and lists as we use them.
6474           
6475 2006-08-14  Wim Taymans  <wim@fluendo.com>
6476
6477         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6478         If the parent state change function failed, don't assume we can safely
6479         stop the source, this will be done when the pads are deactivated.
6480
6481 2006-08-14  Wim Taymans  <wim@fluendo.com>
6482
6483         * gst/gstbuffer.c:
6484         * gst/gsttask.c: (gst_task_join):
6485         Small doc updates.
6486
6487         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6488         (gst_pad_stop_task):
6489         When pad (de)activation failed for some reason, restore the old
6490         activation mode and set the pad to flushing instead of assuming the
6491         pad is deactivated.
6492         If the _task_join() failed, reinstall the task on the pad so that it can
6493         be stopped later and return an error.
6494
6495 2006-08-11  Andy Wingo  <wingo@pobox.com>
6496
6497         * configure.ac:
6498         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6499         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
6500         is only for users of API that don't want to see deprecated
6501         functions in the headers; people that want to compile out
6502         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
6503         CFLAGS. Fixes the build of multifdsink, or will soon..
6504
6505 2006-08-11  Wim Taymans  <wim@fluendo.com>
6506
6507         * docs/gst/gstreamer-sections.txt:
6508         Add GstClockClass vmethod docs.
6509
6510         * gst/gstcaps.h:
6511         Mark #endif with comment for associated #if
6512
6513         * gst/gstclock.c: (gst_clock_id_wait):
6514         * gst/gstclock.h:
6515         Add vmethod wait_jitter to avoid an unneeded _get_time() for
6516         most clock implementations.
6517         Document vmethods.
6518         Flesh out docs about resolution methods.
6519         API: GstClockClass::wait_jitter
6520
6521         * gst/gstsystemclock.c: (gst_system_clock_class_init),
6522         (gst_system_clock_async_thread),
6523         (gst_system_clock_id_wait_jitter_unlocked),
6524         (gst_system_clock_id_wait_jitter):
6525         Use base class wait_jitter variant for improved performance
6526         due to less clock polling.
6527
6528 2006-08-11  Edward Hervey  <edward@fluendo.com>
6529
6530         * gst/gst.c: (gst_init_check), (init_post):
6531         Set gst as being initialized before scanning/updating the registry,
6532         since there might be my python plugin loader that calls gst_init() and
6533         we don't want to loop back in.
6534         Closes #350879
6535
6536 2006-08-11  Wim Taymans  <wim@fluendo.com>
6537
6538         * docs/design/part-qos.txt:
6539         Bring docs in line with the code. Mostly the sign of the jitter was
6540         wrong in the docs. Fixes #349943.
6541
6542         * gst/gstclock.c:
6543         Fix the docs for the jitter.
6544
6545         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6546         (gst_event_parse_tag), (gst_event_new_buffer_size),
6547         (gst_event_parse_buffer_size), (gst_event_parse_qos),
6548         (gst_event_new_seek), (gst_event_parse_seek),
6549         (gst_event_new_navigation):
6550         Make sure the GstStructure has no parent when creating custom
6551         events.
6552         Add some more argument checking so that we avoid 0.0 rates.
6553         Flesh out the docs for the QoS event some more.
6554
6555 2006-08-11  Wim Taymans  <wim@fluendo.com>
6556
6557         * docs/gst/gstreamer-sections.txt:
6558         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6559         (ensure_current_registry_forking), (ensure_current_registry),
6560         (parse_one_option), (parse_goption_arg), (gst_deinit),
6561         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6562         * gst/gst.h:
6563         Doc updates.
6564         Added API and command line option to disable registry forking in
6565         addition to the environment variable.
6566         Constify some static arrays.
6567         Added some more debug.
6568         Don't deinit twice.
6569         API: gst_registry_fork_is_enabled()
6570         API: gst_registry_fork_set_enabled()
6571         API: --gst-disable-registry-fork command line option
6572         Fixes #348918.
6573
6574 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
6575
6576         * gst/gst.c: (gst_init):
6577           Fix typo in error message.
6578
6579 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
6580
6581         * libs/gst/controller/gstcontroller.h:
6582           fix ABI size-correction
6583
6584         * tests/check/libs/gdp.c: (gst_dp_suite):
6585           make tests that use deprecated API conditional
6586
6587 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
6588
6589         * docs/libs/gstreamer-libs-sections.txt:
6590         * libs/gst/controller/gstcontroller.c:
6591         (_gst_controller_get_property), (_gst_controller_set_property),
6592         (_gst_controller_init), (_gst_controller_class_init):
6593         * libs/gst/controller/gstcontroller.h:
6594         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6595         (gst_object_set_control_rate):
6596           API: add gst_object_{s,g}et_control_rate(), add private data section,
6597           fix docs
6598
6599         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6600         * libs/gst/dataprotocol/dataprotocol.h:
6601           add deprecation guards to make gtk-doc happy and allow disabling cruft
6602
6603 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
6604
6605         * tests/check/Makefile.am:
6606         * tests/check/gst/.cvsignore:
6607           Let's enable the new unit test as well.
6608
6609 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6610
6611         * configure.ac:
6612         * docs/gst/gstreamer-sections.txt:
6613         * gst/gstconfig.h.in:
6614         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6615         (_gst_info_printf_extension_ptr),
6616         (_gst_info_printf_extension_segment):
6617           API: add GST_SEGMENT_FORMAT, which is a printf extension we
6618           register that lets us easily dump GstSegments into debug
6619           logs (#350419).
6620
6621         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6622         (info_segment_format_printf_extension), (gst_info_suite):
6623           Add simple unit test that logs a bunch of different segments (not
6624           valgrinded at the moment because of leaks in
6625           gst_debug_add_log_function).
6626
6627 2006-08-09  Edward Hervey  <edward@fluendo.com>
6628
6629         * libs/gst/base/gstbasetransform.c:
6630         (gst_base_transform_buffer_alloc):
6631         Even if we can't figure out the proper format to request downstream,
6632         call buffer_alloc() downstream with the input parameters without setting
6633         the caps on the srcpad. This will force negotiation in the chain
6634         function.
6635         Closes #350449
6636
6637 2006-08-08  Edward Hervey  <edward@fluendo.com>
6638
6639         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6640         Unlinking from a pad without a target is now a perfectly valid case
6641         which should NOT raise an assertion.
6642         This case would happen if a linked ghostpad its target set to NULL after
6643         it was previously linked.
6644
6645 2006-08-08  Edward Hervey  <edward@fluendo.com>
6646
6647         * tests/check/libs/gdp.c:
6648         Also comment out the test (see below).
6649
6650 2006-08-08  Edward Hervey  <edward@fluendo.com>
6651
6652         * tests/check/libs/gdp.c: (gst_dp_suite):
6653         Use the architecture information from config.h and not gcc macros
6654         in order to properly disable a test that fails on PPC64.
6655
6656 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
6657
6658         * gst/gstelement.c: (gst_element_remove_pad):
6659           Don't crash printing the warning if the pad has no parent.
6660
6661 2006-08-02  Wim Taymans  <wim@fluendo.com>
6662
6663         * libs/gst/dataprotocol/dataprotocol.c:
6664         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6665         (gst_dp_crc), (gst_dp_header_payload_length),
6666         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6667         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6668         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6669         (gst_dp_event_from_packet), (gst_dp_validate_header),
6670         (gst_dp_validate_payload):
6671         Make debug category static
6672         Constify the crc table.
6673         Do some more arg checking in public functions.
6674         Fix some docs and do some small cleanups.
6675
6676         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6677         Add some more checks to see if GDP deals with bogus input.
6678
6679 2006-07-31  Wim Taymans  <wim@fluendo.com>
6680
6681         * gst/gstvalue.c: (gst_value_compare_list):
6682         Fix GstValueList comparison code. Fixes #347293.
6683
6684         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6685         Check to test GstValueList comparison.
6686
6687 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
6688
6689         * gst/gstelementfactory.c: (gst_element_factory_create):
6690         Remove unnecessary ref/unref pair
6691
6692         * gst/parse/grammar.y:
6693         Make sure to free the parse buffer on all code paths.
6694         Move a g_free up to the error handler where it's easier to see.
6695
6696         * tests/check/gst/gstevent.c: (test_event):
6697         Extending timeout for downstream travelling events to 10 seconds to
6698         hopefully avoid intermittent failure on the buildbots.
6699
6700         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6701         Don't manually set the state of the src element - it will happen as a
6702         natural consequence of the pipeline changing state, and that way it
6703         will do it in the right order too.
6704
6705 2006-07-31  Wim Taymans  <wim@fluendo.com>
6706
6707         * libs/gst/base/gstbasetransform.c:
6708         (gst_base_transform_buffer_alloc):
6709         Use OBJECT_LOCK and refcounting to get the pad caps in the
6710         buffer_alloc function because the caps could change while we are
6711         busy with them. Fixes #349105
6712
6713 2006-07-31  Wim Taymans  <wim@fluendo.com>
6714
6715         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
6716         Protect _PAD_CAPS with OBJECT_LOCK.
6717
6718 2006-07-31  Wim Taymans  <wim@fluendo.com>
6719
6720         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6721         (gst_pad_get_property), (gst_pad_activate_pull),
6722         (gst_pad_activate_push), (gst_pad_set_blocked_async),
6723         (gst_pad_set_activate_function),
6724         (gst_pad_set_activatepull_function),
6725         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
6726         (gst_pad_set_getrange_function),
6727         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
6728         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6729         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
6730         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
6731         (gst_pad_set_acceptcaps_function),
6732         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6733         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
6734         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
6735         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
6736         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
6737         (gst_pad_configure_sink), (gst_pad_configure_src),
6738         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
6739         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
6740         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
6741         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
6742         (gst_pad_send_event):
6743         Use _DEBUG_OBJECT when it makes sense.
6744         Protect GST_PAD_CAPS with the OBJECT_LOCK.
6745         Small cleanups and code reflows.
6746         Avoid caps refcounting in _accept_caps.
6747         Refactor alloc_buffer so that the code performed on the peer is in a
6748         separate function. Also if the pad does not implement a buffer alloc
6749         function, we should still check if the pad is flushing before falling
6750         back to the default allocator.
6751
6752 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
6753
6754         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6755         Make all uses of identity and fakesink have silent=true to avoid
6756         serialising every passing data structure, which is breaking tests
6757         on FC4 for some unknown reason.
6758
6759 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
6760
6761         * gst/parse/Makefile.am:
6762         * gst/parse/grammar.y:
6763         * gst/parse/parse.l:
6764           Reverted previous patch as it required to bump the flex dependency to
6765           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
6766
6767 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
6768
6769         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
6770
6771         * gst/parse/Makefile.am:
6772         * gst/parse/grammar.y:
6773         * gst/parse/parse.l:
6774           push & pop the state of the lexer for reentrant use case
6775           Fixes #349180
6776
6777 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
6778
6779         * libs/gst/base/gstbasesrc.h:
6780           Note in the docs that the ::newsegment vfunc is not actually used by
6781           GstBaseSrc.
6782
6783 2006-07-28  Wim Taymans  <wim@fluendo.com>
6784
6785         * libs/gst/base/gstcollectpads.c:
6786         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
6787         (gst_collect_pads_clear), (gst_collect_pads_flush),
6788         (gst_collect_pads_event), (gst_collect_pads_chain):
6789         When flushing a pad, also clear the queued buffer so that we don't
6790         accidentally use it when we shouldn't.
6791         Fix leaks by inreffing incomming buffer.
6792         Flush out queued buffers in case of errors.
6793         Fixes #347452.
6794
6795 2006-07-28  Wim Taymans  <wim@fluendo.com>
6796
6797         * docs/random/phonon-gst:
6798         Random notes about a Phonon backend.
6799
6800 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
6801
6802         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6803         Extra debug output
6804         * tests/check/libs/gdp.c: (gst_dp_suite):
6805         Take a whack at fixing the ppc compile using a different define to
6806         disable the broken test.
6807
6808         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6809         Remove excess g_print()
6810
6811 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
6812
6813         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6814         Oops, meant to uncomment this line too to dampen the noise a bit.
6815
6816 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
6817
6818         * gst/parse/grammar.y:
6819         * gst/parse/parse.l:
6820         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6821         (GST_START_TEST), (parse_suite):
6822         Fix some of the leaks exposed by extending the parse-launch testsuite,
6823         and move the 3 I can't figure out into a separate test that won't run
6824         the pipelines unless the appropriate line is uncommented.
6825
6826 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
6827
6828         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6829           Requesting 0 bytes before the end of the file should result in
6830           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6831           unit test.
6832
6833 2006-07-27  Wim Taymans  <wim@fluendo.com>
6834
6835         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6836         Fix useless assert, a uint is always positive.
6837
6838         * gst/gststructure.c: (gst_structure_nth_field_name),
6839         (gst_structure_foreach), (gst_structure_map_in_place):
6840         Check input arguments for public functions to avoid obvious crashes.
6841
6842         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6843         * plugins/elements/gstfakesink.h:
6844         Do less useless typechecking.
6845
6846 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
6847
6848         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6849           Do not use mmap() by default since there are a number of error
6850           conditions that we would like to handle in a non-fatal way that
6851           will result in a SIGBUS if we use mmap(). Examples: external
6852           devices (USB harddrive, portable music player) being unplugged
6853           while in use; file on mounted CD/DVD that can't be read because
6854           the medium is partly damaged. Fixes #348455 and #348475.
6855
6856 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
6857
6858         * gst/gstquery.h:
6859         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6860         rates are a gdouble
6861
6862 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
6863
6864         * gst/gstregistry.c:
6865           Move big documentation comment into class section header, so that it
6866           appears in the API docs.
6867
6868 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6869
6870         * docs/gst/gstreamer-sections.txt:
6871         Oops. Commit the docs additions too for new API.
6872         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6873
6874 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6875
6876         * gst/gststructure.c: (gst_structure_id_set),
6877         (gst_structure_id_set_valist):
6878         * gst/gststructure.h:
6879         Add API for setting values into structures without performing
6880         a quark lookup, if the appropriate quark is already known.
6881
6882         API: gst_structure_id_set
6883         API: gst_structure_id_set_valist
6884
6885         * gst/parse/grammar.y:
6886         * gst/parse/parse.l:
6887         Remove some dead code shown by the coverage information.
6888         Don't throw a critical g_warning when encountering a syntax error,
6889         just warn and let the normal error path handle it.
6890
6891         * plugins/elements/gstelements.c:
6892         Bump the rank of filesink up to PRIMARY so that it is preferred over
6893         gnomevfssink for file:// sink uri's
6894
6895         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6896         (GST_START_TEST), (run_delayed_test),
6897         (gst_parse_test_element_base_init),
6898         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6899         (gst_parse_test_element_change_state),
6900         (gst_register_parse_element), (parse_suite):
6901         Beef up the tests for parse syntax to check that more error cases
6902         fail as they are supposed to. Increases the test coverage a bit.
6903
6904 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
6905
6906         * docs/manual/basics-elements.xml:
6907           Fix gst_element_link() example.
6908
6909         * gst/gstutils.c:
6910           Mention in API docs that one should usually gst_bin_add()
6911           elements to a bin or pipeline before doing the linking.
6912           
6913 2006-07-26  Wim Taymans  <wim@fluendo.com>
6914
6915         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6916         (gst_subbuffer_get_type), (gst_buffer_create_sub):
6917         Avoid function call for known types by keeping the buffer and
6918         subbuffer GType global.
6919
6920         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6921         Random silly optimisations in read() path.
6922
6923 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6924
6925         * tools/gst-launch.c: (main):
6926           If the top-level of the parse is a normal bin, it doesn't do the
6927           right logic to run as a top-level element, so place it inside a
6928           pipeline.
6929
6930 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
6931
6932         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6933           Remove superfluous g_object_notify() calls, GObject does
6934           that for us automatically.
6935
6936 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
6937
6938         * gst/gstinfo.h:
6939           on Win32, use dllspec to export the debug category symbols
6940
6941 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
6942
6943         * gst/gsttaglist.c: (_gst_tag_initialize):
6944           Allow more than one GST_TAG_IMAGE per taglist.
6945
6946 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6947
6948         * gst/gstminiobject.c:
6949           update docs
6950         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6951         (gst_fd_src_create):
6952           log recurring events at LOG level
6953           add more debug for when the fd gets set
6954
6955 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6956
6957         * gst/gstparse.c: (gst_parse_launch):
6958           Also remove reentrance checks if flex is MT safe (#348179)
6959          Fix my empty ChangeLog entry below
6960
6961 2006-07-21  Andy Wingo  <wingo@pobox.com>
6962
6963         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6964
6965         * libs/gst/check/Makefile.am
6966         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6967         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
6968         * libs/gst/check/gstbufferstraw.h:
6969         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6970         functions, thus proving I am still a GStreamer haxor. OK I wrote
6971         them a long time ago, but anyways.
6972
6973 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6974
6975         * configure.ac:
6976         * gst/gstparse.c: (gst_parse_launch):
6977           Check for flex version and omit mutex if we have a MT save flex
6978           (fixes #348179)
6979
6980 2006-07-21  Wim Taymans  <wim@fluendo.com>
6981
6982         * gst/gstparse.c: (gst_parse_launch):
6983         Protect recursive calls to _parse with a recursive mutex
6984         and busy flag.
6985
6986 2006-07-21  Wim Taymans  <wim@fluendo.com>
6987
6988         * tests/check/gst/gstpad.c: (GST_START_TEST):
6989         Fix leak in test.
6990
6991 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
6992
6993         * gst/gstparse.c: (gst_parse_launch):
6994           Do not hang on recursive usage of gst_parse_launch()
6995
6996 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6997
6998         * gst/gsttaglist.c:
6999           Add some more docs, comments and FIXME 0.11s here and there
7000           and also fix some typos.
7001
7002 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7003
7004         * gst/gstsegment.h:
7005           Convert tabs to spaces for better readability. 
7006
7007 2006-07-20  Edward Hervey  <edward@fluendo.com>
7008
7009         * tests/check/libs/gdp.c: (gst_dp_suite):
7010         the test_buffer test fails at line 140 on ppc64 at the following
7011         check:
7012         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7013                 GST_BUFFER_FLAG_IN_CAPS),
7014                 "GST_BUFFER_IN_CAPS flag should have been copied !");
7015         See bug #348114 for more details.
7016
7017 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
7018
7019         * docs/pwg/advanced-scheduling.xml:
7020         * gst/gstpad.c:
7021           Fix typos (#348000).
7022
7023 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
7024
7025         * docs/pwg/intro-basics.xml:
7026           Fix wrong links (#347927).
7027
7028 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
7029
7030         * gst/gstregistry.h:
7031         * gst/gstregistryxml.c: (load_feature),
7032         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7033         * win32/common/config.h:
7034           make --disable-index work (#342564)
7035
7036 2006-07-18  Wim Taymans  <wim@fluendo.com>
7037
7038         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7039
7040         * gst/Makefile.am:
7041         * gst/gsttrace.h:
7042         The attached patch adds two missing defines to gsttrace.h when tracing
7043         is disabled.  It also corrects one existing define.
7044         Fixes #347756.
7045
7046 2006-07-17  Wim Taymans  <wim@fluendo.com>
7047
7048         * docs/gst/gstreamer-sections.txt:
7049         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7050         * gst/gst.h:
7051         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7052         Add two functions to check and change the SIGSEGV behaviour
7053         when loading plugins.
7054         Don't mess with the SIGSEGV handler when we were told not to.
7055         Fixes #347794.
7056         API: gst_segtrap_is_enabled
7057         API: gst_segtrap_set_enabled
7058
7059 2006-07-14  Wim Taymans  <wim@fluendo.com>
7060
7061         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7062         * tests/check/elements/filesrc.c: (GST_START_TEST):
7063         Revert fix for regression in #347408 after release.
7064
7065 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
7066
7067         Patch by: Antoine Tremblay <hexa00 at gmail com>
7068
7069         * gst/gstutils.c: (gst_element_unlink):
7070           Free iterator when done (#347311).
7071
7072         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7073           And add a test case for this.
7074
7075 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
7076
7077         * configure.ac:
7078         Bump nano back to CVS
7079
7080 === release 0.10.9 ===
7081
7082 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
7083
7084         * configure.ac:
7085           releasing 0.10.9, "On the road again"
7086
7087 2006-07-13  Wim Taymans  <wim@fluendo.com>
7088
7089         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7090         * tests/check/elements/filesrc.c: (GST_START_TEST):
7091         Revert pull-0 fix for release. Disable check. Fixes #347408.
7092
7093 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7094
7095         * libs/gst/dataprotocol/dataprotocol.c:
7096         (gst_dp_event_from_packet_1_0):
7097           Fixes #347337: failure to deserialize event packets with
7098           empty payload (only event type)
7099
7100 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7101
7102         * gst/Makefile.am:
7103           do not install a .c file in the header directory
7104
7105 2006-07-13  Edward Hervey  <edward@fluendo.com>
7106
7107         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7108         GhostPad no longer implicitely use the padtemplates of the targets.
7109         Fixes #347384
7110
7111 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
7112
7113         * gst/gstvalue.c: (gst_value_compare_list),
7114         (gst_value_compare_array), (_gst_value_initialize):
7115         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7116         Make GstValueArray comparison be order dependent as designed.
7117         Add checks for value lists and value array comparisons.
7118         Fixes #347221
7119
7120 2006-07-11  Edward Hervey  <edward@fluendo.com>
7121
7122         * gst/gstbin.c: (activate_pads),
7123         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7124         (gst_bin_change_state_func):
7125         (de)activate src pads before calling state_change on the childs.
7126         This is to avoid the case where a src ghostpad is blocked (holding the
7127         stream lock), which would block the deactivation of the ghostpad's
7128         target pad.
7129         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7130         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7131         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7132         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7133         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7134         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7135         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7136         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7137         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7138         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7139         (gst_ghost_pad_class_init),
7140         (gst_ghost_pad_internal_do_activate_push),
7141         (gst_ghost_pad_internal_do_activate_pull),
7142         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7143         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7144         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7145         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7146         GhostPads now create their internal GstProxyPad at creation (and not
7147         when they're linked, as it was being done previously).
7148         The internal and target pads are linked straight away.
7149         The data will also travel through the other pad in order to make
7150         pad blocking and probes non-hackish (the probe/block now really happens
7151         on the GhostPad and not on the target).
7152         * gst/gstpad.c: (gst_pad_set_blocked_async),
7153         (gst_pad_link_prepare), (gst_pad_push_event):
7154         Remove previous ghostpad cruft.
7155         * gst/gstutils.c: (gst_pad_add_data_probe),
7156         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7157         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7158         (gst_pad_remove_buffer_probe):
7159         Remove previous ghost pad cruft.
7160         Added more detailed debug statements.
7161         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7162         Fix the testsuite for refcounting changes.
7163         The comments about who has references were correct, but the refcount
7164         being checked wasn't the same (!?!).
7165
7166         Fixes #341029
7167
7168 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7169
7170         * docs/gst/gstreamer-sections.txt:
7171         * gst/gstconfig.h.in:
7172         More docs for configuration options, add docs to gtk-doc.
7173
7174 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7175
7176         * gst/Makefile.am:
7177         * gst/gstconfig.h.in:
7178         * win32/common/config.h:
7179         Fix build when disabling tracing (fixes #344016). Also start to document
7180         the defines that disable the sub-systems.
7181
7182 2006-07-10  Edward Hervey  <edward@fluendo.com>
7183
7184         * gst/gst.c: (ensure_current_registry_forking):
7185         let's make valgrind happy...
7186
7187 2006-07-09  Wim Taymans  <wim@fluendo.com>
7188
7189         * gst/gstelement.c: (activate_pads),
7190         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7191         Better pad activation code: Reset the collect value too on resync.
7192         Add some comments.
7193
7194 2006-07-09  Wim Taymans  <wim@fluendo.com>
7195
7196         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7197         (gst_pad_activate_push):
7198         Use some more macros where it makes sense.
7199         Allow pad mode switching instead of asserting. When a pad
7200         is activated in one mode and we activate it in another, 
7201         deactivate it first before activating it in a different mode.
7202         Fixes #329198.
7203
7204 2006-07-08  Andy Wingo  <wingo@pobox.com>
7205
7206         * tools/gst-launch.c (main): Handle err == NULL.
7207
7208         * gst/gst.c (init_post, ensure_current_registry)
7209         (ensure_current_registry_forking)
7210         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7211         factoring out the registry scanning into separate functions. Don't
7212         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7213         Better environment var name/interface suggestions accepted.
7214
7215 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7216
7217         * gst/gstobject.c: (gst_object_set_name_default),
7218         (gst_object_set_name):
7219           Random micro-optimisation: don't use a hash table
7220           with strings as keys and the usual strdup/strcmp
7221           involved, but rather just use the GQuark of the
7222           type name as key, since it needs to be looked up
7223           anyway to get the type name string.
7224
7225         * tests/check/gst/gstobject.c: (GST_START_TEST):
7226           Fix various leaks.
7227
7228 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7229
7230         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7231         (gst_bin_iterate_all_by_interface):
7232           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7233           GTypes are gulongs and thus the top 4 bytes might be cut
7234           off on some platforms when doing GPOINTER_TO_INT, leading
7235           to invalid GTypes and bad things happening (see RH bug #179654).
7236           Also add a check to make sure the type passed in is really
7237           an interface type.
7238
7239 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7240
7241         * .cvsignore:
7242           Ignore more.
7243
7244 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7245
7246         * Makefile.am:
7247         * configure.ac:
7248         * gst-element-check.m4:
7249         * gst-element-check.m4.in:
7250           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7251           instead of the unversioned gst-inspect (#324176, #168659).
7252
7253 2006-07-06  Wim Taymans  <wim@fluendo.com>
7254
7255         * gst/gstmessage.h:
7256         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7257         warnings.
7258
7259 2006-07-06  Wim Taymans  <wim@fluendo.com>
7260
7261         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7262         (gst_base_src_wait), (gst_base_src_update_length),
7263         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7264         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7265         (gst_base_src_loop), (gst_base_src_start),
7266         (gst_base_src_activate_pull):
7267         Update docs.
7268         blocksize == 0 now means the default blocksize when working in push
7269         based mode.
7270         Remove some pointless asserts in _wait function.
7271         Fix offset/length calculations and EOS handling. We can now pull 0
7272         bytes as well, which is allowed.
7273         use _check_get_range() to decide if we can operate in _pull based
7274         mode.
7275         Fix refcounting leak when check_get_range function was not 
7276         implemented.
7277         API GstBaseSrc::blocksize range can be 0 too now (default)
7278
7279         * tests/check/elements/filesrc.c: (GST_START_TEST),
7280         (filesrc_suite):
7281         Added check to test _get_range() behaviour.
7282
7283 2006-07-06  Wim Taymans  <wim@fluendo.com>
7284
7285         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7286         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7287         (gst_pad_pull_range):
7288         * gst/gstpad.h:
7289         Lots of comments and docs added to the pad functions.
7290         Flesh out the expected behaviour of the get_range() functions.
7291
7292 2006-07-06  Wim Taymans  <wim@fluendo.com>
7293
7294         * gst/gstbus.h:
7295         * gst/gstclock.h:
7296         * gst/gstevent.h:
7297         * gst/gstiterator.h:
7298         * gst/gstpad.h:
7299         * gst/gstplugin.h:
7300         * gst/gsttask.h:
7301         Remove comma at end of enumerator list. 
7302
7303 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
7304
7305         * win32/common/libgstbase.def:
7306         * win32/common/libgstdataprotocol.def:
7307         * win32/common/libsgtreamer.def:
7308         Add new exported functions.
7309
7310 2006-07-05  Wim Taymans  <wim@fluendo.com>
7311
7312         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7313         Add some more docs here and there.
7314
7315 2006-07-05  Wim Taymans  <wim@fluendo.com>
7316
7317         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7318         (gst_base_sink_loop), (gst_base_sink_get_position):
7319         When operating in pull mode update the offset so that we
7320         read sequentially.
7321
7322 2006-07-05  Wim Taymans  <wim@fluendo.com>
7323
7324         * gst/gstregistryxml.c: (read_string):
7325         Avoid strdup. (will happen in libxml, but hey!)
7326
7327         * gst/gsturi.c:
7328         Add some more docs.
7329
7330 2006-07-05  Wim Taymans  <wim@fluendo.com>
7331
7332         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7333         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7334         (gst_buffer_suite):
7335         No point in checking if the size of the subbuffer > 0, the
7336         code handles it correclty as demonstrated by unit test.
7337         Also add a unit test for the zero sized _new_and_alloc and
7338         _copy. Fixes #346663.
7339
7340 2006-07-05  Wim Taymans  <wim@fluendo.com>
7341
7342         * libs/gst/base/gstbasetransform.c:
7343         (gst_base_transform_prepare_output_buffer),
7344         (gst_base_transform_buffer_alloc),
7345         (gst_base_transform_handle_buffer):
7346         Make sure the buffer we pass to transform_ip has a refcount of
7347         1 and thus is writable. Fixes #343196
7348
7349 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
7350
7351         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7352         (gst_file_src_init), (gst_file_src_set_property),
7353         (gst_file_src_get_property), (gst_file_src_map_region):
7354         * plugins/elements/gstfilesrc.h:
7355         Add "sequential" property, off by default, to use madvise and hint
7356         to the kernel that sequential access is desired.
7357         Touch all retrieved pages by default to ensure they are pulled
7358         into memory. (Closes #345720)
7359
7360 2006-07-03  Wim Taymans  <wim@fluendo.com>
7361
7362         * docs/design/part-block.txt:
7363         * docs/design/part-dynamic.txt:
7364         Small docs updates.
7365
7366 2006-07-03  Wim Taymans  <wim@fluendo.com>
7367
7368         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7369         (gst_caps_unref), (gst_static_caps_get),
7370         (gst_caps_append_structure):
7371         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7372         Use GSlice when the glib we build against is >= 2.10
7373
7374 2006-07-03  Wim Taymans  <wim@fluendo.com>
7375
7376         * gst/gstelement.c: (gst_element_pads_activate):
7377         Small cleanup in pad activation code.
7378
7379 2006-07-03  Wim Taymans  <wim@fluendo.com>
7380
7381         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7382
7383         * gst/gst-i18n-app.h:
7384         * gst/gst-i18n-lib.h:
7385         * tools/gst-inspect.c: (print_signal_info):
7386         The attached patch will make the inclusion of gettext.h unconditional in
7387         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
7388         libintl.h in tools/gst-inspect.c.
7389         This allows use of --disable-nls again and fixes #344642.
7390
7391 2006-07-03  Edward Hervey  <edward@fluendo.com>
7392
7393         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
7394         Implement pad blocking on events according to part-block.txt.
7395         More comments on behaviour.
7396         * tests/check/gst/gstevent.c: (test_event):
7397         Send event to peer pad of blocked pad (else it will block).
7398
7399 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7400
7401         * libs/gst/check/gstcheck.c: (gst_check_message_error),
7402         (gst_check_run_suite):
7403           if we get the wrong message, give us the types as string
7404         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7405           Fix a translatable
7406         * tests/check/elements/filesrc.c: (GST_START_TEST):
7407           add a test for trying to open a non-existing file
7408
7409 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7410
7411         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7412           add a test for adding self
7413
7414 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7415
7416         * libs/gst/check/gstcheck.h:
7417           add some assert_ as alias for fail_unless_*
7418         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
7419           increase test coverage
7420
7421 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7422
7423         * Makefile.am:
7424           include lcov.mak for lcov coverage generation
7425         * tools/Makefile.am:
7426           add to CLEANFILES
7427
7428 2006-07-02  Edward Hervey  <edward@fluendo.com>
7429
7430         * tests/check/elements/.cvsignore:
7431         moaping
7432
7433 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7434
7435         * configure.ac:
7436           don't set CFLAGS and friends for gcov, done from GST_GCOV now
7437         * tests/check/Makefile.am:
7438           clean up gcov files
7439
7440 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7441
7442         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
7443           remove gst_caps_simplify; it was not declared and not used
7444           and deprecated in 0.8
7445
7446 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7447
7448         * docs/faq/gst-uninstalled:
7449           don't put empty paths on PYTHONPATH
7450         * docs/gst/gstreamer-sections.txt:
7451           remove some symbols that are not there
7452
7453 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7454
7455         * gst/gstcaps.c: (gst_caps_compare_structures):
7456           whitespace fixes
7457         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7458         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7459           add more tests
7460
7461 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7462
7463         * libs/gst/dataprotocol/Makefile.am:
7464           build dataprotocol test by linking to the lib, instead of
7465           compiling the source, so we get coverage
7466         * tests/check/Makefile.am:
7467         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
7468         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
7469           add a test for filesrc
7470
7471 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7472
7473         * tests/check/gst/gststructure.c: (GST_START_TEST),
7474         (gst_structure_suite):
7475           Push coverage from 59.04% to 70.00%
7476
7477 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7478
7479         * tests/check/Makefile.am:
7480           gst-inspect every element; this makes sure that we also get
7481           coverage on element's get/set functions
7482
7483 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7484
7485         * configure.ac:
7486           set CFLAGS and friends to -O0 if gcov is being used
7487           add GCOV LIBS
7488         * gst/Makefile.am:
7489         * libs/gst/base/Makefile.am:
7490         * libs/gst/check/Makefile.am:
7491         * libs/gst/controller/Makefile.am:
7492         * libs/gst/dataprotocol/Makefile.am:
7493         * libs/gst/net/Makefile.am:
7494         * plugins/elements/Makefile.am:
7495         * plugins/indexers/Makefile.am:
7496           add makefile rules to generate gcov data and clean up
7497         * tests/check/Makefile.am:
7498           add a coverage target that generates an html overview
7499           of coverage data
7500
7501 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7502
7503         * tests/check/elements/fakesink.c:
7504         * tests/check/elements/fakesrc.c:
7505         * tests/check/elements/fdsrc.c:
7506         * tests/check/elements/identity.c:
7507         * tests/check/generic/sinks.c: (gst_sinks_suite):
7508         * tests/check/generic/states.c:
7509         * tests/check/gst/gst.c:
7510         * tests/check/gst/gstabi.c:
7511         * tests/check/gst/gstbin.c:
7512         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7513         * tests/check/gst/gstbus.c: (gst_bus_suite):
7514         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7515         * tests/check/gst/gstelement.c:
7516         * tests/check/gst/gstevent.c: (gst_event_suite):
7517         * tests/check/gst/gstghostpad.c:
7518         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7519         * tests/check/gst/gstmessage.c: (gst_message_suite):
7520         * tests/check/gst/gstminiobject.c:
7521         * tests/check/gst/gstobject.c:
7522         * tests/check/gst/gstpad.c:
7523         * tests/check/gst/gstpipeline.c:
7524         * tests/check/gst/gstplugin.c:
7525         * tests/check/gst/gstquery.c: (gst_query_suite):
7526         * tests/check/gst/gstsegment.c: (gst_segment_suite):
7527         * tests/check/gst/gststructure.c:
7528         * tests/check/gst/gstsystemclock.c:
7529         * tests/check/gst/gsttag.c:
7530         * tests/check/gst/gsttask.c: (gst_task_suite):
7531         * tests/check/gst/gstutils.c:
7532         * tests/check/gst/gstvalue.c:
7533         * tests/check/libs/adapter.c:
7534         * tests/check/libs/basesrc.c:
7535         * tests/check/libs/collectpads.c:
7536         * tests/check/libs/controller.c:
7537         * tests/check/libs/gdp.c: (gst_dp_suite):
7538         * tests/check/libs/gstnetclientclock.c:
7539         * tests/check/libs/gstnettimeprovider.c:
7540         * tests/check/libs/libsabi.c: (libsabi_suite):
7541         * tests/check/libs/typefindhelper.c:
7542         * tests/check/pipelines/cleanup.c:
7543         * tests/check/pipelines/parse-launch.c:
7544         * tests/check/pipelines/simple-launch-lines.c:
7545         * tests/check/pipelines/stress.c: (stress_suite):
7546           use the new macro
7547
7548 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7549
7550         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7551         * libs/gst/check/gstcheck.h:
7552           create a macro and function so that the simple unit test
7553           case can be just one macro to create main()
7554
7555 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
7556
7557         * gst/gstbin.c: (gst_bin_restore_thyself):
7558         * gst/gstxml.c: (gst_xml_make_element):
7559           Fix deserialisation from XML. Set parent manually
7560           instead of using gst_bin_add(), since gst_bin_add()
7561           will unlink all pads of the element being added.
7562           Fixes #341667.
7563
7564 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
7565
7566         Patch by: Peter Kjellerstedt <pkj at axis com>
7567
7568         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7569           Fix missing g_strdup() and double free when using the
7570           --gst-plugin-load command line option (#346097).
7571
7572 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
7573
7574         * gst/gstinfo.c:
7575           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7576
7577         * libs/gst/net/gstnetclientclock.c:
7578         * libs/gst/net/gstnettimeprovider.c:
7579           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7580
7581 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
7582
7583         * docs/manual/advanced-dataaccess.xml:
7584           Fix buffer probe example compilation in
7585           ADM (#345708).
7586         
7587 2006-06-22  Edward Hervey  <edward@fluendo.com>
7588
7589         * gst/gstelement.c: (gst_element_pads_activate):
7590         We need to deactivate src pads first and then sink pads.
7591         The reason is the src pads might be blocking while holding the streaming
7592         lock, so we need to deactivate them first so that deactivating the sink
7593         pads doesn't block (since it will require the streaming lock).
7594
7595 2006-06-22  Wim Taymans  <wim@fluendo.com>
7596
7597         * libs/gst/base/gstbasetransform.c:
7598         (gst_base_transform_buffer_alloc):
7599         Forgot to remove two unneeded unrefs.
7600         Simplify a check _is_equal allready checks the obvious case.
7601
7602 2006-06-22  Wim Taymans  <wim@fluendo.com>
7603
7604         * docs/design/part-block.txt:
7605         Some docs about what pad_block should do.
7606
7607 2006-06-22  Wim Taymans  <wim@fluendo.com>
7608
7609         * gst/gstcaps.c: (gst_caps_replace):
7610         Fix crasher when passed NULL. Doc clarification.
7611         Optimize for the trivial case.
7612
7613         * gst/gstpipeline.c: (gst_pipeline_change_state):
7614         Small cleanups.
7615
7616         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7617         Small documentation cleanup.
7618
7619         * libs/gst/base/gstbasetransform.c:
7620         (gst_base_transform_buffer_alloc):
7621         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7622         is what we need and it avoids a whole lot of redundant 
7623         refcount operations.
7624
7625 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
7626
7627         Patch by: Philip Jägenstedt  <philip at lysator liu se>
7628
7629         * docs/manual/advanced-dataaccess.xml:
7630           Fix 'Embedding static elements' section to use
7631           GST_PLUGIN_DEFINE_STATIC (#345607).
7632
7633 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7634
7635         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7636           Attempt to 'fix' spuriously failing test case: it seems like the
7637           timeout of half a second is simply too small when the system is under
7638           load otherwise, and the timeout doesn't really seem to serve any
7639           particular purpose here. Give the pipeline a few seconds to preroll
7640           first, and then give it another half a second to go from PAUSED to
7641           PLAYING and marshal the message into the main thread.
7642
7643 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7644
7645         * tools/gst-feedback-m.m:
7646           Don't only use unversioned tools, try versioned tools as well
7647           (#345086).
7648
7649 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7650
7651         * gst/gstbus.c: (gst_bus_class_init):
7652           Fix some typos, make docs more explicit.
7653
7654 2006-06-20  Wim Taymans  <wim@fluendo.com>
7655
7656         * tests/check/gst/gstghostpad.c: (block_callback),
7657         (GST_START_TEST), (gst_ghost_pad_suite):
7658         Added some more ghostpad tests, mainly blocking
7659         and probes.
7660
7661 2006-06-16  Wim Taymans  <wim@fluendo.com>
7662
7663         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7664         (gst_file_sink_close_file), (gst_file_sink_do_seek),
7665         (gst_file_sink_event), (gst_file_sink_render):
7666         * plugins/elements/gstfilesink.h:
7667         Check if we can seek in the file instead of assuming
7668         we always can. Post an error when we are asked to seek in a
7669         non-seekable file (like a fifo). Fixes #343312.
7670         Some cleanups.
7671
7672 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
7673
7674         * tools/gst-launch.1.in:
7675           Un-garble (fourcc) bit in filtered caps section.
7676
7677 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
7678
7679         * docs/manual/advanced-autoplugging.xml:
7680         * docs/manual/basics-helloworld.xml:
7681         * docs/manual/highlevel-components.xml:
7682           Don't leak bus reference in sample code.
7683
7684 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
7685
7686         * autogen.sh:
7687           Add default for new --enable-plugin-docs switch.
7688
7689         * configure.ac:
7690           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7691           Fixes #344039.
7692
7693         * docs/Makefile.am:
7694           Use new ENABLE_PLUGIN_DOCS conditional.
7695
7696 2006-06-14  Wim Taymans  <wim@fluendo.com>
7697
7698         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7699         Make it clear with a FIXME and a real define what the #if 0
7700         previously disabled.
7701
7702 2006-06-14  Wim Taymans  <wim@fluendo.com>
7703
7704         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7705         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7706         * libs/gst/base/gstbasetransform.c:
7707         (gst_base_transform_sink_eventfunc):
7708         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7709         Don't randomly and silently reset a segment when the format 
7710         changes as this is a bug somewhere upstream. Fixes #330379.
7711
7712 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7713
7714         Patch by: Wouter Paesen  <wouter at kangaroot net>
7715
7716         * libs/gst/controller/gstcontroller.c:
7717         (gst_controlled_property_new):
7718           Fix controlling of float properties (#344849).
7719
7720         * tests/check/libs/controller.c:
7721         (gst_test_mono_source_get_property),
7722         (gst_test_mono_source_set_property),
7723         (gst_test_mono_source_class_init), (GST_START_TEST):
7724           While we're at it, add some float stuff to unit test.
7725
7726 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7727
7728         * docs/README:
7729         * docs/images/gdp-header.svg:
7730           add a gdp image
7731         * docs/libs/Makefile.am:
7732         * docs/libs/gdp-header.png:
7733         * libs/gst/dataprotocol/dataprotocol.c:
7734           add it to the API docs
7735         * docs/manual/intro-motivation.xml:
7736           fix typo
7737
7738 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
7739
7740         * gst/gst.c: (scan_and_update_registry), (init_post):
7741           If the fork()'ed child process can't write the updated registry cache
7742           file to disk for some reason, make it exit with a failure exit code,
7743           so that the parent can then re-scan the plugins itself and update the
7744           registry structures in memory and work with that (rather than failing
7745           when creating elements because seemingly no plugins are available).
7746           Refactor registry scanning code into separate function for this and
7747           also separate fork() and non-fork() code paths. Fixes #344748.
7748
7749 2006-06-13  Wim Taymans  <wim@fluendo.com>
7750
7751         * docs/manual/advanced-dataaccess.xml:
7752         Fix wrong PluginDesc. Fixes #344755.
7753
7754 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
7755
7756         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7757           Fix silly bug that prevented us from creating
7758           ~/.gstreamer-0.10 and writing the registry in one
7759           go (the first call to g_mkstemp() would overwrite the
7760           placeholder in the template string, so the second call
7761           to g_mkstemp() after creating the missing directory
7762           would then error out with 'invalid argument').
7763
7764 2006-06-13  Edward Hervey  <edward@fluendo.com>
7765
7766         * gst/gst.c: (init_post):
7767         Free string.
7768
7769 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7770
7771         * gst/glib-compat-private.h:
7772         * gst/glib-compat.c:
7773         * gst/glib-compat.h:
7774         * gst/gstvalue.c: (gst_value_serialize_flags):
7775           remove GLib 2.6 compatibility code
7776
7777 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
7778
7779         * gst/parse/Makefile.am:
7780           Fix build with 'make -j N' even more (#340016).
7781
7782 2006-06-12  Wim Taymans  <wim@fluendo.com>
7783
7784         * docs/gst/gstreamer-sections.txt:
7785         Fix docs.
7786
7787 2006-06-12  Wim Taymans  <wim@fluendo.com>
7788
7789         * gst/gstsegment.c: (gst_segment_set_duration),
7790         (gst_segment_set_last_stop), (gst_segment_set_seek),
7791         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7792         (gst_segment_to_running_time), (gst_segment_clip):
7793         Use G_UNLIKELY to help the compiler a bit.
7794
7795 2006-06-12  Wim Taymans  <wim@fluendo.com>
7796
7797         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7798
7799         * gst/gstevent.c: (gst_event_get_type):
7800         * gst/gstmessage.c:
7801         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7802         (gst_pad_push):
7803         constify quark registration strings. Fixes #344115
7804         Avoid unneeded type checking is _pad_push() by internally
7805         calling gst_pad_chain_unchecked().
7806
7807 2006-06-12  Wim Taymans  <wim@fluendo.com>
7808
7809         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7810         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7811         (gst_subbuffer_finalize), (gst_buffer_create_sub),
7812         (gst_buffer_is_span_fast), (gst_buffer_span):
7813         Init _type for consistency.
7814         Use _FLAGS macro to avoid type check.
7815         Avoid unneeded type checks in subbufer code.
7816
7817 2006-06-12  Wim Taymans  <wim@fluendo.com>
7818
7819         * gst/gst.c: (gst_debug_help):
7820         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7821         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7822         (gst_plugin_feature_list_free):
7823         * gst/gstregistry.c: (gst_registry_add_plugin),
7824         (gst_registry_add_feature), (gst_registry_plugin_filter),
7825         (gst_registry_feature_filter), (gst_registry_find_plugin),
7826         (gst_registry_find_feature), (gst_registry_get_plugin_list),
7827         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7828         * gst/gstregistryxml.c: (load_feature),
7829         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7830         * gst/gstminiobject.c: (gst_mini_object_unref),
7831         (gst_mini_object_replace), (gst_value_mini_object_free),
7832         (gst_value_mini_object_copy):
7833         Use _CAST macros to avoid unneeded type checking.
7834         Added some more G_UNLIKELY.
7835
7836 2006-06-12  Wim Taymans  <wim@fluendo.com>
7837
7838         * gst/gstbuffer.h:
7839         Avoid unneeded type checking.
7840         API: GST_BUFFER_IS_DISCONT
7841
7842         * gst/gstminiobject.h:
7843         Avoid type check in flag accessor.
7844
7845         * gst/gstelementfactory.h:
7846         * gst/gstplugin.h:
7847         * gst/gstpluginfeature.h:
7848         Add _CAST macros.
7849         API: GST_ELEMENT_FACTORY_CAST
7850         API: GST_PLUGIN_CAST
7851         API: GST_PLUGIN_FEATURE_CAST
7852
7853 2006-06-12  Wim Taymans  <wim@fluendo.com>
7854
7855         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7856         (gst_object_unref):
7857         Add G_UNLIKELY in type registration.
7858         Avoid type check in _ref/_unref since that is also
7859         done in glib.
7860
7861 2006-06-12  Wim Taymans  <wim@fluendo.com>
7862
7863         * gst/gsterror.c: (gst_g_error_get_type):
7864         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7865         (gst_static_pad_template_get_type):
7866         * gst/gsttaglist.c: (gst_tag_list_get_type):
7867         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7868         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7869         * gst/gsturi.c: (gst_uri_handler_get_type):
7870         * gst/gstvalue.c: (gst_date_get_type):
7871         * gst/gstxml.c: (gst_xml_get_type):
7872         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7873         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7874         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7875         Add G_UNLIKELY in type registration.
7876
7877 2006-06-12  Wim Taymans  <wim@fluendo.com>
7878
7879         * tools/gst-inspect.c: (print_signal_info):
7880         Properly print enum values.
7881
7882 2006-06-12  Wim Taymans  <wim@fluendo.com>
7883
7884         * gst/gstinfo.c: (gst_debug_set_active),
7885         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7886         * gst/gstinfo.h:
7887         Add some G_[UN]LIKELY.
7888         Maintain __gst_debug_min to avoid formatting the arguments of
7889         debug messages that will be dropped anyway to avoid a lot of 
7890         overhead from the debugging system.
7891
7892 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7893
7894         * po/POTFILES.in:
7895         * po/POTFILES.skip:
7896           add missing files containing translatable strings, tell intltool about
7897           one exception
7898
7899 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7900
7901         * tests/check/libs/.cvsignore:
7902         add test-binary to ignore list
7903
7904 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7905
7906         * docs/libs/gstreamer-libs-docs.sgml:
7907         reorder (put dp into a chapter) and indent
7908
7909 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7910
7911         * configure.ac:
7912           back to HEAD
7913
7914 === release 0.10.8 ===
7915
7916 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
7917
7918         * configure.ac:
7919           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7920
7921 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7922
7923         * gst/gst.c: (init_post):
7924           move pid declaration to declaration block
7925
7926 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7927
7928         * gst/gst.c: (init_post):
7929           use _exit() instead of exit() in our forked child; this ensures
7930           that none of the registered exit handlers from whatever is using
7931           GStreamer get executed.  This fixes gnome-mixer-applet failing
7932           to load, because ORBit would shut down.
7933           Spotted by: Edward Hervey  <edward@fluendo.com>
7934           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
7935           Fixes #344474
7936
7937 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7938
7939         * configure.ac:
7940           back to TRUNK
7941
7942 === release 0.10.7 ===
7943
7944 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
7945
7946         * configure.ac:
7947           releasing 0.10.7, "Soepeke, ik zie ou"
7948
7949 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7950
7951         * configure.ac:
7952         * po/af.po:
7953         * po/az.po:
7954         * po/bg.po:
7955         * po/ca.po:
7956         * po/cs.po:
7957         * po/de.po:
7958         * po/en_GB.po:
7959         * po/fr.po:
7960         * po/it.po:
7961         * po/nb.po:
7962         * po/nl.po:
7963         * po/ru.po:
7964         * po/sq.po:
7965         * po/sr.po:
7966         * po/sv.po:
7967         * po/tr.po:
7968         * po/uk.po:
7969         * po/vi.po:
7970         * po/zh_CN.po:
7971         * po/zh_TW.po:
7972         * win32/common/config.h:
7973           0.10.6.2 prerelease
7974
7975 2006-06-07  Wim Taymans  <wim@fluendo.com>
7976
7977         * gst/gstindex.c: (gst_index_gtype_resolver):
7978         * tools/gst-xmlinspect.c: (print_plugin_info):
7979         Fix leak spotted by coverity checker. Fixes #343827
7980         Fix another other leak found by paolo borelli.
7981
7982 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7983
7984         * libs/gst/dataprotocol/dataprotocol.c:
7985         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7986         (gst_dp_version_get_type), (gst_dp_init),
7987         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7988         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7989         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7990         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7991         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7992         (gst_dp_packetizer_free):
7993         * libs/gst/dataprotocol/dataprotocol.h:
7994           API: add a GstDPPacketizer object, and create/free functions
7995           API: add GstDPVersion enum
7996           Add 1.0 event function that uses the string serialization
7997           Serialize more useful buffer flags
7998           Fixes #343988
7999
8000 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8001
8002         * tests/check/Makefile.am:
8003         * tests/check/gst/gstabi.c:
8004         * tests/check/gst/struct_ppc64.h:
8005         * tests/check/libs/libsabi.c:
8006         * tests/check/libs/struct_ppc64.h:
8007           add ppc64 structure sizes
8008
8009 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8010
8011         * tests/check/Makefile.am:
8012         * tests/check/gst/gstabi.c:
8013         * tests/check/gst/struct_x86_64.h:
8014         * tests/check/libs/libsabi.c:
8015         * tests/check/libs/struct_x86_64.h:
8016           generate and add structure size lists for x86_64
8017
8018 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8019
8020         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8021         * libs/gst/check/gstcheck.h:
8022           factor out the method from tests that checks size of structures,
8023           and add code to generate the header containing these sizes
8024         * tests/check/gst/gstabi.c: (GST_START_TEST):
8025         * tests/check/gst/struct_i386.h:
8026         * tests/check/libs/libsabi.c: (GST_START_TEST):
8027         * tests/check/libs/struct_i386.h:
8028           use it
8029
8030 2006-06-06  Michael Smith  <msmith@fluendo.com>
8031
8032         * gst/gstsegment.h:
8033           Don't use c++-style comments, fixes #343929
8034
8035 2006-06-05  Edward Hervey  <edward@fluendo.com>
8036
8037         * gst/gst.c:
8038         plugin_paths is not used if we build without registry support.
8039
8040         * gst/gstsegment.c: (gst_segment_copy): 
8041         _copy() was always returning NULL...
8042
8043 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8044
8045         * libs/gst/dataprotocol/dataprotocol.c:
8046         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8047         (gst_dp_packet_from_event):
8048           factor out CRC code
8049
8050 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8051
8052         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8053           make sure we unset caps
8054
8055 2006-06-02  Michael Smith  <msmith@fluendo.com>
8056
8057         * libs/gst/check/gstcheck.c: (gst_check_init),
8058         (gst_check_chain_func):
8059         * libs/gst/check/gstcheck.h:
8060           Add a cond/mutex to the check support lib, signal this whenever we
8061           add to the buffers list. This will allow tests to not busy-wait on
8062           the buffer-list.
8063
8064 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8065
8066         * libs/gst/dataprotocol/dataprotocol.c:
8067         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8068         (gst_dp_packet_from_event):
8069           factor out some common header init code
8070
8071 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8072
8073         * docs/libs/gstreamer-libs-sections.txt:
8074         * docs/libs/tmpl/gstdataprotocol.sgml:
8075         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8076         * libs/gst/dataprotocol/dataprotocol.h:
8077           API: make gst_dp_crc() public
8078
8079 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8080
8081         * plugins/indexers/gstindexers.c: (plugin_init):
8082         conditionally register fileindexer (fixes #343598)
8083
8084 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8085
8086         * gst/gsttagsetter.h:
8087         Can't cast ifaces to a class
8088
8089         * libs/gst/net/gstnetclientclock.h:
8090         * libs/gst/net/gstnettimeprovider.h:
8091         * plugins/elements/gstfakesink.h:
8092         * plugins/elements/gstfakesrc.h:
8093         * plugins/elements/gstfdsink.h:
8094         * plugins/elements/gstfdsrc.h:
8095         * plugins/elements/gstfilesink.h:
8096         * plugins/elements/gstfilesrc.h:
8097         * plugins/elements/gstidentity.h:
8098         * plugins/elements/gstqueue.h:
8099         * plugins/elements/gsttee.h:
8100         * plugins/indexers/gstfileindex.c:
8101         * plugins/indexers/gstmemindex.c:
8102         * tests/old/examples/plugins/example.h:
8103         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8104
8105 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8106
8107         * libs/gst/dataprotocol/dataprotocol.c:
8108         (gst_dp_header_from_buffer):
8109           make sure we zero the whole ABI-compatible area
8110
8111 2006-06-01  Wim Taymans  <wim@fluendo.com>
8112
8113         Patch by: Alessandro Decina <alessandro at nnva dot org>
8114
8115         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8116         Make sure the EOS flag is cleared from pads after a flush
8117         or stop. Fixes #343538.
8118
8119         * tests/check/libs/collectpads.c: (GST_START_TEST),
8120         (gst_collect_pads_suite):
8121         Added test for collectpads reusage after EOS.
8122
8123 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
8124
8125         * gst/gst.c:
8126          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8127         * win32/common/libgstbase.def:
8128          export gst_collect_pads_set_flushing
8129         * win32/common/libgstreamer.def:
8130          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8131          gst_value_fraction_multiply
8132         * win32/vs6/gst_inspect.dsp:
8133          add a link to intl.lib
8134
8135 2006-05-30  Wim Taymans  <wim@fluendo.com>
8136
8137         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8138         (gst_collect_pads_chain):
8139         Handle the case where a pad is removed from the collection
8140         that could cause the other pads to become collectable.
8141
8142 2006-05-30  Wim Taymans  <wim@fluendo.com>
8143
8144         * gst/gstelement.c:
8145         Clarify the use of _release_request_pad() and
8146         _get_request_pad() a bit better.
8147
8148         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8149         (gst_adapter_take_buffer):
8150         Fix some doc and comment typos.
8151
8152 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8153
8154         * docs/gst/gstreamer-sections.txt:
8155         * docs/libs/gstreamer-libs-sections.txt:
8156           add declared symbols
8157
8158 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
8159
8160         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8161         Add debug that can be enabled using a #define at the top of the file,
8162         for dumping stats about how late/early we were when waking up from
8163         waiting on the clock.
8164
8165 2006-05-30  Wim Taymans  <wim@fluendo.com>
8166
8167         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8168         When rebuilding the pad list, don't leak the previous list.
8169
8170 2006-05-30  Wim Taymans  <wim@fluendo.com>
8171
8172         Patch by: Lutz Mueller <lutz at topfrose dot de>
8173
8174         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8175         (gst_base_src_get_query_types), (gst_base_src_update_length):
8176         Publish supported query types.
8177         Update last_stop field in get_range mode so the position
8178         query works. Fixes #342321.
8179
8180 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
8181
8182         * docs/gst/gstreamer-sections.txt:
8183         * gst/gsttaglist.c: (_gst_tag_initialize):
8184         * gst/gsttaglist.h:
8185           API: add GST_TAG_PREVIEW_IMAGE (#343341).
8186
8187 2006-05-30  Wim Taymans  <wim@fluendo.com>
8188
8189         Patch by: Alessandro Decina <alessandro at nnva dot org>
8190
8191         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8192         Unlock mutex when removing an unknown pad.
8193         Fixes #343334.
8194
8195         * tests/check/Makefile.am:
8196         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8197         (push_event), (setup), (teardown), (GST_START_TEST),
8198         (gst_collect_pads_suite), (main):
8199         Added collecpads check, disabled for now as check crashes for
8200         some reason.
8201
8202 2006-05-29  Wim Taymans  <wim@fluendo.com>
8203
8204         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8205         Don't leak pads lists.
8206
8207 2006-05-29  Wim Taymans  <wim@fluendo.com>
8208
8209         * docs/libs/gstreamer-libs-sections.txt:
8210         * libs/gst/base/gstcollectpads.c:
8211         (gst_collect_pads_set_flushing_unlocked),
8212         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8213         (gst_collect_pads_stop):
8214         * libs/gst/base/gstcollectpads.h:
8215         API: gst_collect_pads_set_flushing()
8216         Added api to set the pads to flushing, useful for seeking
8217         code in elements using collectpads.
8218         Clear segment when receiving a flush.
8219
8220 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
8221
8222         * gst/gst.c: (add_path_func), (init_post):
8223           Don't scan registry paths passed via --gst-plugin-path immediately
8224           (will crash, because absolutely nothing is set up and no types are
8225           registered etc.); do this later in init_post(). Fixes #343057.
8226
8227 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8228
8229         * gst/gst.c: (init_post):
8230           if we have fork, fork while reading/rebuilding the registry
8231           so the parent doesn't take the hit of having all plugins loaded
8232           in memory.  Fixes #342777.
8233         * configure.ac:
8234           Check if we have fork()
8235         * win32/common/config.h.in:
8236           no fork() on win32
8237
8238 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
8239
8240         * plugins/elements/gstelements.c:
8241         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8242         (gst_file_src_init), (gst_file_src_set_property),
8243         (gst_file_src_get_property), (gst_file_src_start):
8244         * plugins/elements/gstfilesrc.h:
8245           API: GstFileSrc::use-mmap
8246
8247         Add a use-mmap property to enable easier testing of all code paths.
8248         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8249         in the absence of gnomevfssrc. (Closes #340501)
8250
8251 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8252
8253         * tools/gst-inspect.c:
8254         Add missing include, removes warning of ngettext not being defined on
8255         some arches.
8256
8257 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
8258
8259         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8260         Handle NULL input and output pointers silently as a failed conversion,
8261         rather than g_warnings.
8262
8263 2006-05-25  Wim Taymans  <wim@fluendo.com>
8264
8265         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8266         Initialize variable before using. Fixes #342820.
8267
8268 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8269
8270         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8271           Fix off-by-one bug that would only allow peeks of N-1 bytes
8272           from the start even if the buffer to typefind on contains
8273           in fact N bytes of data (makes vorbis typefinding from a
8274           vorbis identification header buffer work).
8275
8276         * tests/check/Makefile.am:
8277         * tests/check/libs/.cvsignore:
8278         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8279         (gst_typefindhelper_suite), (main), (foobar_typefind),
8280         (plugin_init):
8281           Add very basic unit test for gst_type_find_helper_for_buffer()
8282           that checks for the problem fixed above.
8283
8284 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8285
8286         * tools/gst-inspect.c: (print_interfaces),
8287         (print_element_properties_info), (print_element_list), (main):
8288           add more translatable strings
8289
8290 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
8291
8292         Patch by: Julien Moutte  <julien at moutte net>
8293
8294         * docs/gst/gstreamer-sections.txt:
8295           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8296           
8297         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8298         (gst_fake_sink_preroll):
8299         * plugins/elements/gstfakesink.h:
8300           API: Add new GstFakeSink::preroll-handoff signal (#337100).
8301
8302 2006-05-23  Wim Taymans  <wim@fluendo.com>
8303
8304         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8305         * gst/gstpad.h:
8306         Added _CUSTOM error and success GstFlowReturn that can be
8307         used be elements internally. 
8308         Added macro to check for SUCCESS flowreturns.
8309         API: GST_FLOW_CUSTOM_SUCCESS
8310         API: GST_FLOW_CUSTOM_ERROR
8311         API: GST_FLOW_IS_SUCCESS
8312
8313         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8314         Added check for GstFlowReturn sanity.
8315
8316 2006-05-23  Wim Taymans  <wim@fluendo.com>
8317
8318         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8319
8320         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8321         (gst_collect_pads_event):
8322         clear/reset segment info in FLUSH_STOP.
8323         Fixes #336929.
8324
8325 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
8326
8327         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8328         (gst_collect_pads_check_collected):
8329         Flush queued buffer on _stop(), fixes playing again (#342454)
8330
8331 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8332
8333         * tests/check/gst/gststructure.c: (GST_START_TEST),
8334         (gst_structure_suite):
8335           add a test for a complete structure
8336
8337 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8338
8339         * docs/faq/developing.xml:
8340         * docs/faq/faq.xml:
8341         * docs/faq/troubleshooting.xml:
8342         * docs/faq/using.xml:
8343           Some minor FAQ updates that won't change the fact that
8344           our FAQ is badly structured, full of information hardly
8345           anyone new to GStreamer needs to know and lacking lots
8346           of information people constantly ask for.
8347           
8348 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
8349
8350         * gst/gstpad.c: (gst_pad_set_caps):
8351           Short-circuit gst_pad_set_caps if setting the existing
8352           caps pointer again, and avoid printing debug and 
8353           reffing/unreffing the caps.
8354
8355         * plugins/elements/gstqueue.c: (gst_queue_push_one):
8356           There's actually no need to set the caps before pushing -
8357           the acceptcaps method will handle it anyway.
8358
8359 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8360
8361         * docs/gst/gstreamer-sections.txt:
8362         * win32/common/libgstreamer.def:
8363         * gst/gstutils.c: (gst_element_seek_simple):
8364         * gst/gstutils.h:
8365           API: add gst_element_seek_simple() (#342238).
8366
8367 2006-05-18  Edward Hervey  <edward@fluendo.com>
8368
8369         * gst/gsttypefind.c: (gst_type_find_get_type):
8370         * gst/gsttypefind.h:
8371         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8372         registered for GstTypeFind pointers. This allows wrapping the structure
8373         in bindings (i.e. gst-python).
8374
8375 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
8376
8377         * gst/gsttagsetter.c:
8378           Docs additions and fixes (see #339918).
8379
8380 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
8381
8382         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8383         The caps intersection algorithm can produce multiple copies of the
8384         caps. Until that is fixed, we need to simplify the result to be
8385         sure whether the allowed caps are fixed or not.
8386
8387         * plugins/elements/gstqueue.c: (gst_queue_init),
8388         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
8389         (gst_queue_push_one):
8390         Proxied buffer alloc should not set the caps on the source pad.
8391         When pushing buffers, we always accept the caps change that triggers.
8392         This prevents negotiation errors caused by caps changing mid-stream 
8393         and then being refused on our source pad (because upstream is now
8394         refusing those caps).
8395
8396 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
8397
8398         * tests/examples/helloworld/helloworld.c: (main):
8399           Must plug audioconvert and audioresample between decoder
8400           and audio sink.
8401
8402 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
8403
8404         * gst/gstregistryxml.c: (read_string), (load_pad_template),
8405         (load_feature), (load_plugin):
8406         Allow empty strings for some of the plugin fields so we don't 
8407         drop valid plugin entries that were written out correctly
8408         (Fixes #341479)
8409
8410 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
8411         
8412         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8413           Use g_remove and g_rename instead of remove and rename that don't 
8414           handle utf8 characters. rename was failing for users who had specific
8415           characters in their name then the registry was built at each 
8416           gstreamer init.
8417         * win32/vs6/gst_inspect.dsp:
8418         * win32/vs6/gst_launch.dsp:
8419         * win32/vs6/libgstbase.dsp:
8420         * win32/vs6/libgstcoreelements.dsp:
8421         * win32/vs6/libgstreamer.dsp:
8422           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
8423           build of libgstreamer and clean unused libraries in projects link 
8424           settings.
8425
8426 2006-05-17  Edward Hervey  <edward@fluendo.com>
8427
8428         * plugins/elements/gstqueue.c: (gst_queue_push_one):
8429         The queue is not responsible for pushing an EOS when receiving a fatal
8430         flow error. It's up to the real element driving the pipeline to do that.
8431
8432 2006-05-16  Edward Hervey  <edward@fluendo.com>
8433
8434         * plugins/elements/gstqueue.c: (gst_queue_push_one):
8435         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
8436         buffer returned a fatal error. It should just send an EOS and stop
8437         its task.
8438         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
8439         when pushing buffers on the queue and will be able to handle the event.
8440
8441 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8442
8443         * docs/manual/basics-bins.xml:
8444         * docs/manual/basics-init.xml:
8445           Fix typos and minor errors in sample code (#341856).
8446
8447 2006-05-16  Wim Taymans  <wim@fluendo.com>
8448
8449         * docs/design/part-qos.txt:
8450         Fix indexes in formulas to make more sense.
8451
8452 2006-05-15  Wim Taymans  <wim@fluendo.com>
8453
8454         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8455         Don't report POSITION based on clock time if sync is
8456         disabled in a sink.
8457
8458 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
8459
8460         * gst/gstobject.h:
8461           Add cast to make compiler happy - refcount variable was a gint
8462           in GstObject but is a guint in GObject and g_atomic_int_get()
8463           wants a gint *.
8464
8465 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8466
8467         * gst/parse/Makefile.am:
8468           chain commands using &&, which also makes parallel make work
8469
8470 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
8471
8472         * docs/gst/gstreamer-sections.txt:
8473         * gst/gstevent.c:
8474         * gst/gstevent.h:
8475         * gst/gstmessage.h:
8476           Minor docs fixes.
8477
8478 === release 0.10.6 ===
8479
8480 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
8481
8482         * configure.ac:
8483           releasing 0.10.6, "Take the cannoli"
8484
8485 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
8486
8487         * tools/gst-launch.c: (print_tag):
8488           Fix use of uninitialized variable in the hypothetical
8489           case that some broken plugin creates a GST_TAG_IMAGE
8490           tag containing a NULL buffer (#341667).
8491
8492 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
8493
8494         * tools/gst-launch.c: (print_tag):
8495           Print something more intelligible for image tags when
8496           using the -t switch (#341556).
8497
8498 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8499
8500         * Makefile.am:
8501           updates for win32
8502         * configure.ac:
8503           define GST_MAJORMINOR so we have it available in win32/common/config.h
8504           Possibly remove it from our Makefile.am files later
8505         * win32/common/config.h:
8506         * win32/common/config.h.in:
8507           added GST_MAJORMINOR
8508         * win32/common/gstenumtypes.c: (register_gst_resource_error):
8509         * win32/common/gstversion.h:
8510           updated
8511
8512 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
8513
8514         * win32/MANIFEST:
8515           Update win32 files listing.
8516         * win32/common/gstversion.h:
8517           Add GST_MAJORMINOR definition.
8518         * win32/common/libgstreamer.def:
8519           Add new exported functions.
8520           
8521 2006-05-12  Michael Smith  <msmith@fluendo.com>
8522
8523         * gst/gstplugin.c: (gst_plugin_load_file):
8524           If an so file has no plugin entry point, unload the module.
8525
8526 2006-05-11  Wim Taymans  <wim@fluendo.com>
8527
8528         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8529         (gst_queue_set_property):
8530         Don't forget to signal the _chain or _loop function 
8531         when the queue size or thresholds change since that might
8532         cause them to make progres again.
8533
8534 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
8535
8536         * gst/gstclock.c: (gst_clock_class_init):
8537         * gst/gstindex.c: (gst_index_class_init):
8538         * gst/gstobject.c: (gst_object_class_init):
8539         * gst/gstpad.c: (gst_pad_class_init):
8540         * gst/gstpipeline.c: (gst_pipeline_class_init):
8541         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8542         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8543         * libs/gst/base/gstbasetransform.c:
8544         (gst_base_transform_class_init):
8545         * libs/gst/net/gstnetclientclock.c:
8546         (gst_net_client_clock_class_init):
8547         * libs/gst/net/gstnettimeprovider.c:
8548         (gst_net_time_provider_class_init):
8549         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8550         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8551         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8552         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8553         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8554         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8555         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8556         * plugins/elements/gstidentity.c: (gst_identity_class_init):
8557         * plugins/elements/gsttee.c: (gst_tee_class_init):
8558         * tests/old/examples/plugins/example.c: (gst_example_class_init):
8559         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8560           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8561
8562 2006-05-11  Wim Taymans  <wim@fluendo.com>
8563
8564         * gst/gstbuffer.c: (_gst_buffer_initialize):
8565         Register subbufer along with the buffer type so that
8566         it does not accidentally gets registered from N
8567         different streaming threads in a non threadsafe way.
8568
8569 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
8570
8571         * gst/gstbuffer.h:
8572         * gst/gstevent.h:
8573         * gst/gstmessage.h:
8574           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8575           gst_event_ref() and gst_message_ref() functions again
8576           (ugly hack, please do fix if there's a better way besides
8577           overrides.txt, which doesn't seem to work).
8578
8579 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8580
8581         * libs/gst/check/gstcheck.h:
8582           add an assert for setting state to avoid lots of repetitive code
8583           in the future
8584
8585 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8586
8587         * gst/gstvalue.c: (gst_value_serialize_flags):
8588           fix a leak if no flags are set
8589         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8590           fix leak in tests
8591
8592 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
8593
8594         * docs/manual/basics-pads.xml:
8595           Expand a bit on caps and filtered links and update
8596           examples that were still using the no longer existing
8597           gst_pad_link_filtered() (#338206).
8598
8599 2006-05-10  Wim Taymans  <wim@fluendo.com>
8600
8601         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8602         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8603         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8604         (gst_collect_pads_stop):
8605         * libs/gst/base/gstcollectpads.h:
8606         No need to call _stop in _finalize.
8607         Iterate the main pad list in _finalize.
8608         Added some more debug.
8609         Free lists and data in the right order.
8610         Also free data whem doing _remove_pad when stopped for
8611         backward compatibility protect ::started with PAD_LOCK as
8612         well.
8613
8614 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8615
8616         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8617         (gst_structure_parse_value):
8618           add some comments
8619           rename a method so that it actually says what it does better
8620
8621 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8622
8623         * gst/gstevent.c: (_gst_event_initialize):
8624         * gst/gstformat.c: (_gst_format_initialize):
8625           make sure some essential types used by events are registered
8626           as part of gst_init()
8627         * gst/gstvalue.c: (gst_value_serialize_flags):
8628           if no flags are set, serialize them to a value that represents NONE
8629           so that deserializing them works
8630         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8631           add tests for serialization and deserialization of flags
8632
8633 2006-05-10  Wim Taymans  <wim@fluendo.com>
8634
8635         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8636         (gst_collect_pads_collect_range), (gst_collect_pads_available),
8637         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8638         (gst_collect_pads_event), (gst_collect_pads_chain):
8639         Update docs.
8640         Better debug info.
8641         Catch and return errors from the collect function
8642         Refuse data on eos pads.
8643
8644 2006-05-10  Edward Hervey  <edward@fluendo.com>
8645
8646         * gst/gstinterface.h:
8647         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8648         GInterface type checking.
8649         They were previously using non-defined macros.
8650
8651 2006-05-09  Wim Taymans  <wim@fluendo.com>
8652
8653         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8654         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8655         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8656         (gst_collect_pads_start), (gst_collect_pads_stop),
8657         (gst_collect_pads_peek), (gst_collect_pads_pop),
8658         (gst_collect_pads_available), (gst_collect_pads_read),
8659         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8660         (gst_collect_pads_is_collected), (gst_collect_pads_event),
8661         (gst_collect_pads_chain):
8662         * libs/gst/base/gstcollectpads.h:
8663         Clean up the mess that is collectpads, add comments and
8664         FIXMEs where needed.
8665         Maintain a separate pad list so we can add pads while
8666         collecting the other ones. For this we need a new separate 
8667         lock (see comics).
8668         Fix memory leak in finalize.
8669         Refactor some weird code to set/unset pad flushing flags, mark
8670         with comments.
8671         Don't crash in _available, _read, _flush when we're EOS.
8672
8673         * tests/check/libs/.cvsignore:
8674         Ignore adapter check binary.
8675
8676 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8677
8678         * gst/gstindex.c: (gst_index_resolver_get_type):
8679         * plugins/elements/gstfakesink.c:
8680         (gst_fake_sink_state_error_get_type):
8681         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8682         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8683         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8684           Const-ify GEnumValue arrays.
8685
8686 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8687
8688         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8689           Add test case for flags + gst_buffer_make_metadata_writable().
8690
8691 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8692
8693         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8694           gst_buffer_make_metadata_writable() should maintain the
8695           buffer flags (those that make sense at least) (see #340859).
8696
8697 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8698
8699         * tools/gst-inspect.c:
8700         * tools/gst-launch.c:
8701         * tools/gst-typefind.c:
8702         * tools/gst-xmlinspect.c:
8703         * tools/tools.h:
8704           Fix up includes: need to include stdlib.h in tools.h for exit().
8705
8706 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8707
8708         * gst/gsttaglist.c: (_gst_tag_initialize):
8709         * gst/gsttaglist.h:
8710           API: add GST_TAG_IMAGE tag (#340721).
8711
8712 2006-05-08  Wim Taymans  <wim@fluendo.com>
8713
8714         * gst/gstquery.c:
8715         Added some docs for the segment query.
8716
8717 2006-05-08  Wim Taymans  <wim@fluendo.com>
8718
8719         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8720         (gst_base_src_loop), (gst_base_src_change_state):
8721         Always push non-flushing serialized events in the streaming 
8722         thread.
8723
8724 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8725
8726         * gst/gsterror.c: (_gst_stream_errors_init):
8727           Add a missing error string.
8728
8729 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
8730
8731         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
8732         Add applied_rate to the debug
8733
8734         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8735         Copy applied_rate into the outgoing NEWSEGMENT event
8736
8737 2006-05-08  Wim Taymans  <wim@fluendo.com>
8738
8739         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
8740
8741         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8742         (gst_base_sink_change_state):
8743         call ::unlock before taking the PREROLL_LOCK so we can safely
8744         handle elements that lock in ::render.
8745         Fixes #340174.
8746
8747 2006-05-08  Edward Hervey  <edward@fluendo.com>
8748
8749         * autogen.sh: (CONFIGURE_DEF_OPT): 
8750         Darwin's libtoolize is in fact called glibtoolize.
8751         Adding glibtoolize to the list of accepted names for libtoolize.
8752
8753 2006-05-08  Wim Taymans  <wim@fluendo.com>
8754
8755         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8756         Unify error handling, don't post an error message
8757         when a push() returns EOS but perform our normal EOS
8758         handling code. Fixes #340772.
8759
8760 2006-05-08  Wim Taymans  <wim@fluendo.com>
8761
8762         * docs/design/part-overview.txt:
8763         Make upsteam/downstream concepts more clear.
8764         Give an example of serialized/non-serialized events.
8765
8766         * docs/design/part-events.txt:
8767         * docs/design/part-streams.txt:
8768         Mention applied_rate.
8769
8770         * docs/design/part-trickmodes.txt:
8771         Mention applied rate, flesh out some more use cases.
8772
8773         * gst/gstevent.c: (gst_event_new_new_segment),
8774         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
8775         (gst_event_parse_new_segment_full), (gst_event_new_tag),
8776         (gst_event_parse_tag), (gst_event_new_buffer_size),
8777         (gst_event_parse_buffer_size), (gst_event_new_qos),
8778         (gst_event_parse_qos), (gst_event_parse_seek),
8779         (gst_event_new_navigation):
8780         * gst/gstevent.h:
8781         Add applied_rate field to NEWSEGMENT event.
8782         API: gst_event_new_new_segment_full()
8783         API: gst_event_parse_new_segment_full()
8784
8785         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
8786         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
8787         (gst_segment_to_stream_time), (gst_segment_to_running_time):
8788         * gst/gstsegment.h:
8789         Add applied_rate to GstSegment structure.
8790         Make calculation of stream_time and running_time more correct
8791         wrt rate/applied_rate.
8792         Add some more docs.
8793         API: GstSegment::applied_rate field
8794         API: gst_segment_set_newsegment_full();
8795
8796         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8797         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
8798         * libs/gst/base/gstbasetransform.c:
8799         (gst_base_transform_sink_eventfunc),
8800         (gst_base_transform_handle_buffer):
8801         Parse and use applied_rate in the GstSegment field.
8802
8803         * tests/check/gst/gstevent.c: (GST_START_TEST):
8804         Add check for applied_rate field.
8805
8806         * tests/check/gst/gstsegment.c: (GST_START_TEST),
8807         (gstsegments_suite):
8808         Add more checks for various GstSegment operations.
8809
8810 2006-05-08  Wim Taymans  <wim@fluendo.com>
8811
8812         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8813         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8814         (gst_base_sink_get_position), (gst_base_sink_change_state):
8815         Store the sync time of the buffer end position separatly in a
8816         new variable eos_rtime so we can properly sync the EOS event.
8817         Fixes #340697.
8818         Fix the docs for gst_base_sink_set_qos_enabled().
8819         Don't set segment start to invalid value when we receive a 
8820         non TIME newsegment.
8821         get closer to handling position reporting for negative rates 
8822         correctly.
8823
8824 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
8825
8826         * gst/gstcaps.c:
8827         Docs about how to print caps for debug purposes.
8828
8829         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8830         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8831
8832 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
8833
8834         * gst/gstelement.c:
8835           use full enum names and preprend a '%' in docs strings to make recent 
8836           gtk-doc turn that into a link
8837
8838 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8839
8840         * docs/manual/basics-bins.xml:
8841         * docs/manual/basics-bus.xml:
8842         * docs/manual/basics-pads.xml:
8843           Some typo fixes, some additions, some clarifications. 
8844
8845 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8846
8847         * tools/gst-inspect.c: (main):
8848         * tools/gst-launch.c: (main):
8849         * tools/gst-run.c: (main):
8850         * tools/gst-typefind.c: (main):
8851         * tools/gst-xmlinspect.c: (main):
8852           Use the string passed to g_option_context_new() for
8853           what it's intended for - the program name is already
8854           printed elsewhere.
8855
8856 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8857
8858         * tools/Makefile.am:
8859         * tools/gst-inspect.c: (main):
8860         * tools/gst-launch.c: (main):
8861         * tools/gst-xmlinspect.c: (main):
8862         * tools/tools.h:
8863           Add back --version command line option (#340460).
8864
8865         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8866           Add --version option and use GOption for argument parsing; refactor a
8867           bit; accept directories as arguments and recurse into them; lastly,
8868           print a decent error message when things go wrong.
8869
8870 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8871
8872         * docs/manual/basics-bins.xml:
8873         Don't mention GstThread (#340611)
8874         * docs/manual/basics-elements.xml:
8875         Update link to GObject tutorial (#340607)
8876         
8877 2006-05-05  Wim Taymans  <wim@fluendo.com>
8878
8879         * gst/gstbuffer.h:
8880         * gst/gstminiobject.c:
8881         Add note about refcounting and miniobject/buffer writeability
8882         to docs. Fixes #340604
8883
8884         * gst/gstelementfactory.h:
8885         Added some explanation about @klass.
8886
8887 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8888
8889         * docs/manual/intro-motivation.xml:
8890         * docs/manual/manual.xml:
8891         Avoid CORBA & Bonobo references (#340598)
8892
8893 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8894
8895         * docs/manual/basics-bus.xml:
8896         * docs/manual/basics-pads.xml:
8897         Fix up some inaccuracies and omissions (#340609)
8898         
8899 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8900
8901         * gst/gstghostpad.c:
8902           Small typo in docs (#340625)
8903
8904 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8905
8906         * gst/parse/Makefile.am:
8907           Make 'make -j' proof (see #340698).
8908
8909 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8910
8911         * configure.ac:
8912           Require GLib-2.8 here as well.
8913
8914 2006-05-05  Wim Taymans  <wim@fluendo.com>
8915
8916         * gst/glib-compat.c:
8917         * gst/gst.c: (init_pre):
8918         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8919         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8920         (gst_object_dispatch_properties_changed):
8921         * gst/gstobject.h:
8922         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8923         * gst/gststructure.c: (gst_structure_set_valist):
8924         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8925         Remove pre glib2.8 compatibility, fixes #340508
8926
8927 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8928
8929         * gst/gsttaglist.h:
8930           Mention type of tags in doc blurbs.
8931
8932 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
8933
8934         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8935         (gst_pad_configure_src), (gst_pad_push):
8936         Restore acceptcaps checking behaviour now that good plugins have
8937         been released.
8938
8939 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8940
8941         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8942
8943         * gst/gst.c:
8944         * gst/gstbus.c:
8945         * gst/gstclock.c:
8946         * gst/gstevent.c:
8947         * gst/gstformat.c:
8948         * gst/gstmessage.c:
8949         * gst/gstparse.c:
8950         * gst/gstquery.c:
8951         * gst/gstutils.c:
8952         * gst/parse/Makefile.am:
8953         * libs/gst/base/gstadapter.c:
8954         * libs/gst/base/gstbasesrc.c:
8955         * libs/gst/base/gstpushsrc.c:
8956         * libs/gst/base/gsttypefindhelper.c:
8957         * plugins/elements/gstfakesrc.c:
8958         * plugins/elements/gstidentity.c:
8959           Make sure gstprivate.h and/or config.h are
8960           always included first, otherwise some of our
8961           defines (like _FILE_OFFSET_BITS) might be
8962           redefined in the system headers. Fixes build
8963           on opensolaris (#340016).
8964
8965 2006-05-04  Wim Taymans  <wim@fluendo.com>
8966
8967         * docs/libs/gstreamer-libs-sections.txt:
8968         API: addition: gst_adapter_take_buffer()
8969         
8970         * libs/gst/base/gstadapter.c: (gst_adapter_push),
8971         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8972         (gst_adapter_available_fast):
8973         * libs/gst/base/gstadapter.h:
8974         Prepare for optimizing the hell out of this hugely inefficient
8975         piece of code. 
8976         Added gst_adapter_take_buffer() so we can at least start thinking
8977         about subbuffering and merging.
8978         Added some comments.
8979
8980         * tests/check/Makefile.am:
8981         * tests/check/libs/adapter.c: (GST_START_TEST),
8982         (gst_adapter_suite), (main):
8983         Added GstAdapter check.
8984
8985 2006-05-04  Wim Taymans  <wim@fluendo.com>
8986
8987         * docs/design/part-overview.txt:
8988         Fix some typos, add blurb about buffer flags.
8989
8990 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8991
8992         * docs/libs/gstreamer-libs-sections.txt:
8993           make sure GstBaseTransformClass shows up in the docs
8994         * libs/gst/base/gstbasetransform.c:
8995         * libs/gst/base/gstbasetransform.h:
8996           move docs so gtk-doc picks it up now
8997
8998 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8999
9000         * docs/libs/gstreamer-libs-sections.txt:
9001           add missing symbols to docs
9002
9003 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9004
9005         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9006           back out the newsegment handling change, see #340060 for ongoing
9007           discussion
9008
9009 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
9010
9011         * tools/gst-run.c: (get_candidates), (main):
9012           Fix wrong g_file_test() usage (see glib docs for why it doesn't
9013           work); fix typo in error message. Fixes #340079.
9014
9015 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9016
9017         * common/Makefile.am:
9018         * docs/Makefile.am:
9019         * docs/faq/Makefile.am:
9020         * docs/gst/Makefile.am:
9021         * docs/libs/Makefile.am:
9022         * docs/manual/Makefile.am:
9023         * docs/plugins/Makefile.am:
9024         * docs/pwg/Makefile.am:
9025         * docs/slides/Makefile.am:
9026         * docs/upload.mak:
9027         * common/upload.mak:
9028           move upload.mak to common
9029
9030 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9031
9032         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9033           add more asserts on refcounts
9034           do more cleanup at end of tests
9035           fix test leaks showing in FC5
9036
9037 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
9038
9039         * plugins/elements/gsttypefindelement.c:
9040         (gst_type_find_element_handle_event):
9041         reverted wrong change and reflowed code to avoid others falling into
9042         this trap
9043
9044 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9045
9046         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9047           fix changelog entry about last collectpads change,
9048           add notes about proper fix
9049
9050 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9051
9052         * gst/gst.c:
9053         * gst/gstregistry.c: (gst_registry_scan_path_level),
9054         (gst_registry_scan_path):
9055         * gst/gstregistry.h:
9056           only write out registry if it has changed, fixes #338339
9057
9058 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9059
9060         * gst/gstbin.c:
9061         * gst/gstpipeline.c:
9062         * plugins/elements/gstcapsfilter.c:
9063         * plugins/elements/gstfakesink.c:
9064         * plugins/elements/gstfakesrc.c:
9065         * plugins/elements/gstfdsink.c:
9066         * plugins/elements/gstfdsrc.c:
9067         * plugins/elements/gstfilesink.c:
9068         * plugins/elements/gstfilesrc.c:
9069         * plugins/elements/gstidentity.c:
9070         * plugins/elements/gstqueue.c:
9071         * plugins/elements/gsttee.c:
9072         * plugins/elements/gsttypefindelement.c:
9073         (gst_type_find_element_handle_event):
9074           make GstElementDetails const
9075
9076 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9077
9078         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9079         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9080         (gst_collect_pads_is_collected), (gst_collect_pads_event):
9081           more detailed debug and formatting cleanup,
9082           forward newsegments to src-pad (so that e.g. adder not eats them)
9083
9084 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9085
9086         * gst/gstutils.c: (gst_element_link_pads):
9087           cleanup double code
9088
9089 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9090
9091         * libs/gst/controller/gstcontroller.c:
9092         (gst_controller_sync_values):
9093           some little tuning
9094         * tests/check/libs/controller.c: (GST_START_TEST),
9095         (gst_controller_suite):
9096           a new test for live value handling
9097
9098 2006-04-28  Wim Taymans  <wim@fluendo.com>
9099
9100         * gst/gstutils.c: (push_and_ref):
9101         Added some more docs.
9102         Fix refcount issue whith gst_element_found_tags() helper 
9103         function. Fixes #338335
9104
9105         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9106         Added testsuite for gst_element_found_tags().
9107
9108 2006-04-28  Michael Smith  <msmith@fluendo.com>
9109
9110         * gst/gstvalue.c: (gst_value_serialize_flags):
9111           Avoid NULL dereference when trying to serialize flags containing
9112           invalid values.
9113
9114 2006-04-28  Michael Smith  <msmith@fluendo.com>
9115
9116         * plugins/elements/gsttypefindelement.c:
9117         (gst_type_find_element_handle_event):
9118           If we get EOS before any data is accumulated, don't use
9119           uninitialised local variables.
9120
9121 2006-04-28  Michael Smith  <msmith@fluendo.com>
9122
9123         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9124         (gst_dp_event_from_packet):
9125           Fixes in reading/writing events over GDP (not currently used?) - 
9126           dereferencing NULL events for unknown/invalid event types, memory
9127           leak, and change g_warning to GST_WARNING.
9128
9129 2006-04-28  Wim Taymans  <wim@fluendo.com>
9130
9131         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9132         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9133         (gst_base_sink_get_position), (gst_base_sink_change_state):
9134         When frame dropping is enabled, we should not ignore frames
9135         without a duration.
9136         Update some documentation.
9137
9138 2006-04-28  Wim Taymans  <wim@fluendo.com>
9139
9140         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9141         (gst_base_src_send_event), (gst_base_src_change_state):
9142         Documentation updates.
9143
9144 2006-04-28  Wim Taymans  <wim@fluendo.com>
9145
9146         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9147         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9148         handle EAGAIN, EINTR and short writes correctly. Also clean
9149         up some error cases, avoid a deadlock on bad file descriptors and
9150         use GST_DEBUG_OBJECT.
9151         Fixes #339843
9152
9153 2006-04-28  Wim Taymans  <wim@fluendo.com>
9154
9155         * gst/gstvalue.c: (gst_value_serialize_buffer),
9156         (gst_value_deserialize_buffer):
9157         Don't try to serialize a GValue with a NULL buffer. 
9158         Fixes #339821.
9159
9160         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9161         Added check for serialisation of NULL buffers.
9162
9163 2006-04-28  Wim Taymans  <wim@fluendo.com>
9164
9165         * gst/gstminiobject.c: (gst_value_take_mini_object):
9166         Taking a NULL miniobject is valid, fix the case where
9167         we try to unref the NULL miniobject.
9168
9169 2006-04-28  Wim Taymans  <wim@fluendo.com>
9170
9171         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9172
9173         * gst/gstbin.c: (gst_bin_handle_message_func):
9174         Update docs.
9175         Don't leak bin refcount when a state recalc is
9176         in progress and we delay another one #339808.
9177
9178 2006-04-28  Wim Taymans  <wim@fluendo.com>
9179
9180         * docs/design/part-TODO.txt:
9181         Mention QoS as an ongoing work item.
9182
9183         * docs/design/part-buffering.txt:
9184         New doc about buffering that needs to be fleshed out
9185         at some point.
9186
9187         * docs/design/part-qos.txt:
9188         More QoS policy for decoders/demuxers/transforms
9189
9190         * docs/design/part-trickmodes.txt:
9191         Small update.
9192
9193 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9194
9195         * configure.ac:
9196           back to HEAD
9197
9198 === release 0.10.5 ===
9199
9200 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
9201
9202         * configure.ac:
9203           releasing 0.10.5, "Fogo"
9204
9205 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9206
9207         patch by: Wim Taymans
9208
9209         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9210         (gst_pad_configure_src), (gst_pad_push):
9211         * gst/gstpipeline.c: (gst_pipeline_init):
9212           Fix internal data flow errors.  Fixes #338711.
9213
9214 2006-04-12  Wim Taymans  <wim@fluendo.com>
9215
9216         * tests/check/gst/gstelement.c: (GST_START_TEST):
9217         Don't leak the factory.
9218
9219 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9220
9221         * configure.ac:
9222         * win32/common/config.h:
9223           prerelease
9224
9225 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9226
9227         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9228         (gst_controller_unset_all):
9229           Free allocated GstTimedValues when freeing list nodes.
9230           Should fix leaks 'make check-valgrind' complains about.
9231
9232         * win32/common/libgstcontroller.def:
9233           Add gst_controller_unset_all.
9234
9235 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
9236
9237         * docs/libs/gstreamer-libs-sections.txt:
9238         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9239         (gst_controller_unset_all):
9240         * libs/gst/controller/gstcontroller.h:
9241         API: Added new method gst_controller_unset_all()
9242         fixed gst_controller_unset()
9243         * tests/check/libs/controller.c: (GST_START_TEST),
9244         (gst_controller_suite):
9245         Added two testcases for new and fixed method
9246
9247 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
9248
9249         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9250           MSG_DONTWAIT is not defined on Cygwin, so work
9251           around that (fixes #317048).
9252           
9253 2006-04-11  Wim Taymans  <wim@fluendo.com>
9254
9255         * gst/gstelementfactory.c: (gst_element_register),
9256         (gst_element_factory_create), (gst_element_factory_make):
9257         Some cleanups.
9258         Fixed a FIXME.
9259         Updated docs (Fixes #131079)
9260
9261         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9262         Small cleanups.
9263
9264         * tests/check/gst/gstelement.c: (GST_START_TEST),
9265         (gst_element_suite):
9266         Added testcase for elementfactory class field.
9267
9268 2006-04-10  Wim Taymans  <wim@fluendo.com>
9269
9270         * gst/gstsegment.c:
9271         Added some more docs.
9272
9273         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9274         (gst_base_sink_reset_qos):
9275         Calculate more accurate rate values.
9276
9277 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
9278
9279         * gst/gst_private.h:
9280           add a new #ifdef to use __declspec(dllimport) only for
9281           other modules and not for gstreamer core
9282         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9283           use gst_guint64_to_gdouble for conversion
9284         * win32/common/libgstreamer.def:
9285           add new exported functions
9286         * win32/vs6/gst_inspect.dsp:
9287         * win32/vs6/gst_launch.dsp:
9288         * win32/vs6/libgstbase.dsp:
9289         * win32/vs6/libgstcontroller.dsp:
9290         * win32/vs6/libgstcoreelements.dsp:
9291         * win32/vs6/libgstdataprotocol.dsp:
9292         * win32/vs6/libgstnet.dsp:
9293           update project files
9294
9295 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
9296
9297         * gst/gstbuffer.c: (gst_subbuffer_class_init):
9298         * gst/gstclock.c: (gst_clock_class_init):
9299         * gst/gstelement.c: (gst_element_class_init):
9300         * gst/gstindex.c: (gst_index_class_init):
9301         * gst/gstindexfactory.c: (gst_index_factory_class_init):
9302         * gst/gstobject.c: (gst_object_class_init),
9303         (gst_signal_object_class_init):
9304         * gst/gstpad.c: (gst_pad_class_init):
9305         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9306         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9307         * gst/gstregistry.c: (gst_registry_class_init):
9308         * gst/gstsystemclock.c: (gst_system_clock_class_init):
9309         * gst/gsttask.c: (gst_task_class_init):
9310         * gst/gstxml.c: (gst_xml_class_init):
9311         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9312         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9313         (gst_base_src_loop):
9314         * libs/gst/controller/gstcontroller.c:/
9315         (_gst_controller_class_init):
9316         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9317         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9318         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9319         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9320         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9321         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9322
9323 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
9324
9325         * gst/gstpad.c: (gst_pad_link):
9326           Must set peer pads before calling the link function, otherwise
9327           a task started from a link function might get a flow-not-linked
9328           result when trying to push because the other thread where the
9329           linking happens hasn't had a chance to set the peers yet. This
9330           might happen for example when a queue gets linked to a downstream
9331           element, as queue starts a streaming task when its source pad
9332           gets linked. Happens in real life when playing back flac/musepack
9333           files in playbin (#332390).
9334           
9335 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
9336
9337         * gst/gstindex.h:
9338         * gst/gstxml.h:
9339         * libs/gst/base/gstadapter.h:
9340         * libs/gst/base/gstbasesink.h:
9341         * libs/gst/base/gstbasesrc.h:
9342         * libs/gst/base/gstbasetransform.h:
9343         * libs/gst/base/gstcollectpads.h:
9344         * libs/gst/base/gstpushsrc.h:
9345         Fix broken GObject macros
9346
9347 2006-04-07  Wim Taymans  <wim@fluendo.com>
9348
9349         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9350         Initialize start and stop times, thanks valgrind.
9351
9352 2006-04-07  Wim Taymans  <wim@fluendo.com>
9353
9354         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9355         Be a bit nicer to badly behaving upstream elements that expect
9356         us to deal with non TIME segments and timestamps (such as fakesrc
9357         in the testsuite).
9358
9359 2006-04-07  Wim Taymans  <wim@fluendo.com>
9360
9361         * gst/gstbus.c:
9362         Small documentation clarification about the signal watch.
9363
9364         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9365         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9366         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9367         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9368         (gst_base_sink_get_position_last),
9369         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9370         Convert and store timestamps in stream time and running time, the
9371         raw timestamps are not useful, also document this better.
9372         Use different window sizes for good and bad QoS observations so
9373         we react to badness a little quicker.
9374         Keep track of the amount of rendered and dropped buffers.
9375         Send QoS timestamps in running time.
9376
9377         * libs/gst/base/gstbasetransform.c:
9378         (gst_base_transform_sink_eventfunc),
9379         (gst_base_transform_handle_buffer):
9380         Compare QoS timestamps against running time.
9381
9382 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
9383
9384         * gst/gstpad.c:
9385           Typo fixes in docs.
9386
9387 2006-04-06  Michael Smith  <msmith@fluendo.com>
9388
9389         * gst/gstpad.c: (gst_pad_set_property):
9390           Use g_value_get_object() instead of g_value_dup_gst_object(),
9391           to avoid double-reffing the pad template (which we then sink,
9392           so this worked previously if (and only if) the pad template
9393           was floating.
9394
9395         * gst/gstpadtemplate.c: (gst_pad_template_init),
9396         (gst_pad_template_pad_created):
9397           Never return floating references to pad templates, create
9398           them as initially-sunken.
9399
9400           Document an extra function (and make this stop sinking our
9401           pad template, since that is now guaranteed to do nothing,
9402           since we created it sunken).
9403
9404         * gst/gstghostpad.c:
9405           Fix docs typo.
9406
9407 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
9408
9409         * gst/gstinfo.c: (__gst_in_valgrind):
9410           Add some newlines.
9411
9412         * plugins/elements/gsttypefindelement.c:
9413         (gst_type_find_element_chain):
9414           Don't leak buffer caps.
9415
9416 2006-04-06  Michael Smith  <msmith@fluendo.com>
9417
9418         * gst/parse/grammar.y:
9419           Fix a leak in parse-launch for any source-or-sink named element 
9420           references used.
9421
9422         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9423           Unref the pipeline if it exists after we've failed parsing.
9424
9425 2006-04-05  Michael Smith  <msmith@fluendo.com>
9426
9427         * gst/gstpipeline.c: (gst_pipeline_init):
9428           When we create a pipeline bus, initially create it in flushing mode.
9429           Fixes leaks in at least one test, and makes a new pipeline work the
9430           same as one that has gone to READY and then back to NULL.
9431
9432         * gst/gstelement.c:
9433           Typo fix in docs.
9434
9435 2006-04-05  Michael Smith  <msmith@fluendo.com>
9436
9437         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9438           Unref a pad we reffed.
9439         * tests/check/gst/gstutils.c: (GST_START_TEST):
9440           Unref bins
9441
9442 2006-04-05  Michael Smith  <msmith@fluendo.com>
9443
9444         * gst/gstquery.c: (gst_query_set_formats),
9445         (gst_query_set_formatsv):
9446           Fix leaking GValues in queries, as shown by valgrind/testsuite.
9447
9448 2006-04-05  Michael Smith  <msmith@fluendo.com>
9449
9450         * tests/check/generic/sinks.c: (GST_START_TEST):
9451           Fix a variety of memleaks in sinks check, which are only sometimes 
9452           shown by running the tests under valgrind (weird?).
9453
9454 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
9455
9456         * docs/version.entities.in:
9457           Fix the substituted entity name after thomas' changes on the
9458           weekend.
9459
9460 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9461
9462         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
9463         VALGRIND_PRINTF
9464         
9465 2006-04-05  Andy Wingo  <wingo@pobox.com>
9466
9467         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
9468
9469         * libs/gst/base/gstbasetransform.c
9470         (gst_base_transform_sink_eventfunc): When resetting our segment on
9471         FLUSH_STOP, also update the flag saying we haven't seen a
9472         newsegment.
9473
9474 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
9475
9476         Patch by: Paolo Borelli  <pborelli at katamail dot com>
9477
9478         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
9479         (gst_plugin_check_license):
9480           minor clean-ups: G_DEFINE_TYPE already takes care of the
9481           parent_class stuff, no need to do it twice. Mark array of
9482           license strings as constant. (#337103)
9483           
9484 2006-04-04  Michael Smith  <msmith@fluendo.com>
9485
9486         * tools/gst-inspect.c: (print_element_list):
9487           Free the right plugin list; fixes a memory leak.
9488
9489 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
9490
9491         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
9492
9493         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9494           Don't error out on empty buffers (#336945).
9495           
9496 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
9497
9498         * docs/libs/gstreamer-libs-sections.txt:
9499         * gst/gsttaglist.c:
9500         * libs/gst/base/gstbasesink.c:
9501         * libs/gst/base/gstbasesink.h:
9502         * libs/gst/base/gstbasesrc.c:
9503         * libs/gst/base/gstbasesrc.h:
9504           Documentation updates. Make BaseSink and BaseSrc docs contain the
9505           class structure so that people can actually see the prototypes for
9506           virtual functions they're supposed to be overriding.
9507
9508 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
9509
9510         * plugins/elements/gsttypefindelement.c:
9511         (gst_type_find_element_chain):
9512           More debug info; when skipping typefinding, send cached
9513           events in all cases.
9514
9515 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9516
9517         * configure.ac:
9518           use new AS_VERSION and AS_NANO macros
9519         * gst/gst-i18n-lib.h:
9520         * gst/gst.c:
9521         * gst/gsterror.c:
9522         * gst/gstversion.h.in:
9523         * win32/common/config.h:
9524         * win32/common/config.h.in:
9525           update accordingly
9526
9527 2006-03-31  Michael Smith  <msmith@fluendo.com>
9528
9529         * plugins/elements/gsttypefindelement.c:
9530         (gst_type_find_element_chain):
9531           Do not typefind content if the buffers already have caps.
9532           Neccesary for icydemux (#333657), and the right thing to do anyway.
9533
9534 2006-03-30  Wim Taymans  <wim@fluendo.com>
9535
9536         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9537         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9538         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9539         (gst_base_sink_record_qos_observation),
9540         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9541         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9542         (gst_base_sink_change_state):
9543         More QoS measurements as described in the design doc.
9544         Get rid of ringbuffer with observations, running average is
9545         more simple and equally good.
9546         Calculates valid proportion now.
9547         Added beginning of flood measurement.
9548
9549 2006-03-29  Wim Taymans  <wim@fluendo.com>
9550
9551         * docs/design/part-qos.txt:
9552         * gst/gstclock.c:
9553         Small documentation updates and additions.
9554
9555 2006-03-29  Wim Taymans  <wim@fluendo.com>
9556
9557         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9558         (gst_base_src_send_event), (gst_base_src_loop),
9559         (gst_base_src_change_state):
9560         Perform the EOS logic when we reach the segment stop position.
9561         Fix compilation on gcc4.1
9562
9563 2006-03-29  Wim Taymans  <wim@fluendo.com>
9564
9565         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9566
9567         * plugins/elements/gstqueue.c: (gst_queue_init),
9568         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9569         (gst_queue_set_property):
9570         * plugins/elements/gstqueue.h:
9571         In queue, when EOS is received, if minimum threshold > max_size -
9572         current_level, there is chance that queue blocks forever in conditional
9573         item del wait. This is because the queue is not emptied completely due
9574         to minimum threshold.  Here is another approach. Instead of setting
9575         cur_levels to max in EOS, just zero all minimum threshold levels. This
9576         should make sure that queue gives out all data. When going to READY
9577         (stop) state, just reset the original minimum threshold levels.
9578         Fixes #336336.
9579
9580 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
9581
9582         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9583         (gst_type_find_element_handle_event),
9584         (gst_type_find_element_send_cached_events),
9585         (gst_type_find_element_change_state):
9586         * plugins/elements/gsttypefindelement.h:
9587           When typefinding is done in push mode, we should cache
9588           events we receive during typefinding instead of just
9589           dropping them (e.g. newsegment, custom events from
9590           dvdreadsrc etc.) and then send them out once we've
9591           determined the type of the stream (and decodebin
9592           has had a chance to plug in a decoder/demuxer).
9593           
9594 2006-03-27  Wim Taymans  <wim@fluendo.com>
9595
9596         * docs/design/part-qos.txt:
9597         First QoS ideas.
9598
9599 2006-03-27  Wim Taymans  <wim@fluendo.com>
9600
9601         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9602
9603         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9604         (gst_base_src_send_event), (gst_base_src_change_state):
9605         Handle element seek correctly when we are streaming.
9606         Fixes #326998.
9607
9608 2006-03-24  Michael Smith  <msmith@fluendo.com>
9609
9610         * docs/faq/gst-uninstalled:
9611           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9612           allow you to correctly run intalled applications built against old 
9613           core, using plugins that require updated core (e.g. running
9614           installed totem against a full uninstalled gstreamer stack)
9615
9616 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
9617
9618         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9619         more debug details
9620
9621 2006-03-24  Wim Taymans  <wim@fluendo.com>
9622
9623         * docs/gst/gstreamer-sections.txt:
9624         Rearrange the order of the methods so that related methods
9625         are grouped together in sections.
9626
9627 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
9628
9629         * gst/gstelement.c:
9630           Little clarification in the docs
9631
9632 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
9633
9634         * docs/README:
9635         formatting fix
9636         * plugins/elements/gstidentity.c:
9637         * plugins/elements/gstqueue.c:
9638         * plugins/elements/gsttee.c:
9639         * plugins/elements/gsttypefindelement.c:
9640         GST_ELEMENT_DETAILS formatting
9641
9642 2006-03-24  Wim Taymans  <wim@fluendo.com>
9643
9644         * libs/gst/base/gstbasesink.h:
9645         Only add fields, not insert or we break ABI.
9646
9647 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
9648
9649         * win32/common/libgstbase.def:
9650         * win32/common/libgstreamer.def:
9651           Update, add recently added functions.
9652
9653 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
9654
9655         * docs/gst/gstreamer-sections.txt:
9656         * gst/gstutils.c: (gst_pad_query_peer_position),
9657         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9658         * gst/gstutils.h:
9659           API: add some new utility functions:
9660            - gst_pad_query_peer_position()
9661            - gst_pad_query_peer_duration()
9662            - gst_pad_query_peer_convert()
9663           
9664 2006-03-23  Wim Taymans  <wim@fluendo.com>
9665
9666         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9667         (gst_base_sink_init), (gst_base_sink_finalize),
9668         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9669         (gst_base_sink_set_property), (gst_base_sink_get_property),
9670         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9671         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9672         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9673         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9674         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9675         (gst_base_sink_preroll_object), (gst_base_sink_event),
9676         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9677         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9678         (gst_base_sink_query), (gst_base_sink_change_state):
9679         Decouple max-lateness and the fact that QoS messages are generated
9680         with a new property (qos).
9681         added API: GstBaseSink::async_play()
9682         Add vmethod so subclasses can be notified of ASYNC playing
9683         state changes.
9684         Collect timestamp start and stop to report better current
9685         position in EOS/PLAYING/PAUSED/READY/NULL.
9686         Refactor QoS/frame dropping and other measurements.
9687         API: GstBaseSrc::qos
9688         Fixes #326311
9689
9690         * libs/gst/base/gstbasesink.h:
9691         Added Private struct.
9692         API: gst_base_sink_set_qos_enabled()
9693         API: gst_base_sink_is_qos_enabled()
9694
9695 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
9696
9697         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9698           If compiling against GLib-2.8 or newer, try to read the
9699           registry file using GMappedFile first before falling back
9700           to fopen() + fread() (#332151).
9701
9702 2006-03-22  Wim Taymans  <wim@fluendo.com>
9703
9704         * gst/gstinfo.c: (gst_debug_set_active),
9705         (gst_debug_category_set_threshold):
9706         Disable debugging unless explicitly activated.
9707         Fixes #335480.
9708
9709 2006-03-22  Wim Taymans  <wim@fluendo.com>
9710
9711         * gst/gstelement.c: (gst_element_set_locked_state),
9712         (gst_element_dispose):
9713         Cleanup the error case.
9714
9715         * gst/gstobject.c: (gst_object_dispose):
9716         print a critical when some object was disposed with
9717         a parent, also revive the object since it might
9718         crash the parent.
9719
9720 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
9721
9722         * tools/gst-launch.1.in:
9723           Fix another typo.
9724
9725 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9726
9727         * configure.ac:
9728         * tests/check/Makefile.am:
9729           disable some tests when we don't have a registry
9730         * tests/check/gst/gstutils.c: (gst_utils_suite):
9731           don't build the part that needs parsing
9732
9733 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9734
9735         * gst/Makefile.am
9736         * tests/examples/Makefile.am:
9737           fix --disable-parse build
9738
9739 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9740
9741         * tools/gst-feedback.1.in:
9742           Fix typo: s/feeback/feedback/ (#133494).
9743
9744 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9745
9746         * tools/Makefile.am:
9747         * tools/gst-launch.1.in:
9748           Add FILES section and correct entry about GST_REGISTRY_PATH
9749           environment variable (#133495; #133494).
9750
9751 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9752
9753         * tools/Makefile.am:
9754         * tools/gst-md5sum.1.in:
9755         * tools/gst-md5sum.c:
9756           Remove gst-md5sum and man page (the md5sink element
9757           required was removed ages ago)
9758
9759 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9760
9761         * gst/gststructure.c: (gst_structure_id_set_value):
9762           Make sure that string fields in structures/taglists
9763           contain valid UTF-8 - we don't want to pass rubbish to
9764           applications because of a buggy plugin (cp. #334167).
9765
9766 2006-03-21  Edward Hervey  <edward@fluendo.com>
9767
9768         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9769         (gst_bin_handle_message_func):
9770         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
9771         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
9772         (gst_element_set_bus_func):
9773         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
9774         * gst/gstminiobject.c: (gst_value_set_mini_object),
9775         (gst_value_take_mini_object):
9776         * gst/gstpad.c: (gst_pad_set_pad_template):
9777         * gst/gstpipeline.c: (gst_pipeline_dispose),
9778         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9779         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
9780         (gst_collect_pads_chain):
9781         * libs/gst/net/gstnettimeprovider.c:
9782         (gst_net_time_provider_set_property):
9783         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
9784         It's in fact all issues with gst_*object_replace().
9785
9786 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9787
9788         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
9789         
9790         * pkgconfig/gstreamer-check-uninstalled.pc.in:
9791         * pkgconfig/gstreamer-check.pc.in:
9792           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
9793
9794 2006-03-21  Edward Hervey  <edward@fluendo.com>
9795
9796         * gst/gstbuffer.h:
9797         * gst/gstevent.h:
9798         * gst/gstmessage.h:
9799         gst_[buffer|event|message]_ref() macros are replaced by a static
9800         inline functions because gcc-4.1 will about if the return value
9801         isn't used.
9802         * tests/check/gst/gstevent.c: (event_probe):
9803         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9804
9805 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
9806
9807         * gst/gstutils.h:
9808         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9809         the type' case. (Closes: #335195 for now). In the future, when we
9810         depend on GLib 2.10, we could also intern the type name using
9811         g_intern_static_string()
9812
9813 2006-03-20  Wim Taymans  <wim@fluendo.com>
9814
9815         * gst/gstbin.c: (gst_bin_handle_message_func),
9816         (bin_query_max_init), (bin_query_position_fold),
9817         (bin_query_position_done), (gst_bin_query):
9818         Position query should also take max of all streams.
9819
9820 2006-03-20  Wim Taymans  <wim@fluendo.com>
9821
9822         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9823         (gst_fake_src_finalize):
9824         Fix leaks in fakesrc.
9825
9826         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9827         Fix leaks in the testcase.
9828
9829 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
9830
9831         * gst/gst_private.h:
9832           add win32 specific import decoration(__declspec(dllimport)) 
9833           for all extern GstDebugCategory * variables
9834         * win32/common/libgstbase.def:
9835         * win32/common/libgstcontroller.def:
9836         * win32/common/libgstreamer.def:
9837           Add some exports, remove empty lines
9838         * win32/common/libgstdataprotocol.def:
9839         * win32/common/libgstdataprotocol.dsp:
9840         * win32/common/libgstnet.def:
9841         * win32/common/libgstnet.dsp:
9842           new project files and exportation files added
9843         
9844 2006-03-19  Wim Taymans  <wim@fluendo.com>
9845
9846         * tests/check/libs/basesrc.c: (eos_event_counter):
9847         Use proper return value for probe.
9848
9849 2006-03-17  Wim Taymans  <wim@fluendo.com>
9850
9851         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9852         (gst_pad_push):
9853         Don't leak buffers, caps and pads on negotiation errors.
9854
9855 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
9856
9857         * docs/faq/cvs.xml:
9858         * docs/faq/dependencies.xml:
9859         * docs/faq/developing.xml:
9860         * docs/faq/faq.xml:
9861         * docs/faq/general.xml:
9862         * docs/faq/getting.xml:
9863         * docs/faq/legal.xml:
9864         * docs/faq/troubleshooting.xml:
9865         * docs/faq/using.xml:
9866         Faq review and update.
9867
9868 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
9869
9870         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9871         (gst_pad_push):
9872         Don't pound the cpu to pieces by checking get_caps when accept_caps
9873         is called with the same caps as the pad already has.
9874         Use GST_DEBUG_OBJECT when outputting caps change information.
9875
9876 2006-03-15  Wim Taymans  <wim@fluendo.com>
9877
9878         * gst/gstclock.c: (gst_clock_class_init):
9879         Fix docs.
9880
9881 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
9882
9883         * gst/gstbuffer.h:
9884         Documentation fix.
9885
9886         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9887         (gst_pad_accept_caps), (gst_pad_configure_sink),
9888         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9889         Make the default acceptcaps behaviour be to check the requested 
9890         caps against the gst_pad_get_caps output. 
9891
9892         Ensure that gst_pad_accept_caps is used to check caps when a pad
9893         doesn't have a setcaps function, so that pads automatically refuse 
9894         caps that they don't allow in their pad template. (Fixes #332986)
9895
9896         When a buffer with attached caps is pushed, ensure that the source 
9897         pad receives those caps even if the element didn't call
9898         gst_pad_set_caps first.
9899
9900 2006-03-15  Wim Taymans  <wim@fluendo.com>
9901
9902         * libs/gst/base/gstadapter.c:
9903         Add some docs.
9904
9905 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9906
9907         * win32/common/libgstbase.def:
9908         * win32/common/libgstcontroller.def:
9909         * win32/common/libgstreamer.def:
9910           Add a whole bunch of missing functions (#334434).
9911
9912 2006-03-14  Wim Taymans  <wim@fluendo.com>
9913
9914         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9915         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9916         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9917         Better debug info when we receive a segment event.
9918         Reorganize a bit so we can pass the get_times() results around.
9919         Use the segment format when calculating the running time.
9920         Don't do QoS is sync is disabled or we have no clock or the
9921         element does not want us to sync to the clock.
9922         Don't drop buffers if QoS is disabled for now.
9923
9924 2006-03-14  Wim Taymans  <wim@fluendo.com>
9925
9926         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9927         Marked the stats property as unimplemented so people don't get
9928         wild ideas.
9929         Add debug message when regression goes wrong.
9930         Added some more docs.
9931
9932 2006-03-14  Wim Taymans  <wim@fluendo.com>
9933
9934         * gst/gstsegment.c: (gst_segment_to_stream_time):
9935         Return correct return type in case of errors.
9936
9937 2006-03-14  Wim Taymans  <wim@fluendo.com>
9938
9939         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9940           Don't segfault on invalid formats.
9941
9942 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9943
9944         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9945           Can't use gst_segment_to_running_time() when the segment
9946           is not in GST_TIME_FORMAT (like with filesink, for example).
9947           Stops flac encoding pipelines from spewing critical warnings
9948           at EOS (#331248).
9949           
9950 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9951
9952         * gst/gstpipeline.c: (gst_pipeline_class_init):
9953           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9954
9955         * plugins/elements/gsttypefindelement.c:
9956         (gst_type_find_element_handle_event):
9957           Don't try to typefind empty streams.
9958
9959 2006-03-14  Wim Taymans  <wim@fluendo.com>
9960
9961         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9962         (gst_base_sink_do_qos):
9963         Separate QoS calculation.
9964         Only drop buffers when lateness is bigger than the 
9965         duration of the buffer.
9966
9967 2006-03-13  Wim Taymans  <wim@fluendo.com>
9968
9969         * gst/gstpipeline.c: (gst_pipeline_set_property),
9970         (gst_pipeline_get_property), (do_pipeline_seek),
9971         (gst_pipeline_change_state), (gst_pipeline_set_delay),
9972         (gst_pipeline_get_delay):
9973         Don't deadlock when reading properties.
9974
9975 2006-03-13  Wim Taymans  <wim@fluendo.com>
9976
9977         * libs/gst/base/gstbasetransform.c:
9978         (gst_base_transform_class_init), (gst_base_transform_init),
9979         (gst_base_transform_sink_event),
9980         (gst_base_transform_sink_eventfunc),
9981         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9982         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9983         (gst_base_transform_set_property),
9984         (gst_base_transform_get_property),
9985         (gst_base_transform_change_state), (gst_base_transform_update_qos),
9986         (gst_base_transform_set_qos_enabled),
9987         (gst_base_transform_is_qos_enabled):
9988         * libs/gst/base/gstbasetransform.h:
9989         Make basetransform virtual method for src events too.
9990         Handle QOS in basetransform.
9991         API: gst_base_transform_update_qos()
9992         API: gst_base_transform_set_qos_enabled()
9993         API: gst_base_transform_is_qos_enabled()
9994
9995 2006-03-13  Wim Taymans  <wim@fluendo.com>
9996
9997         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9998         (gst_base_sink_do_sync):
9999         Small cleanups.
10000         Use QOS debug category.
10001
10002 2006-03-13  Wim Taymans  <wim@fluendo.com>
10003
10004         * plugins/elements/gstqueue.c:
10005         Very small doc update.
10006
10007 2006-03-13  Wim Taymans  <wim@fluendo.com>
10008
10009         * gst/gst_private.h:
10010         * gst/gstinfo.c: (_gst_debug_init):
10011         Added QOS debug category
10012
10013 2006-03-13  Wim Taymans  <wim@fluendo.com>
10014
10015         * docs/gst/gstreamer-sections.txt:
10016         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10017         * gst/gstbin.h:
10018         * gst/gstbus.c: (gst_bus_class_init):
10019         * gst/gstbus.h:
10020         * gst/gstclock.c:
10021         * gst/gstelement.c: (gst_element_set_locked_state):
10022         * gst/gstsegment.c:
10023         Documentation updates.
10024
10025         * gst/gstpipeline.c: (gst_pipeline_get_type),
10026         (gst_pipeline_class_init), (gst_pipeline_init),
10027         (gst_pipeline_dispose), (gst_pipeline_set_property),
10028         (gst_pipeline_get_property), (do_pipeline_seek),
10029         (gst_pipeline_send_event), (gst_pipeline_change_state),
10030         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10031         (gst_pipeline_get_delay):
10032         * gst/gstpipeline.h:
10033         Added methods for setting the delay.
10034         API: gst_pipeline_set_delay()
10035         API: gst_pipeline_get_delay()
10036         Add pipeline debug category
10037         Various cleanups.
10038         Updated docs.
10039         Don't reset stream time when seek failed.
10040
10041 2006-03-13  Wim Taymans  <wim@fluendo.com>
10042
10043         * docs/design/draft-klass.txt:
10044         * docs/design/part-clocks.txt:
10045         * docs/design/part-events.txt:
10046         * docs/design/part-gstbin.txt:
10047         * docs/design/part-gstpipeline.txt:
10048         * docs/design/part-messages.txt:
10049         * docs/design/part-negotiation.txt:
10050         * docs/design/part-overview.txt:
10051         * docs/design/part-preroll.txt:
10052         * docs/design/part-seeking.txt:
10053         * docs/design/part-states.txt:
10054         * docs/design/part-streams.txt:
10055         Documentation updates.
10056
10057 2006-03-12  Julien MOUTTE  <julien@moutte.net>
10058
10059         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10060         us to leak strings...
10061
10062 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10063
10064         * libs/gst/net/gstnettimeprovider.c:
10065           fix docs
10066         * win32/common/config.h:
10067           update
10068
10069 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
10070
10071         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10072
10073         * configure.ac:
10074           Don't check for libgnomeui (leftover from old examples
10075           that aren't built or disted any longer) (#334303).
10076           
10077 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
10078
10079         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10080         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10081           Emit RESOURCE_NO_SPACE_LEFT error here as well when
10082           there's no space left on the device.
10083
10084 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
10085
10086         * gst/gstclock.h:
10087           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10088           to cast the input to GstClockTime before comparing with
10089           another GstClockTime value.
10090
10091 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10092
10093         * configure.ac:
10094           back to trunk
10095
10096 === release 0.10.4 ===
10097
10098 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
10099
10100         * configure.ac:
10101           releasing 0.10.4, "Light"
10102
10103 2006-03-10  Michael Smith  <msmith@fluendo.com>
10104
10105         * libs/gst/dataprotocol/dataprotocol.c:
10106           Fix docs for dataprocotol to not get the return types completely
10107           wrong for a few functions.
10108
10109 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10110
10111         * docs/gst/gstreamer-sections.txt:
10112         * gst/gstpipeline.c: (gst_pipeline_class_init),
10113         (gst_pipeline_init), (gst_pipeline_set_property),
10114         (gst_pipeline_get_property), (gst_pipeline_change_state),
10115         (gst_pipeline_set_auto_flush_bus),
10116         (gst_pipeline_get_auto_flush_bus):
10117         * gst/gstpipeline.h:
10118           Add new API: gst_pipeline_set_auto_flush_bus() and
10119           gst_pipeline_get_auto_flush_bus() to disable automatic
10120           flushing of the pipeline's GstBus when going from READY
10121           to NULL state (#332045).
10122
10123 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10124
10125         * docs/gst/gstreamer-sections.txt:
10126         * gst/gsturi.c: (gst_uri_has_protocol):
10127         * gst/gsturi.h:
10128            Add new API: gst_uri_has_protocol() (#333779).
10129
10130 2006-03-09  Wim Taymans  <wim@fluendo.com>
10131
10132         * gst/gstclock.c: (gst_clock_entry_new),
10133         (gst_clock_id_compare_func), (gst_clock_id_wait),
10134         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10135         (gst_clock_init), (gst_clock_get_internal_time),
10136         (gst_clock_set_master), (do_linear_regression),
10137         (gst_clock_add_observation), (gst_clock_set_property):
10138         * gst/gstclock.h:
10139         Review docs.
10140         Small cleanups.
10141         Fix a possible segfault when the window-size is made smaller.
10142         Calculate jitter before performing the clock wait. Ideally
10143         the clock implementation should calculate jitter but we need
10144         API breakage for that.
10145
10146         * gst/gstsystemclock.c: (gst_system_clock_init):
10147         Docs review.
10148         
10149         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10150         Remove leftover else
10151
10152         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10153         (gst_systemclock_suite):
10154         Added check to test GST_CLOCK_DIFF.
10155
10156 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10157
10158         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10159         (gst_type_find_helper_get_range):
10160           If we are provided with the size, we should implement
10161           GstTypeFind::get_length, so that typefind functions who
10162           want to can actually peek at the middle of a file.
10163
10164 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
10165
10166         * docs/manual/advanced-dataaccess.xml:
10167           Add some very very basic error checking.
10168
10169         * docs/pwg/appendix-checklist.xml:
10170           Some updates to the list of things to check when writing an element.
10171
10172 2006-03-08  Wim Taymans  <wim@fluendo.com>
10173
10174         * docs/design/part-element-transform.txt:
10175         Added some docs about the design of tranform elements.
10176
10177         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10178         (gst_base_src_loop), (gst_base_src_change_state):
10179         Mark buffers with the DISCONT flag.
10180
10181 2006-03-08  Michael Smith  <msmith@fluendo.com>
10182
10183         * gst/gstregistry.h:
10184         * gst/gstregistryxml.c: (gst_registry_save),
10185         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10186         (gst_registry_xml_save_pad_template),
10187         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10188         (gst_registry_xml_write_cache):
10189           Rewrite registry-saving to avoid race conditions and check for
10190           failed writes.
10191
10192 2006-03-08  Wim Taymans  <wim@fluendo.com>
10193
10194         * libs/gst/base/gstbasetransform.c:
10195         (gst_base_transform_transform_caps),
10196         (gst_base_transform_transform_size),
10197         (gst_base_transform_prepare_output_buffer),
10198         (gst_base_transform_get_unit_size),
10199         (gst_base_transform_buffer_alloc),
10200         (gst_base_transform_handle_buffer),
10201         (gst_base_transform_change_state):
10202         Cleanups, separate normal flow from errors, add sensible
10203         DEBUG lines.
10204         Don't try to renegotiate when allocating an output buffer.
10205         Also copy DISCONT buffer flag when copying a buffer.
10206         Reset the transform after we finish streaming, not during.
10207
10208 2006-03-08  Wim Taymans  <wim@fluendo.com>
10209
10210         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10211         Use last buffer timestamp in qos message.
10212
10213 2006-03-07  Wim Taymans  <wim@fluendo.com>
10214
10215         Patch by: Christophe Fergeau
10216
10217         * docs/pwg/advanced-tagging.xml:
10218         * docs/pwg/building-pads.xml:
10219           fixes #333416
10220
10221 2006-03-07  Wim Taymans  <wim@fluendo.com>
10222
10223         * docs/libs/gstreamer-libs-sections.txt:
10224         Added basesink new methods.
10225
10226         * gst/gstevent.c:
10227         * gst/gstevent.h:
10228         Docs updates. Flesh out the QoS docs.
10229
10230         * libs/gst/base/gstadapter.c:
10231         Small doc clarification about ownership and flushing.
10232
10233         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10234         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10235         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10236         (gst_base_sink_get_property), (gst_base_sink_do_sync):
10237         * libs/gst/base/gstbasesink.h:
10238         API additions: 
10239         Added new methods to allow subclass to control max-lateness 
10240         and sync.
10241         Generate very basic QoS events based on last sync observation.
10242         Updated docs, fix typo, added some QoS blurb.
10243
10244         * libs/gst/base/gstbasesrc.c:
10245         Remove obsolete _get_state() calls from docs.
10246
10247 2006-03-07  Wim Taymans  <wim@fluendo.com>
10248
10249         * docs/libs/gstreamer-libs-sections.txt:
10250         * libs/gst/base/gstbasetransform.h:
10251         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10252         Fix docs for GstBaseSrc.
10253
10254 2006-03-07  Wim Taymans  <wim@fluendo.com>
10255
10256         * docs/gst/gstreamer-sections.txt:
10257         * gst/gstbuffer.h:
10258         * gst/gstvalue.c:
10259         * libs/gst/base/gstbasetransform.h:
10260         Small documentation fixes.
10261
10262 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10263
10264         * gst/gstvalue.c:
10265           Document thread-unsafety of gst_value_register_foo_func()
10266           when used at the same time as gst_value_foo() (#322628).
10267
10268 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10269
10270         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10271         (gst_push_src_check_get_range):
10272           Push sources don't support pull mode by default.
10273
10274 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
10275
10276         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10277         (gst_base_src_init), (gst_base_src_pad_check_get_range),
10278         (gst_base_src_default_check_get_range):
10279         * libs/gst/base/gstbasesrc.h:
10280           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10281           provide default implementation, and rename
10282           gst_base_src_check_get_range() to
10283           gst_base_src_pad_check_get_range() for clarity.
10284
10285 2006-03-06  Wim Taymans  <wim@fluendo.com>
10286
10287         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10288         Make property overridable.
10289
10290 2006-03-06  Wim Taymans  <wim@fluendo.com>
10291
10292         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10293         (gst_base_sink_init), (gst_base_sink_set_property),
10294         (gst_base_sink_get_property), (gst_base_sink_do_sync):
10295         * libs/gst/base/gstbasesink.h:
10296         API addition: Make max-lateness a property.
10297
10298 2006-03-06  Wim Taymans  <wim@fluendo.com>
10299
10300         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10301         (gst_base_sink_do_sync), (gst_base_sink_render_object):
10302         Don't ever draw a frame that is >10ms late.
10303
10304 2006-03-06  Michael Smith  <msmith@fluendo.com>
10305
10306         * gst/gstmessage.c: (_gst_message_copy):
10307           When copying a message, set the parent_refcount of the enclosed
10308           structure to point at the copy, not the original message.
10309
10310 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
10311
10312         Patch by: Christophe Fergeau
10313
10314         * gst/gstutils.h:
10315           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10316           usable in c++ code (#333417)
10317
10318 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10319
10320         * gst/gstclock.h:
10321           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10322
10323 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
10324
10325         * libs/gst/base/gstbasetransform.c:
10326         (gst_base_transform_transform_caps):
10327           Make sure caps are writable before passing them to
10328           gst_caps_append().
10329
10330 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
10331
10332         * gst/gsterror.h:
10333           Fix some minor docs errors.
10334
10335 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
10336
10337           Patch by: Ross Burton <ross at burtonini dot com>
10338
10339         * gst/gsterror.c: (_gst_resource_errors_init):
10340         * gst/gsterror.h:
10341           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10342
10343 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
10344
10345         * gst/gst.c:
10346         Add a check and output a g_warning when GStreamer is built
10347         against GLib 2.6 but running against 2.8 or higher, and vice 
10348         versa. (Closes: #323542)
10349
10350 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
10351
10352         * gst/parse/parse.l:
10353           Commit patch for parse_launch syntax from #331255. Removes 
10354           support for quoted strings and mimetypes when writing filtered 
10355           caps. See the bug report for more details - I'm pretty sure this
10356           obscure feature is not in use by _anyone_ anywhere.
10357
10358           With this simple change, the size of the gstreamer.so here 
10359           drops from 2193KB to 1565KB.
10360
10361 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
10362
10363         * plugins/elements/gsttypefindelement.h:
10364         * plugins/elements/gsttypefindelement.c:
10365         (gst_type_find_element_src_event), (start_typefinding),
10366         (stop_typefinding), (gst_type_find_element_handle_event),
10367         (gst_type_find_element_chain),
10368         (gst_type_find_element_chain_do_typefinding):
10369           Use gst_type_find_helper_for_buffer() for chain-based
10370           typefinding.
10371
10372 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
10373
10374         * plugins/elements/gsttypefindelement.c:
10375         (gst_type_find_element_class_init),
10376         (gst_type_find_element_set_property),
10377         (gst_type_find_element_get_property):
10378           Deprecate "maximum" property (not only was it only taken into
10379           account for typefinding in push-mode anyway, it also was never
10380           actually possible to set it in the first place because the
10381           property was registered with the numeric property ID for the
10382           "minimum" property). Register "maximum" property correctly,
10383           for the sake of future copy'n'pasters. Remove some cruft
10384           from property get/set functions.
10385
10386 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
10387
10388         * plugins/elements/gsttypefindelement.c:
10389         (gst_type_find_element_activate):
10390           Use gst_type_find_helper_get_range() here, so we
10391           can honour the "minimum" property and also emit
10392           the signal with the correct probability of the found caps.
10393
10394 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
10395
10396         * docs/libs/gstreamer-libs-sections.txt:
10397         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
10398         (helper_find_suggest), (gst_type_find_helper_get_range),
10399         (gst_type_find_helper):
10400         * libs/gst/base/gsttypefindhelper.h:
10401           New API: gst_type_find_helper_get_range() (#333042).
10402
10403 2006-03-02  Michael Smith  <msmith@fluendo.com>
10404
10405         * gst/gstregistryxml.c: (load_feature):
10406           Asserting on a failure to read part of the registry is Not Cool.
10407           Just log a warning and return NULL (which is already handled)
10408
10409 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
10410
10411         * win32/common/libgstbase.def:
10412           added export of gst_type_find_helper_for_buffer
10413         * win32/common/libgstbase.def:
10414           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
10415           gst_ghost_pad_get_target
10416
10417 2006-02-28  Wim Taymans  <wim@fluendo.com>
10418
10419         * docs/design/draft-klass.txt:
10420         We use Filter now.
10421         Added Connector to mark elements that are only used to
10422         allow pipeline connections.
10423         Moved Debug to extra feature since most of them are 
10424         functionally something else.
10425
10426 2006-02-28  Wim Taymans  <wim@fluendo.com>
10427
10428         * docs/design/draft-klass.txt:
10429         Some updates and clarifications.
10430
10431 2006-02-28  Wim Taymans  <wim@fluendo.com>
10432
10433         * docs/design/draft-klass.txt:
10434         Proposal for klass field values.
10435
10436         * docs/design/part-streams.txt:
10437         Start of a doc describing stream anatomy.
10438
10439 2006-02-28  Wim Taymans  <wim@fluendo.com>
10440
10441         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
10442         Help the compiler a bit with type registration.
10443         Use existing forward cod path instead of duplicating it when 
10444         handling a message.
10445         
10446         * gst/gstbus.c: (gst_bus_get_type):
10447         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
10448         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
10449         * gst/gstclock.c: (gst_clock_get_type):
10450         * gst/gstelement.c: (gst_element_get_type),
10451         * gst/gstelementfactory.c: (gst_element_factory_get_type):
10452         * gst/gstindexfactory.c: (gst_index_factory_get_type):
10453         * gst/gstminiobject.c: (gst_mini_object_get_type):
10454         * gst/gstpad.c: (gst_pad_get_type):
10455         * gst/gstsegment.c: (gst_segment_get_type):
10456         * gst/gststructure.c: (gst_structure_get_type):
10457         * gst/gstsystemclock.c: (gst_system_clock_get_type):
10458         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
10459         * gst/gstvalue.c:
10460         Help compiler with type registration.
10461
10462         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
10463         Small doc update.
10464
10465 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10466
10467         * plugins/elements/gsttypefindelement.c:
10468         (gst_type_find_element_handle_event):
10469           When we get an EOS event and have not found a type yet
10470           (most likely because we had not yet accumulated
10471           TYPE_FIND_MIN_SIZE of data yet), try to determine the
10472           type given the data we have so far. Fixes typefinding
10473           for very short streams again, most notably quicktime
10474           redirections as used on Apple's trailer site (#331701).
10475
10476 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10477
10478         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
10479         (gst_type_find_helper):
10480           Try typefinding factories with the highest rank first.
10481
10482 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10483
10484         * docs/libs/gstreamer-libs-docs.sgml:
10485         * docs/libs/gstreamer-libs-sections.txt:
10486         * libs/gst/base/gsttypefindhelper.c:
10487           Add section for typefind helper and add documentation
10488           for the old and the new function.
10489
10490 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10491
10492         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
10493         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
10494         (gst_type_find_helper_for_buffer):
10495         * libs/gst/base/gsttypefindhelper.h:
10496           New API: gst_type_find_helper_for_buffer() (#332723).
10497           
10498 2006-02-27  Michael Smith  <msmith@fluendo.com>
10499
10500         Patch by: Loïc Minier
10501
10502         * configure.ac:
10503         * docs/Makefile.am:
10504         * docs/slides/Makefile.am:
10505           prevent CVS directories getting disted.
10506
10507 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10508
10509         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10510           Use the REFCOUNTING category for caps refcounting.
10511           
10512 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
10513
10514         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10515           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10516
10517 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
10518
10519         * plugins/elements/gsttypefindelement.c:
10520         (gst_type_find_element_activate):
10521           Use gst_pad_check_pull_range() before _activate_pull()
10522           to avoid unnecessary open/close (see #331690).
10523
10524 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
10525
10526         * gst/gstutils.c:
10527           Docs enhancement: make it crystal clear what the
10528           gst_pad_add_*_probe() callbacks should look like.
10529
10530 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
10531
10532         * libs/gst/base/gstbasesrc.c:
10533           Document how applications can stop recording from
10534           live sources (see #330996).
10535
10536 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10537
10538         * tests/check/Makefile.am:
10539         * tests/check/libs/basesrc.c: (eos_event_counter),
10540         (basesrc_eos_events_pull), (basesrc_eos_events_push),
10541         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10542         (gst_basesrc_suite), (main):
10543           ... and add some tests for the base source EOS stuff.
10544
10545 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10546
10547         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10548           Test case originally showed the problem fixed below,
10549           but was then amended. Add checks back at the place
10550           where they used to be.
10551
10552 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10553
10554         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10555         (gst_base_src_init), (gst_base_src_loop),
10556         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10557         (gst_base_src_change_state):
10558         * libs/gst/base/gstbasesrc.h:
10559           Don't unconditionally send EOS when going from PAUSED to
10560           READY state, esp. make sure we don't send two EOS events
10561           in some cases (e.g. one when reaching EOS and one when
10562           going from PAUSED to READY). Also, we don't want to send
10563           EOS events when operating in pull mode. However, we do
10564           want to send an EOS event when shutting down a live
10565           source explicitly, for example (fixes #330996).
10566           
10567 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10568
10569         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10570           Update src->read_position after a seek when not using mmap.
10571           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10572
10573 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
10574
10575         * gst/Makefile.am:
10576         * gst/gstparse.h:
10577         * gst/gstutils.c:
10578         * gst/gstutils.h:
10579         Make things work with --disable-parse as they do with 
10580         --disable-load-save - the symbols involved disappear, but the
10581         header is still installed and GST_DISABLE_PARSE is included via
10582         gstconfig.h
10583
10584 2006-02-20  Julien MOUTTE  <julien@moutte.net>
10585
10586         * libs/gst/base/gstbasetransform.c:
10587         (gst_base_transform_change_state): Fix a stupid bug. I was 
10588         sure I compiled that.
10589
10590 2006-02-20  Julien MOUTTE  <julien@moutte.net>
10591
10592         * gst/gstpad.c: (gst_pad_set_blocked_async):
10593         * gst/gstutils.c: (gst_pad_add_data_probe),
10594         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10595         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10596         (gst_pad_remove_buffer_probe): Make those function act on the
10597         ghostpad target when it's a ghostpad. (Closes #331727)
10598
10599 2006-02-20  Julien MOUTTE  <julien@moutte.net>
10600
10601         * libs/gst/base/gstbasetransform.c:
10602         (gst_base_transform_change_state): Make basetransform reusable.
10603         (Closes #331898)
10604
10605 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
10606
10607         * docs/random/release:
10608         Move the current documentation of how to do a release to the top
10609         of the file.
10610
10611         * gst/gstbin.c: (gst_bin_class_init),
10612         (gst_bin_handle_message_func):
10613         Allow multiple state-recalculation threads. (Closes #328873)
10614
10615 2006-02-19  Julien MOUTTE  <julien@moutte.net>
10616
10617         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10618         * gst/gstpad.c: (gst_pad_set_event_function),
10619         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10620         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10621         2 strings. You can't use the STR_NULL macro on that.
10622
10623 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
10624
10625         * gst/gstpad.c: (gst_pad_set_event_function),
10626         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10627         (gst_pad_set_getcaps_function)
10628         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10629           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10630           So now, we can use --gst-debug-level=5 on Windows
10631         * win32/common/libgstcontroller.def:
10632           Added export of gst_controller_init
10633         * win32/vs6/libgstcontroller.dsp:
10634           Fixed Release post build configuration
10635
10636 2006-02-17  Wim Taymans  <wim@fluendo.com>
10637
10638         * tests/check/gst/gstquery.c: (GST_START_TEST):
10639         Added another check.
10640
10641 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
10642
10643         * plugins/elements/gsttypefindelement.c: (find_peek):
10644           We can do peeks at non-zero offsets, as long as they
10645           fall within the buffer we have.
10646
10647 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
10648
10649         * tests/check/Makefile.am:
10650         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10651         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10652         (parse_suite), (main):
10653           Add testsuite for parse launch syntax
10654
10655 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
10656
10657         * plugins/elements/gsttypefindelement.c:
10658         (gst_type_find_element_chain):
10659           When typefinding is unsuccessful in the chain function, don't
10660           error out immediately. Only error out with NO_CAPS_FOUND if
10661           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10662           otherwise simply wait for more data so we can try typefinding
10663           again with more data later. Also, don't attempt to typefind
10664           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10665           this should improve typefinding from network sources where the
10666           size of the first buffer can be somewhat random.
10667
10668 2006-02-14  Wim Taymans  <wim@fluendo.com>
10669
10670         * docs/gst/gstreamer-sections.txt:
10671         * gst/gstpadtemplate.c:
10672         * gst/gstpadtemplate.h:
10673         Fix padtemplate docs, fixes #328805.
10674
10675 2006-02-14  Wim Taymans  <wim@fluendo.com>
10676
10677         * tools/gst-launch.c: (main):
10678         NO_PREROLL is not an ERROR so don't send confusing messages
10679         to the user.
10680
10681 2006-02-14  Wim Taymans  <wim@fluendo.com>
10682
10683         Patch by: Torsten Schoenfeld
10684
10685         * gst/gstregistry.c: (gst_registry_get_default),
10686         (_gst_registry_cleanup):
10687         Protect default registry with lock and ref/sink it.
10688         Fixes #324818
10689
10690 2006-02-14  Wim Taymans  <wim@fluendo.com>
10691
10692         * gst/gstbuffer.c:
10693         * gst/gstquery.c: (gst_query_list_add_format),
10694         (gst_query_set_formatsv), (gst_query_parse_formats_length),
10695         (gst_query_parse_formats_nth):
10696         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10697         Docs fixes.
10698
10699 2006-02-14  Wim Taymans  <wim@fluendo.com>
10700
10701         * docs/gst/gstreamer-sections.txt:
10702         Reworked query docs.
10703
10704         * gst/gstquery.c: (gst_query_new_formats),
10705         (gst_query_list_add_format), (gst_query_set_formats),
10706         (gst_query_set_formatsv), (gst_query_parse_formats_length),
10707         (gst_query_parse_formats_nth):
10708         * gst/gstquery.h:
10709         Flesh out formats query, added some new methods.
10710         Fix part of #324398.
10711
10712         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
10713         Added query creation tests.
10714
10715 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
10716
10717         * gst/gstpad.c: (fixate_value):
10718         Add a default fixation for fraction lists.
10719
10720 2006-02-13  Wim Taymans  <wim@fluendo.com>
10721
10722         * gst/gsttask.c: (gst_task_init), (gst_task_func),
10723         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
10724         (gst_task_join):
10725         * gst/gsttask.h:
10726         Detect and warn for obvious deadlocks. fixes #320340
10727         Fix error case where lock was not released.
10728
10729         * tests/check/Makefile.am:
10730         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
10731         (task_func), (gst_element_suite), (main):
10732         Add task check.
10733
10734 2006-02-13  Wim Taymans  <wim@fluendo.com>
10735
10736         * docs/gst/gstreamer-sections.txt:
10737         * gst/gstbus.c:
10738         Add new functions to docs.
10739
10740 2006-02-13  Wim Taymans  <wim@fluendo.com>
10741
10742         * docs/design/part-TODO.txt:
10743         Updated TODO list, basesrc supports seeking to non-bytes
10744         formats.
10745
10746         * docs/design/part-element-sink.txt:
10747         Update docs.
10748
10749         * gst/gstbin.c: (bin_replace_message),
10750         (gst_bin_handle_message_func):
10751         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
10752         * gst/gstevent.c: (gst_event_finalize):
10753         * gst/gstpad.c: (gst_pad_event_default_dispatch),
10754         (gst_pad_send_event):
10755         Use shiny new _TYPE_NAME macros.
10756
10757         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10758         Move debug statement up.
10759
10760         * gst/gstelement.c: (gst_element_set_locked_state):
10761         Add some debugging.
10762
10763 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
10764
10765         * docs/gst/gstreamer-sections.txt:
10766         * gst/gstmessage.h:
10767         * gst/gstquery.h:
10768           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
10769           macros (#330906). Also, document the already existing
10770           GST_QUERY_TYPE macro.
10771
10772 2006-02-13  Wim Taymans  <wim@fluendo.com>
10773
10774         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
10775         (event_probe), (GST_START_TEST):
10776         Only events up to the pipeline EOS are counted, there are
10777         some more when going to NULL currently which we don't care
10778         about for now.
10779
10780 2006-02-13  Wim Taymans  <wim@fluendo.com>
10781
10782         * gst/gstpad.c: (gst_pad_send_event):
10783         Correctly check flushing and emit probes. fixes #330125
10784
10785 2006-02-10  Andy Wingo  <wingo@pobox.com>
10786
10787         * gst/gstbus.c (gst_bus_class_init): Declare our private data
10788         structure.
10789         (gst_bus_init): Cache the location of the private data in the
10790         instance structure.
10791         (gst_bus_enable_sync_message_emission) 
10792         (gst_bus_disable_sync_message_emission): Implement new public
10793         functions.
10794         (gst_bus_post): Emit the sync-message signal if the user asked for
10795         it. Fixes #330684.
10796
10797         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
10798         location of the bus-private structure.
10799         (gst_bus_enable_sync_message_emission)
10800         (gst_bus_disable_sync_message_emission): API addition
10801
10802 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
10803
10804         Patch by: Vincent Torri
10805
10806         * docs/pwg/building-boiler.xml:
10807         PWG patch from #326800
10808
10809 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10810
10811         * configure.ac:
10812         * docs/Makefile.am:
10813         * docs/design/Makefile.am:
10814           Dist design docs.
10815
10816 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
10817
10818         * configure.ac:
10819           back to CVS
10820
10821 === release 0.10.3 ===
10822
10823 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
10824
10825         * configure.ac:
10826           releasing 0.10.3, "Like a virgin"
10827
10828 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
10829
10830         * configure.ac:
10831           2nd prerelease of 0.10.3
10832           Bump libtool versioning.
10833
10834 2006-02-07  Andy Wingo  <wingo@pobox.com>
10835
10836         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10837         update last_stop if we're in TIME format and the timestamp is
10838         valid.
10839
10840         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
10841         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
10842         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10843         If we get a new newsegment with a different format, adapt
10844         accordingly.
10845
10846         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10847         of 0. Not a problem, really.
10848
10849         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10850         warn if sync=true.
10851
10852 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
10853
10854         * configure.ac:
10855           Prelease of 0.10.3
10856
10857 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
10858
10859         * win32/vs7:
10860           project files updated to the default vs7 configuration
10861         * win32/common/libgstbase.def:
10862         * win32/common/libgstreamer.def:
10863           added new symbols,
10864           removed empty lines,
10865           sorted all exported symbols alphabetically
10866         * win32/common/dirent.c:
10867         * win32/common/dirent.h:
10868         * win32/common/gchar.h:
10869           use windows line end.
10870           
10871 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10872
10873         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10874           Send EOS event when stopping.
10875
10876 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10877
10878         * docs/README:
10879           Tell folks what to do if the plugin-foobar.xml file
10880           hasn't been generated for a newly-added plugin.
10881
10882 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10883
10884         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10885         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10886         (gst_collect_pads_start), (gst_collect_pads_stop),
10887         (gst_collect_pads_event): Collectpads now holds a reference
10888         to the GstPad that was added. Indeed we don't want to look
10889         at pads that might just go away with no warning...
10890
10891 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10892
10893         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10894         (gst_collect_pads_start), (gst_collect_pads_stop),
10895         (gst_collect_pads_event), (gst_collect_pads_chain):
10896         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10897         Mark Nauwelaerts's patch on bug #328491.
10898
10899 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10900
10901         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10902         (gst_utils_suite):
10903           Add some simple tests for gst_parse_bin_from_description() and
10904           gst_bin_find_unconnected_pad() (#329069).
10905
10906 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10907
10908         * tools/gst-launch.c: (event_loop), (main):
10909           Catch errors during preroll (#320084).
10910
10911 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
10912
10913         * plugins/elements/gsttypefindelement.c:
10914         (gst_type_find_element_activate):
10915           Post TYPE_NOT_FOUND error message when typefinding
10916           is unsuccessful in the activate function as well.
10917
10918 2006-02-02  Wim Taymans  <wim@fluendo.com>
10919
10920         * docs/design/part-element-sink.txt:
10921         Updated doc.
10922
10923 2006-02-02  Wim Taymans  <wim@fluendo.com>
10924
10925         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10926         (gst_base_sink_render_object),
10927         (gst_base_sink_queue_object_unlocked):
10928         Only keep track of prerollable items when we are 
10929         prerolling.
10930         Before rendering after preroll, always check if we
10931         have queued items.
10932         Added some more debugging.
10933
10934 2006-02-02  Wim Taymans  <wim@fluendo.com>
10935
10936         * gst/gstelement.c: (gst_element_continue_state),
10937         (gst_element_set_state_func), (gst_element_change_state):
10938         Fixed #326576, been running this for quite some time with
10939         no regressions at all.
10940
10941 2006-02-02  Wim Taymans  <wim@fluendo.com>
10942
10943         * common/gst.supp:
10944         Added more suppressions
10945
10946 2006-02-02  Wim Taymans  <wim@fluendo.com>
10947
10948         * docs/design/part-element-sink.txt:
10949         Updated document.
10950
10951         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10952         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10953         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10954         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10955         (gst_base_sink_do_sync), (gst_base_sink_render_object),
10956         (gst_base_sink_preroll_object),
10957         (gst_base_sink_queue_object_unlocked),
10958         (gst_base_sink_queue_object), (gst_base_sink_event),
10959         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10960         (gst_base_sink_loop), (gst_base_sink_activate_pull),
10961         (gst_base_sink_get_position), (gst_base_sink_change_state):
10962         * libs/gst/base/gstbasesink.h:
10963         Totally refactored matching the design doc.
10964         Use two segments, one to clip incomming buffers and another to
10965         perform sync.
10966         Handle queueing correctly, bypass the queue when playing.
10967         Make EOS cancelable.
10968         Handle errors correctly when operating in pull based mode.
10969
10970         * tests/check/elements/fakesink.c: (GST_START_TEST),
10971         (fakesink_suite):
10972         Added new check for sinks.
10973
10974 2006-02-02  Wim Taymans  <wim@fluendo.com>
10975
10976         * gst/gstsegment.c: (gst_segment_clip):
10977         No reason to refuse to clip when start == -1
10978
10979 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
10980
10981         * docs/README:
10982         * docs/manual/intro-basics.xml:
10983         * docs/manual/intro-preface.xml:
10984         * docs/manual/manual.xml:
10985         * docs/pwg/advanced-dparams.xml:
10986         * docs/pwg/intro-basics.xml:
10987         * docs/pwg/intro-preface.xml:
10988         * docs/pwg/pwg.xml:
10989           describe dparams (controller) for plugins
10990           unify docs a little more
10991
10992 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
10993
10994         * docs/gst/gstreamer-sections.txt:
10995         * gst/gstutils.c: (element_find_unconnected_pad),
10996         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10997         * gst/gstutils.h:
10998           Add new API: gst_parse_bin_from_description() and
10999           gst_bin_find_unconnected_pad() (#329069).
11000
11001 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
11002
11003         * docs/manual/README:
11004           uncover a nasty detail of the docs build
11005
11006 2006-01-31  Wim Taymans  <wim@fluendo.com>
11007
11008         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11009         Don't cache duration messages if we're not going to use or
11010         free them.
11011
11012 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
11013
11014         * docs/manual/advanced-dparams.xml:
11015         * docs/pwg/advanced-dparams.xml:
11016           more dparam docs
11017         * gst/gstindex.c:
11018           fix docs
11019         * libs/gst/controller/lib.c: (gst_controller_init):
11020           init just once
11021
11022 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11023
11024         * gst/gstelement.c: (gst_element_message_full):
11025           also show file/line/func if no additional debug was given
11026
11027 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
11028         
11029         * win32/vs7/grammar.vcproj:
11030           activate copy of autogenerated files for Release mode
11031
11032 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11033         
11034         * win32/common/libgstreamer.def:
11035           export gst_value_compare
11036
11037 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
11038
11039         * plugins/elements/Makefile.am:
11040         * plugins/elements/gstelements.c:
11041         * plugins/elements/gstfdsink.c: (_do_init),
11042         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11043         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11044         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11045         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11046         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11047         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11048         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11049         * plugins/elements/gstfdsink.h:
11050         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11051
11052 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
11053
11054         * docs/manual/advanced-dparams.xml:
11055           describe controller
11056         * docs/manual/advanced-position.xml:
11057         * docs/manual/basics-init.xml:
11058         * docs/manual/manual.xml:
11059         * docs/manual/titlepage.xml:
11060         * docs/pwg/pwg.xml:
11061         * docs/pwg/titlepage.xml:
11062           cleanup xml (more to come)
11063         * libs/gst/controller/gstcontroller.c:
11064           fix typo
11065
11066 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11067         
11068         * win32/vs6/grammar.dsp:
11069           add autogen of gstmarshal.c,h for Release mode
11070                 
11071 2006-01-30  Wim Taymans  <wim@fluendo.com>
11072
11073         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11074         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11075         (gst_base_sink_handle_object), (gst_base_sink_event),
11076         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11077         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11078         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11079         (gst_base_sink_deactivate), (gst_base_sink_activate),
11080         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11081         (gst_base_sink_query), (gst_base_sink_change_state):
11082         Basesink cleanups, remove some old code.
11083         Handle the case where a subclass can preroll in the render
11084         method (mostly audiosinks).
11085         Handle more events.
11086         Remove some locks around variables that are now protected
11087         with the PREROLL_LOCK (clock_id, flushing, ..).
11088         Optimize position query some more, do correct locking.
11089         Remove old code to push queue in state change, this is not
11090         needed anymore since preroll blocks on all prerollable items 
11091         now.
11092         Almost implemented as described in design doc.
11093
11094 2006-01-30  Wim Taymans  <wim@fluendo.com>
11095
11096         * tests/check/gst/gstbin.c: (GST_START_TEST):
11097         Wait for refcount to settle down before checking.
11098
11099 2006-01-30  Wim Taymans  <wim@fluendo.com>
11100
11101         * docs/design/part-element-sink.txt:
11102         Pseudo code overview of desired sink behaviour regarding
11103         preroll.
11104
11105 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11106         * win32/vs6/grammar.dsp:
11107           fix some bugs in Release mode for autogenerated files
11108                 
11109 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11110         * win32/common/libgstbase.def:
11111         * win32/common/libgstreamer.def:
11112           export some new symbols: gst_base_src_set_format,
11113           gst_iterator_next, gst_structure_set_valist
11114
11115 2006-01-29  Julien MOUTTE  <julien@moutte.net>
11116
11117         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11118         Set pad functions unconditionally. Fixes #329105.
11119
11120 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11121         * win32/vs8:
11122           add vs8 project files created by Sergey Scobich
11123
11124 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
11125
11126         * gst/gstutils.c: (gst_element_unlink_pads):
11127         Don't leak pad references.
11128
11129         * tests/check/elements/fakesink.c: (GST_START_TEST):
11130         * tests/check/generic/sinks.c: (GST_START_TEST):
11131         * tests/check/generic/states.c: (GST_START_TEST):
11132         * tests/check/gst/gstbin.c: (GST_START_TEST):
11133         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11134         * tests/check/gst/gstelement.c: (GST_START_TEST):
11135         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11136         * tests/check/gst/gstiterator.c: (GST_START_TEST):
11137         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11138         Fix a bunch of leaks. Make generic/sinks.c
11139         use a bit less cpu by slowing the buffer rate
11140         between fakesrc and fakesink.
11141         
11142 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
11143         * gst/gstcaps.c:
11144         * gst/gstelement.c: (gst_element_send_event):
11145         * gst/gstevent.c:
11146         * gst/gstinfo.c:
11147         * gst/gstiterator.c:
11148         * gst/gstiterator.h:
11149         * gst/gstpad.c: (gst_pad_send_event):
11150         * gst/gststructure.c:
11151         * gst/gsturi.c:
11152         * gst/gstutils.c:
11153         * gst/gstvalue.c:
11154         * libs/gst/base/gstadapter.c:
11155           doc fixes, to link to function, just write gst_cool_function(), don't
11156           prefix with '#'
11157
11158 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11159
11160         * plugins/elements/gsttee.c: (gst_tee_do_push),
11161         (gst_tee_handle_buffer):
11162         Always prefer an actual return value from a src
11163         pad in place of NOT_LINKED. This means we return
11164         WRONG_STATE when all src pads are WRONG_STATE
11165         instead of NOT_LINKED.
11166
11167         Lock when replacing the last message to prevent
11168         racing with the get_property method.
11169
11170         Add debug output
11171
11172 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11173
11174         * tests/check/Makefile.am:
11175         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11176         (main):
11177         Add a very simple check that should have caught the memleak I fixed
11178         last night (if not for the slice allocator hiding it)
11179
11180 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11181
11182         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11183         (gst_bin_remove_func), (gst_bin_handle_message_func),
11184         (bin_query_duration_fold), (bin_query_generic_fold):
11185         Clean up references to the clock provider when disposed or when
11186         handling a clock-lost message from it.
11187
11188         Unref sinks when performing a query via gst_iterator_fold, as the
11189         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11190
11191         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11192         (gst_clock_set_master):
11193         Drop our reference to the master clock, if any, when we are disposed.
11194
11195         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11196         Chain up in dispose. 
11197
11198 2006-01-26  Wim Taymans  <wim@fluendo.com>
11199
11200         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11201         Add some debugging.
11202
11203 2006-01-26  Julien MOUTTE  <julien@moutte.net>
11204
11205         * plugins/elements/gsttee.c: (gst_tee_do_push),
11206         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11207         handles pad being NOT_LINKED or in WRONG_STATE.
11208
11209 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11210
11211         * win32/MANIFEST:
11212           more updating
11213
11214 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11215
11216         * win32/MANIFEST:
11217           remove obsolete entry
11218
11219 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11220
11221         * docs/gst/gstreamer-sections.txt:
11222         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11223         (gst_bin_iterate_sources), (gst_bin_send_event):
11224         * gst/gstbin.h:
11225         * gst/gstelement.c: (gst_element_send_event):
11226         * gst/gstevent.c:
11227         * gst/gstpad.c: (gst_pad_send_event):
11228           added code for downstream events, reviewed docs in gstevent.c
11229
11230 2006-01-25  Julien MOUTTE  <julien@moutte.net>
11231
11232         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11233         We only query position using the clock in the playing state.
11234         Query peer in the other cases.
11235         * win32/common/config.h: Updates.
11236
11237 2006-01-24  Wim Taymans  <wim@fluendo.com>
11238
11239         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11240         A clock entry that is scheduled for the exact time of the
11241         clock is still in time.
11242
11243         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11244         (gst_base_sink_do_sync):
11245         Add some more debug info.
11246
11247 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
11248
11249         * win32/vs7:
11250           Add new vs7 project files and solution.
11251
11252 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
11253
11254         * win32/vs7:
11255           all files removed as they were out-dated.
11256
11257 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11258
11259         * docs/random/release:
11260           update notes
11261         * gst/gstbin.c: (gst_bin_init):
11262         * gst/gstbus.c: (gst_bus_new):
11263         * gst/gstbus.h:
11264         * gst/gstpipeline.c: (gst_pipeline_init):
11265           use gst_bus_new(), improve logging, fix docs
11266         * win32/common/config.h:
11267           update for cvs build
11268
11269 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11270
11271         * autogen.sh:
11272           up required version of automake to 1.7
11273
11274 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
11275
11276         * win32/common/libgstreamer.def:
11277           export gst_buffer_is_metadata_writable
11278
11279 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
11280
11281         * docs/gst/gstreamer-sections.txt:
11282         * gst/gstevent.h:
11283           Add gst_event_replace() (#327001)
11284
11285 2006-01-20  Wim Taymans  <wim@fluendo.com>
11286
11287         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11288         Make it actually compile too..
11289
11290 2006-01-20  Wim Taymans  <wim@fluendo.com>
11291
11292         * gst/gstcaps.c:
11293         Clarify behaviour of _is_equal() when passing NULL parameters.
11294
11295         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11296         (gst_pad_set_caps):
11297         Cleanups. Don't unref NULL caps.
11298         When setting the same caps, protect caps of the pad with
11299         proper lock.
11300         Use full functionality of _is_equal() when comparing caps.
11301
11302 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
11303
11304         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11305         Don't loop infinitely if there are no buffers to present. Partially
11306         fixes #327197, but collectpads is just broken for reusing elements
11307         to do multiple encodes atm.
11308
11309 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
11310
11311         * tools/gst-inspect.c: (print_element_features):
11312         * tools/gst-xmlinspect.c: (main):
11313         URL_HANDLER is not a plugin feature we can search for in
11314         the registry.
11315
11316 2006-01-19  Edward Hervey  <edward@fluendo.com>
11317
11318         * gst/gstelement.c: (gst_element_pads_activate): 
11319         When activating, do src pads first, then sink pads.
11320         When de-activating, do sink pads first, then src pads.
11321
11322 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11323
11324         * docs/gst/gstreamer-sections.txt:
11325         Add gst_index_add_associationv to the docs
11326
11327 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11328
11329         * gst/gstevent.c:
11330           Fix docs typo
11331
11332         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11333         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11334           Do some refactoring. Doesn't actually change functionality,
11335           but makes landing the DRAIN event easier later.
11336
11337 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
11338
11339         * docs/pwg/advanced-scheduling.xml:
11340           Update from 0.9.x to 0.10 API and make example a bit
11341           clearer.
11342
11343 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11344
11345         * docs/gst/gstreamer-sections.txt:
11346         Add gst_buffer_(is|make)_metadata_writable methods.
11347
11348 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11349
11350         * docs/design/part-sparsestreams.txt:
11351         Update sparse streams doc, hopefully for greater clarity
11352
11353 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
11354
11355         * docs/design/part-events.txt:
11356         Remove mention of FILLER events.
11357         Add DRAIN event.
11358
11359         * docs/design/part-sparsestreams.txt:
11360         Write some things about using NEWSEGMENT to keep sparse streams
11361         flowing.
11362
11363 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
11364
11365         * gst/gstbin.c: (gst_bin_dispose):
11366           Guard gst_object_unref call against a NULL object (dispose
11367           can theoretically be called multiple times).
11368           
11369 2006-01-18  Wim Taymans  <wim@fluendo.com>
11370
11371         * gst/gstbin.c: (gst_bin_element_set_state):
11372         * gst/gstclock.c: (gst_clock_id_wait):
11373         Added some more debug info.
11374
11375         * libs/gst/base/gstadapter.c:
11376         Added more docs.
11377
11378         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11379         (gst_base_sink_do_sync), (gst_base_sink_chain):
11380         Added some comments.
11381
11382 2006-01-18  Wim Taymans  <wim@fluendo.com>
11383
11384         * tests/check/Makefile.am:
11385         * tests/check/elements/fakesink.c: (chain_async_buffer),
11386         (chain_async), (chain_async_return), (GST_START_TEST),
11387         (fakesink_suite), (main):
11388         Added fakesink test that checks prerolling and clipping
11389         behaviour.
11390
11391         * tests/check/gst/gstutils.c: (GST_START_TEST):
11392         Make check run faster so that buildbots don't timeout.
11393
11394 2006-01-18  Wim Taymans  <wim@fluendo.com>
11395
11396         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11397         (gst_base_sink_do_sync):
11398         Some cleanups.
11399         When the sink finishes blocking on the preroll buffer, it can
11400         immediatly render it instead of rendering when the next buffer
11401         arrives.
11402
11403 2006-01-18  Wim Taymans  <wim@fluendo.com>
11404
11405         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
11406         (gst_base_sink_get_property), (gst_base_sink_do_sync),
11407         (gst_base_sink_chain):
11408         Small cleanups.
11409         GST_ELEMENT_CLOCK and sync are protected with LOCK.
11410         Don't store _last_stop if the buffer is dropped.
11411
11412 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
11413
11414         * plugins/elements/gsttypefindelement.c:
11415         (gst_type_find_element_class_init):
11416           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
11417           object method handler that sets the caps on the pad and we want
11418           that to happen before we emit the signal (fixes e.g. feeding a
11419           plain text file to decodebin).
11420
11421 2006-01-18  Christian Schaller  <Christian@fluendo.com>
11422
11423         * gst/gstplugin.c: Add MPL and Proprietary as license options
11424
11425 2006-01-18  Andy Wingo  <wingo@pobox.com>
11426
11427         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
11428         symbol was exported before, it appears this was just an oversight.
11429         Fixes #168703.
11430         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
11431
11432         * gst/gstindex.c (gst_index_add_associationv): Changed int in
11433         prototype to gint. OK since this prototype was not in the header.
11434
11435 2006-01-17  Andy Wingo  <wingo@pobox.com>
11436
11437         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
11438         registry while we remove plugins.
11439
11440         * tools/gst-inspect.c (print_element_info): Don't unref the
11441         factory arg, that should be the responsibility of whatever code
11442         received the ref. Fixes a double-free when called from
11443         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
11444         (main): Unref the factory if we have one.
11445         (print_element_list): No change -- relies on the
11446         plugin_feature_list_free to free the list of features.
11447
11448 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
11449
11450         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11451         (gst_buffer_make_metadata_writable):
11452         * gst/gstbuffer.h:
11453         * libs/gst/base/gstbasetransform.c:
11454         (gst_base_transform_prepare_output_buf):
11455         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11456         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11457           Replace gst_buffer_(make|is)_metadata_writable patch now
11458           that the release is out.
11459
11460 2006-01-17  Andy Wingo  <wingo@pobox.com>
11461
11462         * gst/gstregistry.c: Reflow design comment. Update so as to speak
11463         in the present tense without reference to versions.
11464
11465         * gst/gstregistry.c (gst_registry_add_plugin)
11466         (gst_registry_remove_plugin, gst_registry_remove_feature)
11467         (gst_registry_find_feature, gst_registry_get_feature_list)
11468         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
11469         (gst_registry_lookup, gst_registry_scan_path)
11470         (_gst_registry_remove_cache_plugins)
11471         (gst_registry_get_feature_list_by_plugin): Add argument
11472         validation.
11473
11474 === release 0.10.2 ===
11475
11476 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
11477
11478         * configure.ac:
11479           releasing 0.10.2, "If man is five"
11480
11481 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
11482
11483         * gst/gstbuffer.c:
11484         * gst/gstbuffer.h:
11485         * libs/gst/base/gstbasetransform.c:
11486         (gst_base_transform_prepare_output_buf):
11487         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11488         * tests/check/gst/gstbuffer.c: (gst_test_suite):
11489           Back out patch until after the release.
11490
11491 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
11492
11493         * gst/gstminiobject.c:
11494           Spelling fix in docs.
11495         * ChangeLog - remove conflict indicator
11496
11497 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
11498
11499         Reviewed By: Andy Wingo
11500
11501         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11502         (gst_buffer_make_metadata_writable):
11503         * gst/gstbuffer.h:
11504           Add gst_buffer_(is|make)_metadata_writable as analogues of
11505           gst_buffer_(is|make)_writable.
11506
11507         * libs/gst/base/gstbasetransform.c:
11508         (gst_base_transform_prepare_output_buf):
11509         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11510           Use name gst_buffer_(is|make)_metadata_writable functions.
11511
11512         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11513           Test gst_buffer_(is|make)_metadata_writable
11514         
11515           (Closes: #324162)
11516
11517 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11518
11519         * docs/manual/Makefile.am:
11520           don't do parallel make
11521         * configure.ac:
11522           AC_SUBST HOST_CPU
11523         * win32/common/config.h.in:
11524           add generations for HOST_CPU and GST_MAJORMINOR
11525         * win32/common/config.h:
11526           commit generated result
11527
11528 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
11529
11530         * docs/manual/appendix-integration.xml:
11531           Update GNOME integration section to use gst_init_get_option_group()
11532           instead of the old popt stuff (#322911). Also, GNOME applications
11533           should  now use gconf*sink and gconf*src instead of the old gconf
11534           helper lib we had.
11535
11536 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
11537
11538
11539         * docs/gst/gstreamer-docs.sgml:
11540         * docs/gst/gstreamer-sections.txt:
11541         * docs/libs/gstreamer-libs-sections.txt:
11542           add new API entries to the docs
11543         * libs/gst/controller/Makefile.am:
11544         * libs/gst/controller/gstcontroller.c:
11545         * libs/gst/controller/gstcontroller.h:
11546         * libs/gst/controller/gstcontrollerprivate.h:
11547         * libs/gst/controller/gsthelper.c:
11548         * libs/gst/controller/gstinterpolation.c:
11549           move private structs to private header
11550         * po/README:
11551           gstreamer-0.7 -> gstreamer-0.10
11552         * tests/check/libs/struct_i386.h:
11553           remove private structs
11554
11555 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11556
11557         * plugins/indexers/Makefile.am:
11558           Fixes as part of #317048
11559
11560 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11561
11562         * plugins/indexers/Makefile.am:
11563           fix #316086 - compilation when mmap is missing
11564
11565 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
11566
11567         * libs/gst/base/gstbasesink.c:
11568           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
11569           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11570         * win32/common/config.h:
11571           added some defines GST_MAJORMINOR and HOST_CPU
11572         * win32/common/libgstbase.def:
11573         * win32/common/libgstreamer.def:
11574           added some exported functions.
11575
11576 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
11577
11578         * libs/gst/controller/gstcontroller.c:
11579         (gst_controlled_property_set_interpolation_mode),
11580         (gst_controlled_property_new):
11581         * libs/gst/controller/gstcontroller.h:
11582         * libs/gst/controller/gstinterpolation.c:
11583         (interpolate_none_get_string_value_array):
11584           make G_TYPE_STRING controlable
11585
11586 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
11587
11588         * tools/README:
11589         * tools/gst-feedback.1.in:
11590         * tools/gst-inspect.1.in:
11591         * tools/gst-launch.1.in:
11592         * tools/gst-md5sum.1.in:
11593         * tools/gst-typefind.1.in:
11594         * tools/gst-xmlinspect.1.in:
11595         * tools/gst-xmllaunch.1.in:
11596           cleanup man-pages, remove reference to gst-register, document env-vars
11597
11598 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
11599
11600         * gst/gstbuffer.c: (gst_buffer_span):
11601           gst_buffer_span should copy the timestamp of the first buffer
11602           if they were both originally overlapping subbuffers of the 
11603           same parent, using the same logic as the 'slow copy' case.
11604
11605 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
11606
11607         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11608           Need to awaken ALL the pads when we pop a buffer, otherwise
11609           collectpads only works when there is 2 input streams.
11610
11611 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
11612
11613         * docs/random/ensonic/media-device-daemon.txt:
11614           more ideas (dbus)
11615         * gst/gstbuffer.c:
11616           fix doc example, add clarification
11617         * tools/gst-launch.1.in:
11618           add initial info about GST_PLUGIN_PATH, needs more work
11619
11620 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11621
11622         * docs/manual/basics-bins.xml:
11623         * docs/manual/basics-elements.xml:
11624         * docs/manual/intro-basics.xml:
11625           Some more minor docs additions and updates.
11626
11627 2006-01-11  Wim Taymans  <wim@fluendo.com>
11628
11629         * docs/manual/basics-bins.xml:
11630         * docs/manual/basics-elements.xml:
11631         Some small fixes as pointed out by Ser-ver on IRC.
11632
11633 2006-01-10  Edward Hervey  <edward@fluendo.com>
11634
11635         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11636         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11637         the single-segment mode.
11638
11639 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
11640
11641         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11642
11643         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11644         (gst_base_src_perform_seek), (gst_base_src_send_event),
11645         (gst_base_src_set_property), (gst_base_src_get_property),
11646         (gst_base_src_loop), (gst_base_src_start),
11647         (gst_base_src_activate_push):
11648         * libs/gst/base/gstbasesrc.h:
11649           Name (private) union; makes Sun's Forte compiler happy (#324900).
11650
11651 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
11652
11653         * README:
11654           gst-register is gone.
11655
11656 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11657
11658         * gst/gstvalue.c: (_gst_value_initialize):
11659           make the G_TYPE_DATE instantiation work if debug is disabled
11660
11661 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
11662
11663         * gst/gstmessage.c: (gst_message_parse_tag),
11664         (gst_message_parse_error), (gst_message_parse_warning):
11665           Don't crash when return location for error/warning debug
11666           string is NULL; add fact that return locations can be
11667           NULL to docs where appropriate.
11668
11669 2006-01-05  Wim Taymans  <wim@fluendo.com>
11670
11671         * gst/gstplugin.c: (gst_plugin_load_file):
11672         Replace strdup by g_strdup.
11673
11674 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11675
11676         * docs/pwg/advanced-types.xml:
11677           fix doc borkage
11678
11679 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11680
11681         submitted by: Abel Cheung
11682
11683         * po/LINGUAS:
11684         * po/zh_TW.po:
11685           Added Chinese (traditional) translation
11686
11687 2006-01-04  Wim Taymans  <wim@fluendo.com>
11688
11689         * docs/manual/basics-pads.xml:
11690         * docs/plugins/Makefile.am:
11691         * docs/plugins/gstreamer-plugins-docs.sgml:
11692         * docs/plugins/gstreamer-plugins-sections.txt:
11693         * docs/pwg/advanced-clock.xml:
11694         * docs/pwg/advanced-scheduling.xml:
11695         * docs/pwg/advanced-types.xml:
11696         * plugins/elements/gstfdsink.c:
11697         * plugins/elements/gstfdsrc.c:
11698         * plugins/elements/gstfdsrc.h:
11699         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11700         * plugins/elements/gstidentity.h:
11701         * plugins/elements/gstqueue.h:
11702         * plugins/elements/gsttee.c:
11703         * plugins/elements/gsttee.h:
11704         * plugins/elements/gsttypefindelement.c:
11705         (gst_type_find_element_class_init):
11706         * plugins/elements/gsttypefindelement.h:
11707         Small updates to various docs.
11708         Added core plugins to docs.
11709
11710 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11711
11712         * common/gst.supp:
11713           add a suppression for liboil's uninitialized variable
11714
11715 2006-01-02  James Livingston  <jrl at ids dot org dot au>
11716
11717         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11718
11719         * gst/gstutils.h:
11720           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
11721           macro, so that gcc doesn't complain if the -Wmissing-prototypes
11722           compiler switch is being used (#325429).
11723
11724 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
11725
11726         * gst/gstbin.c: (gst_bin_query):
11727           Disable duration query caching in bins until it gets
11728           fixed (see #324807).
11729
11730 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
11731
11732         * tools/gst-inspect.c: (print_element_properties_info):
11733           Handle properties of POINTER and BOXED type.
11734
11735 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
11736
11737         * gst/gst.c: (init_post):
11738           Init tags stuff and some other things before loading
11739           any static plugins (there may be other static plugins
11740           than just the GStreamer ones, and they may want to
11741           register their own tags or formats or whatever, and
11742           preferably without segfaulting).
11743
11744         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
11745           Print at least a warning in the debug logs if we drop a
11746           query just because we don't know how to adjust the value
11747           in the particular format.
11748
11749 2005-12-24  David Schleef  <ds@schleef.org>
11750
11751         * tools/gstreamer-completion:
11752           Replacement for gst-complete written in sh and sed.  Only
11753           completes names of features, but that's 90% of what I want
11754           it for.  Properties are not available in registry.xml.  (Maybe
11755           they should be...)
11756
11757 === release 0.10.1 ===
11758
11759 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
11760
11761         * configure.ac:
11762           releasing 0.10.1, "Nollaig chridheil"
11763
11764 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
11765
11766         * docs/faq/cvs.xml:
11767           Add missing quote, should be make ERROR_CFLAGS="".
11768
11769 2005-12-20  Wim Taymans  <wim@fluendo.com>
11770
11771         * docs/design/part-trickmodes.txt:
11772         More documentation on trickmodes.
11773
11774 2005-12-20  Edward Hervey  <edward@fluendo.com>
11775
11776         * gst/gstcaps.c: (gst_static_caps_get_type):
11777         * gst/gstcaps.h:
11778           API addition: GST_TYPE_STATIC_CAPS
11779         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
11780         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
11781         * gst/gstpadtemplate.h:
11782           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
11783         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
11784         bindings.
11785
11786 2005-12-18  Wim Taymans  <wim@fluendo.com>
11787
11788         * libs/gst/base/gstadapter.c:
11789         * libs/gst/base/gstadapter.h:
11790         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11791         (gst_base_sink_get_position):
11792         * libs/gst/base/gstbasesink.h:
11793         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11794         (gst_base_src_default_query), (gst_base_src_default_do_seek),
11795         (gst_base_src_do_seek), (gst_base_src_perform_seek),
11796         (gst_base_src_send_event), (gst_base_src_update_length),
11797         (gst_base_src_get_range), (gst_base_src_loop),
11798         (gst_base_src_start):
11799         * libs/gst/base/gstbasesrc.h:
11800         * libs/gst/base/gstbasetransform.h:
11801         * libs/gst/base/gstcollectpads.h:
11802         * libs/gst/base/gstpushsrc.c:
11803         * libs/gst/base/gstpushsrc.h:
11804         * libs/gst/dataprotocol/dataprotocol.c:
11805         * libs/gst/dataprotocol/dataprotocol.h:
11806         * libs/gst/net/gstnetclientclock.h:
11807         * libs/gst/net/gstnettimeprovider.h:
11808         Documentation updates.
11809
11810 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
11811
11812         * docs/manual/basics-helloworld.xml:
11813           Remove superfluous closing bracket in helloworld example.
11814
11815 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
11816
11817         * tools/gst-launch.1.in:
11818           Update gst-launch man page; add a section with useful
11819           environment variables. Fixes #323882.
11820
11821 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
11822
11823         * gst/gst.c:
11824         * gst/gst_private.h:
11825           change some char* into char[]
11826
11827 2005-12-16  Wim Taymans  <wim@fluendo.com>
11828
11829         * gst/gstregistryxml.c: (load_feature):
11830         Cleanups.
11831         Don't use g_object_unref on GstObjects so that we avoid
11832         leaks on unsafe glibs.
11833
11834 2005-12-16  Wim Taymans  <wim@fluendo.com>
11835
11836         * gst/gstbin.c: (gst_bin_recalc_state):
11837         Small doc updates.
11838
11839 2005-12-16  Wim Taymans  <wim@fluendo.com>
11840
11841         * common/check.mak:
11842         Added make forever target for check.
11843
11844 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11845
11846         * gst/gst.c: (init_post):
11847           make the registry cache file HOST_CPU-dependent
11848
11849 2005-12-16  Andy Wingo  <wingo@pobox.com>
11850
11851         * plugins/elements/gstbufferstore.c
11852         (gst_buffer_store_cleared_func): Pay attention to g_list_append
11853         return value.
11854
11855         * tests/check/gst/gstobject.c
11856         (test_fake_object_name_threaded_unique): Pay attention to
11857         g_list_sort return value.
11858
11859 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11860
11861         * tools/gst-feedback-m.m:
11862           Update for 0.9/0.10 (fixes #323870).
11863
11864 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
11865
11866         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11867           Fix lcopy for mini objects, the mini object needs to be ref'ed.
11868           
11869         * tests/check/gst/gstminiobject.c: (my_foo_init),
11870         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11871         (test_value_collection), (gst_mini_object_suite):
11872           Add test to ensure refcounts end up as expected when passing
11873           GstMiniObjects through g_object_get() and g_object_set().
11874
11875 2005-12-14  Julien MOUTTE  <julien@moutte.net>
11876
11877         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11878         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11879         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11880         of collectpads. This version removes a lot of races without
11881         touching API/ABI. Yay !
11882
11883 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
11884
11885         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11886           Don't allow activation of a srcpad in pull_range if it has no
11887           getrange function.
11888           Change some debug statements to be a little clearer
11889
11890         * plugins/elements/gsttypefindelement.c:
11891         (gst_type_find_handle_src_query):
11892           Check that we have a peer before executing queries thereupon.
11893
11894         * tests/examples/metadata/read-metadata.c: (message_loop):
11895           Use gst_bus_pop instead of gst_bus_poll when we just want it to
11896           immediately return us any available message with 0 timeout.
11897
11898 2005-12-12  Michael Smith  <msmith@fluendo.com>
11899
11900         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11901           Don't unref factories after calling them.
11902         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11903         * plugins/elements/gsttypefindelement.c:
11904         (gst_type_find_element_chain):
11905           Free lists of factories after using them. Fixing typefinding memory
11906           leaks.
11907
11908 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11909
11910         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11911         (gst_plugin_feature_load):
11912           more meaningful debug output
11913         * configure.ac:
11914         * tests/Makefile.am:
11915         * tests/old/examples/Makefile.am:
11916           make make distcheck happy again
11917
11918 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11919
11920         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11921           Catch the special case where we are operating chain-based,
11922           but the downstream peer pad has no chain function. Emit a
11923           custom error message in this case instead of letting the
11924           core generate one implying that this is some sort of core
11925           bug. It's not, it just means that whatever got plugged
11926           into the pipeline downstream when we announced the type
11927           can only operate pull-based, while our source can only
11928           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11929           Error string has not been marked for translation yet, as
11930           it probably needs some more work first.
11931
11932         (gst_type_find_element_get_best_possibility):
11933           Add helper function to find the best of all available
11934           found possibilities that qualify given the min. threshold.
11935
11936         (gst_type_find_element_handle_event):
11937           Fix the case where we get an EOS while still in TYPEFIND
11938           mode (we want to chose the best of all possible types,
11939           not just the first type that happens to be in our unsorted
11940           list of possible types).
11941
11942         (gst_type_find_element_chain):
11943           Make sure we return GST_FLOW_ERROR when we errored out
11944           in stop_typefinding(); also, don't just find the best of
11945           all found type entries and then use the last examined
11946           type entry, but actually use the best entry.
11947
11948 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11949
11950         * tests/examples/typefind/typefind.c: (type_found):
11951         * tests/examples/xml/runxml.c: (xml_loaded):
11952           More gcc4 fixes and a mem leak fix.
11953
11954 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11955
11956         * tests/examples/xml/createxml.c: (object_saved):
11957           gcc 4 fixes
11958
11959 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11960
11961         * tests/Makefile.am:
11962           enable the examples even more
11963
11964 2005-12-12  Andy Wingo  <wingo@pobox.com>
11965
11966         * libs/gst/net/gstnettimeprovider.c
11967         (gst_net_time_provider_class_init, gst_net_time_provider_init)
11968         (gst_net_time_provider_set_property)
11969         (gst_net_time_provider_get_property):
11970         API addition: Export "active" as a GObject property.
11971         (gst_net_time_provider_thread): Only respond to time queries if
11972         the time provider is active.
11973
11974         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11975         NetTimeProvider, preserving binary compat.
11976
11977 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11978
11979         * tests/examples/controller/audio-example.c: (main):
11980         * tests/examples/launch/Makefile.am:
11981           convert comments again
11982
11983 2005-12-12  Wim Taymans  <wim@fluendo.com>
11984
11985         * libs/gst/base/gstpushsrc.c:
11986         Fix typo.
11987
11988 2005-12-12  Wim Taymans  <wim@fluendo.com>
11989
11990         * docs/libs/gstreamer-libs-sections.txt:
11991         Added new symbol to docs.
11992
11993         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11994         (gst_base_src_init), (gst_base_src_set_format),
11995         (gst_base_src_default_query), (gst_base_src_query),
11996         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11997         (gst_base_src_perform_seek), (gst_base_src_send_event),
11998         (gst_base_src_default_event), (gst_base_src_event_handler),
11999         (gst_base_src_set_property), (gst_base_src_get_property),
12000         (gst_base_src_wait), (gst_base_src_do_sync),
12001         (gst_base_src_update_length), (gst_base_src_get_range),
12002         (gst_base_src_check_get_range), (gst_base_src_loop),
12003         (gst_base_src_default_negotiate), (gst_base_src_start),
12004         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12005         (gst_base_src_change_state):
12006         * libs/gst/base/gstbasesrc.h:
12007         Implement seeking to other formats than _BYTES.
12008         Implement more seeking methods correctly.
12009         Doc updates.
12010         Added query vmethod.
12011         Added do_seek vmethod to make life easier for subclasses
12012         when seeking.
12013         API addition: gst_base_src_set_format()
12014
12015 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12016
12017         * tests/examples/Makefile.am:
12018           added that too
12019
12020 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12021
12022         * configure.ac:
12023         * docs/random/ensonic/media-device-daemon.txt:
12024         * tests/examples/controller/.cvsignore:
12025         * tests/examples/controller/Makefile.am:
12026         * tests/examples/controller/audio-example.c: (main):
12027         * tests/examples/helloworld/.cvsignore:
12028         * tests/examples/helloworld/Makefile.am:
12029         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12030         * tests/examples/launch/.cvsignore:
12031         * tests/examples/launch/Makefile.am:
12032         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12033         * tests/examples/metadata/.cvsignore:
12034         * tests/examples/metadata/Makefile.am:
12035         * tests/examples/metadata/read-metadata.c: (message_loop),
12036         (make_pipeline), (print_tag), (main):
12037         * tests/examples/queue/.cvsignore:
12038         * tests/examples/queue/Makefile.am:
12039         * tests/examples/queue/queue.c: (event_loop), (main):
12040         * tests/examples/typefind/.cvsignore:
12041         * tests/examples/typefind/Makefile.am:
12042         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12043         (main):
12044         * tests/examples/xml/.cvsignore:
12045         * tests/examples/xml/Makefile.am:
12046         * tests/examples/xml/createxml.c: (object_saved), (main):
12047         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12048         * tests/old/examples/Makefile.am:
12049         * tests/old/examples/TODO:
12050         * tests/old/examples/controller/.cvsignore:
12051         * tests/old/examples/controller/Makefile.am:
12052         * tests/old/examples/controller/audio-example.c:
12053         * tests/old/examples/helloworld/.cvsignore:
12054         * tests/old/examples/helloworld/Makefile.am:
12055         * tests/old/examples/helloworld/helloworld.c:
12056         * tests/old/examples/launch/.cvsignore:
12057         * tests/old/examples/launch/Makefile.am:
12058         * tests/old/examples/launch/mp3parselaunch.c:
12059         * tests/old/examples/launch/mp3play:
12060         * tests/old/examples/manual/Makefile.am:
12061         * tests/old/examples/metadata/Makefile.am:
12062         * tests/old/examples/metadata/read-metadata.c:
12063         * tests/old/examples/queue/.cvsignore:
12064         * tests/old/examples/queue/Makefile.am:
12065         * tests/old/examples/queue/queue.c:
12066         * tests/old/examples/typefind/.cvsignore:
12067         * tests/old/examples/typefind/Makefile.am:
12068         * tests/old/examples/typefind/typefind.c:
12069         * tests/old/examples/xml/.cvsignore:
12070         * tests/old/examples/xml/Makefile.am:
12071         * tests/old/examples/xml/createxml.c:
12072         * tests/old/examples/xml/runxml.c:
12073           applied some simple fixing to some examples
12074           re-enabled the working examples
12075
12076 2005-12-12  Wim Taymans  <wim@fluendo.com>
12077
12078         * gst/gstsegment.c: (gst_segment_init),
12079         (gst_segment_set_last_stop), (gst_segment_set_seek),
12080         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12081         (gst_segment_to_running_time):
12082         Added more documentation.
12083         Make sure the last_pos value is updated properly.
12084         Make sure to_stream_time and to_running_time don't
12085         operate on wrong values.
12086
12087         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12088         Update check.
12089
12090 2005-12-12  Michael Smith  <msmith@fluendo.com>
12091
12092         * plugins/elements/gsttypefindelement.c: (free_entry),
12093         (gst_type_find_element_chain):
12094           Now that we're not leaking factories, make sure we keep references
12095           to them while we need them.
12096
12097 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12098
12099         * tests/check/gst/struct_i386.h:
12100           ifdef out the XML structs
12101
12102 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12103
12104         * gst/gstvalue.c: (gst_value_transform_double_fraction):
12105           floor is not needed, F is always positive; this obviates the
12106           need for adding -lm when building without libxml
12107
12108 2005-12-12  Wim Taymans  <wim@fluendo.com>
12109
12110         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12111         Take current playback rate into account when reporting
12112         the position.
12113
12114 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12115
12116         * docs/manual/mime-world.fig:
12117           Let's try this again, this time with a file that is
12118           actually in XFig format.
12119
12120 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12121
12122         * docs/manual/mime-world.fig:
12123           Add audioconvert element to diagram so that it
12124           matches the text and the code (fixes #319526).
12125
12126 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12127
12128         * docs/pwg/building-chainfn.xml:
12129         * docs/pwg/building-pads.xml:
12130         * docs/pwg/building-state.xml:
12131         * docs/pwg/other-source.xml:
12132           Update state change stuff for 0.10 (fixes #322969).
12133
12134 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12135
12136         * docs/manual/advanced-dataaccess.xml:
12137         * docs/manual/appendix-checklist.xml:
12138         * docs/manual/appendix-programs.xml:
12139         * docs/manual/basics-pads.xml:
12140         * docs/manual/highlevel-components.xml:
12141         * docs/manual/manual.xml:
12142           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12143           add converters in front of pipelines; remove curly
12144           brackets for threads stuff, they no longer exist; use
12145           GST_TYPE_FRACTION for framerates; update some pieces of
12146           code to 0.10, but there's plenty more to do.
12147
12148         * docs/manual/appendix-porting.xml:
12149           Expand on asynchroneous state changes; s/0.9/0.10/;
12150           mention disappearance of gst_init_get_popt_table()
12151           (fixes #322916).
12152
12153 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12154
12155         * docs/faq/using.xml:
12156           Spider no longer exists, and neither does gst-launch-ext.
12157           Update examples to use decodebin and playbin and put
12158           converters in front of sinks (fixes #323726).
12159
12160 2005-12-09  Michael Smith  <msmith@fluendo.com>
12161
12162         * plugins/elements/gsttypefindelement.c: (find_peek),
12163         (gst_type_find_element_chain):
12164           Fix leaking element factories in typefinding.
12165           Fix problem where we forgot about a probable type on non-seekable
12166           files, and thus later mis-typefound it.
12167
12168 2005-12-09  Michael Smith  <msmith@fluendo.com>
12169
12170         * common/m4/gst-makecontext.m4:
12171         * common/m4/gst-mcsc.m4:
12172         * configure.ac:
12173         * win32/common/config.h:
12174         * win32/common/config.h.in:
12175           Remove makecontext stuff; not used in 0.10 and causes problems on
12176           HPUX according to bug #322441
12177
12178 2005-12-07  Wim Taymans  <wim@fluendo.com>
12179
12180         * tests/check/Makefile.am:
12181         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12182         (main):
12183         * tests/check/libs/struct_i386.h:
12184         Added ABI check for libs
12185
12186 2005-12-07  Wim Taymans  <wim@fluendo.com>
12187
12188         * tests/check/Makefile.am:
12189         And add the struct_i386.h to dist.
12190
12191 2005-12-07  Wim Taymans  <wim@fluendo.com>
12192
12193         * tests/check/Makefile.am:
12194         * tests/check/gst/.cvsignore:
12195         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12196         (main):
12197         * tests/check/gst/struct_i386.h:
12198         Added check for ABI compatibility.
12199
12200 2005-12-07  Wim Taymans  <wim@fluendo.com>
12201
12202         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12203         (gst_fake_src_get_times), (gst_fake_src_create):
12204         Fix broken sync option, fixes #323259
12205
12206 2005-12-07  Wim Taymans  <wim@fluendo.com>
12207
12208         * gst/gstbuffer.c:
12209         Small docs update.
12210
12211         * gst/gstcaps.c: (gst_caps_is_equal):
12212         Don't assert on NULL <--> X. Fixes #323260
12213
12214         * gst/gstminiobject.c: (gst_mini_object_replace):
12215         If we're doing atomic operations, we might just as well use
12216         the proper way to get an atomic pointer.
12217
12218         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12219         Clean up debugging.
12220
12221 2005-12-07  Michael Smith  <msmith@fluendo.com>
12222
12223         * gst/parse/grammar.y:
12224           Remove handling of { } for threads.
12225
12226 2005-12-06  David Schleef  <ds@schleef.org>
12227
12228         * libs/gst/base/gstbasetransform.c: speling fix.
12229
12230 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12231
12232         * docs/libs/tmpl/gstdataprotocol.sgml:
12233         * docs/random/omega/testing/gstobject.c:
12234         * gst/gst.c:
12235         * gst/gstclock.c:
12236         * gst/gstelement.c:
12237         * gst/gstelementfactory.c:
12238         * gst/gsterror.c:
12239         * gst/gstevent.c:
12240         * gst/gstghostpad.c:
12241         * gst/gstinfo.c:
12242         * gst/gstpadtemplate.c:
12243         * gst/gstregistryxml.c:
12244         * gst/gsttaglist.c:
12245         * gst/gsttagsetter.c:
12246         * gst/gsttypefind.c:
12247         * gst/gstvalue.c:
12248         * libs/gst/base/gstbasesrc.c:
12249         * libs/gst/net/gstnetclientclock.c:
12250         * libs/gst/net/gstnettimeprovider.c:
12251         * plugins/elements/gstfakesrc.c:
12252         * plugins/elements/gstfdsrc.c:
12253         * plugins/elements/gstfilesrc.c:
12254         * plugins/elements/gstidentity.c:
12255         * plugins/elements/gstqueue.c:
12256         * plugins/elements/gsttypefindelement.c:
12257         * plugins/indexers/gstfileindex.c:
12258         * plugins/indexers/gstmemindex.c:
12259         * tests/check/gst/gsttag.c:
12260         * tests/old/examples/cutter/cutter.c:
12261         * tests/old/examples/mixer/mixer.c:
12262         * tests/old/examples/xml/runxml.c: (main):
12263         * tests/old/testsuite/caps/normalisation.c:
12264         * tests/old/testsuite/debug/global.c:
12265         * tests/old/testsuite/parse/parse1.c:
12266         * tools/gst-xmlinspect.c:
12267         * win32/common/dirent.c:
12268           expand tabs
12269
12270 === release 0.10.0 ===
12271
12272 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12273
12274         * configure.ac:
12275           releasing 0.10.0, "Maroilles"
12276
12277 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12278
12279         submitted by: Funda Wang <fundawang@linux.net.cn>
12280
12281         * po/LINGUAS:
12282         * po/zh_CN.po:
12283           added Chinese (Traditional) translation
12284
12285 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12286
12287         * docs/gst/gstreamer-sections.txt:
12288         * docs/libs/tmpl/gstdataprotocol.sgml:
12289         * docs/random/thomasvs/TODO:
12290         * gst/gstutils.c:
12291         * gst/gstutils.h:
12292           fix docs
12293
12294 2005-12-05  Andy Wingo  <wingo@pobox.com>
12295
12296         patch by: Wim Taymans <wim@fluendo.com>
12297
12298         * libs/gst/base/gstbasetransform.c
12299         (gst_base_transform_prepare_output_buf)
12300         (gst_base_transform_buffer_alloc):
12301         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12302         alloc_buffer_and_set_caps.
12303
12304         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12305         set_caps on the source pad.
12306         (gst_pad_alloc_buffer_and_set_caps): New function, does what
12307         alloc_buffer used to do. Fixes #322874.
12308
12309         * docs/gst/gstreamer-sections.txt: 
12310         * docs/design/part-negotiation.txt: 
12311         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12312         changes.
12313
12314 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12315
12316         patch by: Sebastien Moutte
12317
12318         * win32/MANIFEST:
12319         * win32/common/config.h.in:
12320         * win32/vs6/libgstcontroller.dsp:
12321           win32 build fixes
12322
12323 2005-12-05  Wim Taymans  <wim@fluendo.com>
12324
12325         * gst/gstcaps.c: (gst_caps_is_equal):
12326         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12327         (gst_fake_src_create):
12328         Back out previous code changes, leave doc updates, file bugs 
12329         instead. 
12330
12331 2005-12-05  Wim Taymans  <wim@fluendo.com>
12332
12333         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12334         (gst_fake_src_get_times), (gst_fake_src_create):
12335         * plugins/elements/gstfakesrc.h:
12336         Fix broken sync code.
12337
12338 2005-12-05  Wim Taymans  <wim@fluendo.com>
12339
12340         * gst/gstcaps.c: (gst_caps_is_equal):
12341         Comparing NULL against !NULL yields different caps, not a
12342         failure.
12343
12344 2005-12-05  Wim Taymans  <wim@fluendo.com>
12345
12346         * gst/gstpipeline.c:
12347         Fix small typo in docs.
12348
12349 2005-12-05  Andy Wingo  <wingo@pobox.com>
12350
12351         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
12352
12353         * gst/gst.c (init_post): remove hard-coded 0.9 location for
12354         registries/plugins with a MAJORMINOR one.
12355         (plugin_desc): Rename library from gstcoreleements to
12356         staticelements. Fixes #323222.
12357
12358 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
12359
12360         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12361           Change debug category to 'collectpads' from 'collect_pads'
12362           (fixes #323250).
12363
12364 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
12365
12366         patch by: Sebastien Moutte
12367
12368         * libs/gst/controller/gstinterpolation.c:
12369           use convert function for uint64/double
12370         * win32/vs6/libgstcontroller.dsp:
12371           link to GLib
12372
12373 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
12374
12375         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12376         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12377         * gst/gstutils.h:
12378         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12379           add tests that seem to show that the guint64/gdouble conversions
12380           are correct.
12381
12382 2005-12-02  Wim Taymans  <wim@fluendo.com>
12383
12384         * gst/gstregistry.c: (gst_registry_add_path):
12385         * gst/gstregistry.h:
12386         * gst/gstregistryxml.c:
12387         Fix docs again.
12388
12389 2005-12-02  Wim Taymans  <wim@fluendo.com>
12390
12391         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12392         (gst_util_uint64_scale_int):
12393         Small cleanup.
12394
12395         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12396         Add debug log line.
12397
12398         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
12399         Add FIXME.
12400
12401 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12402
12403         * win32/MANIFEST:
12404         * win32/common/config.h:
12405         * win32/vs6/gstreamer.dsw:
12406         * win32/vs6/libgstcoreelements.dsp:
12407         * win32/vs6/libgstelements.dsp:
12408           renamed core elements plugin
12409
12410 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12411
12412         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
12413         (get_candidates):
12414           do piece-wise major/minor comparison so 0.9 < 0.10
12415           also allow .exe extensions for tools
12416
12417 2005-12-02  Michael Smith  <msmith@fluendo.com>
12418
12419         * gst/gst.c:
12420           Escape a % to make gtkdoc happier; bug 322958.
12421
12422 === release 0.9.7 ===
12423
12424 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12425
12426         * configure.ac:
12427           releasing 0.9.7, "My Dog Has No Nose"
12428
12429 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12430
12431         * common/gst-xmlinspect.py:
12432         * configure.ac:
12433         * docs/libs/tmpl/gstdataprotocol.sgml:
12434         * docs/random/release:
12435         * po/af.po:
12436         * po/az.po:
12437         * po/bg.po:
12438         * po/ca.po:
12439         * po/cs.po:
12440         * po/de.po:
12441         * po/en_GB.po:
12442         * po/fr.po:
12443         * po/it.po:
12444         * po/nb.po:
12445         * po/nl.po:
12446         * po/ru.po:
12447         * po/sq.po:
12448         * po/sr.po:
12449         * po/sv.po:
12450         * po/tr.po:
12451         * po/uk.po:
12452         * po/vi.po:
12453         * win32/common/config.h:
12454         * win32/common/config.h.in:
12455         * win32/vs6/gst_inspect.dsp:
12456         * win32/vs6/gst_launch.dsp:
12457         * win32/vs6/libgstbase.dsp:
12458         * win32/vs6/libgstelements.dsp:
12459         * win32/vs6/libgstreamer.dsp:
12460         * win32/vs7/GStreamer.vcproj:
12461         * win32/vs7/gst-inspect.vcproj:
12462         * win32/vs7/gst-launch.vcproj:
12463         * win32/vs7/libgstbase.vcproj:
12464           bump GST_MAJORMINOR to 0.10
12465           reset libtool version
12466
12467 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12468
12469         * po/LINGUAS:
12470         * po/bg.po:
12471           Added Bulgarian translation by (Alexander Shopov)
12472
12473 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12474
12475         * tests/check/gst/gstplugin.c:
12476           fix test
12477
12478 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12479
12480         * common/gst-xmlinspect.py:
12481         * common/gtk-doc-plugins.mak:
12482         * configure.ac:
12483         * docs/Makefile.am:
12484         * docs/gst/Makefile.am:
12485         * docs/gst/gstreamer-docs.sgml:
12486         * docs/gst/gstreamer-sections.txt:
12487         * docs/gst/gstreamer.types:
12488         * docs/gst/gstreamer.types.in:
12489         * docs/plugins/Makefile.am:
12490         * docs/plugins/gstreamer-plugins-docs.sgml:
12491         * docs/plugins/gstreamer-plugins-sections.txt:
12492         * docs/plugins/gstreamer-plugins.types:
12493         * docs/plugins/inspect.stamp:
12494         * docs/plugins/inspect/plugin-coreelements.xml:
12495         * docs/plugins/inspect/plugin-coreindexers.xml:
12496         * docs/plugins/scanobj-build.stamp:
12497         * gstreamer.spec.in:
12498         * plugins/elements/Makefile.am:
12499         * plugins/elements/gstelements.c:
12500         * plugins/elements/gstfakesink.c:
12501         * plugins/elements/gstfakesrc.c:
12502         * plugins/elements/gstfilesink.c:
12503         * plugins/elements/gstfilesrc.c:
12504         * plugins/elements/gstqueue.c:
12505         * plugins/indexers/Makefile.am:
12506         * plugins/indexers/gstindexers.c:
12507           document core plugins in a separate document just like all the
12508           others
12509           rename these plugins to something starting with core
12510
12511 2005-12-01  Andy Wingo  <wingo@pobox.com>
12512
12513         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12514         padding here before, but it missed the commit.
12515
12516 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12517
12518         * libs/gst/controller/gstinterpolation.c:
12519           whitespace prices have crashed, we should feel free to use some now
12520           use gst_guint64_to_gdouble
12521
12522 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12523
12524         * libs/gst/controller/gstcontroller.c:
12525         * libs/gst/controller/gsthelper.c:
12526         * libs/gst/controller/gstinterpolation.c:
12527         * libs/gst/controller/lib.c:
12528           wrap config.h include
12529
12530 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12531
12532         * docs/gst/gstreamer-sections.txt:
12533           update docs
12534
12535 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12536
12537         * plugins/elements/gstelements.c:
12538         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12539         (gst_fd_sink__class_init), (gst_fd_sink__init),
12540         (gst_fd_sink__chain), (gst_fd_sink__set_property),
12541         (gst_fd_sink__get_property):
12542         * plugins/elements/gstfdsink.h:
12543         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12544         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12545         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12546         (gst_fd_src_unlock), (gst_fd_src_set_property),
12547         (gst_fd_src_get_property), (gst_fd_src_create),
12548         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12549         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12550         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12551         (gst_fd_src_uri_handler_init):
12552         * plugins/elements/gstfdsrc.h:
12553         * plugins/elements/gstqueue.c: (gst_queue_get_type):
12554           more anal cleanup
12555
12556 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12557
12558         * docs/gst/Makefile.am:
12559         * docs/gst/gstreamer.types.in:
12560         * gst/Makefile.am:
12561           fix the docs build
12562
12563 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12564
12565         * configure.ac:
12566         * gst/Makefile.am:
12567         * gst/gst.c:
12568         * gst/gstplugin.h:
12569         * gst/gstregistry.h:
12570         * tests/benchmarks/complexity.c:
12571         * tests/benchmarks/mass-elements.c:
12572         * tests/check/Makefile.am:
12573         * tools/Makefile.am:
12574         * tools/gst-inspect.c:
12575         * tools/gst-xmlinspect.c:
12576           various fixes to make
12577           --disable-nls --disable-registry --disable-loadsave
12578           --disable-parse --disable-gst-debug
12579           work and get the core .so down to 360444 bytes after stripping
12580
12581 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12582
12583         * Makefile.am:
12584         * configure.ac:
12585           descend into tests
12586         * docs/random/thomasvs/TODO:
12587         * tests/Makefile.am:
12588         * tests/README:
12589           add a README
12590
12591 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12592
12593         * win32/GStreamer.vcproj:
12594         * win32/MANIFEST:
12595         * win32/Makefile:
12596         * win32/Makefile.inspect:
12597         * win32/Makefile.launch:
12598         * win32/Makefile.register:
12599         * win32/README.txt:
12600         * win32/gst-inspect.vcproj:
12601         * win32/gst-launch.vcproj:
12602         * win32/gst-register.vcproj:
12603         * win32/gstelements.vcproj:
12604         * win32/gstgetbits.def:
12605         * win32/gstgetbits.vcproj:
12606         * win32/gstreamer-dbg.def:
12607         * win32/gstreamer.def:
12608         * win32/libgstbase.def:
12609         * win32/libgstbase.vcproj:
12610         * win32/link_oldruntime.c:
12611         * win32/mman.c:
12612         * win32/mman.h:
12613         * win32/mman.inl:
12614         * win32/msvc71.sln:
12615           move even more stuff, win32/ is nice and clean now
12616
12617 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12618
12619         * libs/gst/control/.cvsignore:
12620         * win32/MANIFEST:
12621         * win32/config.h:
12622         * win32/dirent.c:
12623         * win32/dirent.h:
12624         * win32/gstbytestream.def:
12625         * win32/gstbytestream.vcproj:
12626         * win32/gstconfig.h:
12627         * win32/gstenumtypes.c:
12628         * win32/gstenumtypes.h:
12629         * win32/gstoptimalscheduler.vcproj:
12630         * win32/gstversion.h:
12631         * win32/gtchar.h:
12632         * win32/testsuite/bins.vcproj:
12633         * win32/testsuite/bytestream.vcproj:
12634         * win32/testsuite/caps.vcproj:
12635         * win32/testsuite/cleanup.vcproj:
12636         * win32/testsuite/clock.vcproj:
12637         * win32/testsuite/debug.vcproj:
12638         * win32/testsuite/dlopen.vcproj:
12639         * win32/testsuite/dynparams.vcproj:
12640         * win32/testsuite/elements.vcproj:
12641         * win32/testsuite/ghostpads.vcproj:
12642         * win32/testsuite/indexers.vcproj:
12643         * win32/testsuite/negotiation.vcproj:
12644         * win32/testsuite/parse.vcproj:
12645         * win32/testsuite/plugin.vcproj:
12646         * win32/testsuite/refcounting.vcproj:
12647         * win32/testsuite/schedulers.vcproj:
12648         * win32/testsuite/states.vcproj:
12649         * win32/testsuite/tags.vcproj:
12650         * win32/testsuite/threads.vcproj:
12651           remove old win32 stuff that isn't maintained and should be
12652           reorganized
12653
12654 2005-11-30  Andy Wingo  <wingo@pobox.com>
12655
12656         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12657         loading the gst.interfaces python module bork.
12658
12659         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12660         available since GLib 2.2. Fixes #318031.
12661
12662 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12663
12664         * Makefile.am:
12665         * check/.cvsignore:
12666         * check/Makefile.am:
12667         * check/elements/.cvsignore:
12668         * check/elements/fakesrc.c:
12669         * check/elements/fdsrc.c:
12670         * check/elements/identity.c:
12671         * check/generic/.cvsignore:
12672         * check/generic/states.c:
12673         * check/gst-libs/.cvsignore:
12674         * check/gst-libs/controller.c:
12675         * check/gst-libs/gdp.c:
12676         * check/gst/.cvsignore:
12677         * check/gst/capslist.h:
12678         * check/gst/gst.c:
12679         * check/gst/gstbin.c:
12680         * check/gst/gstbuffer.c:
12681         * check/gst/gstbus.c:
12682         * check/gst/gstcaps.c:
12683         * check/gst/gstelement.c:
12684         * check/gst/gstevent.c:
12685         * check/gst/gstghostpad.c:
12686         * check/gst/gstiterator.c:
12687         * check/gst/gstmessage.c:
12688         * check/gst/gstminiobject.c:
12689         * check/gst/gstobject.c:
12690         * check/gst/gstpad.c:
12691         * check/gst/gstpipeline.c:
12692         * check/gst/gstplugin.c:
12693         * check/gst/gstsegment.c:
12694         * check/gst/gststructure.c:
12695         * check/gst/gstsystemclock.c:
12696         * check/gst/gsttag.c:
12697         * check/gst/gstutils.c:
12698         * check/gst/gstvalue.c:
12699         * check/net/.cvsignore:
12700         * check/net/gstnetclientclock.c:
12701         * check/net/gstnettimeprovider.c:
12702         * check/pipelines/.cvsignore:
12703         * check/pipelines/cleanup.c:
12704         * check/pipelines/simple_launch_lines.c:
12705         * check/pipelines/stress.c:
12706         * check/states/.cvsignore:
12707         * check/states/sinks.c:
12708         * configure.ac:
12709         * examples/Makefile.am:
12710         * examples/appreader/.cvsignore:
12711         * examples/appreader/Makefile.am:
12712         * examples/appreader/appreader.c:
12713         * examples/controller/.cvsignore:
12714         * examples/controller/Makefile.am:
12715         * examples/controller/audio-example.c:
12716         * examples/cutter/.cvsignore:
12717         * examples/cutter/Makefile.am:
12718         * examples/cutter/cutter.c:
12719         * examples/cutter/cutter.h:
12720         * examples/events/Makefile.am:
12721         * examples/events/seek.c:
12722         * examples/helloworld/.cvsignore:
12723         * examples/helloworld/Makefile.am:
12724         * examples/helloworld/helloworld.c:
12725         * examples/helloworld2/.cvsignore:
12726         * examples/helloworld2/Makefile.am:
12727         * examples/helloworld2/helloworld2.c:
12728         * examples/launch/.cvsignore:
12729         * examples/launch/Makefile.am:
12730         * examples/launch/mp3parselaunch.c:
12731         * examples/launch/mp3play:
12732         * examples/manual/.cvsignore:
12733         * examples/manual/Makefile.am:
12734         * examples/manual/extract.pl:
12735         * examples/metadata/Makefile.am:
12736         * examples/metadata/read-metadata.c:
12737         * examples/mixer/.cvsignore:
12738         * examples/mixer/Makefile.am:
12739         * examples/mixer/mixer.c:
12740         * examples/mixer/mixer.h:
12741         * examples/pingpong/.cvsignore:
12742         * examples/pingpong/Makefile.am:
12743         * examples/pingpong/pingpong.c:
12744         * examples/plugins/.cvsignore:
12745         * examples/plugins/Makefile.am:
12746         * examples/plugins/example.c:
12747         * examples/plugins/example.h:
12748         * examples/pwg/.cvsignore:
12749         * examples/pwg/Makefile.am:
12750         * examples/pwg/extract.pl:
12751         * examples/queue/.cvsignore:
12752         * examples/queue/Makefile.am:
12753         * examples/queue/queue.c:
12754         * examples/queue2/.cvsignore:
12755         * examples/queue2/Makefile.am:
12756         * examples/queue2/queue2.c:
12757         * examples/queue3/.cvsignore:
12758         * examples/queue3/Makefile.am:
12759         * examples/queue3/queue3.c:
12760         * examples/queue4/.cvsignore:
12761         * examples/queue4/Makefile.am:
12762         * examples/queue4/queue4.c:
12763         * examples/retag/.cvsignore:
12764         * examples/retag/Makefile.am:
12765         * examples/retag/retag.c:
12766         * examples/retag/transcode.c:
12767         * examples/thread/.cvsignore:
12768         * examples/thread/Makefile.am:
12769         * examples/thread/thread.c:
12770         * examples/typefind/.cvsignore:
12771         * examples/typefind/Makefile.am:
12772         * examples/typefind/typefind.c:
12773         * examples/xml/.cvsignore:
12774         * examples/xml/Makefile.am:
12775         * examples/xml/createxml.c:
12776         * examples/xml/runxml.c:
12777         * tests/Makefile.am:
12778         * tests/check/Makefile.am:
12779         * testsuite/.cvsignore:
12780         * testsuite/Makefile.am:
12781         * testsuite/Rules:
12782         * testsuite/caps/.cvsignore:
12783         * testsuite/caps/Makefile.am:
12784         * testsuite/caps/app_fixate.c:
12785         * testsuite/caps/audioscale.c:
12786         * testsuite/caps/caps.c:
12787         * testsuite/caps/caps.h:
12788         * testsuite/caps/caps_strings:
12789         * testsuite/caps/compatibility.c:
12790         * testsuite/caps/deserialize.c:
12791         * testsuite/caps/enumcaps.c:
12792         * testsuite/caps/eratosthenes.c:
12793         * testsuite/caps/filtercaps.c:
12794         * testsuite/caps/fixed.c:
12795         * testsuite/caps/fraction-convert.c:
12796         * testsuite/caps/fraction-multiply-and-zero.c:
12797         * testsuite/caps/intersect2.c:
12798         * testsuite/caps/intersection.c:
12799         * testsuite/caps/normalisation.c:
12800         * testsuite/caps/random.c:
12801         * testsuite/caps/renegotiate.c:
12802         * testsuite/caps/sets.c:
12803         * testsuite/caps/simplify.c:
12804         * testsuite/caps/string-conversions.c:
12805         * testsuite/caps/structure.c:
12806         * testsuite/caps/subtract.c:
12807         * testsuite/caps/union.c:
12808         * testsuite/debug/.cvsignore:
12809         * testsuite/debug/Makefile.am:
12810         * testsuite/debug/category.c:
12811         * testsuite/debug/commandline.c:
12812         * testsuite/debug/global.c:
12813         * testsuite/debug/output.c:
12814         * testsuite/debug/printf_extension.c:
12815         * testsuite/dlopen/.cvsignore:
12816         * testsuite/dlopen/Makefile.am:
12817         * testsuite/dlopen/dlopen_gst.c:
12818         * testsuite/dlopen/loadgst.c:
12819         * testsuite/elements/.cvsignore:
12820         * testsuite/elements/Makefile.am:
12821         * testsuite/elements/gst-inspect-check.in:
12822         * testsuite/elements/struct_i386.h:
12823         * testsuite/elements/struct_size.c:
12824         * testsuite/indexers/.cvsignore:
12825         * testsuite/indexers/Makefile.am:
12826         * testsuite/indexers/cache1.c:
12827         * testsuite/indexers/indexdump.c:
12828         * testsuite/parse/.cvsignore:
12829         * testsuite/parse/Makefile.am:
12830         * testsuite/parse/parse1.c:
12831         * testsuite/parse/parse2.c:
12832         * testsuite/plugin/.cvsignore:
12833         * testsuite/plugin/Makefile.am:
12834         * testsuite/plugin/README:
12835         * testsuite/plugin/dynamic.c:
12836         * testsuite/plugin/linked.c:
12837         * testsuite/plugin/loading.c:
12838         * testsuite/plugin/registry.c:
12839         * testsuite/plugin/static.c:
12840         * testsuite/plugin/static2.c:
12841         * testsuite/plugin/testplugin.c:
12842         * testsuite/plugin/testplugin2.c:
12843         * testsuite/plugin/testplugin2_s.c:
12844         * testsuite/plugin/testplugin_s.c:
12845         * testsuite/refcounting/.cvsignore:
12846         * testsuite/refcounting/Makefile.am:
12847         * testsuite/refcounting/bin.c:
12848         * testsuite/refcounting/element.c:
12849         * testsuite/refcounting/element_pad.c:
12850         * testsuite/refcounting/mainloop.c:
12851         * testsuite/refcounting/mem.c:
12852         * testsuite/refcounting/mem.h:
12853         * testsuite/refcounting/object.c:
12854         * testsuite/refcounting/pad.c:
12855         * testsuite/refcounting/sched.c:
12856         * testsuite/refcounting/thread.c:
12857         * testsuite/states/.cvsignore:
12858         * testsuite/states/Makefile.am:
12859         * testsuite/states/bin.c:
12860         * testsuite/states/locked.c:
12861         * testsuite/states/parent.c:
12862         * testsuite/threads/.cvsignore:
12863         * testsuite/threads/159566.c:
12864         * testsuite/threads/159852.c:
12865         * testsuite/threads/Makefile.am:
12866         * testsuite/threads/queue.c:
12867         * testsuite/threads/signals.c:
12868         * testsuite/threads/staticrec.c:
12869         * testsuite/threads/thread.c:
12870         * testsuite/threads/threadb.c:
12871         * testsuite/threads/threadc.c:
12872         * testsuite/threads/threadd.c:
12873         * testsuite/threads/threade.c:
12874         * testsuite/threads/threadf.c:
12875         * testsuite/threads/threadg.c:
12876         * testsuite/threads/threadh.c:
12877         * testsuite/threads/threadi.c:
12878           move all of these under tests
12879
12880 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12881
12882         * configure.ac:
12883         * tests/Makefile.am:
12884           fix distcheck
12885
12886 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12887
12888         * docs/gst/gstreamer-sections.txt:
12889         * tests/sched/.cvsignore:
12890         * tests/sched/Makefile.am:
12891         * tests/sched/cases/(fs-fs).xml:
12892         * tests/sched/cases/(fs-i-fs).xml:
12893         * tests/sched/cases/(fs-i-i-fs).xml:
12894         * tests/sched/cases/(fs-i-q[i-fs]).xml:
12895         * tests/sched/dynamic-pipeline.c:
12896         * tests/sched/interrupt1.c:
12897         * tests/sched/interrupt2.c:
12898         * tests/sched/interrupt3.c:
12899         * tests/sched/runtestcases:
12900         * tests/sched/runxml.c:
12901         * tests/sched/sched-stress.c:
12902         * tests/sched/sort.c:
12903         * tests/sched/testcases:
12904         * tests/sched/testcases1.tc:
12905         * tests/seeking/.cvsignore:
12906         * tests/seeking/Makefile.am:
12907         * tests/seeking/seeking1.c:
12908         * tests/threadstate/.cvsignore:
12909         * tests/threadstate/Makefile.am:
12910         * tests/threadstate/test1.c:
12911         * tests/threadstate/test2.c:
12912         * tests/threadstate/threadstate1.c:
12913         * tests/threadstate/threadstate2.c:
12914         * tests/threadstate/threadstate3.c:
12915         * tests/threadstate/threadstate4.c:
12916         * tests/threadstate/threadstate5.c:
12917           remove obsolete tests
12918         * configure.ac:
12919         * tests/bench-complexity.scm:
12920         * tests/bench-mass_elements.scm:
12921         * tests/complexity.c:
12922         * tests/complexity.gnuplot:
12923         * tests/instantiate/.cvsignore:
12924         * tests/instantiate/Makefile.am:
12925         * tests/instantiate/caps.c:
12926         * tests/mass_elements.c:
12927         * tests/network-clock-utils.scm:
12928         * tests/network-clock.scm:
12929         * tests/plot-data:
12930         First pass at cleaning up tests/ dir before moving the rest
12931         Combined with CVS surgery
12932
12933 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12934
12935         * po/POTFILES.in:
12936           queue has moved, update
12937
12938 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12939
12940         * docs/gst/gstreamer-sections.txt:
12941           remove double entries from the docs
12942         * gst/gst_private.h:
12943         * gst/gstinfo.c: (_gst_debug_init):
12944           remove the THREAD debug category
12945         * gst/Makefile.am:
12946         * gst/gstqueue.c:
12947         * gst/gstqueue.h:
12948         * docs/gst/gstreamer.types:
12949         * plugins/elements/gstqueue.c: (gst_queue_get_type),
12950         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12951           completely move queue and fix up debugging categories
12952
12953 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12954
12955         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12956           make initialization portable, using LL is not
12957
12958 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12959
12960         * win32/common/gstconfig.h:
12961           add large padding
12962
12963 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12964
12965         * win32/common/libgstreamer.def:
12966           rename symbols; sort base section
12967
12968 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12969
12970         * gst/gstclock.c: (do_linear_regression):
12971           remove crack non-portable handrolled DEBUG macro
12972
12973 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12974
12975         * docs/random/release:
12976           update notes
12977         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12978         (gst_object_flags_get_type), (register_gst_bin_flags),
12979         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12980         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12981         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12982         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12983         (gst_caps_flags_get_type), (register_gst_clock_return),
12984         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12985         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12986         (gst_clock_flags_get_type), (register_gst_state),
12987         (gst_state_get_type), (register_gst_state_change_return),
12988         (gst_state_change_return_get_type), (register_gst_state_change),
12989         (gst_state_change_get_type), (register_gst_element_flags),
12990         (gst_element_flags_get_type), (register_gst_core_error),
12991         (gst_core_error_get_type), (register_gst_library_error),
12992         (gst_library_error_get_type), (register_gst_resource_error),
12993         (gst_resource_error_get_type), (register_gst_stream_error),
12994         (gst_stream_error_get_type), (register_gst_event_type_flags),
12995         (gst_event_type_flags_get_type), (register_gst_event_type),
12996         (gst_event_type_get_type), (register_gst_seek_type),
12997         (gst_seek_type_get_type), (register_gst_seek_flags),
12998         (gst_seek_flags_get_type), (register_gst_format),
12999         (gst_format_get_type), (register_gst_index_certainty),
13000         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13001         (gst_index_entry_type_get_type),
13002         (register_gst_index_lookup_method),
13003         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13004         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13005         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13006         (gst_index_flags_get_type), (register_gst_debug_level),
13007         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13008         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13009         (gst_iterator_result_get_type), (register_gst_iterator_item),
13010         (gst_iterator_item_get_type), (register_gst_message_type),
13011         (gst_message_type_get_type), (register_gst_mini_object_flags),
13012         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13013         (gst_pad_link_return_get_type), (register_gst_flow_return),
13014         (gst_flow_return_get_type), (register_gst_activate_mode),
13015         (gst_activate_mode_get_type), (register_gst_pad_direction),
13016         (gst_pad_direction_get_type), (register_gst_pad_flags),
13017         (gst_pad_flags_get_type), (register_gst_pad_presence),
13018         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13019         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13020         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13021         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13022         (gst_plugin_flags_get_type), (register_gst_rank),
13023         (gst_rank_get_type), (register_gst_query_type),
13024         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13025         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13026         (gst_tag_flag_get_type), (register_gst_task_state),
13027         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13028         (gst_alloc_trace_flags_get_type),
13029         (register_gst_type_find_probability),
13030         (gst_type_find_probability_get_type), (register_gst_uri_type),
13031         (gst_uri_type_get_type), (register_gst_parse_error),
13032         (gst_parse_error_get_type):
13033         * win32/common/gstenumtypes.h:
13034         * win32/common/gstversion.h:
13035           update visual studio generated files
13036
13037 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13038
13039         * win32/vs6/libgstbase.dsp:
13040         * win32/vs6/libgstelements.dsp:
13041           update project files for new locations
13042
13043 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13044
13045         * Makefile.am:
13046           remove some files
13047         * README:
13048           reinstate and update
13049         * DEVEL:
13050         * REQUIREMENTS:
13051           removed
13052         * LICENSE:
13053         * docs/random/LICENSE:
13054           moved to random
13055
13056 2005-11-30  Edward Hervey  <edward@fluendo.com>
13057
13058         * gst/gsttypefind.c: (gst_type_find_register):
13059         * gst/gsttypefind.h:
13060         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13061         (gst_type_find_factory_dispose):
13062         * gst/gsttypefindfactory.h:
13063         Fix memory leak in GstTypeFindFactory.
13064
13065 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13066
13067         * gst/gst.c:
13068         * plugins/elements/Makefile.am:
13069         * plugins/elements/gstelements.c:
13070         * plugins/elements/gstqueue.c:
13071           move queue from core to the elements plugin
13072
13073 2005-11-29  Andy Wingo  <wingo@pobox.com>
13074
13075         * libs/gst/base/gstbasetransform.h: 
13076         * libs/gst/base/gstbasesrc.h: 
13077         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13078
13079         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13080         of pointers by which to pad very extensible base classes (like the
13081         ones in libs/gst/base).
13082
13083 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13084
13085         * docs/gst/gstreamer-docs.sgml:
13086         * docs/gst/gstreamer-sections.txt:
13087         * docs/libs/gstreamer-libs-docs.sgml:
13088         * docs/libs/gstreamer-libs-sections.txt:
13089           moving documentation from core to lib
13090
13091 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13092
13093         * check/Makefile.am:
13094         * configure.ac:
13095         * docs/gst/Makefile.am:
13096         * gst/Makefile.am:
13097         * gst/base/.cvsignore:
13098         * gst/base/Makefile.am:
13099         * gst/base/README:
13100         * gst/base/gstadapter.c:
13101         * gst/base/gstadapter.h:
13102         * gst/base/gstbasesink.c:
13103         * gst/base/gstbasesink.h:
13104         * gst/base/gstbasesrc.c:
13105         * gst/base/gstbasesrc.h:
13106         * gst/base/gstbasetransform.c:
13107         * gst/base/gstbasetransform.h:
13108         * gst/base/gstcollectpads.c:
13109         * gst/base/gstcollectpads.h:
13110         * gst/base/gstpushsrc.c:
13111         * gst/base/gstpushsrc.h:
13112         * gst/base/gsttypefindhelper.c:
13113         * gst/base/gsttypefindhelper.h:
13114         * gst/check/Makefile.am:
13115         * gst/check/gstcheck.c:
13116         * gst/check/gstcheck.h:
13117         * gst/net/Makefile.am:
13118         * gst/net/gstnet.h:
13119         * gst/net/gstnetclientclock.c:
13120         * gst/net/gstnetclientclock.h:
13121         * gst/net/gstnettimepacket.c:
13122         * gst/net/gstnettimepacket.h:
13123         * gst/net/gstnettimeprovider.c:
13124         * gst/net/gstnettimeprovider.h:
13125         * libs/gst/Makefile.am:
13126         * libs/gst/base/Makefile.am:
13127         * libs/gst/base/gstbasetransform.c:
13128         * libs/gst/check/Makefile.am:
13129         * plugins/elements/Makefile.am:
13130         * po/POTFILES.in:
13131           CVS surgery + support to move base, check, and net out of gst
13132           and into libs/gst
13133
13134 2005-11-29  Andy Wingo  <wingo@pobox.com>
13135
13136         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13137
13138         * gst/gststructure.h (struct _GstStructure): Only one pointer of
13139         padding.
13140
13141         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13142
13143         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13144
13145         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13146
13147         * gst/gstobject.h: (struct _GstObject): Only one pointer of
13148         padding; reduces object size by about 30%. We don't expect
13149         anything else to go into gstobject.
13150
13151         * gst/gstminiobject.h (struct _GstMiniObject)
13152         (struct _GstMiniObjectClass): Only one pointer of padding; the
13153         payload is only a pointer and two ints anyway. For the class there
13154         are only two methods as well.
13155         
13156         * gst/gstelement.h (struct _GstElementClass): Removed
13157         the state_changed signal callback, it is not used.
13158
13159 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13160
13161         * docs/gst/gstreamer.types:
13162           fix includes, though they are a little dinky
13163
13164 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13165
13166         * check/Makefile.am:
13167           look in the right place for elements, a lot more chance of
13168           success
13169         * gst/Makefile.am:
13170           remove indexers and elements subdirs
13171         * plugins/Makefile.am:
13172           make indexers conditional
13173
13174 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13175
13176         * Makefile.am:
13177         * configure.ac:
13178         * plugins/elements/Makefile.am:
13179         * plugins/elements/gstcapsfilter.c:
13180         * plugins/elements/gstfilesink.c:
13181         * plugins/elements/gstfilesrc.c:
13182         * plugins/elements/gstidentity.c:
13183         * plugins/indexers/Makefile.am:
13184           do CVS surgery and related build fixery to move elements
13185           and indexers in a new gstreamer/plugins directory, out of the
13186           gst/ directory
13187
13188 2005-11-29  Andy Wingo  <wingo@pobox.com>
13189
13190         * check/Makefile.am:
13191         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13192         * pkgconfig/gstreamer-net.pc.in:
13193         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13194         #322257.
13195
13196 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13197
13198         * tools/Makefile.am:
13199         * tools/gst-complete.1.in:
13200         * tools/gst-complete.c:
13201         * tools/gst-compprep.1.in:
13202         * tools/gst-compprep.c:
13203           removing -compprep and -complete
13204
13205 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13206
13207         * gst/gstevent.c: (gst_event_new_new_segment),
13208         (gst_event_parse_new_segment):
13209         * gst/gstevent.h:
13210           fix #320529 - clean up new_segment API and structure.
13211           Let's hope everyone was using the methods, and not the structure.
13212
13213 2005-11-29  Edward Hervey  <edward@fluendo.com>
13214
13215         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13216         (gst_base_sink_event), (gst_base_sink_do_sync),
13217         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13218         Properly handle non GST_FORMAT_TIME segment
13219         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13220         Properly handle non GST_FORMAT_TIME segment
13221         * gst/gstsegment.c:
13222         This function is valid if the accumulator is 0 and the format
13223         is different from the requested format.
13224         
13225 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
13226
13227         * docs/gst/gstreamer-sections.txt:
13228         Add gst_query_new_seeking and gst_query_parse_seeking to the
13229         docs.
13230
13231 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
13232
13233         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13234           Treat a pad alloc with new caps the same as if we were not
13235           negotiated, in order to allow a changing upstream output
13236           to produce a new format of data.
13237
13238 2005-11-29  Edward Hervey  <edward@fluendo.com>
13239
13240         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13241         (gst_base_transform_event), (gst_base_transform_eventfunc):
13242         The event virtual method is now properly implemented, with a default
13243         handler
13244         Sub classes should call the parent_class event method. They should
13245         return FALSE if they had a problem handling the given event, or don't
13246         want GstBaseTransform to send that even downstream
13247         * gst/elements/gstidentity.c: (gst_identity_class_init),
13248         (gst_identity_init), (gst_identity_event),
13249         (gst_identity_transform_ip), (gst_identity_set_property),
13250         (gst_identity_get_property):
13251         * gst/elements/gstidentity.h:
13252         Added the single-segment boolean property.
13253         If set to TRUE, it will output a single segment of data, starting from
13254         0, will eat up all incoming newsegment, and modify the timestamp of the
13255         buffers accordingly
13256
13257 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
13258
13259         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13260           Don't ref NULL target pad (#322751). Improve docs.
13261
13262 2005-11-29  Michael Smith  <msmith@fluendo.com>
13263
13264         * gst/gstregistryxml.c: (load_plugin):
13265           Don't crash if we failed to load a feature from a plugin. 
13266
13267 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13268
13269         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13270         (GST_START_TEST):
13271           use more check API and less GLib API
13272
13273 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13274
13275         * Makefile.am:
13276           don't run checks if we don't have check
13277         * common/check.mak:
13278           remove the registry when running make torture
13279         * docs/gst/gstreamer-sections.txt:
13280           remove second multiply
13281         * gst/gstqueue.c: (gst_queue_loop):
13282           fix a compile warning when disabling debug
13283
13284 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
13285
13286         * gst/gstinfo.h:
13287         Hey! Let's print the pad name if the pointer != NULL instead
13288         of when it == NULL :-)
13289
13290 2005-11-28  Wim Taymans  <wim@fluendo.com>
13291
13292         * check/gst/gstutils.c: (GST_START_TEST):
13293         Updated check, add some scaling accuracy checking code.
13294
13295         * gst/gstutils.c: (gst_util_div128_64),
13296         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13297         (gst_util_uint64_scale_int):
13298         Fix 6 times faster division code. Optimize for common 
13299         1/1 and less common X/1 cases.
13300
13301 2005-11-28  Wim Taymans  <wim@fluendo.com>
13302
13303         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13304         More checks.
13305
13306         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13307         (do_linear_regression), (gst_clock_add_observation):
13308         Cleanups.
13309         Release lock when the clock cannot be slaved.
13310         Catch the case where the regression returned an invalid denominator.
13311
13312         * gst/gstutils.c: (gst_util_div128_64_iterate),
13313         (gst_util_div128_64), (gst_util_uint64_scale_int64),
13314         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13315         Add protentially more performant non-iterative 128/64 divide function
13316         that unfortunatly does not work yet.
13317         Shortcut the trivial 0/X = 0 case.
13318         Remove the warnings on overflow.
13319
13320 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13321
13322         * gst/gstplugin.c: (gst_plugin_register_func):
13323           everything causing a plugin not to load should be at least a WARNING
13324
13325 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
13326
13327         * docs/random/ensonic/dparams.txt:
13328           some TODOs for the next dev cycle
13329         * libs/gst/controller/gstcontroller.c:
13330         (gst_controlled_property_set_interpolation_mode),
13331         (gst_controlled_property_new):
13332         * libs/gst/controller/gstcontroller.h:
13333           use base type to assign acccessor functions
13334
13335 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
13336
13337         * check/Makefile.am:
13338         Oops, that should have been top_srcdir
13339
13340 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
13341
13342         * check/Makefile.am:
13343         * check/elements/fdsrc.c: (GST_START_TEST):
13344         Use a cmdline define to specify the location of a file to use for
13345         testing, to avoid breaking distcheck.
13346
13347 2005-11-28  Andy Wingo  <wingo@pobox.com>
13348
13349         * gst/gstpad.c (fixate_value): Use array functions for arrays.
13350
13351 2005-11-28  Edward Hervey  <edward@fluendo.com>
13352
13353         * tools/gst-launch.c: (main):
13354         Clarify the output strings, makes it easier to translate.
13355         Fixes #322626
13356
13357 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13358
13359         * gst/Makefile.am:
13360           don't try and build net if we don't even have <sys/socket.h>
13361
13362 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
13363
13364         * check/Makefile.am:
13365         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13366         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13367           Add tests for fdsrc seekability
13368
13369         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13370         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13371         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13372         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13373         * gst/elements/gstfdsrc.h:
13374           fdsrc should not be a 'live' source.
13375           Implement seeking on seekable fd's.
13376
13377         * gst/gstquery.c: (gst_query_new_seeking),
13378         (gst_query_parse_seeking):
13379         * gst/gstquery.h:
13380           Implement SEEKING query functions: 
13381             *_new_seeking and *_parse_seeking
13382
13383 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
13384
13385         * gst/gstelement.c: (gst_element_dispose):
13386           don't loop forever
13387
13388         * gst/gstiterator.c:
13389         * gst/gststructure.c:
13390           doc fixes
13391
13392         * libs/gst/controller/gstcontroller.c:
13393         (gst_controlled_property_set_interpolation_mode):
13394         * libs/gst/controller/gstcontroller.h:
13395         * libs/gst/controller/gstinterpolation.c:
13396         (interpolate_none_get_enum_value_array):
13397           support controlling enums
13398
13399 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
13400
13401         * gst/gstvalue.c:
13402           Improve documentation for gst_value_union().
13403
13404         * gst/gstvalue.h:
13405           Change return value for union, intersect and subtract functions
13406           from gint to gboolean.
13407
13408 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
13409
13410         * gst/gstvalue.c: (gst_value_serialize_any_list),
13411         (gst_value_transform_any_list_string),
13412         (gst_value_deserialize_list), (gst_value_deserialize_array),
13413         (gst_value_set_int_range), (gst_value_deserialize_int_range),
13414         (gst_value_set_double_range), (gst_value_deserialize_double_range),
13415         (gst_value_set_fraction_range_full),
13416         (gst_value_deserialize_fraction_range),
13417         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
13418         (gst_value_deserialize_boolean),
13419         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
13420         (gst_value_serialize_float), (gst_value_deserialize_float),
13421         (gst_string_wrap), (gst_value_deserialize_string),
13422         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
13423         (gst_value_union_int_range_int_range),
13424         (gst_value_intersect_int_range_int_range),
13425         (gst_value_intersect_double_range_double_range),
13426         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
13427         (gst_value_subtract_int_range_int_range),
13428         (gst_value_subtract_double_double_range),
13429         (gst_value_subtract_double_range_double_range),
13430         (gst_value_deserialize_fraction):
13431         * gst/gstvalue.h:
13432           Use gint, gdouble and gchar in our API instead of int, double and
13433           char (and make usage in gstvalue.c more consistent).
13434
13435 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
13436
13437         * check/Makefile.am:
13438         * libs/gst/controller/Makefile.am:
13439         * libs/gst/dataprotocol/Makefile.am:
13440           fix up Makefile.am and remove GST_ENABLE_NEW
13441
13442 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
13443
13444         * configure.ac:
13445         * gst/Makefile.am:
13446         * gst/base/Makefile.am:
13447         * gst/check/Makefile.am:
13448         * gst/elements/Makefile.am:
13449         * gst/net/Makefile.am:
13450           update LDFLAGS use some more
13451
13452 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
13453
13454         * common/m4/gst-doc.m4:
13455           Fixes #312589
13456
13457 2005-11-26  Edward Hervey  <edward@fluendo.com>
13458
13459         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13460         This shouldn't issue a g_warning since it returns NULL if it
13461         couldn't find the plugin, and all functions using this behave
13462         properly on a NULL return. Switching to a GST_WARNING.
13463
13464 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
13465
13466         * gst/gstbin.c: (gst_bin_handle_message_func):
13467         Don't leak clock messages.
13468
13469 2005-11-25  Wim Taymans  <wim@fluendo.com>
13470
13471         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13472         (gst_util_uint64_scale_int):
13473         Optimisations, remove unneeded vars.
13474
13475 2005-11-25  Wim Taymans  <wim@fluendo.com>
13476
13477         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13478         Added more checks for the high precision uint64 cases.
13479
13480         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13481         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13482         Implement high precision (guint64 * guint64) / guint64.
13483
13484 2005-11-24  Wim Taymans  <wim@fluendo.com>
13485
13486         * gst/base/gstbasesrc.c: (gst_base_src_query):
13487         Fix wrong percentage query.
13488
13489         * gst/gstutils.c: (gst_util_uint64_scale),
13490         (gst_util_uint64_scale_int):
13491         Add some more common cases that can be handled 
13492         efficiently to _scale.
13493
13494 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13495
13496         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
13497         (gst_mini_object_suite):
13498           don't use check calls from threads; check probably isn't
13499           threadsafe and using a lock to make it threadsafe would
13500           defeat the purpose of this check
13501         * gst/check/gstcheck.c:
13502         * gst/check/gstcheck.h:
13503           use GST_DEBUG some more
13504
13505 2005-11-24  Wim Taymans  <wim@fluendo.com>
13506
13507         * gst/gstutils.c: (gst_util_uint64_scale),
13508         (gst_util_uint64_scale_int):
13509         Chain trivial case to _scale_int.
13510
13511 2005-11-24  Wim Taymans  <wim@fluendo.com>
13512
13513         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13514         Added test for scaling.
13515
13516         * gst/gstclock.h:
13517         Small doc fix.
13518
13519         * gst/gstutils.c: (gst_util_uint64_scale_int):
13520         Implemented high precision scaling code.
13521
13522 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
13523
13524         * gst/gstinfo.h:
13525           do not crash on pad==NULL
13526
13527 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13528
13529         Patch by: Stefan Kost
13530
13531         * common/gtk-doc.mak:
13532         * docs/gst/Makefile.am:
13533         * docs/libs/Makefile.am:
13534           Fix distcheck issues for the libraries docs build
13535           Closes #319599.
13536
13537 2005-11-24  Michael Smith <msmith@fluendo.com>
13538
13539         * docs/manual/basics-helloworld.xml:
13540           Fix bug #315027: memory leak in example code in docs.
13541
13542 2005-11-24  Michael Smith <msmith@fluendo.com>
13543
13544         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13545           Unlock the PREROLL_LOCK in a failure case.
13546
13547 2005-11-24  Wim Taymans  <wim@fluendo.com>
13548
13549         * docs/gst/gstreamer-sections.txt:
13550         * gst/base/gstadapter.h:
13551         * gst/base/gstbasesink.h:
13552         * gst/base/gstbasesrc.h:
13553         * gst/base/gstbasetransform.h:
13554         * gst/base/gstpushsrc.h:
13555         * gst/elements/gstfakesink.h:
13556         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13557         * gst/elements/gstfakesrc.h:
13558         * gst/elements/gstfilesink.h:
13559         * gst/elements/gstfilesrc.h:
13560         * gst/gst.c:
13561         * gst/gstbin.c:
13562         * gst/gstbuffer.c: (_gst_buffer_copy):
13563         * gst/gstbus.h:
13564         * gst/gstcaps.c:
13565         * gst/gstchildproxy.c:
13566         * gst/gstclock.c:
13567         * gst/gstelement.c:
13568         * gst/gstelementfactory.c:
13569         * gst/gstelementfactory.h:
13570         * gst/gstevent.c:
13571         * gst/gstghostpad.h:
13572         * gst/gstindex.h:
13573         * gst/gstinterface.h:
13574         * gst/gstminiobject.c:
13575         * gst/gstminiobject.h:
13576         * gst/gstpad.c:
13577         * gst/gstpad.h:
13578         * gst/gstpadtemplate.h:
13579         * gst/gstpipeline.h:
13580         * gst/gstpluginfeature.h:
13581         * gst/gstquery.h:
13582         * gst/gstqueue.h:
13583         * gst/gsttaglist.c:
13584         * gst/gsttaglist.h:
13585         * gst/gsttagsetter.c:
13586         * gst/gsttagsetter.h:
13587         * gst/gsttrace.c:
13588         * gst/gsttrace.h:
13589         * gst/gsttypefind.h:
13590         * gst/gsturi.h:
13591         * gst/gstvalue.c:
13592         * gst/net/gstnetclientclock.c:
13593         * gst/net/gstnetclientclock.h:
13594         * gst/net/gstnettimepacket.c:
13595         * gst/net/gstnettimeprovider.c:
13596         * gst/net/gstnettimeprovider.h:
13597         Doc fixes.
13598
13599 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13600
13601         * configure.ac: back to HEAD
13602
13603 === release 0.9.6 ===
13604
13605 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
13606
13607         * configure.ac:
13608           releasing 0.9.6, "Always On Time"
13609
13610 2005-11-23  Wim Taymans  <wim@fluendo.com>
13611
13612         * docs/gst/gstreamer-sections.txt:
13613         * gst/glib-compat.c:
13614         * gst/gsttagsetter.c:
13615         * gst/gstvalue.c:
13616         * gst/net/gstnetclientclock.c:
13617         * gst/net/gstnettimepacket.h:
13618         Doc updates.
13619
13620 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13621
13622         * docs/faq/using.xml:
13623         * docs/libs/tmpl/gstcontrol.sgml:
13624         * docs/manual/advanced-dparams.xml:
13625         * docs/manual/appendix-checklist.xml:
13626         * docs/manual/basics-elements.xml:
13627         * docs/pwg/other-source.xml:
13628         * docs/random/moving-plugins:
13629         * gst/gstpad.c:
13630         * tools/gst-launch.1.in:
13631           remove mentions of sinesrc
13632
13633 2005-11-23  Michael Smith <msmith@fluendo.com>
13634
13635         * docs/gst/gstreamer-sections.txt:
13636           Update for new API and API changes.
13637         * gst/gstobject.h:
13638           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13639         * gst/gstvalue.c:
13640           Documentation typo fix.
13641         * gst/net/gstnettimepacket.c:
13642           Documentation fixes for arguments.
13643
13644 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
13645
13646         * gst/gststructure.c: (gst_structure_get_fraction),
13647         (gst_structure_parse_value),
13648         (gst_structure_fixate_field_nearest_fraction):
13649         * gst/gststructure.h:
13650         * gst/gstutils.c: (gst_util_uint64_scale_int):
13651         * gst/gstutils.h:
13652         * scripts/update-funcnames:
13653         API Changes. 
13654         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13655         Make gst_structure_fixate_field_nearest_fraction take a numerator
13656         and denominator argument instead of a GValue
13657         add gst_structure_get_fraction helper function.
13658
13659 2005-11-23  Wim Taymans  <wim@fluendo.com>
13660
13661         * docs/design/part-TODO.txt:
13662         Update TODO.
13663
13664         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13665         * gst/net/gstnetclientclock.h:
13666         Use parent fields for timeout and window_size.
13667
13668 2005-11-23  Andy Wingo  <wingo@pobox.com>
13669
13670         * check/net/gstnetclientclock.c (test_functioning): Adjust to
13671         rate_num/rate_denom change.
13672
13673         * gst/net/gstnetclientclock.c
13674         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13675         OBJECT_LOCK. Don't call add_observation with the lock.
13676
13677         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13678         fraction.
13679         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13680         rate fraction.
13681         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13682         deal with rate as a fraction whose numerator and denominator are
13683         GstClockTime values.
13684         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13685         master; the other fields are protected by the SLAVE_LOCK.
13686         (do_linear_regression): Note that this must be called with the
13687         SLAVE_LOCK.
13688         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13689         OBJECT_LOCK. Call set_calibration instead of touching the
13690         variables directly.
13691         (gst_clock_set_property, gst_clock_get_property): Protect
13692         master/slave parameters with the SLAVE_LOCK.
13693
13694         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13695         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13696         note that all of the instance variables that add_observation and
13697         the set_master functions use are protected by that lock and not
13698         the OBJECT_LOCK.
13699         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13700
13701         * gst/gstclock.c (gst_clock_add_observation): No longer requires
13702         the caller to take the object lock.
13703
13704 2005-11-23  Wim Taymans  <wim@fluendo.com>
13705
13706         * gst/gsterror.c: (_gst_core_errors_init):
13707         * gst/gsterror.h:
13708         Add error for clock stuff.
13709
13710         * gst/gstpipeline.c: (gst_pipeline_change_state),
13711         (gst_pipeline_set_clock):
13712         Post clock error when clock cannot be used in a pipeline.
13713
13714 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
13715
13716         * docs/gst/gstreamer-sections.txt:
13717           make two symbols from gstinfo private for the docs
13718         * gst/base/gstcollectpads.h:
13719         * gst/gstutils.c:
13720           fix doc typos, update docs
13721
13722 2005-11-22  Wim Taymans  <wim@fluendo.com>
13723
13724         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13725         (gst_base_sink_wait), (gst_base_sink_do_sync),
13726         (gst_base_sink_handle_event):
13727         * gst/base/gstbasesink.h:
13728         No need to store the clock, the parent element class already
13729         has it.
13730
13731         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
13732         Updates for clock_set returning a gboolean
13733
13734         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
13735         (gst_clock_id_wait_async), (gst_clock_class_init),
13736         (gst_clock_init), (gst_clock_finalize),
13737         (gst_clock_get_internal_time), (gst_clock_get_time),
13738         (gst_clock_slave_callback), (gst_clock_set_master),
13739         (gst_clock_get_master), (do_linear_regression),
13740         (gst_clock_add_observation), (gst_clock_set_property),
13741         (gst_clock_get_property):
13742         * gst/gstclock.h:
13743         Implement master/slave. When setting a clock as a slave, a
13744         periodic timeout is scheduled to sample master and slave times.
13745         Then the slave clock is recalibrated to match offset and rate
13746         of the master clock.
13747         Update logging a bit.
13748         Add flag so that a clock can state that is cannot be slaved to
13749         another clock.
13750
13751         * gst/gstelement.c: (gst_element_set_clock):
13752         * gst/gstelement.h:
13753         The set clock returns a gboolean for when an element cannot
13754         deal with the selected clock in the pipeline. 
13755
13756         * gst/gstpipeline.c: (gst_pipeline_change_state),
13757         (gst_pipeline_set_clock):
13758         * gst/gstpipeline.h:
13759         Handle the case where the selected clock cannot be set on
13760         the pipeline.
13761
13762         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
13763         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
13764         (gst_net_client_clock_set_property),
13765         (gst_net_client_clock_get_property),
13766         (gst_net_client_clock_observe_times):
13767         * gst/net/gstnetclientclock.h:
13768         Use regression code in GstClock parent, remove duplicated
13769         functionality.
13770
13771 2005-11-22  Michael Smith <msmith@fluendo.com>
13772
13773         * gst/gstutils.c: (gst_util_clock_time_scale):
13774         * gst/gstutils.h:
13775         * docs/gst/gstreamer-sections.txt:
13776           Rename method to have extra underscore.
13777
13778 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13779
13780         * gst/elements/Makefile.am:
13781         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
13782         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13783         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13784         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
13785         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
13786         * gst/elements/gstfakesrc.h:
13787         * gst/gstqueue.c: (queue_leaky_get_type):
13788           correctly fix GEnumValues so that nick is the short lowercase
13789           dashed tag
13790         * tools/gst-inspect.c: (print_element_properties_info):
13791           also show the nick, since it's useful to use from parse_launch
13792           syntax
13793           Fixes #322139
13794
13795 2005-11-22  Michael Smith <msmith@fluendo.com>
13796
13797         * gst/gstutils.c: (gst_util_clocktime_scale):
13798         * gst/gstutils.h:
13799         * docs/gst/gstreamer-sections.txt:
13800           Add util method for scaling a clocktime by a fraction. Useful 
13801           implementation is left as an exercise for the reader.
13802
13803 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13804
13805         * gst/gstvalue.c: (gst_value_collect_fraction_range):
13806         If needed, allocate storage in the destination value during
13807         collection.
13808
13809 2005-11-22  Edward Hervey  <edward@fluendo.com>
13810
13811         * docs/gst/gstreamer-sections.txt:
13812         * gst/Makefile.am:
13813         * gst/gst.h:
13814         * gst/gsturitype.c:
13815         * gst/gsturitype.h:
13816         * gst/gstutils.c: (gst_util_set_object_arg):
13817         * tools/gst-compprep.c: (main):
13818         * tools/gst-inspect.c: (print_element_properties_info):
13819         Removed GstURI, closes bug #321061
13820
13821 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13822
13823         * check/gst/gststructure.c: (GST_START_TEST):
13824         * gst/gststructure.c: (gst_structure_parse_value):
13825           Oops, broke automatic string type parsing.
13826           Add a test to catch it in future.
13827
13828 2005-11-22  Andy Wingo  <wingo@pobox.com>
13829
13830         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
13831         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13832         Actually rename the function implementations. Grr.
13833
13834 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13835
13836         * check/gst/capslist.h:
13837           Comment test cases
13838         * check/gst/gststructure.c: (GST_START_TEST),
13839         (gst_structure_suite):
13840           Test automatic value type detection in gst_structure_from_string.
13841         * gst/gststructure.c: (gst_structure_parse_value):
13842           Add fraction as a type we try and guess automatically in
13843           caps/structure strings.
13844
13845 2005-11-22  Andy Wingo  <wingo@pobox.com>
13846
13847         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13848
13849         * gst/gsttagsetter.h:
13850         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13851         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13852         (gst_tag_setter_add_tag_valist)
13853         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13854         _add_values, _add_valist, and _add_valist_values. Since this is an
13855         interface the function suffixes should be more explicit so
13856         language binding don't end up with element.add_valist ->
13857         gst_tag_setter_add_valist, for example. Fixes #322069.
13858
13859 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13860
13861         * check/gst/gstcaps.c: (GST_START_TEST):
13862           Extend caps string tests to check that a caps to string
13863           conversion is reversible and produces the same caps.
13864
13865         * gst/gststructure.c: (gst_structure_value_get_generic_type):
13866           Output "fraction" as the generic type fraction range, so caps
13867           serialisation and deserialisation works.
13868         * check/gst/capslist.h:
13869         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13870           Support 'MIN' and 'MAX' for deserialising fractions.
13871
13872 2005-11-22  Andy Wingo  <wingo@pobox.com>
13873
13874         * gst/gstevent.h (gst_event_new_new_segment)
13875         (gst_event_parse_new_segment, gst_event_new_buffer_size)
13876         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13877         Renamed from *_newsegment, *_buffersize, *_notarget.
13878
13879         * scripts/update-funcnames: New script, performs the changes
13880         listed above.
13881
13882 2005-11-22  Wim Taymans  <wim@fluendo.com>
13883
13884         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13885         Make sure the GstFlowReturn is returned.
13886
13887         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13888         (gst_bus_add_signal_watch):
13889         * gst/gstbus.h:
13890         add gst_bus_add_signal_watch_full.
13891
13892         * gst/gstplugin.c: (gst_plugin_load_file):
13893         Small style cleanup.
13894
13895 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13896
13897         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13898           Block the fakesrc srcpad when we send an event, to avoid
13899           contention on the stream_lock causing random test failures.
13900
13901 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13902
13903         * check/gst/gstvalue.c: (GST_START_TEST):
13904         * gst/gstvalue.c: (gst_value_fraction_subtract):
13905           Fix subtraction.
13906
13907 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
13908
13909         * gst/gst.h:
13910           include "gstchildproxy.h"
13911         * gst/gstchildproxy.h:
13912         * libs/gst/controller/gstcontroller.h:
13913           use G_GNUC_NULL_TERMINATED
13914
13915 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13916
13917         * check/gst/capslist.h:
13918         * check/gst/gstcaps.c: (GST_START_TEST):
13919         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13920         * gst/gststructure.c: (gst_structure_parse_range),
13921         (gst_structure_fixate_field_nearest_fraction):
13922         * gst/gststructure.h:
13923         * gst/gstvalue.c: (gst_value_init_fraction_range),
13924         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13925         (gst_value_collect_fraction_range),
13926         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13927         (gst_value_set_fraction_range_full),
13928         (gst_value_get_fraction_range_min),
13929         (gst_value_get_fraction_range_max),
13930         (gst_value_serialize_fraction_range),
13931         (gst_value_transform_fraction_range_string),
13932         (gst_value_compare_fraction_range),
13933         (gst_value_deserialize_fraction_range),
13934         (gst_value_intersect_fraction_fraction_range),
13935         (gst_value_intersect_fraction_range_fraction_range),
13936         (gst_value_subtract_fraction_fraction_range),
13937         (gst_value_subtract_fraction_range_fraction),
13938         (gst_value_subtract_fraction_range_fraction_range),
13939         (gst_value_collect_fraction), (gst_value_fraction_multiply),
13940         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13941         (gst_value_transform_string_fraction), (_gst_value_initialize):
13942         * gst/gstvalue.h:
13943           Implement fraction ranges and extend GstFraction to support
13944           arithmetic subtraction, as well as deserialization from integer
13945           strings such as "100"
13946           Add a testsuite as for int and double range set operations
13947
13948 2005-11-21  Andy Wingo  <wingo@pobox.com>
13949
13950         * gst/gsttaglist.h: 
13951         * gst/gstcaps.h: 
13952         * gst/gststructure.h: Add glib-compat.h.
13953
13954 2005-11-21  Wim Taymans  <wim@fluendo.com>
13955
13956         * gst/gstbin.c: (gst_bin_change_state_func):
13957         Fix for #321595
13958
13959 2005-11-21  Wim Taymans  <wim@fluendo.com>
13960
13961         * gst/gstsegment.h:
13962         And add a nice define too.
13963
13964 2005-11-21  Wim Taymans  <wim@fluendo.com>
13965
13966         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13967         (gst_segment_new), (gst_segment_free), (gst_segment_init),
13968         (gst_segment_set_duration), (gst_segment_set_last_stop),
13969         (gst_segment_set_seek), (gst_segment_set_newsegment),
13970         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13971         (gst_segment_clip):
13972         * gst/gstsegment.h:
13973         Make binding friendly.
13974
13975 2005-11-21  Andy Wingo  <wingo@pobox.com>
13976
13977         * gst/gsttagsetter.h: 
13978         * gst/gsttaglist.h: 
13979         * gst/gststructure.h: 
13980         * gst/gstcaps.h: 
13981         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13982         #319940.
13983
13984         * gst/gsterror.c (_gst_core_errors_init):
13985         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13986         category.
13987
13988         * gst/Makefile.am (gst_headers): Add glib-compat.h.
13989         (noinst_HEADERS): noinst the -private.
13990
13991 2005-11-21  Michael Smith <msmith@fluendo.com>
13992
13993         * gst/gstplugin.h:
13994         * gst/gstregistry.h:
13995           Remove unimplemented declarations for which we can see no sensible
13996           use.
13997
13998 2005-11-21  Andy Wingo  <wingo@pobox.com>
13999
14000         * gst/gst.h: Include glib-compat.h.
14001
14002         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14003
14004         * gst/glib-compat.c: Include the public and the private header.
14005
14006         * gst/glib-compat-private.h: Copied here from glib-compat.h.
14007
14008         * gst/gstvalue.c: 
14009         * gst/gstpad.c: 
14010         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14011
14012         * check/gst/gstevent.c (create_custom_events): Check that
14013         FLUSH_STOP is serialized.
14014
14015         * check/elements/identity.c (event_func): 
14016         * check/elements/fakesrc.c (event_func): No stream lock, the core
14017         takes it.
14018
14019         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14020         stream lock taking, yay.
14021
14022         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14023         ensure that core takes the stream lock.
14024
14025         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14026         lock name change.
14027
14028         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14029         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14030         it already. For the flush start we do take it though so we get the
14031         right preroll state change messages.
14032
14033         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14034         the stream lock here, the core does it for us.
14035
14036         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14037         GST_STREAM_GET_LOCK.
14038         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
14039         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
14040         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14041         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14042         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
14043         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14044
14045         * gst/gstpad.c: Update for stream lock name change.
14046
14047         * gst/base/gstbasesink.c: Update for preroll lock name change.
14048
14049 2005-11-21  Wim Taymans  <wim@fluendo.com>
14050
14051         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14052         (gst_clock_get_master):
14053         * gst/gstclock.h:
14054         * gst/gstsystemclock.c: (gst_system_clock_init):
14055         Convert Clock flags to object flags.
14056         Added methods to manage master/slave clocks.
14057
14058 2005-11-21  Wim Taymans  <wim@fluendo.com>
14059
14060         * check/gst/gstsegment.c: (GST_START_TEST):
14061         * docs/design/part-TODO.txt:
14062         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14063         (gst_base_sink_event), (gst_base_sink_do_sync),
14064         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14065         (gst_base_sink_query), (gst_base_sink_change_state):
14066         * gst/base/gstbasesink.h:
14067         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14068         (gst_base_src_default_newsegment),
14069         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14070         (gst_base_src_get_range), (gst_base_src_loop),
14071         (gst_base_src_change_state):
14072         * gst/base/gstbasesrc.h:
14073         * gst/base/gstbasetransform.c:
14074         (gst_base_transform_prepare_output_buf),
14075         (gst_base_transform_event), (gst_base_transform_change_state):
14076         * gst/base/gstbasetransform.h:
14077         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14078         (gst_collect_pads_event):
14079         * gst/base/gstcollectpads.h:
14080         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14081         (gst_fake_src_create):
14082         * gst/elements/gstfakesrc.h:
14083         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14084         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14085         (gst_segment_set_last_stop), (gst_segment_set_seek),
14086         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14087         (gst_segment_to_running_time), (gst_segment_clip):
14088         * gst/gstsegment.h:
14089         More segment updates, replace code in plugins with segment
14090         helper functions.
14091
14092 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14093
14094         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14095         Don't ignore sscanf results
14096
14097 2005-11-21  Andy Wingo  <wingo@pobox.com>
14098
14099         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14100
14101         * *.h:
14102         * *.c: Ran scripts/update-macros. Oh yes.
14103
14104         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14105         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14106         GST_GET_LOCK, etc.
14107
14108         * scripts/update-macros: New script. Run it on your files to
14109         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14110         well.
14111
14112 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14113
14114         * docs/gst/Makefile.am:
14115         * docs/gst/gstreamer-docs.sgml:
14116         * docs/gst/gstreamer-sections.txt:
14117         * docs/gst/gstreamer.types:
14118         * gst/gstinfo.h:
14119           more docs fixes, add new api to the docs
14120
14121 2005-11-21  Andy Wingo  <wingo@pobox.com>
14122
14123         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14124         state_broadcast call.
14125
14126         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14127
14128 2005-11-21  Julien MOUTTE  <julien@moutte.net>
14129
14130         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14131         function calls for arrays.
14132
14133 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14134
14135         * docs/random/ensonic/media-device-daemon.txt:
14136           wild idea, can this be done?
14137         * docs/gst/gstreamer-sections.txt:
14138         * gst/gsterror.h:
14139         * gst/gstfilter.c:
14140         * gst/gstfilter.h:
14141         * gst/gstplugin.h:
14142         * gst/gstpluginfeature.c:
14143         * gst/gsttrace.c:
14144         * gst/gstvalue.c:
14145         * gst/gstvalue.h:
14146           doc fixes and additions
14147
14148 2005-11-21  Andy Wingo  <wingo@pobox.com>
14149
14150         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
14151         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
14152         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
14153         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14154         private to the basesrc implementation.
14155
14156         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14157         behalf of event function if necessary. It should no longer be
14158         necessary to take the stream lock in pad's event functions. Fixes
14159         #320299.
14160
14161 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14162         * docs/gst/gstreamer-sections.txt:
14163         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14164         (gst_structure_fixate_field_nearest_double),
14165         (gst_structure_fixate_field_boolean):
14166         * gst/gststructure.h:
14167         * win32/common/libgstreamer.def:
14168         * win32/gstreamer.def:
14169
14170         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14171         (#322027)
14172
14173 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14174
14175         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14176         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14177         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14178         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14179         (gst_fdsrc_uri_handler_init):
14180         * gst/elements/gstfdsrc.h:
14181           Port fd:// URI handler from 0.8 to fdsrc
14182
14183 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14184
14185         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14186         (gst_value_serialize_fourcc):
14187         * gst/gstvalue.h:
14188           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14189           consistent with our other format defines (#320324).
14190
14191 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14192
14193         * gst/gstvalue.c: (gst_value_is_fixed):
14194           Revert previous commit. Value lists are by definition
14195           not fixed, as they are a list of possible values.
14196
14197 2005-11-21  Andy Wingo  <wingo@pobox.com>
14198
14199         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14200         during the stable series if we need it. Fixes #319178.
14201
14202         * gst/gstevent.c (gst_event_new_filler): Removed.
14203
14204         * check/gst/gstevent.c: Update comment about filler events.
14205
14206 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14207
14208         * gst/gstvalue.c: (gst_value_is_fixed):
14209           Should handle both value arrays and value lists.
14210
14211 2005-11-21  Andy Wingo  <wingo@pobox.com>
14212
14213         patch by: Alessandro Dessina <alessandro nnva org>
14214
14215         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14216         functions to access arrays. Fixes #321962.
14217
14218 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14219
14220         * docs/gst/gstreamer.types:
14221           gst_collectpads_get_type => gst_collect_pads_get_type.
14222           
14223         * gst/base/gstbasetransform.c:
14224           Remove unused SIGNAL_HANDOFF enum.
14225
14226 2005-11-21  Andy Wingo  <wingo@pobox.com>
14227
14228         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14229         the event type (upstream, downstream, serialized). Renamed
14230         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14231         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14232         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14233
14234         * gst/gstevent.c: Update for new CUSTOM event names.
14235
14236         * check/gst/gstevent.c: Update check for new CUSTOM event names.
14237
14238         * gst/gstevent.h:
14239         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14240         bug #319392.
14241
14242 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14243
14244         * docs/gst/gstreamer-sections.txt:
14245         * win32/common/libgstbase.def:
14246         * win32/libgstbase.def:
14247         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14248         (gst_collect_pads_class_init), (gst_collect_pads_init),
14249         (gst_collect_pads_finalize), (gst_collect_pads_new),
14250         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14251         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14252         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14253         (gst_collect_pads_start), (gst_collect_pads_stop),
14254         (gst_collect_pads_peek), (gst_collect_pads_pop),
14255         (gst_collect_pads_available), (gst_collect_pads_read),
14256         (gst_collect_pads_flush), (gst_collect_pads_event),
14257         (gst_collect_pads_chain):
14258         * gst/base/gstcollectpads.h:
14259           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14260           unimplemented functions as unimplemented. Add padding to
14261           GstCollectData. (#320766, #320423)
14262
14263 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14264
14265         * gst/gstmessage.c:
14266           Improve docs for DURATION message (usage of duration parameter)
14267           (#320113)
14268
14269 2005-11-20  Wim Taymans  <wim@fluendo.com>
14270
14271         * check/Makefile.am:
14272         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14273         (main):
14274         * gst/Makefile.am:
14275         * gst/gst.h:
14276         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14277         (gst_segment_set_seek), (gst_segment_set_newsegment),
14278         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14279         (gst_segment_clip):
14280         * gst/gstsegment.h:
14281         Added segment helper structure and methods. Not fully implemented
14282         yet.
14283         Added segment check.
14284
14285 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
14286
14287         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14288           Add a deserialisation test for fractions
14289         * examples/metadata/read-metadata.c: (message_loop),
14290         (make_pipeline), (main):
14291           Fix up metadata reading sample.
14292         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14293           Debug format fix
14294         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14295           Don't try and fixate empty caps
14296         * gst/gst_private.h:
14297           Wrap in G_BEGIN_DECLS/G_END_DECLS
14298         * gst/gstvalue.c: (gst_value_collect_fraction),
14299         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14300         (gst_value_transform_string_fraction),
14301         (gst_value_compare_fraction):
14302           Add some extra guards to ensure that we don't end up 
14303           with an invalid denominator of 0 in a gstfraction and
14304           that fractions always get reduced.
14305
14306 2005-11-20  Wim Taymans  <wim@fluendo.com>
14307
14308         * docs/gst/gstreamer-sections.txt:
14309         * gst/gstbuffer.h:
14310         * gst/gstelement.c:
14311         * gst/gstformat.c:
14312         * gst/gstformat.h:
14313         * gst/gstindex.h:
14314         * gst/gstquery.c:
14315         * gst/gstquery.h:
14316         * gst/gstvalue.c:
14317         Doc fixes.
14318
14319 2005-11-20  Wim Taymans  <wim@fluendo.com>
14320
14321         * docs/design/part-TODO.txt:
14322         * gst/gstcaps.h:
14323         Make a proper enum of the flag.
14324
14325 2005-11-19  Wim Taymans  <wim@fluendo.com>
14326
14327         * docs/design/part-TODO.txt:
14328         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14329         (gst_format_to_quark), (gst_format_register):
14330         * gst/gstformat.h:
14331         * gst/gstquery.c: (_gst_query_initialize),
14332         (gst_query_type_get_name), (gst_query_type_to_quark),
14333         (gst_query_type_register):
14334         * gst/gstquery.h:
14335         Add type to quark and type to string conversions.
14336
14337 2005-11-19  Andy Wingo  <wingo@pobox.com>
14338
14339         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14340         #320097.
14341
14342 2005-11-19  Wim Taymans  <wim@fluendo.com>
14343
14344         * docs/design/part-TODO.txt:
14345         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14346         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14347         (gst_bin_handle_message_func):
14348         * gst/gstbin.h:
14349         Make message handling overridable.
14350
14351 2005-11-19  Andy Wingo  <wingo@pobox.com>
14352
14353         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14354
14355         * gst/gstclock.h:
14356         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14357         be a GstClockTime.
14358         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14359         is a GstClockTime. Fixes #321710.
14360
14361         * gst/gstclock.h (GstClock): Remove offset property. Add
14362         internal_calibration and external_calibration. Fix padding. Pad
14363         also by GstClockTime so we don't run into problems.
14364
14365         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14366         (gst_clock_get_rate_offset): Remove.
14367         (gst_clock_set_time_adjust): Remove. Fixes #321712.
14368
14369         * gst/gstutils.h:
14370         * gst/gstutils.c (g_static_rec_cond_wait)
14371         (g_static_rec_cond_timed_wait): Removed, no longer needed.
14372
14373         * gst/gstbin.c: Remove terrible continue_state prototype.
14374
14375         * gst/gstelement.h (gst_element_continue_state): Make public.
14376
14377         * gst/gstelement.h:
14378         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14379         by continue_state. Fixes #319389.
14380
14381         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14382         Really fixes #168438. However I don't see anywhere where the
14383         filter function is called... stupid GStreamer...
14384         
14385         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
14386         don't have a dispose function, so it won't get called when the
14387         object is unreffed, but oh well!
14388
14389         * gst/gstindex.c (gst_index_set_filter_full): New API function,
14390         allows a destroy function to be set so user_data can be freed.
14391         Fixes #168438.
14392         (gst_index_set_filter): Call gst_index_set_filter_full.
14393
14394         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
14395
14396         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
14397         string should produce an error, given the lack of a way to
14398         represent NULL strings. Fixes #165650.
14399         
14400         * gst/gstvalue.h: 
14401         * gst/gstvalue.c (gst_value_array_append_value) 
14402         (gst_value_array_prepend_value, gst_value_array_get_size) 
14403         (gst_value_array_get_value): New API, copied from
14404         gst_value_list_*, only operates on arrays.
14405         (gst_value_list_append_value, gst_value_list_prepend_value) 
14406         (gst_value_list_concat, gst_value_list_get_size) 
14407         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
14408
14409         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
14410         init_list, because it works on both.
14411         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
14412         (gst_value_copy_list_or_array): Renamed from copy_list.
14413         (gst_value_free_list_or_array): Renamed from free_list.
14414         (gst_value_collect_list_or_array): Renamed from collect_list.
14415         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
14416         (gst_value_list_or_array_peek_pointer): Renamed from
14417         list_peek_pointer.
14418         (_gst_value_array_value_table, _gst_value_list_value_table):
14419         Update value table functions.
14420         (gst_value_compare_list_or_array): Renamed from compare_list.
14421
14422         * gsttaglist.h: Whoops, foreach function returns void. Also fix
14423         some constness.
14424
14425         * gst/gsttaglist.c:
14426         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
14427         GstTagList*. Fixes #143472.
14428
14429         * gst/gststructure.h: Clarify what the foreach/map functions can
14430         or can't do to their arguments.
14431
14432 2005-11-18  Wim Taymans  <wim@fluendo.com>
14433
14434         * gst/gstclock.c: (gst_clock_set_calibration),
14435         (gst_clock_get_calibration):
14436         Doc and API fixes.
14437         Calibration can be set with internal time equal to current
14438         internal time too.
14439
14440 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
14441
14442         * gst/gsterror.c:
14443         * gst/gsterror.h:
14444           document
14445
14446 2005-11-18  Andy Wingo  <wingo@pobox.com>
14447
14448         * configure.ac: 
14449         * pkgconfig/gstreamer-net.pc.in:
14450         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14451         * pkgconfig/Makefile.am: Add net pkgconfig files.
14452
14453 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
14454
14455         * gst/gstcaps.c:
14456         * gst/gstghostpad.c:
14457         * gst/gsttrace.c:
14458         * gst/gstvalue.c:
14459         * gst/gstvalue.h:
14460           docs fixes
14461
14462 2005-11-18  Andy Wingo  <wingo@pobox.com>
14463
14464         * gst/net/gstnetclientclock.c: Turn off debugging.
14465
14466         * check/net/gstnetclientclock.c (test_functioning): Assert that the
14467         times connverge somewhat. Can't make a real test.
14468
14469         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
14470         integer arithmetic. Return the minimum of the domain, which can be
14471         set as "internal" for gst_clock_set_calibration.
14472         (gst_net_client_clock_observe_times): Call _set_calibration.
14473         (gst_net_client_clock_new): Call _set_calibration instead of
14474         rate_offset.
14475
14476         * check/net/gstnetclientclock.c (test_functioning): Use the right
14477         adjustment api.
14478
14479         * gst/gstclock.h:
14480         * gst/gstclock.c (gst_clock_get_calibration) 
14481         (gst_clock_set_calibration): New functions, obsolete the ones I
14482         added yesterday. Doh. Precision issues mean we have to extrapolate
14483         from a point in the more recent past than 1970.
14484         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
14485         obsolete.
14486         (gst_clock_adjust_unlocked): Use the right calibration data.
14487
14488 2005-11-18  Edward Hervey  <edward@fluendo.com>
14489
14490         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
14491         Also reset the ->current_* values in READY->PAUSED
14492
14493 2005-11-18  Andy Wingo  <wingo@pobox.com>
14494
14495         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
14496         Whoops, check the right fd. Also add some debugging.
14497         (gst_net_client_clock_observe_times): Adjust for int64 offset.
14498         (do_linear_regression): Add a crapload of debugging. Subtract off
14499         the minimum values from the input series to discard unneeded bits.
14500         Use only int arithmetic. There is still double arithmetic when
14501         calculating the intercept that needs fixing. Return boolean to
14502         indicate success; FALSE would mean the domain or range is too
14503         great. Still needs fixes.
14504
14505 2005-11-18  Wim Taymans  <wim@fluendo.com>
14506
14507         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14508         For the current position in stream time, we need to subtract
14509         accumulated time.
14510         
14511         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14512         Release lock before calling the callback function of async
14513         entries.
14514
14515 2005-11-18  Andy Wingo  <wingo@pobox.com>
14516
14517         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14518         Port goes all the way to MAXUINT16.
14519
14520         * gst/net/gstnettimeprovider.c: Make the port range the same as
14521         for the kernel: 0 assigns, otherwise ports are less than
14522         MAXUINT16.
14523
14524         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14525         port change.
14526
14527         * check/net/gstnetclientclock.c (test_functioning): Add the start
14528         of another test. 
14529
14530 2005-11-18  Wim Taymans  <wim@fluendo.com>
14531
14532         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14533         (gst_bin_remove_func), (bin_bus_handler):
14534         * gst/gstbin.h:
14535         Removing a clock provider from a bin, triggers a clock lost message
14536         so that a new clock will be selected.
14537         Adding a clock to a bin triggers a clock provider message.
14538         Make sure we reselect a clock when we received a clock lost message.
14539         Keep a reference to the element that provided the clock.
14540
14541 2005-11-18  Andy Wingo  <wingo@pobox.com>
14542
14543         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14544         the clock initially so it produces values around the base time.
14545         (gst_net_client_clock_class_init): Typo fix.
14546         (gst_net_client_clock_thread): Add note on when the socket gets
14547         closed.
14548
14549 2005-11-17  Wim Taymans  <wim@fluendo.com>
14550
14551         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14552         Free remote and local time arrays.
14553
14554 2005-11-17  Wim Taymans  <wim@fluendo.com>
14555
14556         * gst/net/gstnetclientclock.c: (do_linear_regression),
14557         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14558         Fix compilation, uninitialized vars and a forgotten continue.
14559
14560 2005-11-17  Andy Wingo  <wingo@pobox.com>
14561
14562         * check/Makefile.am (check_PROGRAMS): 
14563         * check/net/gstnetclientclock.c: Add a most minimal test for the
14564         net client clock. More to come later.
14565
14566         * gst/net/gstnet.h: 
14567         * gst/net/Makefile.am: Add netclientclock.
14568
14569         * gst/net/gstnetclientclock.h:
14570         * gst/net/gstnetclientclock.c: New files, implement an untested
14571         GstClock that takes its time from a network time provider.
14572         Implements the algorithm in network-clock.scm.
14573
14574         * tests/network-clock.scm (*window-size*): Rename from
14575         *queue-length*.
14576         * tests/network-clock.scm (network-time): 
14577         * tests/network-clock-utils.scm (q-push): Update callers.
14578
14579 2005-11-17  Wim Taymans  <wim@fluendo.com>
14580
14581         * gst/gstbin.c: (gst_bin_provide_clock_func),
14582         (gst_bin_sort_iterator_new):
14583         And unref the child too..
14584
14585 2005-11-17  Wim Taymans  <wim@fluendo.com>
14586
14587         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14588         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14589         Refactor the sort iterator so it can be used while holding the
14590         LOCK too.
14591         Make clock selection select a clock closest to the source.
14592
14593 2005-11-17  Michael Smith <msmith@fluendo.com>
14594
14595         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14596         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14597         * gst/gstclock.h:
14598           Anonymous structs are a gcc (and some other compilers) extension, so
14599           don't use them. Since this is only for ABI-compatibility, and our
14600           API/ABI freeze is over in a few days, this whole thing will only
14601           last a few days, so don't bother trying to think up a meaningful
14602           name for the struct.
14603
14604 2005-11-17  Andy Wingo  <wingo@pobox.com>
14605
14606         * gst/gstclock.h (GstClock): Add rate and offset properties,
14607         preserving ABI stability. Add rate/offset accessors. Will file bug
14608         for the freeze break.
14609
14610         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14611         and offset, trying to keep precision and avoiding
14612         underflow/overflow.
14613         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14614         functions. Make gst_clock_set_time_adjust obsolete.
14615         (gst_clock_set_time_adjust): Note that this function is obsolete.
14616         Will file bug soon.
14617
14618         * gst/base/gstbasetransform.h: Make the ABI-stability hack
14619         greppable by using GST_PADDING-1+1.
14620
14621 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
14622
14623         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14624
14625         * gst/gstmessage.c: (gst_message_parse_clock_lost):
14626           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14627
14628         * gst/gstpadtemplate.h:
14629         * gst/gstpluginfeature.h:
14630           Don't use c++ style comments in headers (#321638).
14631
14632 2005-11-16  Andy Wingo  <wingo@pobox.com>
14633
14634         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14635         buffer.
14636
14637         * check/net/gstnettimeprovider.c: Check to see that the time
14638         provider actually provides times. Works, yo!
14639
14640 2005-11-16  Wim Taymans  <wim@fluendo.com>
14641
14642         * check/Makefile.am:
14643         Enable more tests.
14644
14645         * check/elements/fakesrc.c: (GST_START_TEST):
14646         Set element to NULL before disposing it.
14647
14648 2005-11-16  Andy Wingo  <wingo@pobox.com>
14649
14650         * gst/net/Makefile.am:
14651         * gst/net/gstnet.h:
14652         * gst/net/gstnettimeprovider.c: 
14653         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14654         provider, include it from gstnet.h, and add it to the build.
14655
14656         * gst/net/gstnettimepacket.h: 
14657         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14658         sending and receiving.
14659
14660 2005-11-16  Wim Taymans  <wim@fluendo.com>
14661
14662         * check/Makefile.am:
14663         Enable valgrind check.
14664
14665         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14666         (gst_fake_src_alloc_buffer):
14667         Fix memleak.
14668
14669 2005-11-16  Wim Taymans  <wim@fluendo.com>
14670
14671         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14672         Call parent finalize too.
14673
14674 2005-11-16  Wim Taymans  <wim@fluendo.com>
14675
14676         * check/Makefile.am:
14677         Enable valgrind check that should work fine now.
14678
14679         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14680         * gst/gstqueue.c: (gst_queue_init):
14681         Fix memleaks in pad allocation.
14682
14683 2005-11-16  Andy Wingo  <wingo@pobox.com>
14684
14685         * gst/net/Makefile.am:
14686         * gst/net/gstnet.h: New part of core to hold network elements and
14687         objects. Put in core because it exposes API that applications want
14688         to use. The library is named libgstnet-tempname right now because
14689         of the existing libgstnet in gst-plugins-base. Solution is
14690         probably to rename the one in plugins-base; will file a bug for
14691         the freeze break.
14692
14693         * gst/net/gstnettimeprovider.c: 
14694         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14695         get_time call over the network.
14696
14697         * configure.ac: 
14698         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14699
14700         * check/Makefile.am:
14701         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14702         get additions shortly.
14703
14704 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14705
14706         * gst/gstpad.c: (gst_pad_new_from_static_template):
14707         * gst/gstpad.h:
14708           add gst_pad_new_from_static_template functions
14709         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
14710         (gst_check_setup_sink_pad):
14711         * gst/elements/gsttee.c: (gst_tee_init):
14712           and use them
14713
14714 2005-11-16  Wim Taymans  <wim@fluendo.com>
14715
14716         * gst/gstpad.c: (gst_pad_pause_task):
14717         Removed warning, it's not really an error either.
14718
14719 2005-11-16  Wim Taymans  <wim@fluendo.com>
14720
14721         * gst/base/gstbasetransform.c:
14722         (gst_base_transform_prepare_output_buf),
14723         (gst_base_transform_event):
14724         Check if the caps are NULL, this can happen if the element
14725         is shutting down and the pad caps are set to NULL.
14726
14727 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14728
14729         * gst/elements/gsttee.c: (gst_tee_init):
14730           fix pad template leak in tee
14731
14732 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14733
14734         * gst/glib-compat.c: (g_value_dup_gst_object):
14735         * gst/glib-compat.h:
14736         * gst/gstpad.c: (gst_pad_set_property):
14737           use gst_object_ref when setting the pad template; this will
14738           trigger the pad template leaks on GLib 2.6 and the slaves
14739
14740 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14741
14742         * gst/glib-compat.c: (gst_flags_get_first_value):
14743         * gst/glib-compat.h:
14744         * gst/gstregistryxml.c:
14745           remove functions copied from GLib 2.6
14746
14747 2005-11-16  Michael Smith <msmith@fluendo.com>
14748
14749         * gst/Makefile.am:
14750           Don't link against VALGRIND_LIBS. That was always the wrong thing to
14751           do, but only breaks with newer valgrind versions. We're not a
14752           valgrind tool, we have no link-time dependencies on libcoregrind.
14753
14754 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14755
14756         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14757           some debug changes
14758         * gst/gstmessage.h:
14759           typo fixes
14760
14761 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14762
14763         * gst/base/gstbasesrc.c: (gst_base_src_init):
14764         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14765         * gst/gstqueue.c: (gst_queue_init):
14766         * gst/gstregistryxml.c: (load_feature):
14767           Revert all these unrefs, they don't even pass make check !
14768
14769 2005-11-15  Johan Dahlin  <johan@gnome.org>
14770
14771         * gst/base/gstbasesrc.c: (gst_base_src_init):
14772         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14773         * gst/gstqueue.c: (gst_queue_init): 
14774         Free pad templates, fixes a couple of leaks.
14775
14776 2005-11-15  Daniel Fischer  <dan at f3c dot com>
14777
14778         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14779
14780         * gst/gstpad.c: (gst_pad_get_property):
14781           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
14782           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
14783           (#321452)
14784
14785 2005-11-15  Wim Taymans  <wim@fluendo.com>
14786
14787         * gst/gstevent.c:
14788         Small doc update.
14789
14790 2005-11-15  Andy Wingo  <wingo@pobox.com>
14791
14792         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
14793
14794         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
14795         using GST_CLOCK_TIME_NONE to disable base time management.
14796         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
14797         time if it was NONE before.
14798         (gst_pipeline_change_state): Only munge the base time if
14799         stream_time != GST_CLOCK_TIME_NONE.
14800
14801         * check/gst/gstpipeline.c (test_base_time): Punt around the
14802         problem of the probe not being called, because that's not the
14803         issue I'm looking at. Add a check that setting stream_time to NONE
14804         disables base time management.
14805         
14806 2005-11-15  Wim Taymans  <wim@fluendo.com>
14807
14808         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14809         segment_stop == -1 at startup.
14810
14811         * gst/base/gstbasetransform.c: (gst_base_transform_event),
14812         (gst_base_transform_change_state):
14813         Init segment values at start.
14814
14815 2005-11-15  Wim Taymans  <wim@fluendo.com>
14816
14817         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14818         0 segment values are 0 in any format.
14819
14820         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14821         * gst/base/gstbasetransform.h:
14822         Parse newsegment correctly in basetransform
14823
14824         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14825         Sync to clock using updated segment values.
14826
14827 2005-11-15  Andy Wingo  <wingo@pobox.com>
14828
14829         * check/gst/gstpipeline.c (test_base_time): Add check that the
14830         base time and stream time are reset correctly.
14831
14832 2005-11-15  Wim Taymans  <wim@fluendo.com>
14833
14834         * docs/design/part-TODO.txt:
14835         Some more TODO items.
14836
14837 2005-11-15  Andy Wingo  <wingo@pobox.com>
14838
14839         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14840         error if the user selected "no clock" as the clocking method.
14841
14842         * check/gst/gstpipeline.c (test_base_time): New test for buffer
14843         timestamps with live capture.
14844
14845         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14846         is 0 but we are a live source, timestamp the buffers using the
14847         element's clock.
14848
14849 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
14850
14851         * docs/gst/gstreamer-sections.txt:
14852         * gst/gsterror.c:
14853         * gst/gstghostpad.c:
14854         * gst/gstobject.h:
14855         * gst/gstxml.c:
14856           more section docs
14857
14858 2005-11-14  Wim Taymans  <wim@fluendo.com>
14859
14860         * common/gst.supp:
14861           add suppressions from Wim's Debian machine
14862
14863 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14864
14865         * common/gst.supp:
14866           add suppressions from Andy's AMD64 Ubuntu machine
14867
14868 2005-11-14  Andy Wingo  <wingo@pobox.com>
14869
14870         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14871         STATE_LOCK not necessary. Fixes #311489.
14872
14873         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14874         #305291.
14875
14876         * gst/gstindex.c (gst_index_add_object): Note in the docs that
14877         this function is not implemented.
14878
14879 2005-11-14  Julien MOUTTE  <julien@moutte.net>
14880
14881         * gst/base/gstbasetransform.c:
14882         (gst_base_transform_prepare_output_buf):
14883         Ref the source pad caps while we need them.
14884         Fixes (#321386)
14885
14886 2005-11-11  Wim Taymans  <wim@fluendo.com>
14887
14888         * docs/gst/gstreamer-sections.txt:
14889         Added some docs for GstCollectData.
14890
14891         * gst/base/gstadapter.c:
14892         Some small code example fix.
14893
14894         * gst/base/gstcollectpads.c:
14895         * gst/base/gstcollectpads.h:
14896         Document some more.
14897
14898 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14899
14900         * configure.ac: back to HEAD
14901
14902 === release 0.9.5 ===
14903
14904 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
14905
14906         * configure.ac:
14907           releasing 0.9.5, "Bike Lunch Day"
14908
14909 2005-11-11  Wim Taymans  <wim@fluendo.com>
14910
14911         * gst/gstbuffer.c: (_gst_buffer_copy):
14912         Copy more flags.
14913
14914         * gst/gstcaps.c: (gst_caps_is_equal):
14915         Fix some docs.
14916         Make _is_equal fast in the trivial cases.
14917
14918         * gst/gstminiobject.c:
14919         * gst/gstminiobject.h:
14920         More docs. Spifify .h file.
14921
14922         * gst/gstutils.c:
14923         Small doc update.
14924
14925 2005-11-11  Wim Taymans  <wim@fluendo.com>
14926
14927         * gst/base/gstbasetransform.c:
14928         (gst_base_transform_prepare_output_buf),
14929         (gst_base_transform_handle_buffer):
14930         Small cleanups.
14931         If we're processing a buffer and need to allocate an output
14932         buffer, we cannot accept a format change. If we did get a 
14933         format change, we have to alloc a buffer ourselves of the 
14934         right size.
14935
14936 2005-11-11  Wim Taymans  <wim@fluendo.com>
14937
14938         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14939         While checking the flag for reentrancy in the gstcaps function
14940         is nice to detect recursive invocations, it also makes it 
14941         impossible to call getcaps from multiple threads, which must be
14942         possible. So, checking for recursive calls has to go.
14943
14944 2005-11-11  Michael Smith <msmith@fluendo.com>
14945
14946         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14947           Don't sync on buffers that fall partially outside our current
14948           segment. Prevents an assertion failure/abort playing some files.
14949
14950 2005-11-10  Andy Wingo  <wingo@pobox.com>
14951
14952         * check/gst/gstbin.c (test_message_state_changed_children): Style
14953         fix..
14954
14955         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14956         gst_bus_poll with the signal watch. Ensures that poll and a signal
14957         watch see the same messages.
14958
14959         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14960         a poll and a watch at the same time get the same messages.
14961
14962 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14963
14964         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14965         * gst/gstcaps.c: (gst_caps_intersect):
14966           Don't call gst_caps_do_simplify - it doesn't respect order of caps
14967           and it's not needed.
14968
14969 2005-11-10  Wim Taymans  <wim@fluendo.com>
14970
14971         * docs/design/part-TODO.txt:
14972         Updated todo.
14973
14974 2005-11-10  Wim Taymans  <wim@fluendo.com>
14975
14976         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14977         * gst/base/gstbasesrc.c: (gst_base_src_wait),
14978         (gst_base_src_do_sync), (gst_base_src_get_range):
14979         Implement clock sync in base class.
14980
14981 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14982
14983         patch by: Tim-Philipp Müller <tim at centricular dot net>
14984
14985         * gst/gststructure.c: (gst_structure_parse_field),
14986         (gst_structure_from_string):
14987           Forward-port a 0.8 patch to handle escaped spaces in structure string,
14988           so that gst_parse_launch() can deal with spaces in filtered link
14989           caps (fixes #164479)
14990         * check/gst/capslist.h:
14991         * check/gst/gststructure.c: (GST_START_TEST):
14992           add unit tests for this change
14993
14994 2005-11-10  Wim Taymans  <wim@fluendo.com>
14995
14996         * docs/gst/gstreamer-sections.txt:
14997         * gst/gstelement.c:
14998         * gst/gstelement.h:
14999         Fix docs, move some STATE macros to private.
15000
15001 2005-11-10  Wim Taymans  <wim@fluendo.com>
15002
15003         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15004         Added check for bug #317341
15005
15006         * gst/gstbuffer.c:
15007         * gst/gstbuffer.h:
15008         Some more spiffifying.
15009
15010         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15011         Call peer linkfunction if we are a source pad. Totally fixes
15012         #317341
15013
15014         * gst/gstpad.c:
15015         Update docs, source pads should call the peer linkfunction
15016         so they can atomically perform the pad link.
15017
15018 2005-11-09  Wim Taymans  <wim@fluendo.com>
15019
15020         * gst/gstbuffer.c:
15021         * gst/gstbuffer.h:
15022         Uber-spiffy-spiffify some more.
15023
15024 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
15025
15026         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15027         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15028         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15029         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15030         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15031         * gst/gstpad.c: (gst_pad_init):
15032           Use GST_DEBUG_FUNCPTR() more extensively.
15033
15034 2005-11-09  Wim Taymans  <wim@fluendo.com>
15035
15036         * gst/gstobject.c: (gst_object_class_init):
15037         * gst/gstobject.h:
15038         Documentation fixes.
15039
15040 2005-11-09  Edward Hervey  <edward@fluendo.com>
15041
15042         * gst/gsttypefindfactory.c:
15043         Fix docs.
15044         
15045 2005-11-09  Edward Hervey  <edward@fluendo.com>
15046
15047         * gst/base/gsttypefindhelper.c:
15048         * gst/gsttypefind.c:
15049         * gst/gsttypefind.h:
15050         Fix docs.
15051
15052 2005-11-09  Wim Taymans  <wim@fluendo.com>
15053
15054         * gst/gstiterator.c:
15055         Fix revision data.
15056
15057         * gst/gsttask.c:
15058         * gst/gsttask.h:
15059         Fix docs.
15060
15061 2005-11-09  Wim Taymans  <wim@fluendo.com>
15062
15063         * gst/gstevent.h:
15064         * gst/gsturi.h:
15065         Fix docs.
15066
15067 2005-11-09  Wim Taymans  <wim@fluendo.com>
15068
15069         * docs/gst/gstreamer-sections.txt:
15070         Moved the message async delivery private lock and cond
15071         to the private section.
15072
15073         * gst/gstmessage.c:
15074         * gst/gstmessage.h:
15075         Fixed docs.
15076
15077 2005-11-09  Edward Hervey  <edward@fluendo.com>
15078
15079         * docs/gst/gstreamer-sections.txt:
15080         * gst/gsturi.c:
15081         * gst/gsturi.h:
15082         Document GstURIHandler
15083
15084 2005-11-09  Wim Taymans  <wim@fluendo.com>
15085
15086         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15087         (gst_iterator_find_custom):
15088         * gst/gstiterator.h:
15089         Fix iterator docs.
15090
15091 2005-11-09  Wim Taymans  <wim@fluendo.com>
15092
15093         * gst/gstbin.h:
15094         Document another field.
15095
15096         * gst/gststructure.c:
15097         * gst/gststructure.h:
15098         Document.
15099
15100 2005-11-09  Wim Taymans  <wim@fluendo.com>
15101
15102         * gst/gstbin.h:
15103         Documented structs.
15104
15105 2005-11-09  Wim Taymans  <wim@fluendo.com>
15106
15107         * docs/gst/gstreamer-sections.txt:
15108         Added some new macros.
15109
15110         * gst/gstclock.c:
15111         * gst/gstclock.h:
15112         * gst/gstobject.h:
15113         Docs updates.
15114
15115 2005-11-09  Wim Taymans  <wim@fluendo.com>
15116
15117         * docs/design/part-TODO.txt:
15118         Some more items for the TODO
15119
15120         * gst/gstcaps.c:
15121         * gst/gstcaps.h:
15122         Document GstCaps.
15123
15124 2005-11-09  Andy Wingo  <wingo@pobox.com>
15125
15126         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15127         to work on something else now tho...
15128
15129         * gst/base/gstadapter.c: More adapter docs.
15130
15131         * gst/elements/gstfilesink.c (gst_file_sink_start) 
15132         (gst_file_sink_stop): New functions, replace the state change
15133         handler.
15134         (gst_file_sink_class_init): Hook up the start and stop functions.
15135         (gst_file_sink_base_init): Don't set the state change handler any
15136         more. It was a bit ugly too, being set from here...
15137         (gst_file_sink_get_property, gst_file_sink_set_property):
15138         Cleanups...
15139         (gst_file_sink_set_location): More robust check that doesn't call
15140         GST_STATE. Ugggggg.
15141
15142 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
15143
15144         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15145           Hold STREAM_LOCK while pushing newsegment or tag events as well.
15146
15147 2005-11-08  Wim Taymans  <wim@fluendo.com>
15148
15149         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15150         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15151         (gst_base_sink_chain), (gst_base_sink_change_state):
15152         * gst/base/gstbasesink.h:
15153         * gst/base/gstbasesrc.h:
15154         * gst/gstelement.h:
15155         * gst/gstevent.h:
15156         Avoid excessive typechecking in macros.
15157
15158         * gst/gstminiobject.c: (gst_mini_object_get_type),
15159         (gst_mini_object_init), (gst_mini_object_new),
15160         (gst_mini_object_free):
15161         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15162         (gst_object_finalize):
15163         Remove cruft code, optimize alloc_trace.
15164
15165 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15166
15167         * docs/faq/gst-uninstalled:
15168           fix up PS1 for systems that try to reset it
15169
15170 2005-11-07  Wim Taymans  <wim@fluendo.com>
15171
15172         * gst/base/gstbasesrc.c: (gst_base_src_init),
15173         (gst_base_src_get_range):
15174         Set the segment_end to -1 initially. Fixed typefind.
15175
15176 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
15177
15178         * gst/base/gstadapter.c:
15179           Debug category should be 'adapter', not 'GstAdapter'.
15180           
15181         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15182         (gst_collectpads_class_init), (gst_collectpads_init),
15183         (gst_collectpads_peek), (gst_collectpads_pop),
15184         (gst_collectpads_event), (gst_collectpads_chain):
15185           Add debug category and some debugging output. Use boilerplate
15186           macros. Remove some extraneous words from docs.
15187
15188 2005-11-05  Andy Wingo  <wingo@pobox.com>
15189
15190         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15191         macro.
15192
15193 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15194
15195         * docs/gst/gstreamer-sections.txt:
15196         * gst/gstcaps.h:
15197         * gst/gstinfo.c:
15198         * gst/gstminiobject.h:
15199         * gst/gstobject.h:
15200         * gst/gstutils.h:
15201           more docs added
15202
15203 2005-11-04  Wim Taymans  <wim@fluendo.com>
15204
15205         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15206         Small update to stop at the configured segment_end
15207         position.
15208
15209 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15210
15211         * gst/gstregistry.c:
15212         * gst/gstregistry.h:
15213           added missing docs
15214
15215 2005-11-04  Edward Hervey  <edward@fluendo.com>
15216
15217         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15218         Check if we are doing a segment seek and have arrived at the
15219         end of that segment.
15220
15221 2005-11-04  Wim Taymans  <wim@fluendo.com>
15222
15223         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15224         Don't leak a mutex unlock in case of an error.
15225
15226         * gst/gstbus.h:
15227         Doc fixes.
15228
15229 2005-11-04  Wim Taymans  <wim@fluendo.com>
15230
15231         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15232         (gst_bus_post):
15233         Get the context to wake up only once.
15234
15235 2005-11-03  Wim Taymans  <wim@fluendo.com>
15236
15237         * check/states/sinks.c: (GST_START_TEST):
15238         Uncomment fixed check.
15239
15240         * docs/design/part-TODO.txt:
15241         Updated TODO.
15242
15243         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15244         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15245         (gst_base_sink_get_position):
15246         If we are going to PLAYING, post the right pending state
15247         when we post the intermediate paused message.
15248
15249         * gst/gstelement.c: (gst_element_continue_state),
15250         (gst_element_set_state_func), (gst_element_change_state):
15251         Don't post state changes that were between the same state
15252         and were not ASYNC.
15253
15254 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
15255
15256         * docs/gst/gstreamer-sections.txt:
15257         * gst/gstcaps.h:
15258         * gst/gstinfo.c:
15259         * gst/gstminiobject.h:
15260         * gst/gstobject.h:
15261         * gst/gstutils.h:
15262           more docs and doc style fixes
15263
15264 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
15265
15266         * docs/gst/gstreamer-sections.txt:
15267         * gst/gstelement.c:
15268         * gst/gstminiobject.c:
15269         doc fixes
15270
15271 2005-11-03  Andy Wingo  <wingo@pobox.com>
15272
15273         * check/states/sinks.c (test_livesrc_sink): Add checks that the
15274         state-changed messages actually have the right order and the right
15275         values.
15276
15277 2005-11-03  Wim Taymans  <wim@fluendo.com>
15278
15279         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15280         Added some more checks. Specifically the case where NO_PREROLL
15281         elements are in the pipeline.
15282
15283         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15284         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15285         (gst_base_sink_get_position):
15286         Post READY->PAUSED state change messages too.
15287         Fix bug where VOID was posted as pending state...
15288
15289         * gst/gstbin.c: (gst_bin_recalc_state):
15290         use _element_continue_state() to continue the state change.
15291
15292         * gst/gstelement.c: (gst_element_continue_state),
15293         (gst_element_commit_state), (gst_element_set_state_func),
15294         (gst_element_change_state), (gst_element_change_state_func):
15295         Lots of state change cleanups, assign the STATE_RETURN in
15296         a new continue_state() function that also propagates the
15297         last return value from a state change to the app.
15298         Update some debug statements with proper category.
15299
15300 2005-11-03  Wim Taymans  <wim@fluendo.com>
15301
15302         * docs/design/part-events.txt:
15303         * docs/design/part-gstpipeline.txt:
15304         * docs/design/part-messages.txt:
15305         * docs/design/part-overview.txt:
15306         * docs/design/part-seeking.txt:
15307         * docs/design/part-states.txt:
15308         * docs/design/part-trickmodes.txt:
15309         * docs/manual/advanced-position.xml:
15310         Small docs updates.
15311
15312         * gst/gstobject.h:
15313         People think !! is ugly, this looks better.
15314
15315         * gst/gstpad.c: (gst_pad_set_blocked_async):
15316         Remove !! since it's fixed elsewhere now.
15317
15318 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
15319
15320         * gst/gstminiobject.h:
15321         * gst/gstobject.h:
15322           Add !! to _FLAG_IS_SET macros to make the result boolean.
15323
15324 2005-11-03  Edward Hervey  <edward@fluendo.com>
15325
15326         * gst/gstpad.c: (gst_pad_set_blocked_async):
15327         comparing a flag and a gboolean rarely returns coherent results...
15328         Added two characters (!!) to make that work correctly.
15329         
15330 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
15331
15332         * gst/gstbus.c: (gst_bus_class_init):
15333           Fix some typos.
15334           
15335         * gst/gstqueue.c: (gst_queue_loop):
15336           Don't assume a miniobject that isn't a buffer is an
15337           event (it could be that there is a refcounting
15338           problem somewhere and the pointer is stale and
15339           refers to an already destroyed miniobject).
15340
15341 2005-11-03  Julien MOUTTE  <julien@moutte.net>
15342
15343         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15344
15345 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
15346
15347         * docs/manual/advanced-position.xml:
15348           Update seek example and explanations to current 0.9 API.
15349
15350         * gst/elements/gsttypefindelement.c:
15351         (gst_type_find_element_activate):
15352           Remove FIXME comment now that the found caps
15353           are unreffed.
15354
15355 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15356
15357         * gst/gstregistryxml.c: (load_feature):
15358           Add another GST_STR_NULL instance
15359
15360 2005-11-02  Edward Hervey  <edward@fluendo.com>
15361
15362         * gst/gstpad.c: (handle_pad_block):
15363         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15364         
15365 2005-11-02  Wim Taymans  <wim@fluendo.com>
15366
15367         * gst/gstbin.c:
15368         Fix typo in docs.
15369
15370         * gst/gstelement.c: (gst_element_commit_state):
15371         Remove unused value.
15372
15373         * gst/gstiterator.c:
15374         Mention that the returned element is reffed in the docs.
15375
15376 2005-11-02  Wim Taymans  <wim@fluendo.com>
15377
15378         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15379         (gst_pad_push), (gst_pad_push_event):
15380         Unlock blocked pads when they are flushed.
15381
15382 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15383
15384         * docs/README:
15385         * docs/gst/gstreamer-sections.txt:
15386         * gst/gstbin.c:
15387           doc updates
15388         * gst/gstregistry.c: (gst_registry_scan_path_level):
15389           fix for a nasty little missed situation where an installed plug-in
15390           which was in the cache did not get overridden by an uninstalled one
15391           which was earlier in the plugin path because the newly created plugin
15392           for the uninstalled one (not in the registry) didn't get its
15393           ->registered set to TRUE
15394
15395 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
15396
15397         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
15398         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
15399         (gst_collectpads_is_active), (gst_collectpads_collect),
15400         (gst_collectpads_collect_range), (gst_collectpads_start),
15401         (gst_collectpads_stop), (gst_collectpads_peek),
15402         (gst_collectpads_pop), (gst_collectpads_available),
15403         (gst_collectpads_read), (gst_collectpads_flush):
15404           Guard public API with assertions.
15405         
15406         * gst/gstpad.c:
15407           Fix docs for gst_pad_set_link_function().
15408
15409 2005-11-02  Johan Dahlin  <johan@gnome.org>
15410
15411         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
15412         Unref found_caps after we used it.
15413
15414 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
15415
15416         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
15417           Don't try to ref NULL.
15418
15419 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15420
15421         * win32/common/config.h.in:
15422           provide a GST_FUNCTION that just gives a string for now
15423
15424 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15425
15426         * win32/common/gstenumtypes.c: (register_gst_object_flags),
15427         (gst_object_flags_get_type), (register_gst_bin_flags),
15428         (gst_bin_flags_get_type), (register_gst_buffer_flag),
15429         (gst_buffer_flag_get_type), (register_gst_bus_flags),
15430         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15431         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
15432         (gst_clock_return_get_type), (register_gst_clock_entry_type),
15433         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15434         (gst_clock_flags_get_type), (register_gst_state),
15435         (gst_state_get_type), (register_gst_state_change_return),
15436         (gst_state_change_return_get_type), (register_gst_state_change),
15437         (gst_state_change_get_type), (register_gst_element_flags),
15438         (gst_element_flags_get_type), (register_gst_core_error),
15439         (gst_core_error_get_type), (register_gst_library_error),
15440         (gst_library_error_get_type), (register_gst_resource_error),
15441         (gst_resource_error_get_type), (register_gst_stream_error),
15442         (gst_stream_error_get_type), (register_gst_event_type),
15443         (gst_event_type_get_type), (register_gst_seek_type),
15444         (gst_seek_type_get_type), (register_gst_seek_flags),
15445         (gst_seek_flags_get_type), (register_gst_format),
15446         (gst_format_get_type), (register_gst_index_certainty),
15447         (gst_index_certainty_get_type), (register_gst_index_entry_type),
15448         (gst_index_entry_type_get_type),
15449         (register_gst_index_lookup_method),
15450         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15451         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15452         (gst_index_resolver_method_get_type), (register_gst_index_flags),
15453         (gst_index_flags_get_type), (register_gst_debug_level),
15454         (gst_debug_level_get_type), (register_gst_debug_color_flags),
15455         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15456         (gst_iterator_result_get_type), (register_gst_iterator_item),
15457         (gst_iterator_item_get_type), (register_gst_message_type),
15458         (gst_message_type_get_type), (register_gst_mini_object_flags),
15459         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15460         (gst_pad_link_return_get_type), (register_gst_flow_return),
15461         (gst_flow_return_get_type), (register_gst_activate_mode),
15462         (gst_activate_mode_get_type), (register_gst_pad_direction),
15463         (gst_pad_direction_get_type), (register_gst_pad_flags),
15464         (gst_pad_flags_get_type), (register_gst_pad_presence),
15465         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15466         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15467         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15468         (gst_plugin_error_get_type), (register_gst_plugin_flags),
15469         (gst_plugin_flags_get_type), (register_gst_rank),
15470         (gst_rank_get_type), (register_gst_query_type),
15471         (gst_query_type_get_type), (register_gst_tag_merge_mode),
15472         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15473         (gst_tag_flag_get_type), (register_gst_task_state),
15474         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15475         (gst_alloc_trace_flags_get_type),
15476         (register_gst_type_find_probability),
15477         (gst_type_find_probability_get_type), (register_gst_uri_type),
15478         (gst_uri_type_get_type), (register_gst_parse_error),
15479         (gst_parse_error_get_type):
15480         * win32/common/gstversion.h:
15481           update win32 copies
15482
15483 2005-11-01  Luca Ognibene  <luogni@tin.it>
15484
15485         * gst/gst.c:
15486           fix docs. popt is dead, long live GOption.
15487
15488 2005-10-31  Wim Taymans  <wim@fluendo.com>
15489
15490         * gst/gstbuffer.h:
15491         Small doc fix.
15492
15493 2005-10-31  Andy Wingo  <wingo@pobox.com>
15494
15495         * Boo!
15496
15497         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
15498
15499         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
15500         need to serialize property notifications on GLib 2.8. GLib 2.6 has
15501         the possibility of deadlocks here if code calling notify() or
15502         set() has a lock that can be taken in another notify handler (ABBA
15503         with class lock and e.g. python GIL state lock).
15504
15505 2005-10-28  Julien MOUTTE  <julien@moutte.net>
15506
15507         * gst/gstbus.c: Doc updates.
15508
15509 2005-10-28  Wim Taymans  <wim@fluendo.com>
15510
15511         * docs/design/part-TODO.txt:
15512         * gst/gstiterator.c:
15513         * gst/gstsystemclock.c:
15514         * gst/gstsystemclock.h:
15515         Doc updates.
15516
15517 2005-10-28  Edward Hervey  <edward@fluendo.com>
15518
15519         * docs/gst/gstreamer-docs.sgml:
15520         * docs/gst/gstreamer-sections.txt:
15521         the GstURIType documentation page is private, it only defines GstURIType
15522         which should be defined in the GstURIHandler page
15523         
15524 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15525
15526         * gst/gstbin.c: (gst_bin_class_init):
15527         * gst/gstbin.h:
15528         * gst/gstutils.c:
15529         Documentation updates.
15530
15531 2005-10-28  Wim Taymans  <wim@fluendo.com>
15532
15533         * docs/gst/gstreamer-sections.txt:
15534         * gst/gstclock.c:
15535         * gst/gstclock.h:
15536         Documented the clocks.
15537
15538 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
15539
15540         * docs/gst/gstreamer-sections.txt:
15541           move some macros to private sections
15542         * gst/gstminiobject.c:
15543         * gst/gstminiobject.h:
15544           add descriptions provided by ds and some more
15545         * gst/gstpad.h:
15546           mark macro as to be removed
15547
15548 2005-10-28  Wim Taymans  <wim@fluendo.com>
15549
15550         * docs/design/part-TODO.txt:
15551         Add an item to TODO.
15552
15553         * gst/gstiterator.c: (gst_iterator_fold),
15554         (gst_iterator_find_custom):
15555         * gst/gstiterator.h:
15556         Add iterator docs.
15557
15558 2005-10-28  Wim Taymans  <wim@fluendo.com>
15559
15560         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15561         (gst_base_transform_init):
15562         Don't leak class.
15563
15564         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15565         An EOS event marks the queue as completely filled.
15566
15567 2005-10-27  Wim Taymans  <wim@fluendo.com>
15568
15569         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15570         (gst_base_sink_do_sync), (gst_base_sink_get_position):
15571         Some more debugging.
15572
15573         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15574         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15575         (gst_base_transform_event), (gst_base_transform_getrange),
15576         (gst_base_transform_chain):
15577         * gst/base/gstbasetransform.h:
15578         Fix debugging,
15579         Protect transform and concurrent buffer alloc with a new lock.
15580         Try not to break ABI/API.
15581
15582 2005-10-27  Wim Taymans  <wim@fluendo.com>
15583
15584         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15585         (gst_base_src_init), (gst_base_src_query),
15586         (gst_base_src_default_newsegment),
15587         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15588         (gst_base_src_send_event), (gst_base_src_event_handler),
15589         (gst_base_src_pad_get_range), (gst_base_src_loop),
15590         (gst_base_src_unlock), (gst_base_src_default_negotiate),
15591         (gst_base_src_start), (gst_base_src_deactivate),
15592         (gst_base_src_activate_push), (gst_base_src_change_state):
15593         Move some stuff around and cleanup things.
15594
15595 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
15596
15597         * gst/base/gstbasesrc.c: (gst_base_src_query):
15598           Add missing break statements.
15599
15600 2005-10-27  Wim Taymans  <wim@fluendo.com>
15601
15602         * check/gst/gstbin.c: (GST_START_TEST):
15603         An extra refcount is taken in basesrc.
15604
15605         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15606         (gst_base_src_get_range), (gst_base_src_pad_get_range),
15607         (gst_base_src_loop):
15608         Small cleanups, check for flushing after being unlocked from the 
15609         LIVE_LOCK. take refcounts correctly (not yet everywhere).
15610         Don't send out EOS when going to READY.
15611
15612 2005-10-27  Wim Taymans  <wim@fluendo.com>
15613
15614         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15615         (gst_base_sink_get_position):
15616         Some more debug.
15617
15618         * gst/gstbin.c: (message_check), (bin_replace_message),
15619         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15620         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15621         (bin_query_duration_init), (bin_query_duration_fold),
15622         (bin_query_duration_done), (bin_query_generic_fold),
15623         (gst_bin_query):
15624         * tools/gst-launch.c: (main):
15625         Remove old option.
15626
15627 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
15628
15629         * examples/controller/audio-example.c: (main):
15630         * examples/queue/queue.c: (event_loop):
15631         * gst/base/gstbasetransform.h:
15632         * gst/gstelement.c: (gst_element_send_event):
15633         * gst/gstevent.h:
15634         * gst/gstpad.c: (gst_pad_send_event):
15635           fixing examples
15636           fixing docs typos
15637           changing log priority in error situations
15638
15639 2005-10-25  Wim Taymans  <wim@fluendo.com>
15640
15641         * gst/gstbin.c: (message_check), (bin_replace_message),
15642         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15643         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15644         (bin_query_duration_init), (bin_query_duration_fold),
15645         (bin_query_duration_done), (bin_query_generic_fold),
15646         (gst_bin_query):
15647         Some doc and debug updates.
15648         Cache previously requested query DURATION for speed. invalidate
15649         cached duration if element posts a DURATION message.
15650
15651 2005-10-25  Wim Taymans  <wim@fluendo.com>
15652
15653         * docs/design/part-TODO.txt:
15654         Update TODO.
15655
15656         * gst/gstbin.c: (message_check), (bin_replace_message),
15657         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15658         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15659         (bin_query_duration_init), (bin_query_duration_fold),
15660         (bin_query_duration_done), (bin_query_generic_fold),
15661         (gst_bin_query):
15662         Handle SEGMENT_START/DONE messages correctly.
15663         More evolved query algorithm that handles duration queries
15664         correctly.
15665
15666         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15667         (gst_element_get_state_func), (gst_element_abort_state),
15668         (gst_element_commit_state), (gst_element_lost_state):
15669         Some more debugging.
15670
15671         * gst/gstmessage.h:
15672         Added doc.
15673
15674 2005-10-25  Wim Taymans  <wim@fluendo.com>
15675
15676         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15677         Don't use invalid stream_time.
15678
15679         * gst/gstevent.c: (gst_event_new_newsegment):
15680         stream_time in newsegment cannot be undefined.
15681
15682 2005-10-24  Wim Taymans  <wim@fluendo.com>
15683
15684         * gst/gstbus.c:
15685         Doc fix.
15686
15687         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15688         (gst_queue_loop):
15689         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15690
15691 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
15692
15693         * docs/libs/tmpl/gstdparam.sgml:
15694         * docs/libs/tmpl/gstdplinint.sgml:
15695         * docs/libs/tmpl/gstdpman.sgml:
15696         * docs/libs/tmpl/gstdpsmooth.sgml:
15697         * docs/libs/tmpl/gstunitconvert.sgml:
15698           these are obsolete
15699
15700 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15701
15702         * configure.ac:
15703           back to HEAD
15704
15705 === release 0.9.4 ===
15706
15707 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15708
15709         * configure.ac:
15710           releasing 0.9.4, "Tyrannosaurus Rex"
15711
15712 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
15713
15714         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15715         (gst_file_sink_get_current_offset):
15716           Use fseeko() and ftello() if available. When falling back on
15717           lseek() to get the current offset, fflush() first to make sure
15718           everything is up-to-date and we get the right offset.
15719
15720 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15721
15722         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15723         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15724         * gst/gsterror.c: (_gst_stream_errors_init):
15725         * gst/gsterror.h:
15726         * gst/gstqueue.c: (gst_queue_loop):
15727         * po/POTFILES.in:
15728           remove prematurely added error category and clean up the instances
15729
15730 2005-10-21  Wim Taymans  <wim@fluendo.com>
15731
15732         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15733         (gst_base_sink_get_position), (gst_base_sink_query),
15734         (gst_base_sink_change_state):
15735         Simply set the right flag when going to playing, that's all
15736         we need to do instead of calling a function inside the object
15737         lock (that could take the lock as well and deadlock)
15738
15739 2005-10-21  Wim Taymans  <wim@fluendo.com>
15740
15741         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
15742         (gst_base_src_loop):
15743         Don't warn, the peer element knows what to do best when
15744         the seek failed, it might try something else.
15745
15746 2005-10-21  Wim Taymans  <wim@fluendo.com>
15747
15748         * gst/base/gstbasesrc.c: (gst_base_src_init),
15749         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15750         Fix seeking.
15751
15752 2005-10-21  Wim Taymans  <wim@fluendo.com>
15753
15754         * docs/design/part-segments.txt:
15755         More docs.
15756
15757         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15758         Correctly set caps, even on the subbufer.
15759
15760 2005-10-21  Wim Taymans  <wim@fluendo.com>
15761
15762         * docs/gst/gstreamer-docs.sgml:
15763         * docs/gst/gstreamer-sections.txt:
15764         * gst/gstelement.h:
15765         * gst/gstevent.c:
15766         * gst/gstevent.h:
15767         * gst/gstmessage.h:
15768         * gst/gstpad.h:
15769         * gst/gstparse.h:
15770         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
15771         * gst/gsttask.h:
15772         * gst/gstutils.c:
15773         * gst/gstutils.h:
15774         And 2% more doc coverage.
15775
15776 2005-10-21  Andy Wingo  <wingo@pobox.com>
15777
15778         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
15779         position reporting.
15780
15781 2005-10-20  Wim Taymans  <wim@fluendo.com>
15782
15783         * gst/gsterror.c: (gst_error_get_message):
15784         * gst/gstparse.h:
15785         * gst/gstquery.h:
15786         * gst/gststructure.c:
15787         * gst/gsttrace.c:
15788         * gst/gstutils.c:
15789         More docs.
15790
15791 2005-10-20  Wim Taymans  <wim@fluendo.com>
15792
15793         * gst/gstbuffer.h:
15794         * gst/gstpad.c:
15795         * gst/gstparse.c:
15796         Another 1% more coverage.
15797
15798 2005-10-20  Wim Taymans  <wim@fluendo.com>
15799
15800         * docs/gst/gstreamer-sections.txt:
15801         * gst/gstelement.c: (gst_element_get_state_func),
15802         (gst_element_abort_state), (gst_element_commit_state),
15803         (gst_element_lost_state):
15804         * gst/gstevent.h:
15805         * gst/gstquery.c: (gst_query_set_position),
15806         (gst_query_parse_position), (gst_query_set_duration),
15807         (gst_query_parse_duration), (gst_query_new_convert):
15808         * gst/gstutils.c:
15809         Yay! 1% more docs coverage.
15810
15811 2005-10-20  Wim Taymans  <wim@fluendo.com>
15812
15813         * gst/gstpad.h:
15814         * gst/gstquery.c: (gst_query_set_position),
15815         (gst_query_parse_position), (gst_query_set_duration),
15816         (gst_query_parse_duration), (gst_query_new_convert):
15817         * gst/gstquery.h:
15818         * gst/gstutils.c: (gst_element_query_convert):
15819         * gst/gstutils.h:
15820         Docs and consistency fixes.
15821
15822 2005-10-20  Wim Taymans  <wim@fluendo.com>
15823
15824         * gst/gsttask.c:
15825         * gst/gsttask.h:
15826         More docs.
15827
15828 2005-10-20  Wim Taymans  <wim@fluendo.com>
15829
15830         * gst/gstbin.c: (message_check), (bin_replace_message),
15831         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15832         (update_degree), (gst_bin_sort_iterator_next),
15833         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15834         Reworked the message handling a bit, cache the messages instead of
15835         only the senders. alows us to do more in the future.
15836
15837 2005-10-20  Wim Taymans  <wim@fluendo.com>
15838
15839         * docs/design/part-TODO.txt:
15840         Update TODO
15841
15842         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15843         (gst_base_sink_query):
15844         Don't use clock time to report position when in EOS.
15845
15846 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
15847
15848         * tools/gst-inspect.c: (print_interfaces),
15849         (print_element_properties_info), (print_element_info):
15850           Fix interface output with gst-inspect -a; don't print
15851           newlines after double/float properties.
15852
15853 2005-10-20  Wim Taymans  <wim@fluendo.com>
15854
15855         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15856         (gst_base_sink_query):
15857         Speed up current position calculation.
15858
15859         * gst/base/gstbasesrc.c: (gst_base_src_query),
15860         (gst_base_src_default_newsegment):
15861         Correctly set stream position in newsegment.
15862
15863         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15864         (update_degree), (gst_bin_sort_iterator_next),
15865         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15866         * gst/gstmessage.c: (gst_message_new_custom):
15867         Clean up debugging info
15868
15869         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15870         (gst_queue_loop), (gst_queue_handle_src_query):
15871         Pause task faster.
15872
15873 2005-10-19  Wim Taymans  <wim@fluendo.com>
15874
15875         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15876         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15877         Fix query handling again.
15878
15879 2005-10-19  Wim Taymans  <wim@fluendo.com>
15880
15881         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15882         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15883         * gst/base/gstbasesrc.c: (gst_base_src_query):
15884         * gst/elements/gstfilesink.c: (gst_file_sink_query):
15885         * gst/elements/gsttypefindelement.c:
15886         (gst_type_find_handle_src_query), (find_element_get_length),
15887         (gst_type_find_element_activate):
15888         API change fix.
15889
15890         * gst/gstquery.c: (gst_query_new_position),
15891         (gst_query_set_position), (gst_query_parse_position),
15892         (gst_query_new_duration), (gst_query_set_duration),
15893         (gst_query_parse_duration), (gst_query_set_segment),
15894         (gst_query_parse_segment):
15895         * gst/gstquery.h:
15896         Bundling query position/duration is not a good idea since duration
15897         does not change much and we don't want to recalculate it for every
15898         position query, so they are separated again..
15899         Base value in segment query is not needed.
15900
15901         * gst/gstqueue.c: (gst_queue_handle_src_query):
15902         * gst/gstutils.c: (gst_element_query_position),
15903         (gst_element_query_duration), (gst_pad_query_position),
15904         (gst_pad_query_duration):
15905         * gst/gstutils.h:
15906         Updates for query API change.
15907         Added some docs here and there.
15908
15909 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15910
15911         * check/gst/gstbin.c: (GST_START_TEST):
15912         * check/gst/gstghostpad.c: (GST_START_TEST):
15913         * check/pipelines/cleanup.c: (GST_START_TEST):
15914           wait on thread to die so we can check refcount correctly
15915
15916 2005-10-18  Wim Taymans  <wim@fluendo.com>
15917
15918         * check/pipelines/stress.c: (GST_START_TEST):
15919         Make check a little more time consuming.
15920
15921 2005-10-18  Wim Taymans  <wim@fluendo.com>
15922
15923         * check/Makefile.am:
15924         * check/pipelines/stress.c: (GST_START_TEST),
15925         (simple_launch_lines_suite), (main):
15926         Small state change torture test.
15927
15928         * docs/design/part-states.txt:
15929         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15930         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15931         (gst_base_sink_change_state):
15932         Never take state lock from streaming thread, clean up ugly
15933         hacks. Unfortunatly core does not yet support nice ways to
15934         async commit state.
15935         
15936         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15937         (bin_bus_handler):
15938         Start state recalc if a STATE_DIRTY message is posted, but only
15939         on the toplevel bin.
15940
15941         * gst/gstelement.c: (gst_element_sync_state_with_parent),
15942         (gst_element_get_state_func), (gst_element_abort_state),
15943         (gst_element_commit_state), (gst_element_lost_state),
15944         (gst_element_set_state_func), (gst_element_change_state):
15945         * gst/gstelement.h:
15946         State variables are now protected with the LOCK, the state
15947         lock is only used to serialize _set_state().
15948
15949 2005-10-18  Wim Taymans  <wim@fluendo.com>
15950
15951         * check/gst/gstbin.c: (GST_START_TEST):
15952         * check/gst/gstmessage.c: (GST_START_TEST):
15953         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15954         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15955         (bin_bus_handler):
15956         * gst/gstelement.c: (gst_element_abort_state),
15957         (gst_element_commit_state), (gst_element_lost_state):
15958         * gst/gstmessage.c: (gst_message_new_state_changed),
15959         (gst_message_new_state_dirty), (gst_message_new_segment_start),
15960         (gst_message_new_segment_done), (gst_message_new_duration),
15961         (gst_message_parse_state_changed),
15962         (gst_message_parse_segment_start),
15963         (gst_message_parse_segment_done), (gst_message_parse_duration):
15964         * gst/gstmessage.h:
15965         * tools/gst-launch.c: (event_loop):
15966         Seriously, this is better than a previous commit as we only need
15967         to notify the fact that an element changed state in a streaming
15968         thread, marking the state of the parents dirty, hence the 
15969         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15970         message.
15971
15972 2005-10-18  Wim Taymans  <wim@fluendo.com>
15973
15974         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15975         (gst_bin_recalc_func):
15976         * gst/gstelement.c: (gst_element_set_clock),
15977         (gst_element_abort_state), (gst_element_lost_state):
15978         Cleanups, prepare for state change fixes.
15979
15980 2005-10-18  Wim Taymans  <wim@fluendo.com>
15981
15982         * gst/gstbin.h:
15983         * gst/gstelement.c: (gst_element_class_init),
15984         (gst_element_set_state), (gst_element_set_state_func):
15985         * gst/gstelement.h:
15986         Pending ABI changes.
15987         GThreadPool in GstBinClass to monitor async state changes.
15988         state_cookie in GstElement to detect concurrent gst/set state.
15989         set_state is now virtual too in case a very complicated element
15990         has to be constructed.
15991
15992 2005-10-18  Wim Taymans  <wim@fluendo.com>
15993
15994         * check/gst/gstbin.c: (GST_START_TEST):
15995         * check/gst/gstmessage.c: (GST_START_TEST):
15996         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15997         * gst/gstbin.c: (bin_bus_handler):
15998         * gst/gstelement.c: (gst_element_commit_state),
15999         (gst_element_lost_state):
16000         * gst/gstmessage.c: (gst_message_new_state_changed),
16001         (gst_message_new_segment_start), (gst_message_new_segment_done),
16002         (gst_message_new_duration), (gst_message_parse_state_changed),
16003         (gst_message_parse_segment_start),
16004         (gst_message_parse_segment_done), (gst_message_parse_duration):
16005         * gst/gstmessage.h:
16006         * tools/gst-launch.c: (event_loop):
16007         Make messages future proof.
16008         state-change gets a flag if it was a message comming from the
16009         streaming thread.
16010         segment-start/stop can also be specified in other formats.
16011         A message to notify an app that a pipeline changed playback 
16012         duration.
16013         Also fix a GstMessage leak in -launch
16014
16015 2005-10-18  Andy Wingo  <wingo@pobox.com>
16016
16017         * gst/gstelement.c (gst_element_dispose): More helpful message.
16018
16019 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16020
16021         reviewed by: <delete if not using a buddy>
16022
16023         * common/gtk-doc.mak:
16024
16025 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16026
16027         * gst/gstregistry.c: (gst_registry_scan_path_level):
16028           unref a plug-in we get that was already initialized
16029
16030 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
16031
16032         * docs/gst/gstreamer-sections.txt:
16033         * docs/libs/gstreamer-libs-sections.txt:
16034         * gst/gstelement.h:
16035           add new api entries
16036           hide internal macro
16037
16038 2005-10-17  Andy Wingo  <wingo@pobox.com>
16039
16040         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16041         cleanup.
16042
16043         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16044
16045         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16046
16047         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16048         (gst_element_get_state_func): Better debug message.
16049         (gst_element_commit_state): s/INFO/DEBUG/.
16050         (gst_element_lost_state, gst_element_change_state): 
16051
16052         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16053         (gst_message_new_custom): s/INFO/LOG/.
16054
16055 2005-10-17  Michael Smith <msmith@fluendo.com>
16056
16057         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16058           Check if end time is valid using end time, not start time.
16059
16060 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
16061
16062         * check/gst-libs/controller.c: (GST_START_TEST),
16063         (gst_controller_suite):
16064         * libs/gst/controller/gstcontroller.c:
16065         (gst_controlled_property_set_interpolation_mode):
16066         * libs/gst/controller/gstcontroller.h:
16067         * libs/gst/controller/gstinterpolation.c:
16068         * testsuite/controller/.cvsignore:
16069         * testsuite/controller/Makefile.am:
16070         * testsuite/controller/interpolator.c:
16071           merge controller testsuites
16072           fix broken tests
16073           remove mem-chunk from docs
16074
16075 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16076
16077         * gst/gstmemchunk.c:
16078         * gst/gstmemchunk.h:
16079         * gst/gsttrashstack.c:
16080         * gst/gsttrashstack.h:
16081           out.  get out.  you're fired.  to the Attic !
16082
16083 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16084
16085         * gst/gstcaps.c: (gst_caps_intersect):
16086           fix signedness issues in a (hopefully) correct way
16087         * gst/gstelement.c: (gst_element_pads_activate):
16088           some debugging
16089         * gst/gstobject.c: (gst_object_set_parent):
16090           some debugging
16091
16092 2005-10-17  Julien MOUTTE  <julien@moutte.net>
16093
16094         * gst/gstvalue.h: Fix prototypes.
16095
16096 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16097
16098         * docs/gst/gstreamer-sections.txt:
16099         * gst/gst.c: (gst_version_string):
16100         * gst/gst.h:
16101         * gst/gstversion.h.in:
16102         * win32/common/libgstreamer.def:
16103           add gst_version_string ()
16104
16105 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16106
16107         * configure.ac:
16108           clean up further
16109         * gst/gst.c: (init_post):
16110         * win32/common/config.h.in:
16111           it's PLUGINDIR now
16112         * gst/gstcaps.c: (gst_caps_intersect):
16113           use gint64, the range could be bigger than a guint
16114
16115 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16116
16117         * gst/gstclock.h:
16118           document potential problem in 2038
16119
16120 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16121
16122         * gst/gstcaps.c: (gst_caps_intersect):
16123           Fix guint j diving under 0
16124
16125 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16126
16127         * configure.ac:
16128         * win32/common/config.h:
16129         * win32/common/config.h.in:
16130           check for process.h, declares getpid() on Windows
16131         * gst/gstinfo.c:
16132           include process.h if we have it
16133         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16134         * gst/gstmemchunk.h:
16135           fix signedness issues
16136         * win32/common/libgstreamer.def:
16137           fix get_type's
16138
16139 2005-10-16  Julien MOUTTE  <julien@moutte.net>
16140
16141         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16142         fix. Because of unsigned ints, caps intersection was going nuts and
16143         trying to access structures with G_MAXUINT index. That fixes
16144         videotestsrc ! ffmpegcolorspace ! fakesink
16145         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16146         consistency.
16147
16148 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16149
16150         * configure.ac:
16151           use the gettext macro
16152         * gst/elements/gstelements.c:
16153         * gst/gst.c:
16154         * gst/indexers/gstindexers.c:
16155           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16156         * win32/common/config.h:
16157           updated config.h
16158         * win32/common/config.h.in:
16159           add the template to generate config.h
16160         * win32/common/gstenumtypes.c:
16161         * win32/common/gstversion.h:
16162           updated copies
16163
16164 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16165
16166         * gst/gst.c: (gst_version):
16167         * gst/gstversion.h.in:
16168           add the nano
16169
16170 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16171
16172         * gst/gstevent.h:
16173           Oops, add missing closing bracket.
16174
16175 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16176
16177         * configure.ac:
16178           use common m4's for argument checking
16179
16180 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16181
16182         * docs/gst/gstreamer-sections.txt:
16183         * gst/gstevent.h:
16184           Add GST_EVENT_TYPE_NAME() macro.
16185
16186 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16187
16188         * gst/gstinfo.c:
16189         * gst/gstpluginfeature.c:
16190         * gst/gsttask.c:
16191           privatize more symbols
16192
16193 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16194
16195         * configure.ac:
16196           add srcdir, builddir includes to GST_ALL_CFLAGS, since
16197           everything that uses GStreamer API should have the includes
16198
16199 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16200
16201         * docs/gst/gstreamer-sections.txt:
16202         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16203         * gst/gstvalue.h:
16204           give each value a _get_type, removes the DATA exports
16205
16206 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16207
16208         * gst/gst.c:
16209         * gst/gst.h:
16210           remove _gst_registry_auto_load, not used anymore
16211         * gst/gstbin.c: (gst_bin_get_type):
16212         * gst/gstbin.h:
16213         * gst/gstelement.c: (gst_element_get_type):
16214         * gst/gstelement.h:
16215         * gst/gstobject.c: (gst_object_get_type):
16216         * gst/gstobject.h:
16217         * gst/gstpad.c: (gst_pad_get_type):
16218         * gst/gstpad.h:
16219           make _get_type functions similar, fixes data export from library
16220
16221 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16222
16223         * configure.ac:
16224           correctly make conditionals
16225         * gst/elements/Makefile.am:
16226         * gst/elements/gstelements.c:
16227           fix typo causing fdsrc not to build
16228
16229 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16230
16231         * testsuite/Makefile.am:
16232         * testsuite/bytestream/.cvsignore:
16233         * testsuite/bytestream/Makefile.am:
16234         * testsuite/bytestream/filepadsink.c:
16235         * testsuite/bytestream/gstbstest.c:
16236         * testsuite/bytestream/test1.c:
16237         * testsuite/bytestream/testfile1:
16238         * testsuite/caps/normalisation.c:
16239         * testsuite/caps/random.c: (main):
16240         * testsuite/cleanup/.cvsignore:
16241         * testsuite/cleanup/Makefile.am:
16242         * testsuite/cleanup/cleanup1.c:
16243         * testsuite/cleanup/cleanup2.c:
16244         * testsuite/cleanup/cleanup3.c:
16245         * testsuite/cleanup/cleanup4.c:
16246         * testsuite/cleanup/cleanup5.c:
16247         * testsuite/controller/interpolator.c:
16248         * testsuite/debug/printf_extension.c: (main):
16249         * testsuite/elements/tee.c:
16250         * testsuite/negotiation/.cvsignore:
16251         * testsuite/negotiation/Makefile.am:
16252         * testsuite/negotiation/pad_link.c:
16253         * testsuite/pad/Makefile.am:
16254         * testsuite/pad/chainnopull.c:
16255         * testsuite/pad/getnopush.c:
16256         * testsuite/pad/link.c:
16257         * testsuite/refcounting/sched.c: (create_pipeline):
16258         * testsuite/registry/Makefile.am:
16259         * testsuite/registry/gst-print-formats.c:
16260         * testsuite/schedulers/.cvsignore:
16261         * testsuite/schedulers/142183-2.c:
16262         * testsuite/schedulers/142183.c:
16263         * testsuite/schedulers/143777-2.c:
16264         * testsuite/schedulers/143777.c:
16265         * testsuite/schedulers/147713.c:
16266         * testsuite/schedulers/147819.c:
16267         * testsuite/schedulers/147894-2.c:
16268         * testsuite/schedulers/147894.c:
16269         * testsuite/schedulers/Makefile.am:
16270         * testsuite/schedulers/group_link.c:
16271         * testsuite/schedulers/queue_link.c:
16272         * testsuite/schedulers/relink.c:
16273         * testsuite/schedulers/unlink.c:
16274         * testsuite/schedulers/unref.c:
16275         * testsuite/schedulers/useless_iteration.c:
16276         * testsuite/states/bin.c:
16277           clean out/remove some stuff from the testsuite directories
16278
16279 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16280
16281         * configure.ac:
16282           check for some headers
16283         * gst/elements/Makefile.am:
16284         * gst/elements/gstelements.c:
16285           don't compile fdsrc without sys/socket.h
16286         * gst/indexers/Makefile.am:
16287         * gst/indexers/gstindexers.c: (plugin_init):
16288           don't compile fileindex without mmap
16289
16290 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16291
16292         * configure.ac:
16293           reorganize
16294           clean up
16295           document more
16296           remove cruft
16297         * check/Makefile.am:
16298         * docs/gst/Makefile.am:
16299         * examples/helloworld/Makefile.am:
16300         * gst/Makefile.am:
16301         * gst/base/Makefile.am:
16302         * gst/check/Makefile.am:
16303         * gst/elements/Makefile.am:
16304         * gst/indexers/Makefile.am:
16305         * gst/parse/Makefile.am:
16306         * libs/gst/controller/Makefile.am:
16307         * libs/gst/dataprotocol/Makefile.am:
16308         * examples/helloworld/helloworld.c: (event_loop):
16309           compile fixes, though it's not being compiled currently
16310
16311 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
16312
16313         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16314           Add some simple tests for the new taglist date API.
16315
16316 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
16317
16318         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16319         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16320           Beautify 'last-message' output: print 'none' for buffer timestamps
16321           and durations if none is set; improve alignment with next messages.
16322
16323 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
16324
16325         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16326         * gst/gstpluginfeature.h:
16327         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16328         * gst/gstregistry.h:
16329         * docs/gst/gstreamer-sections.txt:
16330           Add new API to check plugin feature version requirements.
16331
16332         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16333           Some basic tests for the above.         
16334
16335 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16336
16337         * gst/gststructure.c: (gst_structure_to_string):
16338           guard against NULL printf - happens when for example
16339           a message structure with GstClock gets serialized
16340
16341 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
16342
16343         * gst/base/gstcollectpads.c: (gst_collectpads_event):
16344           Fix presumable copy'n'pasto.
16345
16346 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16347
16348         * gst/elements/gstfakesrc.h:
16349         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16350         * gst/elements/gsttypefindelement.c:
16351           fix some signedness
16352         * gst/elements/gstfilesink.c: (gst_file_sink_render):
16353           I wonder if this could actually write +2GB files before
16354
16355 2005-10-13  Andy Wingo  <wingo@pobox.com>
16356
16357         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16358         Fix Timmeke Waymans bug.
16359         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16360         string of the proper length to gst_caps_from_string. There's a
16361         potential for, before this fix, that this could cause someone
16362         connecting over the network to cause a segfault if the payload is
16363         not NUL-terminated.
16364
16365 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
16366
16367         * docs/design/draft-push-pull.txt:
16368         * docs/design/part-overview.txt:
16369         * docs/random/TODO-pre-0.9:
16370         * docs/random/old/ChangeLog.gstreamer:
16371         * gst/base/gstpushsrc.c:
16372         * gst/gstclock.c:
16373           fixed typos
16374
16375 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16376
16377         * gst/glib-compat.c: (gst_flags_get_first_value):
16378         * gst/glib-compat.h:
16379         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16380         (gst_value_compare_double), (gst_value_serialize_flags):
16381           GLib 2.6 g_flags_get_first_value has a bug that triggers an
16382           infinite loop
16383
16384 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16385
16386         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16387         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16388           fix up debugging
16389         * tools/gst-launch.c: (event_loop):
16390           print out clock nicely
16391
16392 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
16393
16394         * docs/gst/gstreamer-sections.txt:
16395         * gst/gsttaglist.h:
16396         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
16397         (gst_tag_list_get_date_index):
16398           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
16399           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
16400
16401 2005-10-13  Julien MOUTTE  <julien@moutte.net>
16402
16403         * gst/base/gstcollectpads.c: (gst_collectpads_event),
16404         (gst_collectpads_chain):
16405         * gst/base/gstcollectpads.h: Handle newsegment and store informations
16406         in CollectData.
16407
16408 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
16409
16410         * docs/gst/gstreamer-sections.txt:
16411         * gst/gst.c:
16412         * gst/gsterror.h:
16413         * tools/gst-inspect.c: (main):
16414         * tools/gst-launch.c: (main):
16415         * tools/gst-run.c: (main):
16416         * tools/gst-xmlinspect.c: (main):
16417           fix GOption context leaks
16418           doc fixes
16419
16420 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16421
16422         * gst/gstbus.c:
16423           use HAVE_UNISTD_H
16424         * win32/common/config.h:
16425           update config
16426         * win32/vs6/grammar.dsp:
16427         * win32/vs6/libgstelements.dsp:
16428         * win32/vs6/libgstreamer.dsp:
16429           update vs6 files
16430
16431 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16432
16433         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16434         * gst/base/gstbasesrc.c: (gst_base_src_query):
16435           fix more guint64<->gdouble conversions
16436
16437 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16438
16439         * Makefile.am:
16440           add win32-update target
16441         * win32/common/gstconfig.h:
16442         * win32/common/gstenumtypes.c:
16443         * win32/common/gstenumtypes.h:
16444         * win32/common/gstversion.h:
16445           add files that visual studio can't generate
16446
16447 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16448
16449         * Makefile.am:
16450           add a win32-update target
16451         * configure.ac:
16452
16453 2005-10-12  Wim Taymans  <wim@fluendo.com>
16454
16455         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16456         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
16457         * gst/gstelement.c: (gst_element_commit_state),
16458         (gst_element_set_state):
16459         Protect flags with proper lock.
16460         unref provided cached clock in dispose.
16461
16462 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
16463
16464         * gst/gst.c:
16465         * gst/gstminiobject.h:
16466         * gst/gstpad.h:
16467         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
16468           removed unused flags from miniobject
16469           doc fixes
16470
16471 2005-10-12  Wim Taymans  <wim@fluendo.com>
16472
16473         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16474         (gst_file_sink_event), (gst_file_sink_render):
16475         Flush before seeking.
16476
16477 2005-10-12  Andy Wingo  <wingo@pobox.com>
16478
16479         * gst/gst.c (gst_init_check): Ignore unknown options, as has
16480         always been the case.
16481
16482 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
16483
16484         * check/gst/gstbin.c: (GST_START_TEST):
16485         * docs/gst/gstreamer-sections.txt:
16486         * gst/base/gstbasesink.c: (gst_base_sink_init):
16487         * gst/base/gstbasesrc.c: (gst_base_src_init),
16488         (gst_base_src_get_range), (gst_base_src_check_get_range),
16489         (gst_base_src_start), (gst_base_src_stop):
16490         * gst/base/gstbasesrc.h:
16491         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
16492         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16493         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
16494         (bin_bus_handler):
16495         * gst/gstbin.h:
16496         * gst/gstbuffer.h:
16497         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
16498         * gst/gstbus.h:
16499         * gst/gstelement.c: (gst_element_is_locked_state),
16500         (gst_element_set_locked_state), (gst_element_commit_state),
16501         (gst_element_set_state):
16502         * gst/gstelement.h:
16503         * gst/gstindex.c: (gst_index_init):
16504         * gst/gstindex.h:
16505         * gst/gstminiobject.h:
16506         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16507         (gst_object_set_parent):
16508         * gst/gstobject.h:
16509         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16510         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16511         * gst/gstpad.h:
16512         * gst/gstpadtemplate.h:
16513         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16514         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16515         * gst/gstpipeline.h:
16516         * gst/indexers/gstfileindex.c: (gst_file_index_load),
16517         (gst_file_index_commit):
16518         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16519         * testsuite/pad/link.c: (gst_test_src_init),
16520         (gst_test_filter_init), (gst_test_sink_init):
16521         * testsuite/states/locked.c: (main):
16522           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16523           moved bitshift from macro to enum definition
16524
16525 2005-10-12  Wim Taymans  <wim@fluendo.com>
16526
16527         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16528         * gst/elements/gstfilesink.c: (gst_file_sink_event),
16529         (gst_file_sink_render):
16530         Some more debugging info.
16531
16532 2005-10-12  Wim Taymans  <wim@fluendo.com>
16533
16534         * docs/design/part-states.txt:
16535         * tools/gst-launch.c: (main):
16536         Some doc updates.
16537         Revert non-intentional change.
16538
16539 2005-10-12  Wim Taymans  <wim@fluendo.com>
16540
16541         * check/gst/gstbin.c: (GST_START_TEST):
16542         * check/gst/gstelement.c: (GST_START_TEST):
16543         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16544         * check/gst/gstghostpad.c: (GST_START_TEST):
16545         * check/gst/gstpipeline.c: (GST_START_TEST):
16546         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16547         * check/states/sinks.c: (GST_START_TEST):
16548         * gst/elements/gsttypefindelement.c: (stop_typefinding):
16549         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16550         (gst_bin_remove_func), (gst_bin_get_state_func),
16551         (gst_bin_recalc_state), (gst_bin_change_state_func),
16552         (bin_bus_handler):
16553         * gst/gstelement.c: (gst_element_get_state_func),
16554         (gst_element_get_state), (gst_element_abort_state),
16555         (gst_element_commit_state), (gst_element_set_state),
16556         (gst_element_change_state), (gst_element_change_state_func):
16557         * gst/gstelement.h:
16558         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16559         (gst_pipeline_provide_clock_func):
16560         * gst/gstutils.c: (gst_element_link_pads_filtered):
16561         * tools/gst-launch.c: (main):
16562         * tools/gst-typefind.c: (main):
16563         Use GstClockTime in _get_state() instead of GTimeVal.
16564         Remove old code in gstutils.c
16565
16566 2005-10-12  Andy Wingo  <wingo@pobox.com>
16567
16568         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16569         removed.
16570
16571         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16572         there is no task. Shouldn't affect any code, as nothing in our
16573         plugins checks this return value.
16574         (gst_pad_stop_task): Also take the stream lock if the pad has no
16575         task. Docs updated.
16576
16577 2005-10-12  Wim Taymans  <wim@fluendo.com>
16578
16579         * gst/gstpad.c: (pre_activate), (post_activate),
16580         (gst_pad_activate_pull), (gst_pad_activate_push):
16581         Cleanup activation code. Reset old state if
16582         activation failed.
16583
16584 2005-10-12  Wim Taymans  <wim@fluendo.com>
16585
16586         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16587         (gst_base_sink_change_state):
16588         No need to prerol after receiving EOS.
16589
16590         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16591         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16592         * gst/elements/gstidentity.c: (gst_identity_event):
16593         Print events more verbosely.
16594
16595 2005-10-12  Wim Taymans  <wim@fluendo.com>
16596
16597         * check/Makefile.am:
16598         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16599         * check/states/sinks2.c:
16600         Moved sinks2 testcode in sinks check.
16601
16602         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16603         (gst_bin_remove_func), (gst_bin_recalc_state),
16604         (gst_bin_change_state_func), (bin_bus_handler):
16605         Fix potential race condition when _get_state() iterated over an
16606         ASYNC element right before it posted a state completion.
16607
16608         * gst/gstclock.h:
16609         Do proper cast here.
16610
16611         * gst/gstevent.c: (gst_event_new_newsegment),
16612         (gst_event_parse_newsegment):
16613         A playback rate of 0.0 is not allowed.
16614
16615 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16616
16617         * win32/common/config.h:
16618         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16619         (_trewinddir), (_ttelldir), (_tseekdir):
16620         * win32/common/dirent.h:
16621         * win32/common/gtchar.h:
16622         * win32/common/libgstbase.def:
16623         * win32/common/libgstreamer.def:
16624         * win32/vs6/grammar.dsp:
16625         * win32/vs6/gst_inspect.dsp:
16626         * win32/vs6/gst_launch.dsp:
16627         * win32/vs6/gstreamer.dsw:
16628         * win32/vs6/libgstbase.dsp:
16629         * win32/vs6/libgstelements.dsp:
16630         * win32/vs6/libgstreamer.dsp:
16631           Visual Studio 6 project files, and a new common directory.
16632           Phear.
16633
16634 2005-10-11  Wim Taymans  <wim@fluendo.com>
16635
16636         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16637         (gst_base_sink_do_sync), (gst_base_sink_query),
16638         (gst_base_sink_change_state):
16639         * gst/base/gstbasesink.h:
16640         Correctly parse newsegment info.
16641
16642 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16643
16644         * gst/gst.c: (init_post):
16645           split plugin paths correctly
16646
16647 2005-10-11  Wim Taymans  <wim@fluendo.com>
16648
16649         * check/gst/gstevent.c: (GST_START_TEST):
16650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16651         (gst_base_sink_change_state):
16652         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16653         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16654         * gst/elements/gstfilesink.c: (gst_file_sink_event):
16655         * gst/gstevent.c: (gst_event_new_newsegment),
16656         (gst_event_parse_newsegment):
16657         * gst/gstevent.h:
16658         Added extra flag to newsegment for future API freeze.
16659         Updated check and base elements.
16660
16661 2005-10-11  Julien MOUTTE  <julien@moutte.net>
16662
16663         * gst/base/gstcollectpads.c: (gst_collectpads_init),
16664         (gst_collectpads_add_pad), (gst_collectpads_pop),
16665         (gst_collectpads_event), (gst_collectpads_chain):
16666         * gst/base/gstcollectpads.h: Handle EOS correctly.
16667
16668 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16669
16670         * tools/gst-launch.c: (main):
16671           more null protecting
16672
16673 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16674
16675         * gst/gst-i18n-lib.h:
16676           check for ENABLE_NLS, not GETTEXT_PACKAGE
16677         * gst/gstregistry.c: (gst_registry_add_plugin),
16678         (gst_registry_scan_path_level),
16679         (_gst_registry_remove_cache_plugins):
16680           protect possibly NULL strings
16681         * gst/parse/types.h:
16682           config.h already included before
16683         * tools/gst-inspect.c: (main):
16684           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16685           check for ENABLE_NLS, not GETTEXT_PACKAGE
16686         * tools/gst-launch.c: (main):
16687           check for ENABLE_NLS, not GETTEXT_PACKAGE
16688
16689 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16690
16691         * configure.ac:
16692           if we don't have glib, fail before testing 2.8
16693         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16694           fix a leak, should fix plugins-base testsuite
16695
16696 2005-10-11  Andy Wingo  <wingo@pobox.com>
16697
16698         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16699         take the mode we're going to as an arg. Go head and set the mode
16700         and flushing flags now, so that if the activate function starts a
16701         thread all the flags will be in the right state.
16702         (post_activate): Renamed also. Just handle making sure streaming
16703         finishes for the deactivation case, and setting the deactivated
16704         mode.
16705         (gst_pad_set_active): Complain loudly if deactivation fails.
16706         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16707         (gst_pad_activate_push): Adapt to pre/post_activate changes,
16708         remove the terrible hack.
16709
16710 2005-10-11  Wim Taymans  <wim@fluendo.com>
16711
16712         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16713         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
16714         (gst_bin_recalc_state), (gst_bin_change_state_func),
16715         (gst_bin_dispose), (bin_bus_handler):
16716         * gst/gstbin.h:
16717         Prepare to make current EOS message queue more generic.
16718         Fix some typos.
16719
16720         * gst/gstevent.c: (gst_event_new_newsegment),
16721         (gst_event_parse_newsegment):
16722         * gst/gstevent.h:
16723         Rename base to stream_time.
16724
16725         * gst/gstmessage.h:
16726         Fix typo in docs.
16727
16728 2005-10-11  Wim Taymans  <wim@fluendo.com>
16729
16730         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16731         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
16732         (gst_bin_change_state_func), (bin_bus_handler):
16733         * gst/gstbin.h:
16734         Work on proper clock selection.
16735
16736 2005-10-11  Edward Hervey  <edward@fluendo.com>
16737
16738         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
16739         * libs/gst/controller/gstcontroller.h:
16740         Added GList* version of _remove_properties() in order to be able to wrap
16741         it in bindings.
16742
16743 2005-10-11  Wim Taymans  <wim@fluendo.com>
16744
16745         * docs/design/part-states.txt:
16746         Some more docs.
16747
16748         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
16749         (gst_bin_change_state_func), (bin_bus_handler):
16750         Doc updates. Don't distribute the same clock over and over again.
16751
16752         * gst/gstclock.c:
16753         * gst/gstclock.h:
16754         Doc updates.
16755
16756         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
16757         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
16758         (gst_pad_send_event):
16759         * gst/gstpad.h:
16760         Make probe emission threadsafe again.
16761         Register quarks and move _get_name() from utils.
16762         Doc updates.
16763
16764         * gst/gstpipeline.c: (gst_pipeline_class_init),
16765         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16766         Only redistribute the clock of it changed.
16767
16768         * gst/gstsystemclock.h:
16769         Doc updates. 
16770
16771         * gst/gstutils.c:
16772         * gst/gstutils.h:
16773         Moved the _flow_get_name() to GstPad.
16774
16775 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16776
16777         * check/gst-libs/gdp.c: (GST_START_TEST):
16778         * check/gst/gstcaps.c: (GST_START_TEST):
16779         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
16780         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
16781         (gst_dp_packet_from_caps):
16782           fix more valgrind warnings before turning up the heat
16783
16784 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16785
16786         * gst/parse/grammar.y:
16787           some cleanup before the hacking
16788
16789 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16790
16791         * gst/base/gstbasesrc.c: (gst_base_src_query):
16792           use conversions
16793         * gst/gstutils.c: (gst_guint64_to_gdouble),
16794         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
16795         * gst/gstutils.h:
16796           externalize, basesrc uses it
16797           obviously the implementation needs testing
16798
16799 2005-10-10  Wim Taymans  <wim@fluendo.com>
16800
16801         * tests/sched/Makefile.am:
16802         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16803         (make_pipeline3), (make_pipeline4), (print_elem), (main):
16804
16805 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16806
16807         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16808           apparently converting from guint64 to double is not implemented
16809           on MSVC
16810
16811 2005-10-10  Wim Taymans  <wim@fluendo.com>
16812
16813         * check/Makefile.am:
16814         * check/generic/states.c: (GST_START_TEST):
16815         * check/gst/gstbin.c: (GST_START_TEST):
16816         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16817         * check/states/sinks.c: (GST_START_TEST):
16818         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16819         (main):
16820         Check fixes, use API as stated in design docs, remove hacks.
16821
16822         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16823         (gst_base_sink_change_state):
16824         Catch stopping our task while we're shutting down.
16825
16826         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16827         (gst_bin_remove_func), (gst_bin_get_state_func),
16828         (gst_bin_recalc_state), (gst_bin_change_state_func),
16829         (bin_bus_handler):
16830         * gst/gstbin.h:
16831         * gst/gstelement.c: (gst_element_init),
16832         (gst_element_get_state_func), (gst_element_abort_state),
16833         (gst_element_commit_state), (gst_element_lost_state),
16834         (gst_element_set_state), (gst_element_change_state),
16835         (gst_element_change_state_func):
16836         * gst/gstelement.h:
16837         New state change algorithm (see #318116)
16838
16839         * gst/gstpipeline.c: (gst_pipeline_class_init),
16840         (gst_pipeline_init), (gst_pipeline_set_property),
16841         (gst_pipeline_get_property), (do_pipeline_seek),
16842         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16843         * gst/gstpipeline.h:
16844         Remove crude state change hacks.
16845
16846         * gst/gstutils.h:
16847         Remove crude hacks.
16848
16849         * tools/gst-launch.c: (main):
16850         Fixes for state change. Needs some more work to fully use the
16851         new stuff.
16852
16853 2005-10-10  Andy Wingo  <wingo@pobox.com>
16854
16855         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16856
16857         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16858         this flag, but it's not even in GLib 2.6. Odd. Hack around the
16859         issue.
16860
16861 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16862
16863         * gst/gstiterator.c: (gst_iterator_new):
16864           Fix my previous commit: GTypes passed to gst_iterator_new()
16865           can be fundamental types.
16866
16867 2005-10-10  Wim Taymans  <wim@fluendo.com>
16868
16869         * gst/gstelement.c: (gst_element_iterate_pad_list),
16870         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16871         (gst_element_iterate_sink_pads):
16872         Use src/sink pads lists for the respective iterators instead
16873         of filtering.
16874
16875 2005-10-10  Andy Wingo  <wingo@pobox.com>
16876
16877         Merged in popt removal + GOption addition patch from Ronald, bug
16878         #169772.
16879
16880         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16881         GstElement macros around, remove popt-related symbols, add goption
16882         stuff.
16883
16884         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16885         
16886         * docs/gst/Makefile.am:
16887         * docs/libs/Makefile.am: No POPT_CFLAGS.
16888         
16889         * examples/manual/Makefile.am:
16890         * docs/manual/basics-init.xml: Doc updates with an example.
16891         
16892         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16893         (gst_init), (parse_one_option), (parse_goption_arg):
16894         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16895         bit of hand merging and debugging to get the GOption stuff working
16896         tho.
16897         
16898         * tests/Makefile.am:
16899         * tools/Makefile.am:
16900         * tools/gst-inspect.c: (main):
16901         * tools/gst-launch.c: (main):
16902         * tools/gst-run.c: (main):
16903         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16904
16905 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16906
16907         * gst/gstiterator.c: (gst_iterator_new):
16908           Add assertions to make sure passed GType is likely to really
16909           be a GType (as the compiler won't catch it if the size and
16910           GType arguments get mixed up, see #318447).
16911
16912 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
16913
16914         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16915
16916         * gst/gstbin.c: (gst_bin_iterate_sorted):
16917           Pass GType and size arguments to gst_iterator_new() in the right
16918           order (maybe we should make _new() take the GType as first argument
16919           just like _new_list()?) (#318447).
16920           
16921
16922 2005-10-10  Wim Taymans  <wim@fluendo.com>
16923
16924         * gst/gstelement.c: (gst_element_finalize):
16925         And free the GStaticRecMutex too
16926
16927 2005-10-10  Andy Wingo  <wingo@pobox.com>
16928
16929         * gst/gstelement.c (gst_element_init, gst_element_finalize):
16930         Allocate and free the mutex properly.
16931
16932         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16933         New macros.
16934         (GstElement): The state_lock is now recursive. Rebuild your
16935         plugins, suckers. Old macros adapted.
16936
16937         * docs/gst/gstreamer-sections.txt: Doc updates.
16938
16939         * gst/gstutils.h:
16940         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
16941         (g_static_rec_cond_wait): Ported from state changes patch, while
16942         we wait on bug #317802 to be solved in a well-distributed GLib.
16943
16944         * gst/gstelement.c (gst_element_change_state_func): Renamed from
16945         gst_element_change_state, variable name changes.
16946         (gst_element_change_state): Split out of gst_element_set_state in
16947         preparation for the state change merge. Doesn't pay attention to
16948         the 'transition' argument.
16949         (gst_element_set_state): Updates, hopefully purely cosmetic.
16950         (gst_element_sync_state_with_parent): MT-safety. Ported from the
16951         state change patch.
16952         (gst_element_get_state_func): Renamed from get_state, cosmetic
16953         changes.
16954
16955 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16956
16957         * gst/elements/gstelements.c:
16958         * win32/GStreamer.vcproj:
16959         * win32/config.h:
16960         * win32/dirent.c: (_tseekdir):
16961         * win32/gst-inspect.vcproj:
16962         * win32/gst-launch.vcproj:
16963         * win32/gstconfig.h:
16964         * win32/gstelements.vcproj:
16965         * win32/gstenumtypes.c: (gst_object_flags_get_type):
16966         * win32/gstreamer.def:
16967         * win32/msvc71.sln:
16968           updates for the win32 build (patch from Sebastien Moutte)
16969
16970 2005-10-10  Andy Wingo  <wingo@pobox.com>
16971
16972         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16973         gst_bin_get_state, cleaned up (but no logic changes).
16974         (bin_element_is_sink): Comment updates.
16975         (sink_iterator_filter): Remove needless cast.
16976         (gst_bin_iterate_sinks): Doc update.
16977         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16978         cleaned up (but no logic changes).
16979
16980         * check/states/sinks.c (test_src_sink): Cleanups from the state
16981         change patch.
16982         (test_livesrc_sink): Sync on the state.
16983
16984         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16985         the state change patch.
16986
16987         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16988         change patch.
16989
16990         * check/gst/gstbin.c: Merge in some style fixes and additional
16991         checks from Wim's state change patch.
16992
16993 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16994
16995         * gst/base/gsttypefindhelper.c: (helper_find_peek),
16996         (gst_type_find_helper):
16997           Check whether we have the requested data already in our list of
16998           cached buffers before pulling a new buffer; also make the buffer
16999           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17000
17001 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17002
17003         * gst/gstcaps.c:
17004         * gst/gstevent.c:
17005           doc updates
17006         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17007           don't use long long, it's not portable.  Replacing with
17008           gint64 seems to work; let's hope no skeletons fall out of the closet.
17009
17010 2005-10-10  Andy Wingo  <wingo@pobox.com>
17011
17012         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17013
17014 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
17015
17016         * docs/gst/gstreamer-sections.txt:
17017         * gst/gstevent.c:
17018         * gst/gstevent.h:
17019         * gst/gstinfo.c:
17020         * gst/gstinfo.h:
17021         * gst/gstmessage.c: (gst_message_parse_state_changed):
17022         * gst/gstpad.c:
17023         * gst/gstpad.h:
17024           more docs, fix compilation
17025
17026 2005-10-09  Philippe Khalaf <burger@speedy.org>
17027         * gst/gstmessage.c:
17028           Fixed a few forgotten variables on previous commit
17029
17030 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
17031
17032         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17033           Fix evil typefind crasher: getrange() might return a short
17034           buffer at the end of a file, but gst_type_find_peek() must
17035           either return the full data as requested or NULL, but
17036           never a short buffer.
17037
17038 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17039
17040         * gst/gstmessage.c: (gst_message_new_state_changed),
17041         (gst_message_parse_state_changed):
17042         * gst/gstmessage.h:
17043           don't use "new", it's a C++ keyword
17044
17045 2005-10-08  Wim Taymans  <wim@fluendo.com>
17046
17047         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17048         * gst/gstelement.c: (gst_element_post_message):
17049         * gst/gstpipeline.c: (gst_pipeline_change_state):
17050         Small docs and debug updates.
17051
17052 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17053
17054         * docs/gst/gstreamer-sections.txt:
17055         * gst/gstelementfactory.c:
17056         * gst/gstevent.c:
17057         * gst/gsttaglist.c:
17058           more docs
17059
17060 2005-10-08  Wim Taymans  <wim@fluendo.com>
17061
17062         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17063         (gst_bin_dispose), (bin_bus_handler):
17064         Fix typos, add comments.
17065         Clear EOS list when going to PAUSED from any direction and do it
17066         in a threadsafe way.
17067         Get base time in a threadsafe way too.
17068         Fix confusing debug in the change_state function.
17069         Various other small cleanups.
17070         
17071         * gst/gstelement.c: (gst_element_post_message):
17072         Fix very verbose bus posting code.
17073
17074         * gst/gstpipeline.c: (gst_pipeline_class_init),
17075         (gst_pipeline_set_property), (gst_pipeline_get_property),
17076         (gst_pipeline_change_state):
17077         Small ARG_ -> PROP_ cleanup
17078
17079 2005-10-08  Wim Taymans  <wim@fluendo.com>
17080
17081         * gst/gstbin.c: (is_eos), (bin_bus_handler):
17082         Do a less CPU demanding EOS check because we can.
17083
17084 2005-10-08  Wim Taymans  <wim@fluendo.com>
17085
17086         * libs/gst/dataprotocol/dataprotocol.c:
17087         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17088         (gst_dp_packet_from_event):
17089         * libs/gst/dataprotocol/dataprotocol.h:
17090         * libs/gst/dataprotocol/dp-private.h:
17091         It's about time we bump the version number.
17092         Since event types don't fit in the guint8 anymore describing
17093         the payload type, make payload type 16 bits wide.
17094
17095 2005-10-08  Wim Taymans  <wim@fluendo.com>
17096
17097         * docs/design/part-TODO.txt:
17098         * docs/design/part-clocks.txt:
17099         * docs/design/part-events.txt:
17100         * docs/design/part-gstbin.txt:
17101         * docs/design/part-gstelement.txt:
17102         * docs/design/part-gstpipeline.txt:
17103         * docs/design/part-live-source.txt:
17104         * docs/design/part-messages.txt:
17105         * docs/design/part-overview.txt:
17106         * docs/design/part-states.txt:
17107         Many doc updates.
17108
17109 2005-10-08  Wim Taymans  <wim@fluendo.com>
17110
17111         * gst/gstevent.c:
17112         * gst/gstevent.h:
17113         Fix event quark registration.
17114         Add some space between events so we can insert them in the
17115         right groups.
17116
17117 2005-10-08  Wim Taymans  <wim@fluendo.com>
17118
17119         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17120         (gst_base_sink_handle_buffer):
17121         Better log message.
17122
17123         * gst/gstbus.h:
17124         * gst/gstelement.h:
17125         More docs.
17126
17127         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17128         (gst_queue_set_property), (gst_queue_get_property):
17129         * gst/gstqueue.h:
17130         Remove old unused properties.
17131
17132 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17133         * docs/gst/gstreamer-sections.txt:
17134         * gst/gstmessage.c:
17135         * gst/gstmessage.h:
17136         * gst/gstminiobject.c:
17137         * gst/gstminiobject.h:
17138         * gst/gstobject.h:
17139         * gst/gstpad.h:
17140         * gst/gstutils.h:
17141           lots of new docs and doc fixes
17142
17143 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17144
17145         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17146         * gst/gstplugin.h:
17147         * gst/gstregistry.c: (gst_registry_lookup_locked),
17148         (gst_registry_scan_path_level):
17149         * gst/gstregistryxml.c: (load_plugin):
17150           Only ever load one plugin for a given plugin basename.
17151           This ensures correct overriding of GST_PLUGIN_PATH over
17152           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17153           system installed plugins.
17154
17155 2005-10-08  Wim Taymans  <wim@fluendo.com>
17156
17157         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17158         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17159         Prepare for doing QOS.
17160
17161 2005-10-08  Wim Taymans  <wim@fluendo.com>
17162
17163         * check/gst/gstbin.c: (GST_START_TEST):
17164         * check/pipelines/cleanup.c: (GST_START_TEST):
17165         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17166         Allow new clock message too.
17167
17168 2005-10-08  Wim Taymans  <wim@fluendo.com>
17169
17170         * gst/gstmessage.c: (gst_message_new_error),
17171         (gst_message_new_warning), (gst_message_new_tag),
17172         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17173         (gst_message_new_clock_lost), (gst_message_new_new_clock),
17174         (gst_message_new_segment_start), (gst_message_new_segment_done),
17175         (gst_message_parse_state_changed),
17176         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17177         (gst_message_parse_new_clock):
17178         * gst/gstmessage.h:
17179         Also carry the clock in question.
17180
17181 2005-10-08  Wim Taymans  <wim@fluendo.com>
17182
17183         * gst/gstmessage.c: (gst_message_new_custom),
17184         (gst_message_new_eos), (gst_message_new_error),
17185         (gst_message_new_warning), (gst_message_new_tag),
17186         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17187         (gst_message_new_new_clock), (gst_message_new_segment_start),
17188         (gst_message_new_segment_done), (gst_message_parse_state_changed),
17189         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17190         * gst/gstmessage.h:
17191         Clean up.
17192         Added clock related messages.
17193
17194         * gst/gstpipeline.c: (gst_pipeline_change_state):
17195         Post message when the clock changed.
17196
17197         * tools/gst-launch.c: (event_loop):
17198         Print new clock.
17199
17200 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
17201
17202         * tools/gst-inspect.c: (print_element_properties_info):
17203           Can't pass NULL strings to g_print() on windows.
17204
17205 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17206
17207         * docs/Makefile.am:
17208         * docs/gst/Makefile.am:
17209         * docs/gst/gstreamer-docs.sgml:
17210         * docs/gst/running.xml:
17211         * docs/version.entities.in:
17212           add a chapter on running GStreamer.
17213           document GST_DEBUG and GST_PLUGIN* env vars
17214
17215 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17216
17217         * Makefile.am:
17218           remove include dir
17219         * configure.ac:
17220           remove PLUGINS_BUILDDIR stuff
17221         * gst/gst.c: (init_post):
17222           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17223         * idiottest.mak:
17224           remove, it was condescending and not needed
17225
17226 2005-10-08  Wim Taymans  <wim@fluendo.com>
17227
17228         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17229         (gst_base_sink_handle_object), (gst_base_sink_event),
17230         (gst_base_sink_wait), (gst_base_sink_handle_event),
17231         (gst_base_sink_change_state):
17232         * gst/base/gstbasesink.h:
17233         Repost EOS message while going to PLAYING if still EOS.
17234         Make sure that when receiving a FLUSH_START we don't attempt
17235         to sync on the clock anymore.
17236
17237 2005-10-08  Wim Taymans  <wim@fluendo.com>
17238
17239         * tools/gst-launch.c: (event_loop):
17240         Better message printout.
17241
17242 2005-10-08  Wim Taymans  <wim@fluendo.com>
17243
17244         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17245         (gst_bin_child_proxy_get_children_count):
17246         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17247         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17248         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17249         (gst_child_proxy_set_valist):
17250         * gst/parse/grammar.y:
17251         Make ChildProxy threadsafe and fix mem leaks.
17252
17253 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17254
17255         * gst/gst.c: (init_post):
17256           debug the GST_PLUGIN_ env vars
17257
17258 2005-10-08  Wim Taymans  <wim@fluendo.com>
17259
17260         * check/gst/gstbin.c: (GST_START_TEST):
17261         * check/gst/gstmessage.c: (GST_START_TEST):
17262         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17263         * gst/gstelement.c: (gst_element_commit_state),
17264         (gst_element_lost_state):
17265         * gst/gstmessage.c: (gst_message_new_state_changed),
17266         (gst_message_parse_state_changed):
17267         * gst/gstmessage.h:
17268         * tools/gst-launch.c: (event_loop):
17269         Added extra field to STATE_CHANGE message with the pending
17270         state, which will be different from the new state soon.
17271
17272 2005-10-08  Wim Taymans  <wim@fluendo.com>
17273
17274         * gst/gstbus.c: (gst_bus_pop):
17275         * gst/gstclock.c:
17276         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17277         Small cleanups and doc updates.
17278
17279 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17280
17281         * gst/gst.c: (init_pre):
17282         * gst/gstbin.c: (gst_bin_add_func):
17283           log distributing clocks and base time
17284         * gst/gstregistry.c: (gst_registry_add_plugin),
17285         (gst_registry_scan_path_level), (gst_registry_scan_path):
17286           clean up the debugging output a little
17287         * gst/gstutils.c: (gst_element_state_get_name):
17288           warn about a memleak (I've actually seen this be used, though
17289           it was probably a bug)
17290
17291 2005-10-07  Wim Taymans  <wim@fluendo.com>
17292
17293         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17294         (gst_base_src_init), (gst_base_src_default_newsegment),
17295         (gst_base_src_newsegment), (gst_base_src_do_seek),
17296         (gst_base_src_loop), (gst_base_src_start):
17297         * gst/base/gstbasesrc.h:
17298         Make the newsegment event customizable by subclasses.
17299
17300 2005-10-07  Wim Taymans  <wim@fluendo.com>
17301
17302         * gst/gstevent.c: (gst_event_new_buffersize),
17303         (gst_event_parse_buffersize):
17304         * gst/gstevent.h:
17305         New event for future idea.
17306
17307 2005-10-07  Andy Wingo  <wingo@pobox.com>
17308
17309         * gst/gstelement.c (gst_element_post_message): Doc update.
17310
17311         * docs/gst/gstreamer-sections.txt: Update.
17312
17313         * gst/gstmessage.c (gst_message_new_application): Made into a
17314         function like honest API calls.
17315         (gst_message_new_element): New message type.
17316
17317         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17318
17319         * check/elements/fakesrc.c (test_no_preroll): New check, checks
17320         that setting a live fakesrc to PAUSED returns NO_PREROLL both
17321         times.
17322
17323         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17324         NO_PREROLL from gst_element_change_state to fall through.
17325
17326 2005-10-07  Wim Taymans  <wim@fluendo.com>
17327
17328         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17329         (gst_ghost_pad_do_activate_push):
17330         Activating a ghostpad with no internal pad in push mode
17331         is ok.
17332
17333 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17334
17335         * gst/gstobject.h:
17336           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17337           Fixes compilation on Windows.
17338
17339 2005-10-07  Michael Smith <msmith@fluendo.com>
17340
17341         * tools/gst-inspect.c:
17342           Print out feature and plugin count at the end when printing out
17343           all features.
17344
17345 2005-10-04  Michael Smith <msmith@fluendo.com>
17346
17347         * gst/gsterror.c: (_gst_stream_errors_init):
17348           Add another error string used in a few existing plugins.
17349
17350         * gst/gstplugin.c:
17351         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17352         * tools/gst-inspect.c: (print_element_info):
17353           When a feature disappears from a plugin (and the feature exists in
17354           the cached registry file), things went horribly wrong. This isn't a
17355           complete fix, we should actually be removing the 'missing' features
17356           from the features list when we load the actual plugin. That's not
17357           yet implemented. 
17358
17359 2005-10-04  Johan Dahlin  <johan@gnome.org>
17360
17361         * check/gst/gstiterator.c: (GST_START_TEST):
17362         * gst/gstbin.c: (gst_bin_iterate_elements),
17363         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17364         * gst/gstelement.c: (gst_element_iterate_pads):
17365         * gst/gstformat.c: (gst_format_iterate_definitions):
17366         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17367         (gst_iterator_new_list), (gst_iterator_filter):
17368         * gst/gstiterator.h:
17369         * gst/gstquery.c: (gst_query_type_iterate_definitions):
17370         Add a GType to GstIterator, update callsites and tests.
17371
17372 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17373
17374         * gst/gstpad.c: (gst_pad_event_default_dispatch):
17375           give events a chance to be handled by event probes when the pad
17376           is not linked
17377
17378 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17379
17380         * gst/gstevent.c: (gst_event_type_get_name),
17381         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17382         * gst/gstevent.h:
17383           add string representations for event types
17384
17385 2005-10-06  Wim Taymans  <wim@fluendo.com>
17386
17387         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
17388         Don't use NULL pointers.
17389
17390 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17391
17392         * gst/gst_private.h:
17393         * gst/gstbus.c:
17394         * gst/gstelement.c:
17395         * gst/gstinfo.c:
17396         * gst/gstpluginfeature.c:
17397           widen the debug category in output to fit the biggest one we have
17398           add a bus category and use it
17399           play with the colors
17400           fix up some categories
17401
17402 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17403
17404         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
17405           add push activation of sink ghost pads.
17406           Andye, please verify
17407
17408 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17409
17410         * gst/gstutils.c: (gst_element_link_pads):
17411           fix a bug in the case where neither element has a pad
17412         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17413           add a test for that case
17414
17415 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17416
17417         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
17418           emit have-data before checking for peers.  This allows
17419           for probe handlers to connect elements.  This helps autopluggers.
17420         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
17421         (gst_pad_suite):
17422           add six checks, linked/unlinked with no/true/false probe
17423
17424 2005-10-04  Wim Taymans  <wim@fluendo.com>
17425
17426         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
17427         (gst_fake_sink_event), (gst_fake_sink_preroll),
17428         (gst_fake_sink_render), (gst_fake_sink_change_state):
17429         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
17430         (gst_fake_src_get_property), (gst_fake_src_create),
17431         (gst_fake_src_stop):
17432         * gst/elements/gstidentity.c: (gst_identity_stop):
17433         Protect last_message with lock.
17434
17435 2005-10-04  Edward Hervey  <edward@fluendo.com>
17436
17437         * gst/gstformat.h: 
17438         Added precision in the comments for GST_FORMAT_DEFAULT
17439
17440 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
17441
17442         * tools/gst-launch.c: (main):
17443           Don't try to run erroneous pipelines.
17444
17445 2005-10-04  Julien MOUTTE  <julien@moutte.net>
17446
17447         * gst/gstbus.c: We don't need this header.
17448
17449 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17450
17451         * configure.ac:
17452           back to development
17453
17454 === release 0.9.3 ===
17455
17456 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17457
17458         * README:
17459         * configure.ac:
17460           Releasing 0.9.3, "Unregistered"
17461
17462 2005-10-03  Andy Wingo  <wingo@pobox.com>
17463
17464         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
17465         whereby calling a pad's activatepush() function can start a thread
17466         that starts to push or pull before the pad gets the FLUSHING flag
17467         unset. Hack around it by holding the stream lock until the flag is
17468         set. Need to replace this with a proper solution. Together with
17469         the ghost pad fixes, this fixes mp3 playing/tagreading.
17470
17471         * docs/design/part-gstghostpad.txt: Add a note about activation of
17472         proxy pads outside of ghost pads.
17473
17474         * gst/gstghostpad.c: Implement the ghost pad activation design.
17475
17476 2005-10-02  Andy Wingo  <wingo@pobox.com>
17477
17478         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
17479         It is volatile, after all.
17480
17481         * docs/design/part-gstghostpad.txt: Flesh out activation with
17482         ghost pads.
17483
17484         * gst/base/gstbasesrc.c (gst_base_src_init): Use
17485         GST_DEBUG_FUNCPTR.
17486
17487 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
17488
17489         * configure.ac:
17490           Fix (unused) AM_CONDITIONAL tests.
17491
17492 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
17493
17494         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17495
17496         * gst/gstutils.c: (gst_pad_query_convert):
17497           Add assertion that makes sure src_val is >=0, just like
17498           gst_query_new_convert() has. (#315895)
17499
17500 2005-09-30  Edward Hervey  <edward@fluendo.com>
17501
17502         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
17503         Let's not iterate pads we're not interested in, it avoids getting 
17504         sky-high refcounts on sinkpad.
17505
17506 2005-09-30  Wim Taymans  <wim@fluendo.com>
17507
17508         * gst/gstelement.c: (gst_element_set_state),
17509         (gst_element_change_state):
17510         Small tweak, element in ASYNC remains ASYNC.
17511
17512 2005-09-30  Wim Taymans  <wim@fluendo.com>
17513
17514         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17515         Only error is an error.
17516
17517         * gst/gstbin.c: (gst_bin_change_state):
17518         Better debugging.
17519
17520         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17521         Also call pad_block in pad alloc.
17522
17523         * gst/gstutils.c: (gst_flow_get_name):
17524         Better debugging.
17525
17526 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
17527
17528         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17529         (gst_base_src_get_range):
17530           Fix documentation typos. Add some more debug info.
17531
17532 2005-09-29  David Schleef  <ds@schleef.org>
17533
17534         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17535           more end-user friendly.
17536         * tools/gst-inspect.c: (main): Check if command-line argument is
17537           a file and attempt to load that file as a plugin.
17538
17539 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17540
17541         * check/gst/gstbin.c:
17542         * check/states/sinks.c:
17543           fix tests for the new warning
17544         * check/gst/gstpipeline.c:
17545           add a test for pipeline and bus interaction
17546         * gst/gstelement.c:
17547           elements should be NULL if they get disposed; add a warning if not
17548
17549 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17550
17551         * gst/gstobject.c:
17552           for 2.6 refcounting, make debug log more correct by printing
17553           the actual refcounts at the time of swap (Wim)
17554
17555 2005-09-29  Andy Wingo  <wingo@pobox.com>
17556
17557         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17558         removes signal watches previously added via
17559         gst_bus_add_signal_watch.
17560         (gst_bus_add_signal_watch): Don't return the source id, just store
17561         it on the bus if there wasn't an id already.
17562
17563         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17564         add_signal_watch and remove_signal_watch.
17565
17566 2005-09-29  Edward Hervey  <edward@fluendo.com>
17567
17568         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
17569         Better if we actually iterate the list :)
17570
17571 2005-09-29  Wim Taymans  <wim@fluendo.com>
17572
17573         * check/gst/gstbin.c: (GST_START_TEST):
17574         Change for new bus API.
17575
17576         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17577         (send_messages), (GST_START_TEST), (gstbus_suite):
17578         Change for new bus signal API.
17579
17580         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17581         (gst_bus_source_prepare), (gst_bus_source_check),
17582         (gst_bus_create_watch), (gst_bus_add_watch_full),
17583         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17584         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17585         * gst/gstbus.h:
17586         Remove support for multiple GSources operating on different
17587         message types as it is too complex and unneeded when using
17588         signals.
17589         Added support for receiving signals from the bus.
17590
17591 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17592
17593         * docs/libs/tmpl/gstdataprotocol.sgml:
17594         * docs/manual/advanced-dataaccess.xml:
17595         * gst/elements/gstcapsfilter.c:
17596         * gst/gstutils.c:
17597           rename filter-caps to caps property
17598
17599 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
17600
17601         * gst/gstvalue.c: (gst_value_deserialize_fraction):
17602           More robust fraction string parsing.
17603
17604         * docs/pwg/appendix-porting.xml:
17605           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17606
17607 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
17608
17609         * gst/gstcaps.c: (gst_caps_do_simplify):
17610           Thou shalt not free a structure and then continue using it
17611           in the next loop iteration.
17612
17613         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17614         (gst_caps_suite):
17615           Add test case for caps simplification.
17616
17617 2005-09-29  Wim Taymans  <wim@fluendo.com>
17618
17619         * check/gst/gstbin.c: (GST_START_TEST):
17620         Oops.
17621
17622 2005-09-29  Wim Taymans  <wim@fluendo.com>
17623
17624         * check/gst/gstbin.c: (GST_START_TEST):
17625         Add bus to bin.
17626
17627         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17628         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17629         (find_element), (gst_bin_sort_iterator_next),
17630         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17631         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17632         (gst_bin_change_state), (gst_bin_dispose):
17633         A bin does not have a bus, it gets the bus from the parent.
17634
17635         * gst/gstelement.c: (gst_element_requires_clock),
17636         (gst_element_provides_clock), (gst_element_is_indexable),
17637         (gst_element_is_locked_state), (gst_element_change_state),
17638         (gst_element_set_bus_func):
17639         Small cleanups.
17640
17641         * gst/gstpipeline.c: (gst_pipeline_class_init),
17642         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17643         The pipeline provides a bus.
17644
17645 2005-09-28  Johan Dahlin  <johan@gnome.org>
17646
17647         * gst/gstmessage.c (gst_message_parse_state_changed): Use
17648         gst_structure_get_enum instead of gst_structure_get_int
17649
17650         * gst/gststructure.c (gst_structure_get_enum): Impl.
17651
17652         * gst/gststructure.h (gst_structure_get_enum): Add
17653
17654         * docs/gst/gstreamer-sections.txt: Ditto
17655
17656         * gst/gstmessage.c (gst_message_new_state_changed): Use
17657         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17658         which does introspection.
17659         Reviewed by Christian Schaller
17660
17661 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
17662
17663         * gst/gstinfo.c: (gst_debug_log_default):
17664           don't do dummy g_strdup()s
17665         * libs/gst/controller/gstcontroller.c:
17666         (on_object_controlled_property_changed),
17667         (gst_controlled_property_new), (gst_controller_new_valist),
17668         (gst_controller_new_list),
17669         (gst_controller_remove_properties_valist), (gst_controller_set),
17670         (gst_controller_get), (gst_controller_sync_values),
17671         (gst_controller_get_value_array), (_gst_controller_class_init),
17672         (gst_controller_get_type):
17673         * libs/gst/controller/gstcontroller.h:
17674         * libs/gst/controller/gstinterpolation.c:
17675         (gst_controlled_property_find_timed_value_node):
17676           convert // to /**/ comments
17677
17678 2005-09-28  Wim Taymans  <wim@fluendo.com>
17679
17680         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17681         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17682         (gst_bus_sync_signal_handler):
17683         * gst/gstbus.h:
17684         Added async-message and sync-message signals to the bus.
17685         Added helper BusFunc to emit signals for all posted messages.
17686
17687         * gst/gstmessage.c: (gst_message_type_get_name),
17688         (gst_message_type_to_quark), (gst_message_get_type):
17689         * gst/gstmessage.h:
17690         Register quarks for message names.
17691
17692 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
17693
17694         * docs/libs/gstreamer-libs-sections.txt:
17695         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17696         (gst_controller_new_list):
17697         * libs/gst/controller/gstcontroller.h:
17698           added another constructor for language bindings
17699
17700 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17701
17702         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17703           add another check
17704         * gst/gstbus.c:
17705           add some doc
17706         * gst/gstinfo.c: (_gst_debug_init):
17707           slightly more readable color for refcount debugging
17708
17709 2005-09-28  Wim Taymans  <wim@fluendo.com>
17710
17711         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17712         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17713         (find_element), (gst_bin_sort_iterator_next),
17714         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17715         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17716         (gst_bin_change_state), (gst_bin_dispose):
17717         Small doc fixes. get_clock -> provide_clock.
17718
17719         * gst/gstelement.c: (gst_element_class_init),
17720         (gst_element_provides_clock), (gst_element_provide_clock),
17721         (gst_element_get_clock), (gst_element_commit_state),
17722         (gst_element_lost_state):
17723         * gst/gstelement.h:
17724         Make get/set_clock() symetric. Add provide_clock vmethod since
17725         that is actually what this function does.
17726
17727         * gst/gstpipeline.c: (gst_pipeline_class_init),
17728         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
17729         (gst_pipeline_get_clock):
17730         get_clock -> provide_clock.
17731
17732 2005-09-28  Andy Wingo  <wingo@pobox.com>
17733
17734         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
17735         lieu of real docs...
17736
17737         * gst/elements/gstfdsrc.c: Cleaned up a bit.
17738
17739 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
17740
17741         * gst/elements/gstcapsfilter.c:
17742         * gst/elements/gstfakesink.c:
17743         * gst/elements/gstfakesrc.c:
17744         * gst/elements/gstfdsink.c:
17745         * gst/elements/gstfdsrc.c:
17746         * gst/elements/gstfilesink.c:
17747         * gst/elements/gstfilesrc.c:
17748         * gst/elements/gstidentity.c:
17749         * gst/elements/gsttee.c:
17750         * gst/elements/gsttypefindelement.c:
17751           Make element details static.
17752
17753 2005-09-28  Wim Taymans  <wim@fluendo.com>
17754
17755         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17756         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17757         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17758         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17759         (gst_bin_change_state), (gst_bin_dispose):
17760         Some documentation updates.
17761         Clean up dispose handlers.
17762
17763         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
17764         * gst/gstpad.c: (gst_pad_dispose):
17765         Clean up dispose handler.
17766
17767         * gst/gstpipeline.c: (gst_pipeline_change_state):
17768         Removed spurious UNLOCK.
17769
17770 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
17771
17772         * docs/gst/gstreamer-sections.txt:
17773         * gst/base/gstbasesrc.h:
17774         * gst/gstelement.h:
17775         * gst/gstevent.h:
17776         * gst/gstobject.h:
17777         * gst/gstpad.h:
17778         * gst/gstpipeline.c:
17779         * gst/gstpipeline.h:
17780         * gst/gstutils.h:
17781         * gst/gstxml.h:
17782           added two new functions to the docs
17783                 documents all undocumented GstXXXFlags
17784                 completed some incomplete docs 
17785
17786 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17787
17788         * gst/gstbin.c: (gst_bin_dispose):
17789         * gst/gstelement.c: (gst_element_dispose):
17790           remove now useless and leaky resurrection code in dispose
17791         * gst/base/gstbasesrc.c: (gst_base_src_init):
17792         * gst/gstelementfactory.c: (gst_element_factory_create):
17793         * gst/gstobject.c: (gst_object_set_parent):
17794           add some debugging
17795
17796 2005-09-27  Wim Taymans  <wim@fluendo.com>
17797
17798         * docs/design/part-TODO.txt:
17799         Update TODO.
17800
17801         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17802         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17803         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17804         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17805         (gst_bin_change_state):
17806         * gst/gstelement.h:
17807         Remove element variable, we keep element info in the iterator now.
17808
17809 2005-09-27  Andy Wingo  <wingo@pobox.com>
17810
17811         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17812         values.
17813
17814 2005-09-27  Wim Taymans  <wim@fluendo.com>
17815
17816         * check/gst/gstbin.c: (GST_START_TEST):
17817         Enable check that works now.
17818
17819         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17820         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17821         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17822         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17823         (gst_bin_change_state):
17824         * gst/gstbin.h:
17825         Redid the state change algorithm using a topological sort algo.
17826         Handles all cases correctly.
17827         Exposed iterator for state change order.
17828
17829         * gst/gstelement.h:
17830         Temp storage for state changes. Need to get rid of this soon.
17831
17832 2005-09-27  Wim Taymans  <wim@fluendo.com>
17833
17834         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17835         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17836         (link_fold_func), (gst_pad_proxy_setcaps):
17837         Leak fixes, the fold functions need to unref the passed object and
17838         _get_parent_*() returns ref to parent.
17839
17840 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17841
17842         * check/gst/gstbuffer.c: (test_make_writable):
17843           Plug leak in test case and fix 'make check-valgrind'
17844
17845 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17846
17847         * gst/gstbuffer.c: (gst_subbuffer_init):
17848           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17849           works correctly in all circumstances (we could have just copied
17850           the parent buffer's readonly flag, but conceptually it seems
17851           cleaner to mark all subbuffers as read-only). (based on patch
17852           by Alessandro Decina, #314710).
17853         
17854         * check/gst/gstbuffer.c: (create_read_only_buffer),
17855         (test_make_writable), (test_subbuffer_make_writable),
17856         (gst_test_suite):
17857           Add some tests for gst_buffer_make_writable().
17858
17859 2005-09-27  Wim Taymans  <wim@fluendo.com>
17860
17861         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17862         use gst_object_has_ancestor().
17863
17864         * gst/gstobject.c: (gst_object_has_ancestor):
17865         * gst/gstobject.h:
17866         gst_object_has_ancestor() copied from gstbin.c as it is a
17867         useful function.
17868
17869         * tests/instantiate/create.c: (create_all_elements):
17870         * tests/lat.c: (handoff_src), (handoff_sink):
17871         * tests/sched/runxml.c: (main):
17872         * tests/seeking/seeking1.c: (main):
17873         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17874         (main):
17875         Fix compilation of some tests.
17876
17877 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17878
17879         * gst/gsterror.h:
17880           Remove comment. GST_TYPE_G_ERROR is here to stay,
17881           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17882           (#316961, #300610).
17883
17884 2005-09-26  Wim Taymans  <wim@fluendo.com>
17885
17886         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17887         Added check that shows error in state change order.
17888
17889 2005-09-26  Wim Taymans  <wim@fluendo.com>
17890
17891         * gst/gstbin.c: (gst_bin_change_state):
17892         Make state change function use 3 queues again, we were
17893         adding elements in the wrong order.
17894
17895         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17896         Some debug info,
17897
17898         * gst/gstpad.c: (gst_pad_dispose):
17899         Added some debug info first.
17900
17901 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
17902
17903         * docs/design/draft-push-pull.txt:
17904         * docs/design/part-events.txt:
17905         * docs/design/part-overview.txt:
17906         * docs/design/part-scheduling.txt:
17907           Replace all _pull_region() with _pull_range()
17908           
17909 2005-09-26  Andy Wingo  <wingo@pobox.com>
17910
17911         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17912
17913         * check/gst-libs/controller.c: Update for controller api change.
17914
17915         * configure.ac: 
17916         * tests/Makefile.am:
17917         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17918         over by GLib bug 118439.
17919         
17920         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17921         routines to a function.
17922
17923         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17924
17925         * libs/gst/controller/gsthelper.c:
17926         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17927         (gst_object_sync_values): Renamed from sink_values. Ugh.
17928
17929         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17930
17931         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17932         Renamed from controller_key, as it is exported.
17933
17934         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17935
17936 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17937
17938         * gst/Makefile.am:
17939         * gst/gst.h:
17940         * gst/gstpad.h:
17941         * gst/gstpadtemplate.h:
17942         * gst/gstquery.c:
17943         * gst/gstquery.h:
17944         * gst/gstqueryutils.c:
17945         * gst/gstqueryutils.h:
17946           remove queryutils headers after moving the two used functions
17947           to gstquery.  also fixes build problem for gstsiddec
17948
17949 2005-09-26  Michael Smith <msmith@fluendo.com>
17950
17951         * tools/gst-launch.1.in:
17952         Correct documentation in manpage of debug syntax
17953
17954 2005-09-26  Wim Taymans  <wim@fluendo.com>
17955
17956         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17957         (gst_base_src_is_seekable), (gst_base_src_change_state):
17958         Some more debugging info.
17959
17960 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17961
17962         * docs/gst/gstreamer-sections.txt:
17963         * gst/base/gstbasetransform.h:
17964         * gst/gstindex.h:
17965           added more docs
17966
17967 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17968
17969         * docs/gst/.cvsignore:
17970         * docs/gst/tmpl/.cvsignore:
17971         * docs/gst/tmpl/gstpipeline.sgml:
17972         * docs/gst/tmpl/gstplugin.sgml:
17973         * gst/gstpipeline.c:
17974         * gst/gstplugin.c:
17975         * gst/gstplugin.h:
17976           inlined the last two docs files
17977           removed the tmpl directory from cvs (no more conflicts here!)
17978
17979 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17980
17981         * docs/gst/gstreamer-sections.txt:
17982         * docs/gst/tmpl/.cvsignore:
17983         * docs/gst/tmpl/gstpad.sgml:
17984         * docs/gst/tmpl/gstpadtemplate.sgml:
17985         * gst/Makefile.am:
17986         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17987         (gst_pad_finalize), (gst_pad_set_pad_template):
17988         * gst/gstpad.h:
17989         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17990         (gst_pad_template_class_init), (gst_pad_template_init),
17991         (gst_pad_template_dispose), (name_is_valid),
17992         (gst_static_pad_template_get), (gst_pad_template_new),
17993         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17994         (gst_pad_template_pad_created):
17995         * gst/gstpadtemplate.h:
17996           inlined two more docs
17997           factored gstpadtemplate out of gstpad
17998
17999 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
18000
18001         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18002         (test_children_state_change_order_semi_sink):
18003           Fix test case: we can't rely on a fixed state change order when
18004           going from READY => PAUSED because the sink might commit its 
18005           new state first when the first buffer created by the source 
18006           reaches the sink before the source has finished its change state.
18007           (Test case still fails at times, see #316856, comment 5 onwards)
18008
18009 2005-09-24  Wim Taymans  <wim@fluendo.com>
18010
18011         * docs/design/part-events.txt:
18012         * docs/design/part-gstbus.txt:
18013         * docs/design/part-gstpipeline.txt:
18014         * docs/design/part-messages.txt:
18015         * docs/design/part-overview.txt:
18016         * docs/design/part-segments.txt:
18017         * gst/gstbin.c:
18018         * gst/gstbuffer.c:
18019         * gst/gstclock.c:
18020         * gst/gstelement.c:
18021         * gst/gstevent.c:
18022         * gst/gstfilter.c:
18023         * gst/gstiterator.c:
18024         Various documentation updates.
18025
18026 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18027
18028         * gst/gstclock.h:
18029           Well, that's embarassing.  Luckily we weren't using
18030           GST_CLOCK_DIFF anywhere.
18031
18032 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18033
18034         * common/gtk-doc.mak:
18035           don't fail on building XML, FC4 slave shows a bunch of doc
18036           missing bits that I don't get
18037         * gst/gstpad.c:
18038         * gst/gstpipeline.c:
18039         * gst/gststructure.c:
18040           some doc updates
18041
18042 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18043
18044         * docs/design/part-gstbin.txt:
18045         * docs/design/part-gstbus.txt:
18046         * gst/gstbus.c:
18047           Add blurb about how the bus goes into flushing mode and
18048           drops all messages when its bin goes from READY into NULL 
18049           state.
18050
18051 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18052
18053         * docs/gst/gstreamer-sections.txt:
18054         * gst/gststructure.c: (gst_structure_get_clock_time):
18055         * gst/gststructure.h:
18056           add a method to get a GstClockTime out of a structure
18057
18058 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18059
18060         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18061         (test_children_state_change_order_semi_sink), (gst_bin_suite):
18062           Added test to check state change order in bins (can still be made
18063           to fail here under heavy disk load; bails out with 'Push on pad
18064           fakesink:sink0, but it was not activated in push mode').
18065
18066         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18067           Fix state change order when there is only a semi sink (#316856)
18068
18069         * gst/gstbus.c: (gst_bus_class_init):
18070           Use _class_peek_parent(), not _class_ref(); fix docs to say
18071           'default main context' instead of 'mainloop' where that is
18072           what's meant.
18073
18074         * gst/gstelement.c: (gst_element_commit_state),
18075         (gst_element_set_state):
18076           Fix typos in debug messages
18077
18078 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18079
18080         * docs/README:
18081         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18082         * gst/gstpluginfeature.c:
18083         * gst/gstutils.c:
18084           various doc updates
18085         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18086           change an assert into an error until it gets fixed properly
18087
18088 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
18089
18090         * docs/gst/gstreamer-sections.txt:
18091         * docs/gst/tmpl/.cvsignore:
18092         * docs/gst/tmpl/gstelement.sgml:
18093         * docs/gst/tmpl/gstinfo.sgml:
18094         * docs/gst/tmpl/gstobject.sgml:
18095         * gst/gstelement.c:
18096         * gst/gstelement.h:
18097         * gst/gstinfo.c:
18098         * gst/gstinfo.h:
18099         * gst/gstobject.c: (gst_object_class_init):
18100         * gst/gstobject.h:
18101           inlined 3 more biiiig doc files and added some missing docs on the fly
18102
18103 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18104
18105         * check/gst/.cvsignore:
18106         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18107         * gst/gstregistryxml.c: (load_plugin),
18108         (gst_registry_xml_save_plugin):
18109           put back source in registry.  add checks for find_plugin.
18110         * testsuite/states/bin.c: (assert_state), (empty_bin),
18111         (test_adding_one_element), (main):
18112         * testsuite/states/locked.c: (main):
18113           some compile/run fixes
18114
18115 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18116
18117         * check/gst/gstvalue.c: (GST_START_TEST):
18118           fix leaks in the test itself
18119
18120 2005-09-22  Wim Taymans  <wim@fluendo.com>
18121
18122         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18123         (gst_base_sink_send_event), (gst_base_sink_peer_query),
18124         (gst_base_sink_query):
18125         Prepare for more accurate position reporting and query
18126         handling.
18127
18128         * gst/gstelement.c: (gst_element_send_event),
18129         (gst_element_set_state):
18130         Add some comment.
18131
18132 2005-09-22  Wim Taymans  <wim@fluendo.com>
18133
18134         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18135         (gst_query_parse_segment):
18136         * gst/gstquery.h:
18137         More documentation.
18138         Add segment query for future use.
18139
18140 2005-09-22  Wim Taymans  <wim@fluendo.com>
18141
18142         * gst/gstbin.c: (gst_bin_add_func):
18143         Some more debug info.
18144
18145         * gst/gstelement.c: (gst_element_send_event):
18146         Simplify send_event
18147
18148         * gst/gstelement.h:
18149         Don't know how flags got broken.
18150
18151         * gst/gstquery.h:
18152         Added new query.
18153
18154 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18155
18156         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18157           Add simplistic test suite for GST_TYPE_DATE serialisation and
18158           deserialisation.
18159
18160 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18161
18162         * docs/gst/gstreamer-sections.txt:
18163         * gst/gststructure.c: (gst_structure_set_valist),
18164         (gst_structure_get_date):
18165         * gst/gststructure.h:
18166         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18167         (gst_date_copy), (gst_value_compare_date),
18168         (gst_value_serialize_date), (gst_value_deserialize_date),
18169         (gst_value_transform_date_string),
18170         (gst_value_transform_string_date), (_gst_value_initialize):
18171         * gst/gstvalue.h:
18172           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18173           bunch of utility functions along with a hack that checks that
18174           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18175           is required. Part of the grand scheme in #170777.
18176
18177 2005-09-22  Andy Wingo  <wingo@pobox.com>
18178
18179         * gst/gstconfig.h.in: Psych out gtk-doc.
18180
18181         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18182
18183         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18184
18185         * tools/gst-inspect.c (print_element_list): Plug some
18186         inconsequential leaks.
18187
18188         * gst/gstregistry.c (gst_registry_get_default): Doc.
18189
18190         * check/gst/gstplugin.c: 
18191         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18192         * gst/gstelementfactory.c (gst_element_factory_create): 
18193         * gst/gstindexfactory.c (gst_index_factory_create): Update for
18194         refcount changes.
18195
18196         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18197         (gst_plugin_feature_load): Doc, don't eat refs.
18198
18199         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18200         (gst_plugin_list_free): Doc.
18201         (gst_plugin_load_file): Doc updates.
18202
18203         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18204         accessors returning refcounted objects, return a ref.
18205
18206         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18207         accessor for caps. IDEMPOTENCE. Oh yes.
18208
18209 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
18210
18211         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18212
18213         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18214         (_gst_debug_register_funcptr):
18215           Add mutex to serialise access to the hash table with
18216           the function pointer => function name string mapping;
18217           make that hash table static scope (#316809).
18218
18219         * gst/registries/.cvsignore:
18220           Remove left-over file.
18221
18222 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
18223
18224         * docs/pwg/appendix-porting.xml:
18225           And something about newsegment events and caps-on-buffers to
18226           the porting guide (feel free to improve).
18227
18228 2005-09-21  Andy Wingo  <wingo@pobox.com>
18229
18230         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18231         data and event probes on the same pad.
18232         (test_buffer_probe_once): Test that removing probes from within
18233         the probe functions works.
18234
18235 2005-09-21  Andy Wingo  <wingo@pobox.com>
18236
18237         * check/gst/gstutils.c: New file.
18238         (test_buffer_probe_n_times): A simple buffer probe test. More to
18239         come, foolios.
18240
18241         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18242         have-data::buffer, not have-data.
18243         (gst_pad_add_event_probe): Likewise for have-data::event.
18244         (gst_pad_add_data_probe): More docs. The part about 'resolving the
18245         peer' isn't quite right yet though.
18246         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
18247         (gst_pad_remove_data_probe): Change to take the guint handler_id
18248         as their arg, not the function+data, which is more glib-like.
18249
18250         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18251         the signal emission to indicate if the data is a buffer or an
18252         event.
18253         (gst_pad_get_type): Initialize buffer and event quarks.
18254         (gst_pad_class_init): have-data is now a detailed signal, yes it
18255         is.
18256
18257 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
18258
18259         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18260         * gst/gstutils.c: (gst_util_set_value_from_string),
18261         (gst_util_set_object_arg):
18262           Don't put functional code in g_return_if_fail() or
18263           g_return_val_if_fail() statements, otherwise things will 
18264           break when G_DISABLE_CHECKS is defined during compilation.
18265
18266 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18267
18268         * docs/gst/tmpl/.cvsignore:
18269         * docs/gst/tmpl/gstvalue.sgml:
18270         * gst/gstvalue.c:
18271         * gst/gstvalue.h:
18272           inlied another one and added  some obvious docs
18273
18274 2005-09-21  Wim Taymans  <wim@fluendo.com>
18275
18276         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18277         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18278         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18279         (gst_fdsrc_get_property), (gst_fdsrc_create):
18280         * gst/elements/gstfdsrc.h:
18281         Properly implement fdsrc. Removed signal and timeout,
18282         better implemented somewhere else.
18283
18284 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18285
18286         * docs/gst/tmpl/.cvsignore:
18287         * docs/gst/tmpl/gstimplementsinterface.sgml:
18288         * gst/gstinterface.c:
18289           inlined more docs
18290
18291 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18292
18293         * docs/gst/gstreamer-sections.txt:
18294         * docs/gst/tmpl/.cvsignore:
18295         * docs/gst/tmpl/gstenumtypes.sgml:
18296           remove obsolete doc file
18297
18298 2005-09-21  David Schleef  <ds@schleef.org>
18299
18300         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18301         little beer, fix a little leak.
18302
18303 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18304
18305         * docs/gst/gstreamer-docs.sgml:
18306         * docs/gst/gstreamer-sections.txt:
18307         * docs/gst/tmpl/.cvsignore:
18308         * gst/Makefile.am:
18309         * gst/gst.h:
18310         * gst/gstbin.c:
18311         * gst/gstelement.h:
18312         * gst/gstindex.c: (gst_index_class_init):
18313         * gst/gstindex.h:
18314         * gst/gstindexfactory.c: (gst_index_factory_get_type),
18315         (gst_index_factory_class_init), (gst_index_factory_init),
18316         (gst_index_factory_finalize), (gst_index_factory_new),
18317         (gst_index_factory_destroy), (gst_index_factory_find),
18318         (gst_index_factory_create), (gst_index_factory_make):
18319         * gst/gstindexfactory.h:
18320         * gst/gstpluginfeature.c:
18321         * gst/gstpluginfeature.h:
18322         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18323           more docs inlined, splitted gstindex.{c,h}
18324
18325 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18326
18327         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18328           fix a leak
18329
18330 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
18331
18332         * gst/elements/gstfilesink.c: (gst_file_sink_init):
18333           Set sync to FALSE by default.
18334
18335 2005-09-20  Wim Taymans  <wim@fluendo.com>
18336
18337         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18338         (gst_base_sink_init):
18339         Make sync property settable from subclass.
18340
18341         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18342         (gst_fake_sink_change_state):
18343         Set sync to FALSE by default.
18344
18345 2005-09-20  Wim Taymans  <wim@fluendo.com>
18346
18347         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18348         * tools/gst-launch.c: (main):
18349         The timeout handler should have lower priority than the source
18350         so we don't timeout before popping a message with 0 timeout.
18351         Dump error messages after failed state change.
18352
18353 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
18354
18355         * tools/gst-inspect.c: (print_element_properties_info):
18356           Fix two typos.
18357
18358 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18359
18360         * check/gst/gstevent.c:
18361         * gst/elements/gstfakesink.c:
18362         * gst/elements/gstfakesink.h:
18363           remove the sync property from fakesink.
18364           has the side effect of setting sync TRUE
18365           for fakesink, which is a change.  Anyone who knows how
18366           to fix this nicely in a GObject-y way, feel free.
18367
18368 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18369
18370         * docs/gst/gstreamer-docs.sgml:
18371           remove probe refsection
18372
18373 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18374
18375         * check/Makefile.am:
18376           disable valgrinding the controller test again
18377         * docs/gst/gstreamer-sections.txt:
18378           update for api-changes
18379
18380 2005-09-20  Wim Taymans  <wim@fluendo.com>
18381
18382         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18383         (gst_base_sink_set_property), (gst_base_sink_get_property),
18384         (gst_base_sink_do_sync):
18385         * gst/base/gstbasesink.h:
18386         Added sync property to basesink to disable clock sync.
18387
18388 2005-09-20  Andy Wingo  <wingo@pobox.com>
18389
18390         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
18391         eating the caller's refcount.
18392
18393         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
18394         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
18395         refcount.
18396
18397         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
18398         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
18399         of GLib 2.8 public, so we can know which refcount to check in
18400         tests.
18401
18402         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
18403         (gst_object_init): Only set the gst refcount if we're going ahead
18404         with the refcount hack.
18405
18406 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18407
18408         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18409         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18410           more leaks plumbed, added more debug-logging
18411         * gst/gstmacros.h:
18412           whitespace fix
18413
18414 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18415
18416         * gst/gstmessage.c:
18417           remove include of gstmemchunk.h
18418
18419 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18420
18421         * gst/gstclock.c: (_gst_clock_id_free):
18422           Commit from the Political Party For More Atomic CVS Commits,
18423           so that people don't waste too much of their day fishing
18424           out obvious leaks out of massive commits.
18425           Oh, and fix a pretty damn obvious leak in the memchunk
18426           removal code.
18427
18428 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18429
18430         * check/Makefile.am:
18431         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18432           plug mem-leak, re-add to valgrindable tests
18433
18434 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18435
18436         * gst/gstplugin.h:
18437           unbreak the build for those who have chronic arthritis
18438           and typing "make check" is just too taxing on the hands
18439
18440 2005-09-20  Andy Wingo  <wingo@pobox.com>
18441
18442         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
18443         really want it out, you should fix plugins at the same time.
18444
18445 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
18446
18447         * configure.ac:
18448         * docs/gst/gstreamer-sections.txt:
18449         * gst/gstobject.c:
18450           added missing symbols to api docs
18451           disable ref-count hack if we have glib >= 2.8
18452
18453 2005-09-19  David Schleef  <ds@schleef.org>
18454
18455         * docs/gst/Makefile.am: Ignore a few more internal headers
18456         * docs/gst/gstreamer-docs.sgml: Remove old sections
18457         * docs/gst/gstreamer-sections.txt: Remove old sections
18458         * docs/gst/tmpl/gstobject.sgml: update
18459         * docs/gst/tmpl/gstplugin.sgml: update
18460         * docs/gst/tmpl/gstpluginfeature.sgml: update
18461         * docs/random/ds/0.9-suggested-changes: update.
18462         * gst/Makefile.am: remove memchunk and trashstack, since they're
18463           not used.
18464         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
18465         * gst/gst.h: don't include some headers
18466         * gst/gstchildproxy.c: add gstmarshal.h
18467         * gst/gstclock.c: Don't use memchunks
18468         * gst/gstminiobject.c: Add some docs
18469         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
18470         * gst/gstobject.h: same
18471         * gst/gstplugin.c: include gstmacros.h
18472         * gst/gstplugin.h: don't include gstmacros.h, since it's private
18473         * gst/gstquery.c: don't use memchunks
18474         * gst/gstregistry.c: rename gst_registry_deinit()
18475         * gst/gstregistry.h: same
18476
18477 2005-09-19  David Schleef  <ds@schleef.org>
18478
18479         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
18480         * docs/libs/gstreamer-libs-sections.txt:
18481         * docs/libs/tmpl/gstgetbits.sgml:
18482         * docs/libs/tmpl/gstputbits.sgml:
18483
18484 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
18485
18486         * win32/gstenumtypes.c:
18487         * win32/gstenumtypes.h:
18488           Update.
18489
18490 2005-09-19  Wim Taymans  <wim@fluendo.com>
18491
18492         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
18493         Automatically PAUSE and RESUME a pipeline when a flushing seek
18494         is performed.
18495
18496 2005-09-19  Andy Wingo  <wingo@pobox.com>
18497
18498         * gst/gstregistry.h: Spacing fixen.
18499
18500 2005-09-19  Wim Taymans  <wim@fluendo.com>
18501
18502         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
18503         Handle state change failure more correctly.
18504
18505 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18506
18507         * check/Makefile.am:
18508         * check/pipelines/cleanup.c: (run_pipeline):
18509         * check/pipelines/simple_launch_lines.c: (run_pipeline),
18510         (GST_START_TEST):
18511           enable cleanup again after fixing the leak
18512         * docs/README:
18513           some more info on docs
18514
18515 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18516
18517         * check/Makefile.am:
18518           re-enable tests now that leaks are plugged
18519         * check/gst/gst.c:
18520         * check/gst/gstbin.c:
18521         * check/gst/gstpipeline.c:
18522           add some more tests while fixing leaks
18523         * common/check.mak:
18524           make sure binaries are uptodate when valgrinding/gdbing
18525         * gst/gst.c:
18526         * gst/gstelementfactory.c:
18527           remove a ref too many, and add a FIXME for when we get
18528           round to disposing of classes
18529         * gst/gstplugin.c:
18530           fix the refcounting when loading a plugin from a file and
18531           the code pretends that the pointer is the same even though
18532           of course it can change
18533         * gst/gstpluginfeature.c:
18534           unref plugins marked cached (a bit confusing as a name)
18535           as the docs state should be done
18536           various doc additions to explain refcounting
18537         * gst/gstregistry.c:
18538         * gst/gstregistryxml.c:
18539           debugging
18540
18541 2005-09-19  Wim Taymans  <wim@fluendo.com>
18542
18543         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18544         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18545         (send_messages), (GST_START_TEST), (gstbus_suite):
18546         * check/gst/gstpipeline.c: (GST_START_TEST):
18547         * check/pipelines/cleanup.c: (run_pipeline):
18548         * check/pipelines/simple_launch_lines.c: (run_pipeline),
18549         (GST_START_TEST):
18550         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18551         (gst_bus_source_check), (gst_bus_source_dispatch),
18552         (gst_bus_create_watch), (gst_bus_add_watch_full),
18553         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18554         * gst/gstbus.h:
18555         * tools/gst-launch.c: (event_loop):
18556         * tools/gst-md5sum.c: (event_loop):
18557         GstBusHandler -> GstBusFunc, return value has the same meaning as
18558         any other GSource (FALSE == remove source).
18559         _add_watch() and _add_watch_full() now take a MessageType mask to
18560         only handle specific types of messages.
18561         _poll() returns the GstMessage instead of the message type to avoid
18562         race conditions.
18563         _have_pending() takes a MessageType mask now too.
18564         Added testsuite for multiple bus watches.
18565         Fix testsuites and applications for new bus API.
18566
18567 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18568
18569         * check/Makefile.am:
18570           mark a bunch of the tests as to fix until we fix them
18571
18572 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18573
18574         * common/check.mak:
18575           use GST_PLUGIN settings for valgrind tests as well, so we're
18576           valgrinding the correct thing
18577         * gst/gst.c: (init_post):
18578           plug another leak
18579
18580 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18581
18582         * gst/gst.c: (init_post), (gst_deinit):
18583         * gst/gstelementfactory.c: (gst_element_factory_class_init),
18584         (gst_element_factory_finalize), (gst_element_factory_cleanup):
18585         * gst/gstindex.c: (gst_index_factory_class_init),
18586         (gst_index_factory_finalize):
18587         * gst/gstobject.c: (gst_object_dispose):
18588         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18589         (gst_plugin_load_file), (gst_plugin_desc_free):
18590         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18591         (gst_plugin_feature_finalize):
18592         * gst/gstregistry.c: (gst_registry_class_init),
18593         (gst_registry_init), (gst_registry_finalize),
18594         (gst_registry_get_default), (gst_registry_deinit):
18595         * gst/gstregistry.h:
18596         * gst/gstregistryxml.c: (load_feature), (load_plugin):
18597           various cleanups and memleak plugging.  make valgrind is happy now.
18598
18599 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18600
18601         * common/check.mak:
18602           add a check-valgrind target
18603
18604 2005-09-18  David Schleef  <ds@schleef.org>
18605
18606         * tools/gst-inspect.c: Revert the GOption code.
18607
18608 2005-09-17  David Schleef  <ds@schleef.org>
18609
18610         * check/Makefile.am: Fix environment variables.
18611         * check/gst/gstplugin.c: Fix for API changes.
18612         * tools/gst-inspect.c: Fix for API changes.
18613         * tools/gst-xmlinspect.c: Fix for API changes.
18614         * gst/gstelementfactory.c:
18615         * gst/gstplugin.c:
18616         * gst/gstplugin.h:
18617         * gst/gstpluginfeature.c:
18618         * gst/gstpluginfeature.h:
18619         * gst/gstregistry.c:
18620         * gst/gstregistry.h:
18621         * gst/gstregistryxml.c:
18622         * gst/gsttypefind.c:
18623         * gst/gsttypefindfactory.c:
18624         * gst/indexers/gstfileindex.c:
18625         * gst/indexers/gstmemindex.c:
18626         * gst/schedulers/Makefile.am:
18627           Change registry to keep track of both plugins and features,
18628           removing the feature tracking from plugins themselves.
18629
18630 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18631
18632         * check/Makefile.am:
18633         * tools/gst-register.1.in:
18634           remove gst-register
18635
18636 2005-09-15  David Schleef  <ds@schleef.org>
18637
18638         * check/gst/gstplugin.c:
18639         * gst/gstelementfactory.c:
18640         * gst/gstplugin.c:
18641         * gst/gstpluginfeature.c:
18642         * gst/gstregistry.c:
18643           Getting tired of debugging.  Disabled all the unreffing of
18644           plugins and features, which fixes the segfaults, but of
18645           course leaks like crazy.  At least playbin works.
18646
18647 2005-09-15  David Schleef  <ds@schleef.org>
18648
18649         * check/gst/gstplugin.c: (register_check_elements),
18650         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18651         More testing
18652         * gst/elements/gsttypefindelement.c: Fix refcounting.
18653         * gst/gsttypefind.c:
18654         * gst/gsttypefindfactory.c:
18655         * gst/gsttypefindfactory.h:
18656
18657 2005-09-15  David Schleef  <ds@schleef.org>
18658
18659         * gst/gstindex.c: get refcounting correct.
18660         * gst/gstregistry.c: Handle the case where a feature/plugin is
18661           not found.
18662
18663 2005-09-15  David Schleef  <ds@schleef.org>
18664
18665         * check/Makefile.am:
18666         * check/gst/gstplugin.c: Add test
18667         * gst/gstplugin.c: Fix problems noticed by testsuite
18668         * gst/gstplugin.h:
18669         * gst/gstregistry.c: 
18670         * gst/gstregistry.h:
18671
18672 2005-09-15  David Schleef  <ds@schleef.org>
18673
18674         * gst/gstplugin.c: Implement semi-decent recounting and locking
18675           in plugins and plugin features.
18676         * gst/gstplugin.h:
18677         * gst/gstpluginfeature.c:
18678         * gst/gstpluginfeature.h:
18679         * gst/gstregistry.c:
18680
18681 2005-09-15  Michael Smith <msmith@fluendo.com>
18682
18683         * gst/gstregistry.c: (gst_registry_get_feature_list):
18684           Implement this. Makes oggdemux work; decodebin still broken.
18685
18686 2005-09-14  David Schleef  <ds@schleef.org>
18687
18688         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18689           #316076)
18690         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18691         * gst/check/Makefile.am:
18692         * libs/gst/controller/Makefile.am:
18693         * libs/gst/dataprotocol/Makefile.am:
18694
18695 2005-09-14  David Schleef  <ds@schleef.org>
18696
18697         * configure.ac: Remove getbits library.  Nothing uses it, and
18698           it should be in something like liboil if someone did want
18699           to use it.
18700         * libs/gst/Makefile.am:
18701         * libs/gst/getbits/Makefile.am:
18702         * libs/gst/getbits/gbtest.c:
18703         * libs/gst/getbits/getbits.c:
18704         * libs/gst/getbits/getbits.h:
18705         * libs/gst/getbits/gstgetbits_generic.c:
18706         * libs/gst/getbits/gstgetbits_i386.s:
18707         * libs/gst/getbits/gstgetbits_inl.h:
18708
18709 2005-09-14  David Schleef  <ds@schleef.org>
18710
18711         * gst/Makefile.am: Dist glib-compat.h
18712
18713 2005-09-14  David Schleef  <ds@schleef.org>
18714
18715         * configure.ac: Remove gst/registries, since it's no longer used.
18716         * gst/registries/Makefile.am:
18717         * gst/registries/gstlibxmlregistry.c:
18718         * gst/registries/gstlibxmlregistry.h:
18719         * gst/registries/gstxmlregistry.c:
18720         * gst/registries/gstxmlregistry.h:
18721         * gst/registries/registrytest.c:
18722
18723 2005-09-14  David Schleef  <ds@schleef.org>
18724
18725         * gst/glib-compat.h:
18726         * gst/gstregistryxml.c:
18727           Convergence is near.  Seriously.
18728
18729 2005-09-14  David Schleef  <ds@schleef.org>
18730
18731         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18732         * gst/glib-compat.h:
18733           Attempt #4 to appease the buildbots.
18734
18735 2005-09-14  David Schleef  <ds@schleef.org>
18736
18737         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18738           Attempt #3.
18739
18740 2005-09-14  David Schleef  <ds@schleef.org>
18741
18742         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18743         Attempt #2.
18744
18745 2005-09-14  David Schleef  <ds@schleef.org>
18746
18747         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
18748           the new functions.
18749
18750 2005-09-14  David Schleef  <ds@schleef.org>
18751
18752         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18753         * gst/glib-compat.h: Add some functions that are in newer versions
18754           of glib than we care to require.
18755         * gst/gstregistryxml.c: Use them.
18756
18757 2005-09-14  David Schleef  <ds@schleef.org>
18758
18759         * po/POTFILES.in: remove gst-register.c
18760
18761 2005-09-14  David Schleef  <ds@schleef.org>
18762
18763         * docs/gst/gstreamer-docs.sgml:
18764         * docs/gst/gstreamer-sections.txt:
18765         * docs/gst/gstreamer.types:
18766         * docs/gst/tmpl/gstelement.sgml:
18767         * docs/gst/tmpl/gstplugin.sgml:
18768         * docs/gst/tmpl/gstpluginfeature.sgml:
18769           Documentation updates for registry changes.
18770
18771 2005-09-14  David Schleef  <ds@schleef.org>
18772
18773         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
18774           because we don't require glib-2.8.
18775
18776 2005-09-14  David Schleef  <ds@schleef.org>
18777
18778         * gst/gstregistryxml.c: Added.  Essentially moved out of the
18779           registries directory.
18780
18781 2005-09-14  David Schleef  <ds@schleef.org>
18782
18783         * check/Makefile.am:
18784         * check/generic/states.c:
18785         * gst/Makefile.am:
18786         * gst/gst.c:
18787         * gst/gst.h:
18788         * gst/gst_private.h:
18789         * gst/gstelementfactory.c:
18790         * gst/gstindex.c:
18791         * gst/gstinfo.c:
18792         * gst/gstplugin.c:
18793         * gst/gstplugin.h:
18794         * gst/gstpluginfeature.c:
18795         * gst/gstpluginfeature.h:
18796         * gst/gstregistry.c:
18797         * gst/gstregistry.h:
18798         * gst/gstregistrypool.c: remove
18799         * gst/gstregistrypool.h: remove
18800         * gst/gsttypefind.c:
18801         * gst/gsttypefindfactory.c:
18802         * gst/gsturi.c:
18803         * tools/Makefile.am:
18804         * tools/gst-compprep.c:
18805         * tools/gst-inspect.c:
18806         * tools/gst-register.c: remove
18807         * tools/gst-xmlinspect.c:
18808           Registry rewrite.  Changes registry from being a file created
18809           by a tool into a simple cache file created automatically by 
18810           libgstreamer.  Removed gst-register (because it's no longer
18811           needed).  Remove registry pools, because we only have one
18812           registry implementation (XML).  Fix up other subsystems as
18813           necessary.
18814
18815 2005-09-13  Michael Smith <msmith@fluendo.com>
18816
18817         * gst/gstconfig.h.in:
18818           Don't Use windows linking attributes for MinGW. Fixes #316157
18819
18820 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18821
18822         * gst/gstutils.c: (set_state_async_thread_func),
18823         (gst_element_set_state_async):
18824           Apparently people think it's better if this function doesn't
18825           try to set the state to whatever state was asked for on the first
18826           call to this function for any object.  Seriously.
18827
18828 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18829
18830         * check/gst/gstpipeline.c: (GST_START_TEST):
18831         * docs/gst/gstreamer-sections.txt:
18832         * gst/gstutils.c: (set_state_async_thread_func),
18833         (gst_element_set_state_async):
18834         * gst/gstutils.h:
18835           add a "gst_element_set_state_async" method that
18836           sets the state and starts a thread to make sure the state
18837           change completes as best as it can
18838
18839 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18840
18841         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18842           codify design+behaviour in testsuite after discussion
18843
18844 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18845
18846         * docs/gst/tmpl/gstelement.sgml:
18847         * docs/manual/appendix-quotes.xml:
18848           add a quote
18849         * gst/gstelement.c: (gst_element_set_state):
18850           add some debug
18851
18852 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
18853
18854         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18855         (gst_base_transform_prepare_output_buf),
18856         (gst_base_transform_handle_buffer):
18857         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18858         (gst_capsfilter_prepare_buf):
18859           Remove the requirement for sub-classes to call the parent
18860           implementation of prepare_output_buffer with a wrapper function.
18861           
18862         * gst/gsttaglist.h:
18863         * gst/gsttagsetter.h:
18864           Fix #define wrapper
18865
18866 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
18867
18868         * docs/gst/gstreamer-sections.txt:
18869           more doc cleanups
18870
18871 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18872
18873         * docs/gst/gstreamer-sections.txt:
18874         * docs/gst/tmpl/gstelement.sgml:
18875         * docs/gst/tmpl/gstplugin.sgml:
18876         * gst/gstminiobject.c:
18877         * gst/gstvalue.h:
18878           docs now stop throwing warnings
18879
18880 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18881
18882         * docs/gst/gstreamer-sections.txt:
18883         * docs/gst/gstreamer.types:
18884         * docs/gst/tmpl/gstpad.sgml:
18885         * docs/gst/tmpl/gsttypes.sgml:
18886         * gst/base/gstadapter.h:
18887         * gst/base/gstbasesink.h:
18888         * gst/base/gstbasesrc.h:
18889         * gst/gstbin.h:
18890         * gst/gstbuffer.h:
18891         * gst/gstbus.h:
18892         * gst/gstcaps.h:
18893         * gst/gstclock.h:
18894         * gst/gstelement.h:
18895         * gst/gstevent.h:
18896         * gst/gstmessage.h:
18897         * gst/gstpad.h:
18898         * gst/gststructure.c:
18899         * gst/registries/gstlibxmlregistry.h:
18900           various documentation fixes
18901
18902 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18903
18904         * docs/gst/gstreamer-sections.txt:
18905         * docs/gst/tmpl/gstvalue.sgml:
18906           rearrange gstvalue section
18907         * gst/gstutils.c: (gst_element_state_get_name):
18908           NONE -> VOID
18909         * gst/gstvalue.c: (_gst_value_initialize):
18910         * gst/gstvalue.h:
18911           doc updates
18912
18913 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
18914
18915         * check/gst-libs/controller.c:
18916           Header include fix.
18917         * gst/base/gstbasetransform.c:
18918         (gst_base_transform_default_prepare_buf),
18919         (gst_base_transform_handle_buffer):
18920         * gst/base/gstbasetransform.h:
18921           Some more basetransform changes and fixes to enable sub-classes
18922           that modify buffer metadata only.
18923         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18924         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18925         (gst_capsfilter_prepare_buf):
18926           If the output pad has fixed allowed caps and input buffers 
18927           don't have any, set the fixed caps on outgoing buffers.
18928
18929 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
18930         * check/elements/identity.c: (GST_START_TEST):
18931           Make the error a little clearer when the test fails because
18932           identity made a copy of the buffer.
18933         * docs/gst/gstreamer-sections.txt:
18934           New symbols in gstbasetransform.h
18935         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18936         (gst_base_transform_init), (gst_base_transform_transform_size),
18937         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18938         (gst_base_transform_default_prepare_buf),
18939         (gst_base_transform_get_unit_size),
18940         (gst_base_transform_buffer_alloc),
18941         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18942         (gst_base_transform_change_state),
18943         (gst_base_transform_set_passthrough),
18944         (gst_base_transform_set_in_place),
18945         (gst_base_transform_is_in_place):
18946         * gst/base/gstbasetransform.h:
18947           Change BaseTransform to separate in_place operate from same_caps
18948           output. in_place implies that the element can perform the transform
18949           on incoming buffers in-place, even if the caps on the output are
18950           different.
18951           Sub-class elements can now implement special buffer allocation
18952           methods for outgoing buffers if they wish to.
18953           Big documentation addition.
18954         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18955         * gst/elements/gstelements.c:
18956           Changes for basetransform modifications.
18957         * gst/elements/Makefile.am:
18958         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18959           Compile fix. Extra debug output.
18960
18961 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18962
18963         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18964         (gst_pad_suite):
18965           add tests for valid pad naming
18966         * gst/check/gstcheck.c: (gst_check_log_message_func),
18967         (gst_check_log_critical_func):
18968           add ASSERT_WARNING
18969           remove printing of code, it is fragile when the code contains
18970           % and the line number is enough info
18971         * gst/check/gstcheck.h:
18972         * gst/gstpad.c: (gst_pad_template_new):
18973           fix memleaks
18974
18975 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18976
18977         * configure.ac:
18978           say what CHECK flags we use
18979         * docs/libs/gstreamer-libs.types:
18980         * libs/gst/controller/Makefile.am:
18981         * libs/gst/controller/gst-controller.c:
18982         * libs/gst/controller/gst-controller.h:
18983         * libs/gst/controller/gst-helper.c:
18984         * libs/gst/controller/gst-interpolation.c:
18985         * libs/gst/controller/gstcontroller.c:
18986         * libs/gst/controller/gsthelper.c:
18987         * libs/gst/controller/gstinterpolation.c:
18988         * tools/gst-inspect.c: (print_plugin_info):
18989           we don't use dashes in header names
18990
18991 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18992
18993         * check/Makefile.am:
18994         * check/gst/.cvsignore:
18995         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18996         (gst_pipeline_suite), (main):
18997           adding a test for pipelines and state changes
18998         * gst/gstutils.c: (get_state_func):
18999           add some debugging
19000         * gstreamer.spec.in:
19001           fix up spec file
19002
19003 2005-09-08  Michael Smith <msmith@fluendo.com>
19004
19005         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19006         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19007         (gst_file_src_is_seekable), (gst_file_src_get_size),
19008         (gst_file_src_start):
19009         * gst/elements/gstfilesrc.h:
19010           Various fixes for unseekable, unmmapable, and non-normal files, so
19011           that fallback to read() rather than mmap() works.
19012         * gst/gstevent.c: (gst_event_new_newsegment):
19013           Allow newsegment events with segment_start == segment_end, as will
19014           correctly happen if you use filesrc on a zero-size file, for
19015           example.
19016
19017 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19018
19019         * gst/gstplugin.c: (gst_plugin_load_file):
19020           Call g_module_close when we don't load the module
19021
19022         * gst/registries/gstlibxmlregistry.c:
19023         (gst_xml_registry_get_property):
19024           Port leak fix from 0.8
19025
19026 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19027
19028         * docs/gst/gstreamer-docs.sgml:
19029         * docs/gst/tmpl/.cvsignore:
19030         * docs/gst/tmpl/gsttrace.sgml:
19031         * docs/gst/tmpl/gsttrashstack.sgml:
19032         * gst/Makefile.am:
19033         * gst/gst.h:
19034         * gst/gstelement.h:
19035         * gst/gstevent.h:
19036         * gst/gstmessage.c:
19037         * gst/gstmessage.h:
19038         * gst/gsttag.c:
19039         * gst/gsttag.h:
19040         * gst/gsttaginterface.c:
19041         * gst/gsttaginterface.h:
19042         * gst/gsttaglist.c:
19043         * gst/gsttaglist.h:
19044         * gst/gsttagsetter.c:
19045         * gst/gsttagsetter.h:
19046         * gst/gsttrace.c:
19047         * gst/gsttrace.h:
19048         * gst/gsttrashstack.c:
19049           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19050           inlined docs for gsttrace, gsttrashstack
19051
19052 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19053
19054         * gst/Makefile.am:
19055         * gst/elements/gstbufferstore.h:
19056         * gst/elements/gsttypefindelement.c:
19057         * gst/elements/gsttypefindelement.h:
19058         * gst/gst.h:
19059         * gst/gsttypefind.c:
19060         * gst/gsttypefind.h:
19061         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19062         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19063         (gst_type_find_factory_dispose),
19064         (gst_type_find_factory_unload_thyself),
19065         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19066         (gst_type_find_factory_get_caps),
19067         (gst_type_find_factory_get_extensions),
19068         (gst_type_find_factory_call_function):
19069         * gst/gsttypefindfactory.h:
19070         * gst/registries/gstlibxmlregistry.c:
19071         * gst/registries/gstxmlregistry.c:
19072           splitted gsttypefind into gsttypefind, gsttypefindfactory
19073
19074 2005-09-07  Andy Wingo  <wingo@pobox.com>
19075
19076         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19077         condition whereby the pad's task function is entered before the
19078         pad_mode variable was set.
19079
19080 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19081
19082         * gst/gstpad.c: (gst_pad_alloc_buffer):
19083           Catch misbehaving pad_alloc functions that don't
19084           set up caps and do it for them.
19085
19086 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19087
19088         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19089           test for pipe!=NULL
19090         * docs/gst/tmpl/.cvsignore:
19091         * docs/gst/tmpl/gstmemchunk.sgml:
19092         * docs/gst/tmpl/gstparse.sgml:
19093         * docs/gst/tmpl/gsttaglist.sgml:
19094         * docs/gst/tmpl/gsttagsetter.sgml:
19095         * docs/gst/tmpl/gsttypefind.sgml:
19096         * docs/gst/tmpl/gsttypefindfactory.sgml:
19097         * gst/gstmemchunk.c:
19098         * gst/gstparse.c:
19099         * gst/gsttag.c:
19100         * gst/gsttaginterface.c:
19101         * gst/gsttypefind.c:
19102         * gst/gsttypefind.h:
19103           inlined more docs
19104
19105 === release 0.9.2 ===
19106
19107 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19108
19109         * NEWS:
19110         * RELEASE:
19111         * configure.ac:
19112           releasing 0.9.2, "South"
19113
19114 2005-09-05  Andy Wingo  <wingo@pobox.com>
19115
19116         * gst/registries/gstxmlregistry.h:
19117         * gst/registries/gstxmlregistry.c: Um... resurrect...
19118         
19119         * gst/registries/gstxmlregistry.h:
19120         * gst/registries/gstxmlregistry.c: and update to newer API.
19121         Incidentally they should be a bit faster now that they don't have
19122         to parse the caps.
19123         
19124 2005-09-05  Andy Wingo  <wingo@pobox.com>
19125
19126         * gst/registries/gstxmlregistry.h:
19127         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19128         replaced by the libxml registry a while back
19129
19130 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19131
19132         * docs/gst/tmpl/gstplugin.sgml:
19133         * gst/elements/gstelements.c:
19134         * gst/gst.c:
19135         * gst/gstplugin.c: (gst_plugin_register_func),
19136         (gst_plugin_desc_copy), (gst_plugin_desc_free),
19137         (gst_plugin_get_source):
19138         * gst/gstplugin.h:
19139         * gst/registries/gstlibxmlregistry.c: (load_plugin),
19140         (gst_xml_registry_save_plugin):
19141         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19142         (gst_xml_registry_save_plugin):
19143         * tools/gst-inspect.c: (print_plugin_info):
19144           add a "source" plugin description field, to represent the source
19145           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
19146           will set it to PACKAGE, which is automake's idea of the name of
19147           the source project.
19148
19149 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19150
19151         * Makefile.am:
19152         * autogen.sh:
19153         * configure.ac:
19154         * docs/Makefile.am:
19155         * docs/faq/Makefile.am:
19156         * docs/gst/tmpl/gstelement.sgml:
19157         * docs/gst/tmpl/gsttypes.sgml:
19158         * docs/htmlinstall.mak:
19159         * docs/manual/Makefile.am:
19160         * docs/pwg/Makefile.am:
19161           reorganize doc build a little
19162           split out docbook and gtk-doc stuff
19163           have two separate --enable's and enable them through autogen
19164           but disable by default in configure (to be similar to other
19165           projects)
19166         * gstreamer.spec.in:
19167           clean up docs install
19168         * po/af.po:
19169         * po/az.po:
19170         * po/ca.po:
19171         * po/cs.po:
19172         * po/de.po:
19173         * po/en_GB.po:
19174         * po/fr.po:
19175         * po/it.po:
19176         * po/nb.po:
19177         * po/nl.po:
19178         * po/ru.po:
19179         * po/sq.po:
19180         * po/sr.po:
19181         * po/sv.po:
19182         * po/tr.po:
19183         * po/uk.po:
19184         * po/vi.po:
19185           translation updates
19186
19187 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
19188
19189         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19190           Add comment.
19191           
19192         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19193         (gst_fake_sink_change_state):
19194           Make state change function thread-safe.
19195           
19196         * gst/gstpad.c: (gst_pad_alloc_buffer):
19197           Set offset on generic buffer allocated by fallback.
19198
19199 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
19200
19201         * docs/gst/gstreamer-sections.txt:
19202         * docs/gst/tmpl/gstelement.sgml:
19203         * gst/gstpad.c:
19204         * libs/gst/controller/gst-controller.c:
19205         (gst_controlled_property_set_interpolation_mode),
19206         (gst_controlled_property_new),
19207         (gst_controller_find_controlled_property):
19208          run the wingo-magic script against the docs
19209
19210 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19211
19212         * docs/gst/gstreamer-docs.sgml:
19213         * docs/gst/gstreamer-sections.txt:
19214         * docs/gst/tmpl/.cvsignore:
19215         * docs/gst/tmpl/gstelementdetails.sgml:
19216         * docs/gst/tmpl/gstelementfactory.sgml:
19217         * gst/gst.c:
19218         * gst/gstbus.c:
19219         * gst/gstelementfactory.c:
19220         * gst/gstelementfactory.h:
19221           merged elementdetails docs into elementfactory docs
19222           inlined both
19223
19224 2005-09-02  Andy Wingo  <wingo@pobox.com>
19225
19226         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19227         consider this enum an enum and not a flags.
19228
19229 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19230
19231         * docs/gst/gstreamer-docs.sgml:
19232         * docs/gst/tmpl/.cvsignore:
19233         * docs/gst/tmpl/gstghostpad.sgml:
19234         * docs/gst/tmpl/gstiterator.sgml:
19235         * docs/gst/tmpl/gstmacros.sgml:
19236         * docs/gst/tmpl/gstrealpad.sgml:
19237         * docs/gst/tmpl/gstregistry.sgml:
19238         * docs/gst/tmpl/gstregistrypool.sgml:
19239         * docs/gst/tmpl/gststructure.sgml:
19240         * docs/gst/tmpl/gstsystemclock.sgml:
19241         * docs/gst/tmpl/gsttrace.sgml:
19242         * gst/gstghostpad.c:
19243         * gst/gstmacros.h:
19244         * gst/gstmemchunk.c:
19245         * gst/gstmemchunk.h:
19246         * gst/gstqueue.c:
19247         * gst/gstregistry.c:
19248         * gst/gstregistrypool.c:
19249         * gst/gststructure.c:
19250         * gst/gstsystemclock.c:
19251           more docs inlined
19252
19253 2005-09-02  Andy Wingo  <wingo@pobox.com>
19254
19255         * gst/gstelement.h (GstState): Renamed from GstElementState,
19256         changed to be a normal enum instead of flags.
19257         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19258         munged to be GST_STATE_CHANGE_*.
19259         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19260         work with the new state representation.
19261         (GstStateChange): New enumeration of possible state transitions.
19262         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19263         (GstElementClass::change_state): Pass the GstStateChange along as
19264         an argument. Helps language bindings, so they don't have to use
19265         tricky lock-needing macros like GST_STATE_CHANGE ().
19266
19267         * scripts/update-states (file): New script. Run it on a file to
19268         update it for state naming and API changes. Updates files in
19269         place.
19270
19271         * All files updated for the new API.
19272
19273 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19274
19275         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19276         * gst/gstutils.c: (gst_util_set_value_from_string),
19277         (gst_util_set_object_arg):
19278           fix a bunch of unchecked return values
19279         * tools/gst-complete.c: (main):
19280         * gstreamer.spec.in:
19281           clean up a little
19282
19283 2005-09-01  Wim Taymans  <wim@fluendo.com>
19284
19285         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19286         (gst_base_sink_event), (gst_base_sink_do_sync),
19287         (gst_base_sink_handle_event):
19288         * gst/base/gstbasesink.h:
19289         Handle newsegments more correctly.
19290
19291         * gst/gstbus.c:
19292         Fix docs.
19293
19294         * gst/gstevent.c: (gst_event_new_newsegment):
19295         A newsegment cannot have a start_time of -1
19296
19297 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
19298
19299         * win32/gstenumtypes.c:
19300         * win32/gstenumtypes.h:
19301           Update
19302
19303 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
19304
19305         * libs/gst/controller/gst-controller.c:
19306         (gst_controlled_property_set_interpolation_mode),
19307         (gst_controlled_property_new):
19308          fixed boolean again
19309
19310 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
19311
19312         * docs/faq/gst-uninstalled:
19313           add -good
19314         * gst/gstevent.c:
19315         * gst/gstevent.h:
19316           remove wrong docs
19317         * gst/gstutils.c: (gst_element_link_filtered):
19318         * gst/gstutils.h:
19319           add gst_element_link_filtered
19320
19321 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
19322
19323         * docs/gst/gstreamer-docs.sgml:
19324         * docs/gst/gstreamer-sections.txt:
19325         * docs/gst/tmpl/.cvsignore:
19326         * docs/gst/tmpl/gsterror.sgml:
19327         * docs/gst/tmpl/gstfilter.sgml:
19328         * docs/gst/tmpl/gsturihandler.sgml:
19329         * docs/gst/tmpl/gsturitype.sgml:
19330         * docs/gst/tmpl/gstutils.sgml:
19331         * docs/gst/tmpl/gstxml.sgml:
19332         * gst/gsterror.c:
19333         * gst/gsterror.h:
19334         * gst/gstfilter.c:
19335         * gst/gsturi.c:
19336         * gst/gsturitype.c:
19337         * gst/gstutils.c:
19338         * gst/gstxml.c:
19339           inlined more docs, fixed double id-ref
19340
19341 2005-08-31  Wim Taymans  <wim@fluendo.com>
19342
19343         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19344         (gst_base_transform_handle_buffer):
19345         Passthrough elements don't need the caps as they don't care.
19346
19347 2005-08-31  Wim Taymans  <wim@fluendo.com>
19348
19349         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19350         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19351         Don't leak refcounts on buffers.
19352
19353 2005-08-31  Wim Taymans  <wim@fluendo.com>
19354
19355         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19356         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19357         (gst_base_transform_chain), (gst_base_transform_change_state):
19358         * gst/base/gstbasetransform.h:
19359         Handle the case where we are not negotiated more gracefully.
19360
19361 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
19362
19363         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19364         (gst_file_src_map_region):
19365           Set READONLY flag on mmap'ed buffers, otherwise
19366           gst_buffer_make_writable() won't work properly (#314708).
19367
19368 2005-08-31  Wim Taymans  <wim@fluendo.com>
19369
19370         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19371         passthrough elements can even do inplace on non writable
19372         buffers (as they don't touch them).
19373
19374 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
19375
19376         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19377         (gst_test_mono_source_set_property),
19378         (gst_test_mono_source_class_init), (GST_START_TEST),
19379         (gst_controller_suite):
19380           more tests (hehe I have the most)
19381         * gst/gstbus.c:
19382           describe popping messages whenusing mulltiple sources
19383         * libs/gst/controller/gst-controller.c:
19384         (gst_controlled_property_set_interpolation_mode),
19385         (gst_controlled_property_new):
19386         * libs/gst/controller/gst-controller.h:
19387         * libs/gst/controller/gst-interpolation.c:
19388           implement boolean properties
19389
19390 2005-08-31  Wim Taymans  <wim@fluendo.com>
19391
19392         * gst/gstminiobject.c: (gst_mini_object_ref):
19393         Cannot assert that the refcount has to be positive
19394         since a disposed object can be resurrected.
19395
19396 2005-08-31  Wim Taymans  <wim@fluendo.com>
19397
19398         * gst/gstpad.c: (gst_pad_init):
19399         Revert change, need to first fix badly behaving 
19400         apps.
19401
19402 2005-08-30  Wim Taymans  <wim@fluendo.com>
19403
19404         * check/elements/fakesrc.c: (setup_fakesrc):
19405         * check/elements/identity.c: (setup_identity):
19406         Activate pads before using them.
19407
19408 2005-08-30  Wim Taymans  <wim@fluendo.com>
19409
19410         * gst/base/gstadapter.c: (gst_adapter_flush):
19411         Flushing out 0 bytes is ok for this function.
19412
19413         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19414         no newsegment gives a warning and sets the start/stop to 
19415         invalid.
19416
19417         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
19418         (gst_base_transform_set_passthrough):
19419         Some debug info.
19420
19421         * gst/gstminiobject.c: (gst_mini_object_ref):
19422         Check refcount here too.
19423
19424         * gst/gstpad.c: (gst_pad_init):
19425         Pads are initially flushing and refusing data.
19426
19427         * gst/gstutils.c: (gst_element_link_pads_filtered):
19428         When adding a capsfilter element make sure it has the
19429         same state as the parent bin.
19430
19431 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
19432
19433         * docs/gst/tmpl/.cvsignore:
19434         * docs/gst/tmpl/gstformat.sgml:
19435         * docs/gst/tmpl/gstversion.sgml:
19436         * gst/gstbus.h:
19437         * gst/gstformat.c:
19438         * gst/gstformat.h:
19439         * gst/gstversion.h.in:
19440           more docs and two more inlined
19441
19442 2005-08-30  Wim Taymans  <wim@fluendo.com>
19443
19444         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
19445         Don't sync to clock.
19446
19447 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
19448
19449         * docs/gst/gstreamer-sections.txt:
19450           ultral33t func10ns deserve to appear in the docs actually
19451         * docs/gst/tmpl/.cvsignore:
19452         * docs/gst/tmpl/gstcompat.sgml:
19453         * docs/gst/tmpl/gstconfig.sgml:
19454         * gst/check/gstcheck.c:
19455         * gst/gstcompat.h:
19456         * gst/gstconfig.h.in:
19457           inlined more docs
19458
19459 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
19460
19461         * docs/gst/tmpl/.cvsignore:
19462         * docs/gst/tmpl/gstquery.sgml:
19463         * docs/gst/tmpl/gstutils.sgml:
19464         * gst/gstquery.c:
19465         * gst/gstquery.h:
19466           inlined and extended docs
19467
19468 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
19469
19470         * check/gst-libs/controller.c: (GST_START_TEST),
19471         (gst_controller_suite):
19472           more tests
19473         * docs/gst/tmpl/gstutils.sgml:
19474         * docs/libs/gstreamer-libs-sections.txt:
19475         * docs/libs/tmpl/gstdataprotocol.sgml:
19476           include path fixes
19477         * examples/controller/audio-example.c: (main):
19478           controller example works now
19479         * gst/gstclock.h:
19480           doc fixes
19481         * tools/gst-inspect.c: (print_element_properties_info):
19482           show param spec flags
19483
19484 2005-08-29  Andy Wingo  <wingo@pobox.com>
19485
19486         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
19487
19488 2005-08-28  Andy Wingo  <wingo@pobox.com>
19489
19490         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
19491         as having two arguments instead of just one. Allows superclasses
19492         to access information on subclasses -- see the terrible for() loop
19493         in gtype.c:g_type_create_instance for the reason why. All callers
19494         changed.
19495
19496 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
19497
19498         * docs/design/part-messages.txt:
19499           update info
19500         * docs/gst/tmpl/.cvsignore:
19501         * docs/gst/tmpl/gstcaps.sgml:
19502         * docs/gst/tmpl/gstclock.sgml:
19503         * gst/gstbus.c:
19504         * gst/gstcaps.c:
19505         * gst/gstcaps.h:
19506         * gst/gstclock.c:
19507         * gst/gstclock.h:
19508         * gst/gstmessage.c:
19509           added descriptions for bus and message
19510           inline caps and clock docs
19511
19512 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
19513
19514         * gst/gstmessage.c:
19515         * gst/gstmessage.h:
19516           doc fixes
19517
19518 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
19519
19520         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19521           fix div-by-zero
19522
19523 2005-08-26  Andy Wingo  <wingo@pobox.com>
19524
19525         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19526         element_set_state's return val.
19527         (test_2_elements): Add test that's been disabled for months.
19528
19529         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19530         can-activate-pull properties.
19531
19532         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19533         can-activate-pull properties. Implement is_seekable so fakesrc can
19534         operate in pull mode.
19535
19536         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19537         properties.
19538         (gst_base_sink_activate, gst_base_sink_activate_pull)
19539         (gst_base_sink_activate_push): Make activation mode choosing work.
19540         Cleanups.
19541         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19542         is right. Make pull mode work. Post an eos before pausing in pull
19543         mode.
19544         (gst_base_sink_change_state): Pay attention to the core's
19545         change_state() return val.
19546         
19547         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19548         has-getrange properties. Cleanups.
19549         
19550         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19551         has_getrange and replace with can_activate_pull and
19552         can_activate_push.
19553
19554         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19555         locking comments. Remove has_loop, has_chain and replace with
19556         can_activate_pull and can_activate_push.
19557
19558 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
19559
19560         * configure.ac:
19561         * examples/Makefile.am:
19562         * examples/metadata/Makefile.am:
19563         * examples/metadata/read-metadata.c: (message_loop),
19564         (have_pad_handler), (make_pipeline), (print_tag), (main):
19565           Add metadata reading example that loops over a list of filenames,
19566           dumping any tags found.
19567
19568         * gst/gstbus.c: (gst_bus_dispose):
19569         * gst/gstelement.c: (gst_element_dispose):
19570           Release a few potentially-held references in dispose.
19571
19572 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19573
19574         * docs/gst/tmpl/gstminiobject.sgml:
19575           do *not* add tmpl/*.sgml files to CVS!
19576
19577 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19578
19579         * libs/gst/bytestream/.cvsignore:
19580         * libs/gst/bytestream/Makefile.am:
19581         * libs/gst/bytestream/adapter.c:
19582         * libs/gst/bytestream/adapter.h:
19583         * libs/gst/bytestream/bytestream.c:
19584         * libs/gst/bytestream/bytestream.h:
19585         * libs/gst/bytestream/filepad.c:
19586         * libs/gst/bytestream/filepad.h:
19587           removing obsolete files
19588
19589 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19590
19591         * docs/gst/gstreamer-docs.sgml:
19592         * docs/libs/gstreamer-libs-docs.sgml:
19593           disabed additional index entries again, as this makes docs-gen just
19594           slow and they aren't useful yet
19595         * docs/libs/gstreamer-libs-sections.txt:
19596           little -section.txt cleanup for libs
19597
19598 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
19599
19600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19601         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19602           fix up some debugging
19603         (gst_base_transform_get_unit_size),
19604         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19605         (gst_base_transform_handle_buffer):
19606         * gst/base/gstbasetransform.h:
19607           handle and store timed NEWSEGMENT events so that subclasses that
19608           calculate time by counting samples have a segment_start time they
19609           need to add to their timestamps - see audioresample
19610
19611 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19612
19613         * gst/gstbin.h:
19614           removed ';' from the end of macro defs
19615         * docs/gst/gstreamer-docs.sgml:
19616         * docs/gst/gstreamer-sections.txt:
19617         * docs/gst/tmpl/.cvsignore:
19618         * gst/gstbus.h:
19619         * gst/gstelement.c: (gst_element_class_init),
19620         (gst_element_set_state), (activate_pads),
19621         (gst_element_save_thyself):
19622         * gst/gstevent.c: (gst_event_new_newsegment):
19623         * gst/gstevent.h:
19624         * gst/gstiterator.c:
19625         * gst/gstiterator.h:
19626         * gst/gstpad.c:
19627         * gst/gstprobe.h:
19628         * gst/gstutils.c: (gst_pad_query_convert):
19629         * gst/gstutils.h:
19630           fixed parameter name mismatches between source, header and docs
19631           added some more docs, resolved the last batch of unused elements in
19632           docs (now someone needs to doc them)
19633
19634 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19635
19636         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19637         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19638           don't walk through the plugins backwards.  Where is all this
19639           reversed logic coming from ?
19640
19641 2005-08-25  Wim Taymans  <wim@fluendo.com>
19642
19643         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19644         (gst_base_transform_transform_size),
19645         (gst_base_transform_configure_caps),
19646         (gst_base_transform_get_unit_size),
19647         (gst_base_transform_buffer_alloc),
19648         (gst_base_transform_change_state):
19649         * gst/base/gstbasetransform.h:
19650         Cache caps unit_size.
19651         Make sure we cannot negotiate up and downstream at the
19652         same time.
19653
19654 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19655
19656         * gst/gst.c: (init_pre), (init_post):
19657           register the installed plugin path after the env var
19658         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19659         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19660           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19661           directories, so the tests can prefer uninstalled over installed
19662
19663 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19664
19665         * gst/base/gstbasetransform.h:
19666           comment
19667         * gst/gstpad.c:
19668           add to docs
19669
19670 2005-08-25  Wim Taymans  <wim@fluendo.com>
19671
19672         * gst/gstbin.c: (bin_bus_handler):
19673         Be a bit more conservative about the posted message.
19674         
19675         * gst/gstbus.c: (gst_bus_post):
19676         Some cleanups, warn wrong return values.
19677
19678 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
19679
19680         * check/gst/gstbin.c: (GST_START_TEST):
19681         * gst/gstbin.c: (bin_bus_handler):
19682         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19683         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19684         (gst_message_new_warning), (gst_message_new_tag),
19685         (gst_message_new_state_changed), (gst_message_new_segment_start),
19686         (gst_message_new_segment_done), (gst_message_new_custom):
19687         * gst/gstmessage.h:
19688         * tools/gst-launch.c: (event_loop):
19689         * tools/gst-md5sum.c: (event_loop):
19690           Revert unpopular change for GST_MESSAGE_SRC to GObject.
19691
19692 2005-08-25  Wim Taymans  <wim@fluendo.com>
19693
19694         * check/generic/states.c: (GST_START_TEST):
19695         Cleanup can be done at the end.
19696
19697         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19698         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19699         (gst_task_get_state), (gst_task_start), (gst_task_pause):
19700         Oh boy.. Thanks for finding this, Thomas. 
19701
19702 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
19703
19704         * docs/gst/gstreamer.types:
19705           added missing types
19706
19707 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
19708
19709         * docs/gst/gstreamer-docs.sgml:
19710         * docs/gst/gstreamer-sections.txt:
19711         * docs/gst/tmpl/.cvsignore:
19712         * gst/gstbin.c:
19713         * gst/gstiterator.c:
19714         * gst/gstutils.c:
19715         * gst/registries/gstxmlregistry.h:
19716           added missing classes and symbols (123 more to go)
19717           removed removed symbols from section file
19718           fixed many doc-comments
19719
19720 2005-08-24  Wim Taymans  <wim@fluendo.com>
19721
19722         * check/generic/states.c: (GST_START_TEST):
19723         Make sure all tasks are stopped.
19724
19725         * check/gst/gstbin.c: (GST_START_TEST):
19726         Unref after usage for proper valgrinding.
19727
19728         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
19729         Really wait for the task to stop before destroying the
19730         mutex.
19731
19732         * gst/gstqueue.c: (gst_queue_sink_activate_push),
19733         (gst_queue_src_activate_push):
19734         Small cleanups. Don't stop the task when we did not start
19735         it.
19736
19737         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
19738         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19739         (gst_task_get_state), (gst_task_start), (gst_task_pause),
19740         (gst_task_join):
19741         * gst/gsttask.h:
19742         Protect the stream lock with the object lock.
19743         Disallow setting the stream lock when running.
19744         Add cleanup_all to wait for the threadpool to finish.
19745         Remove code to autoallocate a mutex if none was provided.
19746         Add _join() to wait for a task to stop.
19747         Protect the thread pool with a global lock.
19748
19749 2005-08-24  Wim Taymans  <wim@fluendo.com>
19750
19751         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19752         (gst_base_sink_get_times), (gst_base_sink_do_sync),
19753         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
19754         * gst/base/gstbasesink.h:
19755         Handle newsegment events correctly.
19756         Drop buffers out of the segment range.
19757
19758 2005-08-22  Andy Wingo  <wingo@pobox.com>
19759
19760         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
19761         macro, implements an interface and gstimplementsinterface for a
19762         new type.
19763
19764 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19765
19766         * check/Makefile.am:
19767         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
19768           add a test that does a bunch of state changes on elements
19769           needs some fixing for valgrind
19770         * check/states/sinks.c: (gst_object_suite):
19771           whitespace
19772         * gst/gstcaps.h:
19773           add prototype for gst_caps_is_equal_fixed
19774         * gst/gstplugin.c:
19775         * gst/gstregistrypool.c:
19776           doc fixes
19777
19778 2005-08-24  Andy Wingo  <wingo@pobox.com>
19779
19780         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
19781         convert a negative value. Doesn't make much sense. Mostly this is
19782         here to force callers to ensure -1 maps to -1.
19783
19784 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
19785
19786         * docs/pwg/advanced-types.xml:
19787           Well done to Michael for catching my deliberate introduction
19788           of this spelling mistake. 
19789         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
19790         * gst/gstelement.h:
19791           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
19792           unlink pads before removing the element from the bin.
19793
19794 2005-08-24  Andy Wingo  <wingo@pobox.com>
19795
19796         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
19797         the same thing as GST_DEBUG=*:4.
19798         (parse_debug_level, parse_debug_category): New helper parsers.
19799
19800 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19801
19802         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19803         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19804         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19805         (gst_base_transform_buffer_alloc),
19806         (gst_base_transform_handle_buffer):
19807           use gboolean return values and pointers to size so we can use the
19808           full GST_BUFFER_SIZE range (guint) for buffer sizes
19809           use GstPadDirection for transform_caps
19810         * gst/base/gstbasetransform.h:
19811           rename get_size to get_unit_size since that's what it is
19812         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19813           use GstPadDirection for transform_caps
19814         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19815         * gst/gstutils.h:
19816           cleanup and debugging
19817
19818 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
19819
19820         * gst/gstelement.c: (gst_element_class_init),
19821         (gst_element_set_state), (activate_pads),
19822         (gst_element_save_thyself):
19823         * tools/gst-compprep.c: (main):
19824         * tools/gst-inspect.c: (print_element_properties_info):
19825         * tools/gst-xmlinspect.c: (print_element_properties):
19826           Fixed long standing mem-leak
19827
19828 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
19829
19830         * check/gst/gstbin.c: (GST_START_TEST):
19831         * gst/gstbin.c: (bin_bus_handler):
19832         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19833         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19834         (gst_message_new_warning), (gst_message_new_tag),
19835         (gst_message_new_state_changed), (gst_message_new_segment_start),
19836         (gst_message_new_segment_done), (gst_message_new_custom):
19837         * gst/gstmessage.h:
19838         * tools/gst-launch.c: (event_loop):
19839         * tools/gst-md5sum.c: (event_loop):
19840           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19841           that applications can sensibly post custom messages with references
19842           to their own objects.
19843
19844 2005-08-24  Andy Wingo  <wingo@pobox.com>
19845
19846         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19847         already.
19848
19849 2005-08-24  Wim Taymans  <wim@fluendo.com>
19850
19851         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19852         (gst_base_transform_transform_caps),
19853         (gst_base_transform_transform_size),
19854         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19855         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19856         (gst_base_transform_handle_buffer):
19857         * gst/base/gstbasetransform.h:
19858         Many fixes and new features added by Thomas. Can now also do
19859         transforms with variable sizes and a custom fixate_caps function.
19860
19861 2005-08-24  Wim Taymans  <wim@fluendo.com>
19862
19863         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19864         Some debugging.
19865
19866         * gst/gstclock.h:
19867         Cast to ClockTime before formatting to time.
19868
19869         * gst/gstutils.h:
19870         Cleanups.
19871
19872 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
19873
19874         * check/gst-libs/controller.c: (GST_START_TEST),
19875         (gst_controller_suite):
19876         * docs/gst/tmpl/gstcaps.sgml:
19877         * docs/gst/tmpl/gstghostpad.sgml:
19878         * docs/gst/tmpl/gstquery.sgml:
19879         * docs/gst/tmpl/gstutils.sgml:
19880         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19881         (gst_object_sink_values), (gst_object_get_value_arrays),
19882         (gst_object_get_value_array):
19883           gracefully handle helper method calls to objects that are not beeing
19884           controlled, added test case for that          
19885
19886 2005-08-23  Wim Taymans  <wim@fluendo.com>
19887
19888         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19889         (gst_event_new_newsegment), (gst_event_parse_newsegment),
19890         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19891         (gst_event_parse_qos), (gst_event_new_seek),
19892         (gst_event_parse_seek):
19893         * gst/gstevent.h:
19894         Some more debugging output and doc cleanups.
19895
19896         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19897         Fix possible deadlock.
19898
19899 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19900
19901         * docs/gst/gstreamer-docs.sgml:
19902         * docs/gst/gstreamer-sections.txt:
19903         * docs/gst/gstreamer.types:
19904         * docs/gst/tmpl/.cvsignore:
19905         * gst/gstbin.h:
19906         * gst/gstbus.c:
19907         * gst/gstelement.c:
19908         * gst/gstevent.h:
19909           added 100 symbols from gstreamer-unused.txt to the right sections
19910           fixed more broken comments
19911           added GstBus to docs
19912
19913 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19914
19915         * docs/gst/gstreamer-sections.txt:
19916         * docs/gst/tmpl/.cvsignore:
19917         * docs/gst/tmpl/gstbin.sgml:
19918         * docs/gst/tmpl/gstbuffer.sgml:
19919         * gst/base/gstbasesrc.c:
19920         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19921         * gst/gstbuffer.c:
19922         * gst/gstbuffer.h:
19923         * tools/gst-launch.1.in:
19924           inlined more doc comments, added missing comments and fixed comments
19925           fixed typos
19926
19927 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19928
19929         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19930           some debugging
19931         * gst/gstcaps.h:
19932           whitespace fixes
19933         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19934           more debugging
19935         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19936         * gst/gststructure.h:
19937           add a fixate function for booleans; add a FIXME that these func
19938           names should probably be gst_structure_fixate_*
19939
19940 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19941
19942         * docs/gst/gstreamer-docs.sgml:
19943         * docs/gst/gstreamer-sections.txt:
19944         * gst/Makefile.am:
19945         * gst/gstbin.c: (gst_bin_get_type),
19946         (gst_bin_child_proxy_get_child_by_index),
19947         (gst_bin_child_proxy_get_children_count),
19948         (gst_bin_child_proxy_init):
19949         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19950         (gst_child_proxy_get_child_by_index),
19951         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19952         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19953         (gst_child_proxy_get), (gst_child_proxy_set_property),
19954         (gst_child_proxy_set_valist), (gst_child_proxy_set),
19955         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19956         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19957         * gst/gstchildproxy.h:
19958         * gst/parse/grammar.y:
19959         * tools/gst-inspect.c: (print_interfaces),
19960         (print_element_properties_info), (print_element_info):
19961           ported gstchildproxy over from 0.8
19962           ported gst-inspect fixes and enhancements over from 0.8
19963
19964 2005-08-22  Wim Taymans  <wim@fluendo.com>
19965
19966         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19967         (gst_base_transform_handle_buffer):
19968         Also call the transform function if we have ANY caps.
19969
19970         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19971         Fix debug info.
19972
19973 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19974
19975         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19976           Don't pretend to handle seek events if the source is not seekable
19977
19978 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19979
19980         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19981           Remove extra parameter to debug output
19982
19983         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19984         (gst_base_src_do_seek), (gst_base_src_activate_push):
19985           Fix seek event handling.
19986
19987         * gst/gstpipeline.c: (gst_pipeline_change_state):
19988         * gst/gstqueue.c: (gst_queue_handle_sink_event),
19989         (gst_queue_src_activate_push):
19990           Don't start the src pad task on FLUSH_STOP if the pad
19991           isn't linked.
19992           Debug changes.
19993
19994 2005-08-22  Wim Taymans  <wim@fluendo.com>
19995
19996         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19997         Added check for gst_static_caps_get() refcounting.
19998
19999 2005-08-22  Wim Taymans  <wim@fluendo.com>
20000
20001         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20002         Make _static_caps_get() refcounting sane.
20003         
20004         * gst/gstelement.c: (gst_element_set_state):
20005         Add g_return_val_if_fail() to protect against segfaults.
20006
20007 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
20008
20009         * docs/gst/tmpl/gstevent.sgml:
20010         * gst/gstevent.c:
20011         * gst/gstevent.h:
20012           inlined remaining docs, added missing doc comments
20013
20014 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20015
20016         * check/gst/gstbin.c: (GST_START_TEST):
20017           since we don't know when preroll is done, use refcount range
20018           check for the sink
20019         * gst/check/gstcheck.h:
20020           add macro for checking refcount range
20021
20022 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20023
20024         * check/Makefile.am:
20025           clean up environment for when registry gets built versus
20026           when actual tests are run; valgrind seems to not report
20027           leaks if GST_PLUGIN_PATH is set to some specific values
20028         * check/gst/gstbin.c: (GST_START_TEST):
20029           add more refcounting checks; maybe this exposes a
20030           preroll lock bug ?
20031         * common/check.mak:
20032         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20033         * gst/check/gstcheck.h:
20034         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20035         (gst_bin_change_state):
20036         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20037           add/fix debugging/whitespace
20038
20039 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20040
20041         * check/gst/gstevent.c: (event_probe), (test_event),
20042         (GST_START_TEST):
20043          Er, don't call gst_bin_watch_for_state_change you idiot.
20044
20045 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20046
20047         * check/Makefile.am:
20048           Use CHECK_CFLAGS and CHECK_LIBS
20049         * check/gst/gstevent.c: (event_probe), (test_event),
20050         (GST_START_TEST):
20051           Don't leak events.
20052         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20053         (gst_base_src_start), (gst_base_src_stop),
20054         (gst_base_src_activate_push), (gst_base_src_activate_pull),
20055         (gst_base_src_change_state):
20056           Sprinkle gst_base_src_stop liberally around error paths to fix
20057           problems reusing a source after failed state changes.
20058         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20059         (helper_find_suggest), (gst_type_find_helper):
20060           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20061         * gst/gstevent.h:
20062         * docs/gst/tmpl/gstevent.sgml:
20063           Migrate part of the docs from the SGML file. Wait for ensonic to
20064           tell me how I did it wrong ;)
20065         * tools/gst-typefind.c: (main):
20066           Extra robustness to state changes between files.
20067
20068 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20069
20070         * check/Makefile.am:
20071           don't valgrind the controller test - it's leaking - Stefan, HELP
20072         * gst/check/gstcheck.c: (gst_check_message_error),
20073         (gst_check_chain_func), (gst_check_setup_element),
20074         (gst_check_teardown_element), (gst_check_setup_src_pad),
20075         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20076         (gst_check_teardown_sink_pad):
20077         * gst/check/gstcheck.h:
20078           add a bunch of methods to set up elements, and src and sink pads
20079         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20080         * check/elements/identity.c: (setup_identity), (cleanup_identity),
20081         (GST_START_TEST):
20082           use them
20083         * gst/gstmessage.c:
20084         * gst/gsttag.h:
20085           whitespace/doc fixes
20086
20087 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20088
20089         * gst/gstelement.h:
20090           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20091           be handled by the application and not always printed as well
20092
20093 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20094
20095         * check/Makefile.am:
20096           set GST_TOOLS_DIR
20097         * gst/check/gstcheck.c: (gst_check_message_error):
20098         * gst/check/gstcheck.h:
20099           add a fail_unless_equals_int
20100           add fail_unless for error messages
20101
20102 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20103
20104         * check/Makefile.am:
20105         * check/gst.supp:
20106         * common/Makefile.am:
20107         * common/check.mak:
20108         * common/gst.supp:
20109           factor out some of the common stuff so we can use it
20110
20111 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20112
20113         * check/Makefile.am:
20114         * check/gst/gstiterator.c: (GST_START_TEST):
20115         * check/gst/gstsystemclock.c: (GST_START_TEST),
20116         (gst_systemclock_suite):
20117         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20118         * gst/gstclock.c:
20119           valgrind more tests
20120
20121 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20122
20123         * check/elements/.cvsignore:
20124         * check/elements/gstfakesrc.c:
20125           rename to name of element
20126         * check/elements/identity.c: (chain_func), (event_func),
20127         (setup_identity), (cleanup_identity), (GST_START_TEST),
20128         (identity_suite), (main):
20129           add a test for identity
20130         * check/Makefile.am:
20131         * pkgconfig/Makefile.am:
20132         * pkgconfig/gstreamer-check.pc.in:
20133         * pkgconfig/gstreamer-check-uninstalled.pc.in:
20134         * gst/check:
20135         * gst/Makefile.am:
20136         * configure.ac:
20137           move the check stuff to a library that gets installed
20138         * check/gst-libs/controller.c: (GST_START_TEST):
20139         * check/gst-libs/gdp.c:
20140         * check/gst/gst.c: (GST_START_TEST):
20141         * check/gst/gstbin.c:
20142         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20143         * check/gst/gstbus.c:
20144         * check/gst/gstcaps.c: (GST_START_TEST):
20145         * check/gst/gstelement.c:
20146         * check/gst/gstghostpad.c:
20147         * check/gst/gstiterator.c:
20148         * check/gst/gstmessage.c:
20149         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20150         * check/gst/gstobject.c:
20151         * check/gst/gstpad.c: (GST_START_TEST):
20152         * check/gst/gststructure.c: (GST_START_TEST):
20153         * check/gst/gstsystemclock.c: (GST_START_TEST),
20154         (gst_systemclock_suite):
20155         * check/gst/gsttag.c: (gst_tag_suite):
20156         * check/gst/gstvalue.c:
20157         * check/pipelines/cleanup.c:
20158         * check/pipelines/simple_launch_lines.c:
20159         * check/states/sinks.c:
20160           change include statement
20161
20162         * docs/gst/gstreamer-sections.txt:
20163         * docs/gst/tmpl/gstpad.sgml:
20164           document more pad stuff
20165         * gst/gstminiobject.c: (gst_mini_object_ref),
20166         (gst_mini_object_unref):
20167           debug refcounting
20168
20169 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
20170
20171         * docs/gst/tmpl/gst.sgml:
20172         * gst/gst.c:
20173           eliminate another tmpl file, fix spelling in the long-description
20174
20175 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20176
20177         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20178         (test_event), (timediff), (gstevents_suite):
20179           Should fix build on 64-bit arch's
20180
20181 2005-08-18  Andy Wingo  <wingo@pobox.com>
20182
20183         Make sure that when a pipeline goes to PLAYING, that data has
20184         actually hit the sink.
20185
20186         * check/states/sinks.c (test_sink): A sink that doesn't get any
20187         data shouldn't return SUCCESS for going to either PLAYING or
20188         PAUSED. Test also the return values on the way back down.
20189
20190         * gst/gstelement.c (gst_element_set_state): When changing the
20191         state of an element currently changing state asynchronously, go to
20192         lost-state after commiting the pending state. Makes future calls
20193         to get_state continue to return ASYNC.
20194
20195         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20196         ASYNC when going to PLAYING if we still don't have preroll, as can
20197         happen with live sources.
20198
20199 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20200
20201         * docs/pwg/advanced-types.xml:
20202           Hack long paragraph into 2 chunks as a workaround for buggy
20203           jadetex version in sid and breezy that loops infinitely and
20204           eats all RAM.
20205
20206 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20207
20208         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20209         (test_event), (timediff), (gstevents_suite):
20210           Provide more error margin in clock measurements to allow for 
20211           g_get_current_time inaccuracies.
20212
20213 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20214
20215         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20216         (test_event), (timediff), (gstevents_suite):
20217            Fix error message output so I might be able to tell why the
20218            test works here but fails on the build farm.
20219
20220 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20221
20222         * check/Makefile.am:
20223         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20224         (test_event), (timediff), (gstevents_suite), (main):
20225           I wrote a test!
20226
20227         * docs/design/part-seeking.txt:
20228           Spelling correction
20229
20230         * docs/gst/tmpl/gstevent.sgml:
20231         * docs/gst/tmpl/gstfakesrc.sgml:
20232           Docs updates.
20233
20234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20235           Treat a buffer-without-newsegment the same as a receiving 
20236           a newsegment not in time format, and disable syncing to the clock
20237           with a warning.
20238
20239         * gst/gstbus.c: (gst_bus_set_sync_handler):
20240           Assert if anyone tries to replace the existing sync_handler for bus, 
20241           as only the owner should be setting it.
20242
20243         * gst/gstevent.h:
20244           Have a fixed set of custom event enums with events identified by
20245           their structure name (as in 0.8), rather than a free-for-all
20246           allowing collisions between enum values from different plugins.
20247
20248         * gst/gstpad.c: (gst_pad_class_init):
20249           Docs change.
20250           
20251         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20252           Handle out-of-band downstream events from the sending thread.
20253
20254 2005-08-17  Andy Wingo  <wingo@pobox.com>
20255
20256         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20257         play-timeout==0 to mean no timeout at all. In that case, don't
20258         bother with a get_state or a warning, just return directly, even
20259         if it's ASYNC.
20260
20261         * gst/base/gstbasetransform.c: Debug changes.
20262
20263         * gst/gstutils.h:
20264         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20265         ensure bins post state change messages. A bit of a hack but I can't
20266         think of a way to avoid it.
20267
20268         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20269
20270 2005-08-16  Andy Wingo  <wingo@pobox.com>
20271
20272         * gst/base/gstadapter.h:
20273         * gst/base/gstadapter.c (gst_adapter_take): New function, like
20274         peek() but you own the data. Not terribly efficient atm.
20275
20276 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20277
20278         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20279         (gst_element_found_tags):
20280         * gst/gstutils.h:
20281           Add two utility functions for tag handling.
20282
20283 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20284
20285         * docs/manual/advanced-dataaccess.xml:
20286         * docs/manual/basics-helloworld.xml:
20287           Fix docs to use _bin_add() before _link(), which fixes the examples
20288           with recent core versions (reported by Madhan Raj M
20289           <raj_madan@rediffmail.com>, #313199).
20290
20291 2005-08-16  Wim Taymans  <wim@fluendo.com>
20292
20293         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20294         Added subtract checks.
20295
20296         * docs/design/part-events.txt:
20297         Some more docs about newsegment
20298
20299         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20300         Fix FIXME
20301
20302         * gst/gstcaps.c: (gst_caps_to_string):
20303         Add comments, cleanups.
20304         
20305         * gst/gstelement.c: (gst_element_save_thyself):
20306         cleanups
20307         
20308         * gst/gstvalue.c: (gst_value_collect_int_range),
20309         (gst_string_unwrap), (gst_value_union_int_int_range),
20310         (gst_value_union_int_range_int_range),
20311         (gst_value_intersect_int_int_range),
20312         (gst_value_intersect_int_range_int_range),
20313         (gst_value_intersect_double_double_range),
20314         (gst_value_intersect_double_range_double_range),
20315         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20316         (gst_value_subtract_int_range_int),
20317         (gst_value_subtract_double_range_double),
20318         (gst_value_subtract_double_range_double_range),
20319         (gst_value_subtract_from_list), (gst_value_subtract_list),
20320         (gst_value_can_compare), (gst_value_compare_fraction):
20321         Cleanups, add comments, remove unneeded asserts.
20322
20323 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20324
20325         * tools/gst-launch.c: (event_loop):
20326           don't convert NULL structures to strings
20327
20328 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
20329
20330         * docs/gst/gstreamer-sections.txt:
20331           made some defines private
20332         * docs/gst/tmpl/gstconfig.sgml:
20333         * docs/gst/tmpl/gstqueue.sgml:
20334         * docs/gst/tmpl/gsttaglist.sgml:
20335         * docs/gst/tmpl/gsttypes.sgml:
20336         * docs/gst/tmpl/gstutils.sgml:
20337         * docs/pwg/appendix-porting.xml:
20338         * gst/base/gstbasesink.h:
20339         * gst/base/gstbasesrc.c:
20340         * gst/base/gstbasesrc.h:
20341         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20342         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20343         * gst/gstelement.c: (gst_element_class_init):
20344         * gst/gstpad.c: (gst_pad_class_init):
20345         * gst/gstqueue.c: (gst_queue_class_init):
20346         * gst/gstxml.c: (gst_xml_class_init):
20347           documented all undocumented signal inline
20348         * libs/gst/controller/gst-controller.h:
20349           added padding
20350
20351 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20352
20353         * docs/pwg/appendix-porting.xml:
20354           Document _set_link_function -> _set_setcaps_function.
20355
20356 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20357
20358         * check/Makefile.am:
20359           add a .check target for running the check
20360         * check/gst-libs/controller.c: (GST_START_TEST):
20361           cosmetic fixups
20362         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20363           complete checks for gstbuffer; would be nice if I could get the
20364           gcov stuff to work so I can see if I actually completed gstbuffer.c
20365         * check/gstcheck.h:
20366           add ASSERT_BUFFER_REFCOUNT
20367
20368 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
20369
20370         * docs/gst/gstreamer-sections.txt:
20371         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20372         * gst/gsttag.h:
20373           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20374           spew out a warning if a tag that is already registered
20375           is re-registered, unless it is re-registered with a 
20376           different type (#308438).
20377
20378 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
20379
20380         * docs/pwg/appendix-porting.xml:
20381         * docs/pwg/building-state.xml:
20382           Add some paragraphs about state changes in 0.9 to the PWG
20383           and the porting guide, in particular about the new meaning
20384           of GST_STATE_PAUSED and how to write state change functions
20385           with concurrent access by multiple threads in mind.
20386
20387 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
20388
20389         * docs/gst/gstreamer-docs.sgml:
20390         * docs/libs/gstreamer-libs-docs.sgml:
20391           added deprecation and since indexes
20392         * libs/gst/controller/gst-controller.c:
20393         * libs/gst/controller/gst-helper.c:
20394           added since tags
20395
20396
20397 2005-08-11  Wim Taymans  <wim@fluendo.com>
20398
20399         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
20400         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
20401         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
20402         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
20403         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
20404         (gst_ghost_pad_set_target):
20405         Actually implement (re)setting the target on a ghostpad
20406         as described in the docs.
20407
20408 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
20409
20410         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
20411           Check whether GST_DEBUG_NO_COLOR environment variable is
20412           set and disable coloured debug output if that is the case.
20413
20414 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
20415
20416         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20417         (gst_type_find_helper):
20418           The memory returned by gst_type_find_peek() needs to
20419           stay valid until the end of a typefind function, and
20420           typefind functions may keep results from different 
20421           offsets around, so we can't just unref the buffer from
20422           the previous _peek(), but have to save all buffers 
20423           returned by _peek() until typefinding is done and only
20424           free them then.
20425
20426 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
20427
20428         * docs/gst/gstreamer-sections.txt:
20429         * gst/gstutils.h:
20430           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
20431
20432 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20433
20434         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20435           Fix a pretty good memleak.
20436
20437 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
20438
20439         * gst/gstiterator.h:
20440           Fix wrong include and 'make distcheck'.
20441
20442 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20443
20444         * gst/gstbin.c: (bin_bus_handler):
20445           Use gst_element_post_message() instead.
20446
20447 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
20448
20449         * gst/base/gstadapter.h:
20450         * gst/base/gstbasesink.h:
20451         * gst/base/gstbasesrc.h:
20452         * gst/base/gstbasetransform.h:
20453         * gst/base/gstcollectpads.h:
20454         * gst/base/gstpushsrc.h:
20455         * gst/gstiterator.h:
20456           Add padding to our base elements' class and instance structs and
20457           to GstIterator (you will need to rebuild all plugins and apps!)
20458
20459 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20460
20461         * gst/gstbin.c: (bin_bus_handler):
20462           Make default message forwarding from child->bus to bin->bus
20463           threadsafe and make it not emit warnings if the parent has no bus.
20464
20465 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20466
20467         * gst/gstelement.c: (activate_pads):
20468           On paused->ready, set pad->caps to NULL, as is the documented
20469           behaviour in this state change. Fixes playback of series of
20470           media files when visualization is enabled in Totem.
20471
20472 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20473
20474         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20475           Allow NULL as filter-caps (which means "any").
20476
20477 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
20478
20479         * docs/libs/gstreamer-libs-sections.txt:
20480         * libs/gst/controller/gst-controller.c:
20481         * libs/gst/controller/gst-controller.h:
20482         * libs/gst/controller/gst-helper.c:
20483           adding more entries to the docs and fix small doc-bugs
20484
20485 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
20486
20487         * docs/gst/gstreamer-docs.sgml:
20488         * docs/gst/gstreamer-sections.txt:
20489         * docs/gst/gstreamer.types:
20490         * docs/gst/tmpl/gstbasesink.sgml:
20491         * docs/gst/tmpl/gstbasesrc.sgml:
20492         * docs/gst/tmpl/gstbasetransform.sgml:
20493         * docs/gst/tmpl/gstfakesrc.sgml:
20494         * gst/base/gstcollectpads.c:
20495         * gst/base/gstcollectpads.h:
20496         * libs/gst/controller/gst-controller.c:
20497         * libs/gst/controller/gst-controller.h:
20498         * libs/gst/controller/gst-helper.c:
20499         * libs/gst/controller/gst-interpolation.c:
20500         * libs/gst/controller/lib.c:
20501           added long/short desc for controller docs
20502           added collectpads base class docs
20503           added correct includes to base-class docs
20504
20505 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
20506
20507         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20508         (gst_test_mono_source_set_property),
20509         (gst_test_mono_source_class_init), (GST_START_TEST),
20510         (gst_controller_suite):
20511         * docs/gst/gstreamer-docs.sgml:
20512         * docs/gst/gstreamer-sections.txt:
20513         * docs/gst/gstreamer.types:
20514         * docs/libs/gstreamer-libs-docs.sgml:
20515         * docs/libs/gstreamer-libs-sections.txt:
20516         * gst/base/gstadapter.c:
20517         * libs/gst/controller/gst-controller.c:
20518         (gst_controlled_property_new), (gst_controlled_property_free),
20519         (gst_controller_new_valist),
20520         (gst_controller_remove_properties_valist),
20521         (gst_controller_sink_values), (_gst_controller_finalize):
20522         * libs/gst/controller/gst-controller.h:
20523         * libs/gst/controller/gst-helper.c:
20524         (gst_object_control_properties), (gst_object_uncontrol_properties),
20525         (gst_object_get_controller), (gst_object_set_controller),
20526         (gst_object_sink_values), (gst_object_get_value_arrays),
20527         (gst_object_get_value_array):
20528           more tests (and fixes) for the controller
20529           more docs for the controller
20530           integrated companies docs for the adapter 
20531
20532 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
20533
20534         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20535         (GST_START_TEST), (fakesrc_suite):
20536           add tests for sizetype
20537
20538 2005-08-04  Andy Wingo  <wingo@pobox.com>
20539
20540         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20541         fixes buffer_alloc proxying among other things.
20542
20543         * gst/base/gstbasetransform.c:
20544         * gst/base/gstbasetransform.h:
20545         Revert patch to gstbasetransform from 7-28 removing
20546         delay_configure.
20547
20548         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20549         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20550         Semantics changed, should return not the size of the output buffer
20551         but the byte size of a buffer with a given caps.
20552
20553         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20554         debug object.
20555         (gst_base_transform_configure_caps): Don't set out_size here: (in,
20556         out) are not the pad caps until setcaps finishes.
20557         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20558         not-in-place case as well. Deal with changing from in-place to
20559         not-in-place within calling pad_alloc_buffer. Still a bit
20560         concerned about the overhead here...
20561
20562 2005-08-03  Andy Wingo  <wingo@pobox.com>
20563
20564         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20565         fixating is an error.
20566
20567 2005-08-04  Edward Hervey  <edward@fluendo.com>
20568
20569         * gst/base/gstadapter.h: 
20570         Added gst_adapter_get_type() to the header
20571
20572 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
20573
20574         * check/Makefile.am:
20575         * check/gst-libs/controller.c:
20576         * libs/gst/controller/gst-controller.c:
20577         (gst_controller_new_valist):
20578           added check test suite for the controller
20579         * gst/base/gstpushsrc.c:
20580           fixed a doc typo
20581
20582 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
20583
20584         * docs/gst/Makefile.am:
20585         * docs/gst/gstreamer-docs.sgml:
20586         * docs/gst/gstreamer-sections.txt:
20587         * docs/gst/gstreamer.types:
20588         * docs/gst/tmpl/gstfakesrc.sgml:
20589         * gst/base/README:
20590         * gst/base/gstbasesink.c:
20591         * gst/base/gstbasesink.h:
20592         * gst/base/gstbasesrc.c:
20593         * gst/base/gstbasesrc.h:
20594         * gst/base/gstbasetransform.c:
20595         * gst/base/gstpushsrc.c:
20596         * gst/base/gstpushsrc.h:
20597           add short/long description docs to base classes
20598           add pushsrc to the docs
20599           remove consolidated doc fragments
20600
20601 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
20602
20603         * configure.ac:
20604         * docs/libs/Makefile.am:
20605         * docs/libs/gstreamer-libs-docs.sgml:
20606         * docs/libs/gstreamer-libs-sections.txt:
20607         * docs/libs/gstreamer-libs.types:
20608         * examples/Makefile.am:
20609         * examples/controller/.cvsignore:
20610         * examples/controller/Makefile.am:
20611         * examples/controller/audio-example.c: (main):
20612         * libs/gst/Makefile.am:
20613         * libs/gst/controller/.cvsignore:
20614         * libs/gst/controller/Makefile.am:
20615         * libs/gst/controller/gst-controller.c:
20616         (on_object_controlled_property_changed), (gst_timed_value_compare),
20617         (gst_timed_value_find),
20618         (gst_controlled_property_set_interpolation_mode),
20619         (gst_controlled_property_new), (gst_controlled_property_free),
20620         (gst_controller_find_controlled_property),
20621         (gst_controller_new_valist), (gst_controller_new),
20622         (gst_controller_remove_properties_valist),
20623         (gst_controller_remove_properties), (gst_controller_set),
20624         (gst_controller_set_from_list), (gst_controller_unset),
20625         (gst_controller_get), (gst_controller_get_all),
20626         (gst_controller_sink_values), (gst_controller_get_value_arrays),
20627         (gst_controller_get_value_array),
20628         (gst_controller_set_interpolation_mode),
20629         (_gst_controller_finalize), (_gst_controller_init),
20630         (_gst_controller_class_init), (gst_controller_get_type):
20631         * libs/gst/controller/gst-controller.h:
20632         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20633         (g_object_uncontrol_properties), (g_object_get_controller),
20634         (g_object_set_controller), (g_object_sink_values),
20635         (g_object_get_value_arrays), (g_object_get_value_array):
20636         * libs/gst/controller/gst-interpolation.c:
20637         (gst_controlled_property_find_timed_value_node),
20638         (interpolate_none_get), (interpolate_trigger_get),
20639         (interpolate_trigger_get_value_array):
20640         * libs/gst/controller/lib.c: (gst_controller_init):
20641         * pkgconfig/Makefile.am:
20642         * pkgconfig/gstreamer-control-uninstalled.pc.in:
20643         * pkgconfig/gstreamer-control.pc.in:
20644         * testsuite/Makefile.am:
20645         * testsuite/controller/.cvsignore:
20646         * testsuite/controller/Makefile.am:
20647         * testsuite/controller/interpolator.c: (main):
20648           added controller code
20649           removed dparam pc files
20650
20651 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
20652         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20653         (gst_collectpads_stop):
20654           Broadcast the condition when shutting down, to make sure we wake all
20655           threads up. Shut down pads on finalize, for safety.
20656
20657 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
20658         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20659         (gst_base_transform_handle_buffer),
20660         (gst_base_transform_change_state):
20661           Handle PAUSED->READY->PAUSED transition after negotiation
20662           occurred already.
20663         * gst/gstmessage.c: (gst_message_init):
20664           Extra piece of debug for new messages.
20665
20666 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
20667
20668         * configure.ac:
20669         * docs/gst/tmpl/gstbasesrc.sgml:
20670         * docs/gst/tmpl/gstelement.sgml:
20671         * docs/gst/tmpl/gstevent.sgml:
20672         * docs/gst/tmpl/gstfakesrc.sgml:
20673         * docs/gst/tmpl/gstformat.sgml:
20674         * docs/gst/tmpl/gstghostpad.sgml:
20675         * docs/gst/tmpl/gstpad.sgml:
20676         * docs/gst/tmpl/gstquery.sgml:
20677         * docs/gst/tmpl/gststructure.sgml:
20678         * docs/gst/tmpl/gsttaglist.sgml:
20679         * docs/gst/tmpl/gstvalue.sgml:
20680         * docs/libs/gstreamer-libs-docs.sgml:
20681         * docs/libs/gstreamer-libs-sections.txt:
20682         * docs/libs/gstreamer-libs.types:
20683         * libs/gst/Makefile.am:
20684         * libs/gst/control/.cvsignore:
20685         * libs/gst/control/Makefile.am:
20686         * libs/gst/control/control.c:
20687         * libs/gst/control/control.h:
20688         * libs/gst/control/dparam.c:
20689         * libs/gst/control/dparam.h:
20690         * libs/gst/control/dparam_smooth.c:
20691         * libs/gst/control/dparam_smooth.h:
20692         * libs/gst/control/dparamcommon.h:
20693         * libs/gst/control/dparammanager.c:
20694         * libs/gst/control/dparammanager.h:
20695         * libs/gst/control/dplinearinterp.c:
20696         * libs/gst/control/dplinearinterp.h:
20697         * libs/gst/control/unitconvert.c:
20698         * libs/gst/control/unitconvert.h:
20699         * testsuite/Makefile.am:
20700         * testsuite/dynparams/.cvsignore:
20701         * testsuite/dynparams/Makefile.am:
20702         * testsuite/dynparams/dparamstest.c:
20703         * tools/Makefile.am:
20704         * tools/gst-inspect.c: (print_element_info), (main):
20705         * tools/gst-xmlinspect.c: (print_element_info), (main):
20706           deactivate and remove dparams (libgstcontrol)
20707
20708 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
20709
20710         * gst/elements/gsttypefindelement.c:
20711         (gst_type_find_element_have_type), (gst_type_find_element_init),
20712         (stop_typefinding), (gst_type_find_element_handle_event),
20713         (gst_type_find_element_chain), (gst_type_find_element_getrange):
20714         * gst/elements/gsttypefindelement.h:
20715           Set caps on all outgoing buffers, not just the first one.
20716
20717 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
20718
20719         * gst/elements/gsttypefindelement.c:
20720         (gst_type_find_element_have_type),
20721         (gst_type_find_element_check_set_buffer_caps),
20722         (gst_type_find_element_init), (stop_typefinding),
20723         (gst_type_find_element_handle_event),
20724         (gst_type_find_element_chain), (gst_type_find_element_getrange):
20725         * gst/elements/gsttypefindelement.h:
20726           Set caps on first outgoing buffer when we've found the type.
20727
20728 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
20729
20730         * docs/gst/gstreamer-docs.sgml:
20731         * docs/gst/gstreamer-sections.txt:
20732         * docs/gst/tmpl/gstscheduler.sgml:
20733         * docs/gst/tmpl/gstschedulerfactory.sgml:
20734           Remove some old cruft from docs.
20735
20736 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
20737
20738         * gst/gstpad.h:
20739           Fix inline docs for GstPadLinkReturn.
20740           
20741         * gst/gststructure.c: (gst_structure_has_name):
20742         * gst/gststructure.h:
20743         * docs/gst/gstreamer-sections.txt:
20744           New API: gst_structure_has_name().
20745
20746 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
20747
20748         * configure.ac:
20749           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
20750           and _LARGEFILE_SOURCE in config.h as required. Do not 
20751           export those flags in our .pc files any longer (#142209).
20752
20753           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
20754
20755         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
20756         (gst_file_sink_do_seek), (gst_file_sink_event),
20757         (gst_file_sink_get_current_offset), (gst_file_sink_render):
20758           Redo seek/tell calls with large file support in mind; add some
20759           debugging messages; add log message that tells us when large
20760           file support is unavailable or not enabled for some reason.
20761
20762         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
20763           Add log message that tells us when large file support 
20764           is unavailable or not enabled for some reason.
20765
20766 2005-07-29  Wim Taymans  <wim@fluendo.com>
20767
20768         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20769         Added test for removing an element with ghostpad from a bin.
20770         Fixed test as current implementation does the right thing.
20771
20772         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
20773         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
20774         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
20775         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
20776         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
20777         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
20778         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
20779         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20780         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
20781         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
20782         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
20783         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
20784         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
20785         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
20786         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
20787         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
20788         * gst/gstghostpad.h:
20789         Clean up ghostpads, remove properties for internal stuff.
20790         Make threadsafe.
20791         Fix refcounting.
20792         Prepare for switching targets, not all use cases work yet.
20793
20794 2005-07-29  Wim Taymans  <wim@fluendo.com>
20795
20796         * docs/design/part-gstghostpad.txt:
20797         Small update.
20798
20799         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20800         (gst_bin_remove_func):
20801         Unlinking pads while holding the bin LOCK is not a good
20802         idea.
20803
20804         * gst/gstpad.c: (gst_pad_class_init),
20805         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20806         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20807         No prob setting template after creating the pad.
20808
20809 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
20810
20811         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20812         (gst_bus_peek), (gst_bus_source_dispatch),
20813         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20814         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20815           gst_bus_poll may be called from other threads. Handle
20816           this nicely by not making poll_data disappear off the
20817           stack once gst_bus_poll returns.
20818           gst_bus_peek now increments the refcount on the returned
20819           message.
20820
20821 2005-07-29  Wim Taymans  <wim@fluendo.com>
20822
20823         * docs/design/part-gstghostpad.txt:
20824         Overview of current GhostPad datastructures and use
20825         cases for changing the target.
20826
20827 2005-07-28  Wim Taymans  <wim@fluendo.com>
20828
20829         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20830         Added checks for hierarchy consistency whan adding linked
20831         elements to bins.
20832
20833         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20834         Added check to test element scheduling without bin/pipeline.
20835
20836         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20837         First add elements to bin, then link.
20838         
20839         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20840         (gst_bin_remove_func):
20841         Unlink pads from elements added/removed from bin to maintain
20842         hierarchy consistency.
20843
20844 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20845
20846         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20847         (gst_base_transform_handle_buffer):
20848         * gst/base/gstbasetransform.h:
20849           Remove broken delay_configure (fixes renegotiation of software
20850           scaling pipelines); remove some leftover printf()s.
20851
20852 2005-07-28  Wim Taymans  <wim@fluendo.com>
20853
20854         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20855         Added some more tests for wrong hierarchy
20856
20857         * docs/design/part-overview.txt:
20858         Some updates.
20859
20860         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20861         Cleanups.
20862
20863         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20864         (gst_element_dispose):
20865         Some more cleanups.
20866
20867         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20868         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20869         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20870         (gst_pad_set_caps), (gst_pad_send_event):
20871         Check for correct hierarchy when linking pads. Moving to
20872         strict requirement for ghostpads when linking elements in
20873         different bins.
20874
20875         * gst/gstpad.h:
20876         Clean ups. Added WRONG_HIERARCHY return value.
20877
20878 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20879
20880         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20881           Better debug if no transform is possible.
20882
20883 2005-07-27  Wim Taymans  <wim@fluendo.com>
20884
20885         * docs/random/wtay/network-transp:
20886         Some old doc I had.
20887
20888 2005-07-27  Wim Taymans  <wim@fluendo.com>
20889
20890         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20891         (gst_dp_event_from_packet):
20892         Fix serialization of seek events.
20893
20894 2005-07-27  Wim Taymans  <wim@fluendo.com>
20895
20896         * check/gst-libs/gdp.c: (GST_START_TEST):
20897         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20898         Fix compilation and fix event serialization.
20899
20900 2005-07-27  Wim Taymans  <wim@fluendo.com>
20901
20902         * CHANGES-0.9:
20903         * docs/design/part-TODO.txt:
20904         * docs/design/part-events.txt:
20905         Some docs updates
20906
20907         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20908         (gst_base_sink_event), (gst_base_sink_do_sync),
20909         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20910         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20911         (gst_base_src_do_seek), (gst_base_src_event_handler),
20912         (gst_base_src_loop):
20913         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20914         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20915         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20916         (gst_base_transform_event), (gst_base_transform_handle_buffer),
20917         (gst_base_transform_set_passthrough),
20918         (gst_base_transform_is_passthrough):
20919         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20920         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20921         Event updates.
20922
20923         * gst/gstbuffer.h:
20924         Use faster casts.
20925
20926         * gst/gstelement.c: (gst_element_seek):
20927         * gst/gstelement.h:
20928         Update gst_element_seek.
20929
20930         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20931         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20932         (gst_event_new_flush_start), (gst_event_new_flush_stop),
20933         (gst_event_new_eos), (gst_event_new_newsegment),
20934         (gst_event_parse_newsegment), (gst_event_new_tag),
20935         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20936         (gst_event_parse_qos), (gst_event_new_seek),
20937         (gst_event_parse_seek), (gst_event_new_navigation):
20938         * gst/gstevent.h:
20939         Make GstEvent use GstStructure. Add parsing code, make sure the
20940         API is sufficiently generic.
20941         Mark possible directions of events and serialization.
20942
20943         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20944         (_gst_message_copy), (gst_message_new_segment_start),
20945         (gst_message_new_segment_done), (gst_message_new_custom),
20946         (gst_message_parse_segment_start),
20947         (gst_message_parse_segment_done):
20948         Small cleanups.
20949
20950         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20951         (gst_pad_set_caps), (gst_pad_send_event):
20952         Update for new events. 
20953         Catch events sent in wrong directions.
20954
20955         * gst/gstqueue.c: (gst_queue_link_src),
20956         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20957         (gst_queue_handle_src_query):
20958         Event updates.
20959
20960         * gst/gsttag.c:
20961         * gst/gsttag.h:
20962         Remove event code from this file.
20963
20964         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20965         (gst_dp_event_from_packet):
20966         Event updates.
20967
20968 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20969
20970         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20971         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20972         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20973           Make debugging actually useful.
20974
20975 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20976
20977         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20978         (gst_pad_fixate_caps):
20979           Implement default fixation once again, so that gst_pad_fixate()
20980           actually does anything at all. This probably needs to be some
20981           sort of a last resort, and use profile-based fixation first, but
20982           since that doesn't exist yet, this is the best we have. Fixes
20983           visualization in Totem.
20984
20985 2005-07-22  Wim Taymans  <wim@fluendo.com>
20986
20987         * docs/design/part-events.txt:
20988         Small update.
20989
20990         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20991         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20992         (gst_base_sink_activate_pull):
20993         Some more comments.
20994
20995         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20996         (gst_fake_src_create):
20997         Fix handoff marshall.
20998
20999         * gst/elements/gstidentity.c: (gst_identity_class_init),
21000         (gst_identity_transform_ip):
21001         We're a real inplace element.
21002
21003         * gst/gstbus.c: (gst_bus_post):
21004         Added some comments.
21005
21006         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21007         * tests/muxing/case1.c: (main):
21008         * tests/sched/dynamic-pipeline.c: (main):
21009         * tests/sched/interrupt1.c: (main):
21010         * tests/sched/interrupt2.c: (main):
21011         * tests/sched/interrupt3.c: (main):
21012         * tests/sched/runxml.c: (main):
21013         * tests/sched/sched-stress.c: (main):
21014         * tests/seeking/seeking1.c: (event_received), (main):
21015         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21016         (main):
21017         * tests/threadstate/threadstate3.c: (main):
21018         * tests/threadstate/threadstate4.c: (main):
21019         * tests/threadstate/threadstate5.c: (main):
21020         Fix the tests.
21021
21022 2005-07-21  Wim Taymans  <wim@fluendo.com>
21023
21024         * docs/design/part-seeking.txt:
21025         Some small additions.
21026
21027         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21028         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21029         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21030         * gst/base/gstbasesink.h:
21031         discont values are gint64, handle the math correctly.
21032
21033         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21034         Make the basesrc report error if the source pad is not linked.
21035
21036         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21037         (gst_queue_loop), (gst_queue_handle_src_query),
21038         (gst_queue_src_activate_push):
21039         Make queue collect data even if the srcpad is not linked.
21040         Start pushing out data as soon as it is linked.
21041
21042         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21043         * gst/gstutils.h:
21044         Added gst_flow_get_name() to ease error reporting.
21045
21046 2005-07-20  Wim Taymans  <wim@fluendo.com>
21047
21048         * gst/gstmessage.c: (gst_message_new_segment_start),
21049         (gst_message_new_segment_done), (gst_message_parse_segment_start),
21050         (gst_message_parse_segment_done):
21051         * gst/gstmessage.h:
21052         Added a bunch of messages for advanced seeking.
21053
21054         * gst/parse/grammar.y:
21055         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21056         (gst_dpman_state_changed):
21057         Fix some new-pad -> pad-added signals
21058
21059 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21060
21061         * docs/manual/appendix-porting.xml:
21062         * docs/pwg/appendix-porting.xml:
21063           Document new-pad/state-change signal renames and the FixedList
21064           type rename.
21065
21066 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21067
21068         * docs/manual/advanced-autoplugging.xml:
21069         * docs/manual/basics-helloworld.xml:
21070         * docs/manual/basics-pads.xml:
21071         * docs/random/ds/0.9-suggested-changes:
21072         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21073         * gst/gstelement.h:
21074         * gst/gstevent.h:
21075         * gst/gstformat.h:
21076         * gst/gstquery.h:
21077         * gst/gststructure.c: (gst_structure_value_get_generic_type),
21078         (gst_structure_parse_array), (gst_structure_parse_value):
21079         * gst/gstvalue.c: (gst_type_is_fixed),
21080         (gst_value_list_prepend_value), (gst_value_list_append_value),
21081         (gst_value_list_get_size), (gst_value_list_get_value),
21082         (gst_value_transform_array_string), (gst_value_serialize_array),
21083         (gst_value_deserialize_array), (gst_value_intersect_array),
21084         (gst_value_is_fixed), (_gst_value_initialize):
21085         * gst/gstvalue.h:
21086           GstElement::new-pad -> pad-added, GstElement::state-change ->
21087           state-changed, GstValueFixedList -> GstValueArray, add format and
21088           flags as their own arguments in gst_element_seek() (should improve
21089           "bindeability"), remove function generators since they don't work
21090           under a whole bunch of compilers (they were deprecated already
21091           anyway).
21092
21093 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21094
21095         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21096         (_gst_debug_register_funcptr):
21097         * gst/gstinfo.h:
21098           Fix illegal cast on some platforms (#309253).
21099
21100 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21101
21102         * gst/gstmessage.c: (gst_message_new_custom):
21103         * gst/gstmessage.h:
21104           Add _new_custom, make _new_application a macro to _new_custom.
21105
21106 2005-07-20  Wim Taymans  <wim@fluendo.com>
21107
21108         * gst/base/gstbasesrc.c: (gst_base_src_init),
21109         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21110         * gst/base/gstbasesrc.h:
21111         Add a gboolean to decide when to push out a discont.
21112
21113         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21114         (gst_queue_loop), (gst_queue_handle_src_query),
21115         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21116         (gst_queue_set_property), (gst_queue_get_property):
21117         Some cleanups.
21118
21119         * tests/threadstate/threadstate1.c: (main):
21120         Make a thread test compile and run... very silly..
21121
21122
21123 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21124
21125         * docs/manual/appendix-porting.xml:
21126           Mention removal of libgstgconf-0.9.la and existence of gconf
21127           elements.
21128
21129 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21130
21131         * docs/pwg/advanced-clock.xml:
21132         * docs/pwg/appendix-porting.xml:
21133         * docs/pwg/intro-preface.xml:
21134         * docs/pwg/other-base.xml:
21135         * docs/pwg/other-manager.xml:
21136         * docs/pwg/other-nton.xml:
21137         * docs/pwg/other-ntoone.xml:
21138         * docs/pwg/other-oneton.xml:
21139         * docs/pwg/pwg.xml:
21140           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21141           demuxer), remove n-to-n (was never written), fix some code examples
21142           and links and update the porting section to include all this.
21143
21144 2005-07-19  Wim Taymans  <wim@fluendo.com>
21145
21146         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21147         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21148         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21149         (gst_queue_src_activate_push), (gst_queue_change_state),
21150         (gst_queue_get_property):
21151         * gst/gstqueue.h:
21152         Propagate GstFlowReturn more intelligently upstream and output
21153         an ERROR/EOS when streaming stopped due to fatal error.
21154
21155 2005-07-19  Wim Taymans  <wim@fluendo.com>
21156
21157         * tools/gst-launch.c: (check_intr), (event_loop), (main):
21158         Don't block forever for the state change to complete, the
21159         pipeline already did with a sensible timeout.
21160
21161 2005-07-19  Wim Taymans  <wim@fluendo.com>
21162
21163         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21164         Make sure we never call the create function is we
21165         got deactivated.
21166
21167 2005-07-19  Andy Wingo  <wingo@pobox.com>
21168
21169         * gst/parse/parse.l: Attempt to solve bug #172815.
21170
21171 2005-07-19  Wim Taymans  <wim@fluendo.com>
21172
21173         * docs/design/part-clocks.txt:
21174         * docs/design/part-events.txt:
21175         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21176         Small docs updates.
21177         Only update the seeking values when we are not
21178         busy streaming.
21179
21180 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21181
21182         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21183           Oops, ignore the result of gst_pad_push_event here.
21184
21185 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21186
21187         * gst/base/gstbasesrc.c: (gst_base_src_loop),
21188         (gst_base_src_activate_push):
21189           Send discont event from the loop function, as pads
21190           aren't activated yet in the activate_push handler.
21191
21192         * gst/gstbin.c: (bin_bus_handler):
21193           Don't leak element name.
21194
21195 2005-07-18  Andy Wingo  <wingo@pobox.com>
21196
21197         * configure.ac: Use AS_LIBTOOL_TAGS.
21198
21199 2005-07-18  Wim Taymans  <wim@fluendo.com>
21200
21201         * docs/gst/gstreamer.types:
21202         Remove deleted types.
21203
21204 2005-07-18  Wim Taymans  <wim@fluendo.com>
21205
21206         * check/elements/gstfakesrc.c: (GST_START_TEST):
21207         * configure.ac:
21208         * gst/Makefile.am:
21209         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21210         (init_popt_callback):
21211         * gst/gst.h:
21212         * gst/gst_private.h:
21213         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21214         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21215         * gst/gstbin.h:
21216         * gst/gstbus.h:
21217         * gst/gstconfig.h.in:
21218         * gst/gstelement.c: (gst_element_class_init),
21219         (gst_element_set_base_time), (gst_element_get_base_time),
21220         (iterator_fold_with_resync), (gst_element_change_state),
21221         (gst_element_dispose), (gst_element_get_bus):
21222         * gst/gstelement.h:
21223         * gst/gstelementfactory.h:
21224         * gst/gsterror.c: (_gst_core_errors_init):
21225         * gst/gsterror.h:
21226         * gst/gstevent.h:
21227         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21228         * gst/gstindex.c:
21229         * gst/gstinfo.c: (_gst_debug_init):
21230         * gst/gstmessage.c: (_gst_message_copy):
21231         * gst/gstmessage.h:
21232         * gst/gstminiobject.h:
21233         * gst/gstobject.c:
21234         * gst/gstobject.h:
21235         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21236         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21237         * gst/gstpad.h:
21238         * gst/gstparse.h:
21239         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21240         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21241         (gst_pipeline_get_last_stream_time):
21242         * gst/gstpipeline.h:
21243         * gst/gstpluginfeature.h:
21244         * gst/gstquery.h:
21245         * gst/gstscheduler.c:
21246         * gst/gstscheduler.h:
21247         * gst/gststructure.h:
21248         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21249         (gst_task_finalize), (gst_task_func), (gst_task_create),
21250         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21251         (gst_task_stop), (gst_task_pause):
21252         * gst/gsttask.h:
21253         * gst/gsttypefind.h:
21254         * gst/gsttypes.h:
21255         * gst/registries/gstlibxmlregistry.c: (load_feature),
21256         (gst_xml_registry_load), (gst_xml_registry_save_feature):
21257         * gst/registries/gstxmlregistry.c:
21258         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21259         * gst/schedulers/threadscheduler.c:
21260         * libs/gst/control/dparammanager.h:
21261         * tools/gst-inspect.c: (print_element_list),
21262         (print_plugin_features), (print_element_features):
21263         * tools/gst-xmlinspect.c: (print_element_list),
21264         (print_plugin_info), (main):
21265         Removed plugable schedulers.
21266         Removed Scheduler/Manager from elements.
21267         Removed gsttypes.h, rearranged includes.
21268         Removed dependency pad<->element, element<>pipeline, and
21269         various others,  fix includes.
21270         implement gst_pad_get_parent() with gst_object_get_parent()
21271         Make GstTask sefcontained.
21272         Fix _get_state() on GstBin, it did not return ASYNC with a 0
21273         timeout.
21274         Fix endless loop in iterator_fold_with_resync.
21275
21276
21277 2005-07-18  Wim Taymans  <wim@fluendo.com>
21278
21279         * gst/Makefile.am:
21280         * gst/gstarch.h:
21281         Remove old file.
21282
21283 2005-07-18  Wim Taymans  <wim@fluendo.com>
21284
21285         * gst/Makefile.am:
21286         No more cothreads.h
21287
21288 2005-07-18  Wim Taymans  <wim@fluendo.com>
21289
21290         * gst/cothreads.c:
21291         * gst/cothreads.h:
21292         Let's remove these.
21293
21294 2005-07-18  Wim Taymans  <wim@fluendo.com>
21295
21296         * docs/design/part-dynamic.txt:
21297         * docs/design/part-events.txt:
21298         * docs/design/part-seeking.txt:
21299         Some more docs in the works.
21300
21301         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21302         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21303         (gst_base_transform_setcaps), (gst_base_transform_get_size),
21304         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21305         (gst_base_transform_handle_buffer),
21306         (gst_base_transform_sink_activate_push),
21307         (gst_base_transform_src_activate_pull),
21308         (gst_base_transform_set_passthrough),
21309         (gst_base_transform_is_passthrough):
21310         Refcounting fixes.
21311
21312         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21313         Cleanups.
21314
21315         * gst/gstevent.c: (gst_event_finalize):
21316         Set SRC to NULL.
21317
21318         * gst/gstutils.c: (gst_element_unlink),
21319         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21320         (gst_pad_proxy_setcaps):
21321         * gst/gstutils.h:
21322         Add _get_parent_element() to get a pads parent as an element.
21323
21324 2005-07-18  Wim Taymans  <wim@fluendo.com>
21325
21326         * check/gst/gstbin.c: (GST_START_TEST):
21327         Remove bogus test.
21328
21329 2005-07-18  Wim Taymans  <wim@fluendo.com>
21330
21331         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21332         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21333         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21334         (gst_base_sink_event), (gst_base_sink_do_sync),
21335         (gst_base_sink_chain), (gst_base_sink_loop),
21336         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21337         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21338         Refcounting fixes.
21339         Fix logic for returning ASYNC when not prerolled.
21340
21341 2005-07-18  Wim Taymans  <wim@fluendo.com>
21342
21343         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21344         Fix nasty refcount bug.
21345
21346 2005-07-16 Philippe Khalaf <burger@speedy.org>
21347
21348         * gst/elements/gstfdsrc.c:
21349         * gst/elements/gstfdsrc.h:
21350         * gst/elements/gstelements.c:
21351         * gst/elements/Makefile.am:
21352         Ported fdsrc to 0.9.
21353
21354 2005-07-16  Wim Taymans  <wim@fluendo.com>
21355
21356         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21357         (gst_base_sink_do_sync):
21358         Fix compile error.
21359
21360 2005-07-16  Wim Taymans  <wim@fluendo.com>
21361
21362         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21363         (gst_base_sink_event), (gst_base_sink_get_times),
21364         (gst_base_sink_do_sync), (gst_base_sink_change_state):
21365         * gst/base/gstbasesink.h:
21366         Store and use discont values when syncing buffers as described
21367         in design docs.
21368         
21369         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21370         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21371         (gst_base_src_activate_push):
21372         Push discont event when starting.
21373
21374         * gst/elements/gstidentity.c: (gst_identity_transform):
21375         Small cleanups.
21376
21377         * gst/gstbin.c: (gst_bin_change_state):
21378         Small cleanups in base_time  distribution.
21379
21380         * gst/gstelement.c: (gst_element_set_base_time),
21381         (gst_element_get_base_time), (gst_element_change_state):
21382         * gst/gstelement.h:
21383         Added methods for the base_time of the element.
21384         Some MT fixes.
21385
21386         * gst/gstpipeline.c: (gst_pipeline_send_event),
21387         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21388         (gst_pipeline_get_last_stream_time):
21389         * gst/gstpipeline.h:
21390         MT fixes.
21391         Handle seeking as described in design doc, remove stream_time
21392         hack.
21393         Cleanups clock and stream_time selection code. Added accessors
21394         for the stream_time.
21395         
21396
21397 2005-07-16  Andy Wingo  <wingo@pobox.com>
21398
21399         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
21400         (#305291).
21401
21402 2005-07-16  Wim Taymans  <wim@fluendo.com>
21403
21404         * check/gst/gstbin.c: (GST_START_TEST):
21405         Make elements silent as the deep_notify refs the
21406         parent, which might make the test fail.
21407
21408         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21409         Don't hold the lock for too long.
21410
21411 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
21412
21413         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21414           Don't unref the caps we passed to gst_caps_make_writable() after
21415           passing them. gst_caps_make_writable() will do that for us.
21416
21417 2005-07-15  Andy Wingo  <wingo@pobox.com>
21418
21419         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
21420         (#157311).
21421
21422         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
21423         own marshalling function for the handoff signal. Properly type the
21424         buffer as a buffer. Fixes some warnings. Should do a more general
21425         solution.
21426         (gst_identity_class_init): Plug into the right marshaller.
21427
21428 2005-07-15  Wim Taymans  <wim@fluendo.com>
21429
21430         * docs/design/part-TODO.txt:
21431         * docs/design/part-clocks.txt:
21432         * docs/design/part-element-sink.txt:
21433         * docs/design/part-events.txt:
21434         * docs/design/part-gstpipeline.txt:
21435         Updated docs, mostly DISCONT related.
21436
21437 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
21438
21439         * docs/pwg/building-pads.xml:
21440           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
21441
21442 2005-07-15  Andy Wingo  <wingo@pobox.com>
21443
21444         * tools/gst-typefind.c: Update, add copyright block.
21445
21446         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
21447         Normalize and truncate caps before fixation.
21448
21449         * gst/gstcaps.h:
21450         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
21451         discards all but the first structure from its argument.
21452
21453 2005-07-15  Wim Taymans  <wim@fluendo.com>
21454
21455         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21456         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
21457         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21458         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21459         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
21460         (gst_base_transform_chain), (gst_base_transform_change_state),
21461         (gst_base_transform_set_passthrough),
21462         (gst_base_transform_is_passthrough):
21463         * gst/base/gstbasetransform.h:
21464         Make passthrough work using the bufferpools.
21465         Changed API a bit, subclasses have to write into a buffer
21466         provided by the base class.
21467         More debug info in nego functions.
21468         
21469         * gst/elements/gstidentity.c: (gst_identity_init),
21470         (gst_identity_transform):
21471         Port to new base class.
21472
21473 2005-07-15  Wim Taymans  <wim@fluendo.com>
21474
21475         * gst/gstmessage.c: (gst_message_new_state_changed):
21476         * tools/gst-launch.c: (event_loop), (main):
21477         Totally dump messages in -launch with the -m option.
21478         Fix message name for State messages,
21479
21480 2005-07-14  Wim Taymans  <wim@fluendo.com>
21481
21482         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21483         Post error messages on errors.
21484
21485 2005-07-14  Wim Taymans  <wim@fluendo.com>
21486
21487         * gst/gstcaps.c: (gst_caps_do_simplify):
21488         Remove debug info.
21489
21490         * gst/gsterror.h:
21491         Define error for stream stopped.
21492
21493         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21494         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
21495         Do proper return values.
21496
21497         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21498         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
21499         (gst_pad_get_range):
21500         Better return values.
21501
21502         * gst/gstpad.h:
21503         Reorganise return values, add macro to check for fatal errors.
21504
21505         * gst/gstqueue.c: (gst_queue_chain):
21506         Return proper GstFlowReturn values,
21507
21508 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21509
21510         * docs/gst/gstreamer-sections.txt:
21511         * docs/gst/gstreamer.types:
21512         * docs/gst/tmpl/gst.sgml:
21513         * docs/gst/tmpl/gstbasesink.sgml:
21514         * docs/gst/tmpl/gstbasesrc.sgml:
21515         * docs/gst/tmpl/gstbasetransform.sgml:
21516         * docs/gst/tmpl/gstbin.sgml:
21517         * docs/gst/tmpl/gstbuffer.sgml:
21518         * docs/gst/tmpl/gstcaps.sgml:
21519         * docs/gst/tmpl/gstclock.sgml:
21520         * docs/gst/tmpl/gstcompat.sgml:
21521         * docs/gst/tmpl/gstconfig.sgml:
21522         * docs/gst/tmpl/gstelement.sgml:
21523         * docs/gst/tmpl/gstelementdetails.sgml:
21524         * docs/gst/tmpl/gstelementfactory.sgml:
21525         * docs/gst/tmpl/gstenumtypes.sgml:
21526         * docs/gst/tmpl/gsterror.sgml:
21527         * docs/gst/tmpl/gstevent.sgml:
21528         * docs/gst/tmpl/gstfakesink.sgml:
21529         * docs/gst/tmpl/gstfakesrc.sgml:
21530         * docs/gst/tmpl/gstfilesink.sgml:
21531         * docs/gst/tmpl/gstfilesrc.sgml:
21532         * docs/gst/tmpl/gstfilter.sgml:
21533         * docs/gst/tmpl/gstformat.sgml:
21534         * docs/gst/tmpl/gstghostpad.sgml:
21535         * docs/gst/tmpl/gstimplementsinterface.sgml:
21536         * docs/gst/tmpl/gstindex.sgml:
21537         * docs/gst/tmpl/gstindexfactory.sgml:
21538         * docs/gst/tmpl/gstinfo.sgml:
21539         * docs/gst/tmpl/gstiterator.sgml:
21540         * docs/gst/tmpl/gstmacros.sgml:
21541         * docs/gst/tmpl/gstmemchunk.sgml:
21542         * docs/gst/tmpl/gstminiobject.sgml:
21543         * docs/gst/tmpl/gstobject.sgml:
21544         * docs/gst/tmpl/gstpad.sgml:
21545         * docs/gst/tmpl/gstpadtemplate.sgml:
21546         * docs/gst/tmpl/gstparse.sgml:
21547         * docs/gst/tmpl/gstpipeline.sgml:
21548         * docs/gst/tmpl/gstplugin.sgml:
21549         * docs/gst/tmpl/gstpluginfeature.sgml:
21550         * docs/gst/tmpl/gstquery.sgml:
21551         * docs/gst/tmpl/gstqueue.sgml:
21552         * docs/gst/tmpl/gstregistry.sgml:
21553         * docs/gst/tmpl/gstregistrypool.sgml:
21554         * docs/gst/tmpl/gstscheduler.sgml:
21555         * docs/gst/tmpl/gstschedulerfactory.sgml:
21556         * docs/gst/tmpl/gststructure.sgml:
21557         * docs/gst/tmpl/gstsystemclock.sgml:
21558         * docs/gst/tmpl/gsttaglist.sgml:
21559         * docs/gst/tmpl/gsttagsetter.sgml:
21560         * docs/gst/tmpl/gsttrace.sgml:
21561         * docs/gst/tmpl/gsttrashstack.sgml:
21562         * docs/gst/tmpl/gsttypefind.sgml:
21563         * docs/gst/tmpl/gsttypefindfactory.sgml:
21564         * docs/gst/tmpl/gsttypes.sgml:
21565         * docs/gst/tmpl/gsturihandler.sgml:
21566         * docs/gst/tmpl/gsturitype.sgml:
21567         * docs/gst/tmpl/gstutils.sgml:
21568         * docs/gst/tmpl/gstvalue.sgml:
21569         * docs/gst/tmpl/gstversion.sgml:
21570         * docs/gst/tmpl/gstxml.sgml:
21571         * docs/libs/tmpl/gstcontrol.sgml:
21572         * docs/libs/tmpl/gstdataprotocol.sgml:
21573         * docs/libs/tmpl/gstdparam.sgml:
21574         * docs/libs/tmpl/gstdplinint.sgml:
21575         * docs/libs/tmpl/gstdpman.sgml:
21576         * docs/libs/tmpl/gstdpsmooth.sgml:
21577         * docs/libs/tmpl/gstgetbits.sgml:
21578         * docs/libs/tmpl/gstunitconvert.sgml:
21579         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21580         (gst_push_src_base_init), (gst_push_src_class_init),
21581         (gst_push_src_init), (gst_push_src_create):
21582         * gst/base/gstpushsrc.h:
21583         * gst/elements/gstelements.c:
21584         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21585         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21586         (gst_fake_sink_init), (gst_fake_sink_set_property),
21587         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21588         (gst_fake_sink_event), (gst_fake_sink_preroll),
21589         (gst_fake_sink_render), (gst_fake_sink_change_state):
21590         * gst/elements/gstfakesink.h:
21591         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21592         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21593         (gst_fake_src_base_init), (gst_fake_src_class_init),
21594         (gst_fake_src_init), (gst_fake_src_event_handler),
21595         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21596         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21597         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21598         (gst_fake_src_create_buffer), (gst_fake_src_create),
21599         (gst_fake_src_start), (gst_fake_src_stop):
21600         * gst/elements/gstfakesrc.h:
21601         * gst/elements/gstfilesink.c: (_do_init),
21602         (gst_file_sink_base_init), (gst_file_sink_class_init),
21603         (gst_file_sink_init), (gst_file_sink_dispose),
21604         (gst_file_sink_set_location), (gst_file_sink_set_property),
21605         (gst_file_sink_get_property), (gst_file_sink_open_file),
21606         (gst_file_sink_close_file), (gst_file_sink_query),
21607         (gst_file_sink_event), (gst_file_sink_render),
21608         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21609         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21610         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21611         * gst/elements/gstfilesink.h:
21612         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21613         (gst_file_src_class_init), (gst_file_src_init),
21614         (gst_file_src_finalize), (gst_file_src_set_location),
21615         (gst_file_src_set_property), (gst_file_src_get_property),
21616         (gst_file_src_map_region), (gst_file_src_map_small_region),
21617         (gst_file_src_create_mmap), (gst_file_src_create_read),
21618         (gst_file_src_create), (gst_file_src_is_seekable),
21619         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21620         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21621         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21622         (gst_file_src_uri_handler_init):
21623         * gst/elements/gstfilesrc.h:
21624           more autistic cleanliness in functions/names/defines
21625
21626 2005-07-13  Andy Wingo  <wingo@pobox.com>
21627
21628         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21629         source couldn't negotiate.
21630
21631         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21632         connections again.
21633
21634         * gst/gstutils.h:
21635         * gst/gstutils.c (gst_element_link_pads_filtered): New old
21636         function. I am channeling Hades. Put your boots on suckers!!!
21637
21638 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21639
21640         * testsuite/caps/Makefile.am:
21641         * testsuite/caps/value_compare.c:
21642         * testsuite/caps/value_intersect.c:
21643         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21644           move two testsuite apps over to the check dir
21645
21646 2005-07-12  Wim Taymans  <wim@fluendo.com>
21647
21648         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21649         Added more debug info in the negotiate process.
21650
21651         * gst/gstmessage.h:
21652         Prepare for segment playback.
21653
21654         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21655         Better debugging.
21656
21657         * gst/gstutils.c:
21658         Some more docs.
21659
21660         * tools/gst-launch.c: (main):
21661         NULL pipeline on errors.
21662
21663 2005-07-12  Andy Wingo  <wingo@pobox.com>
21664
21665         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21666         not it comes from a malloc region. Make sure our copy gets freed.
21667
21668 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21669
21670         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21671         * check/gst/gstmessage.c: (GST_START_TEST):
21672         * check/gst/gststructure.c: (GST_START_TEST),
21673         (gst_structure_suite), (main):
21674           more testing
21675         * gst/gstelement.c: (gst_element_message_full):
21676           clean up GError and debug string now that they get copied
21677         * gst/gstmessage.c: (gst_message_new_error),
21678         (gst_message_new_warning), (gst_message_parse_error),
21679         (gst_message_parse_warning):
21680           use GST_TYPE_G_ERROR for structure_new, and take copies of
21681           arguments, so that we don't mess up refcounting
21682
21683 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21684
21685         * check/Makefile.am:
21686           add per-test valgrind targets
21687         * check/gst-libs/gdp.c: (GST_START_TEST),
21688         (gst_data_protocol_suite), (main):
21689           clean up
21690
21691 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21692
21693         * check/Makefile.am:
21694           instate more valgrindable tests
21695         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21696         (GST_START_TEST), (fakesrc_suite):
21697         * check/gst/gstpad.c: (GST_START_TEST):
21698         * check/gst/gststructure.c: (GST_START_TEST):
21699           fix test leaks
21700         * docs/gst/tmpl/gstminiobject.sgml:
21701         * gst/gstpad.c: (gst_pad_finalize):
21702           fix the static mutex leak
21703
21704 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21705
21706         * check/Makefile.am:
21707           add two more tests for valgrinding
21708         * check/gst/gstvalue.c: (GST_START_TEST):
21709           test refcount of deserialized buffer, found a leak
21710         * docs/gst/gstreamer-docs.sgml:
21711         * docs/gst/gstreamer-sections.txt:
21712         * docs/gst/gstreamer.types:
21713         * docs/gst/tmpl/gstminiobject.sgml:
21714           add miniobject to docs
21715         * gst/gstminiobject.c:
21716           add some docs
21717         * gst/gstvalue.c: (gst_value_deserialize_buffer),
21718         (gst_string_unwrap):
21719           fix a hard-to-find invalid write for one of the tests
21720           fix a leak for deserialized buffers
21721
21722 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21723
21724         * docs/pwg/advanced-events.xml:
21725         * docs/pwg/advanced-request.xml:
21726         * docs/pwg/advanced-scheduling.xml:
21727         * docs/pwg/appendix-porting.xml:
21728         * docs/pwg/building-boiler.xml:
21729         * docs/pwg/intro-preface.xml:
21730         * docs/pwg/other-ntoone.xml:
21731           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
21732           of example code and explanation for pad activation, loop() and
21733           getrange() functions and a bit more. Remove old comments pointing
21734           to loop-functions.
21735         * examples/pwg/Makefile.am:
21736           Add loop/getrange examples.
21737
21738 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21739
21740         * configure.ac:
21741           check for valgrind binary + some fixes
21742         * check/gst.supp:
21743           valgrind suppressions for the tests
21744         * check/Makefile.am:
21745           add a valgrind: target that valgrinds the unit tests
21746         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
21747         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21748         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21749         * check/gst/gstghostpad.c:
21750           added some cleanup
21751         * check/gst/gstdata.c:
21752           removed
21753         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
21754         (thread_unref), (gst_mini_object_suite), (main):
21755           added
21756         * gst/gst.c: (gst_deinit):
21757         * gst/gst.h:
21758           add a method to clean up.
21759         * gst/gstsystemclock.c: (gst_system_clock_dispose),
21760         (gst_system_clock_obtain):
21761           allow for disposing the system clock.
21762         * tools/gst-launch.c: (main):
21763           deinit
21764
21765 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21766
21767         * docs/gst/tmpl/gstbasesrc.sgml:
21768         * docs/gst/tmpl/gstfakesrc.sgml:
21769         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21770         (gst_base_src_init), (gst_base_src_set_property),
21771         (gst_base_src_get_property), (gst_base_src_get_range),
21772         (gst_base_src_start):
21773         * gst/base/gstbasesrc.h:
21774           add num-buffers property
21775         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21776         (gst_fakesrc_init), (gst_fakesrc_set_property),
21777         (gst_fakesrc_get_property), (gst_fakesrc_create),
21778         (gst_fakesrc_start):
21779           remove num-buffers property
21780
21781 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21782
21783         * docs/gst/gstreamer-sections.txt:
21784         * docs/gst/tmpl/gstbasesink.sgml:
21785         * docs/gst/tmpl/gstbasesrc.sgml:
21786         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21787         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21788         (gst_base_sink_finalize), (gst_base_sink_set_clock),
21789         (gst_base_sink_set_property), (gst_base_sink_get_property),
21790         (gst_base_sink_handle_object), (gst_base_sink_event),
21791         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21792         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
21793         (gst_base_sink_loop), (gst_base_sink_deactivate),
21794         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
21795         (gst_base_sink_change_state):
21796         * gst/base/gstbasesink.h:
21797         * gst/base/gstbasesrc.h:
21798         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
21799         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21800         (gst_filesink_init):
21801           more macro splitting
21802
21803 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21804
21805         * gst/gstelement.c: (gst_element_get_bus):
21806           add debug
21807         * tools/gst-launch.c: (check_intr), (event_loop):
21808           fix bus leaks
21809
21810 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21811
21812         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21813           fix a caps leak
21814
21815 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21816
21817         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21818         (gst_base_src_finalize):
21819           add finalize method and clean up properly
21820         * gst/gstpipeline.c: (gst_pipeline_dispose):
21821           add debug
21822
21823 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21824
21825         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21826         (gst_bin_suite):
21827           add more things to check
21828         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21829         * gst/gstelement.c:
21830           more debug
21831
21832 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21833
21834         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21835         (GST_START_TEST), (fakesrc_suite):
21836         * check/gst-libs/gdp.c: (GST_START_TEST):
21837         * check/gst/gst.c: (GST_START_TEST):
21838         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21839         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21840         * check/gst/gstbus.c: (GST_START_TEST):
21841         * check/gst/gstcaps.c: (GST_START_TEST):
21842         * check/gst/gstdata.c: (GST_START_TEST):
21843         * check/gst/gstelement.c: (GST_START_TEST):
21844         * check/gst/gstghostpad.c: (GST_START_TEST):
21845         * check/gst/gstiterator.c: (GST_START_TEST):
21846         * check/gst/gstmessage.c: (GST_START_TEST):
21847         * check/gst/gstobject.c: (GST_START_TEST):
21848         * check/gst/gstpad.c: (GST_START_TEST):
21849         * check/gst/gststructure.c: (GST_START_TEST):
21850         * check/gst/gstsystemclock.c: (GST_START_TEST),
21851         (gst_systemclock_suite):
21852         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21853         * check/gst/gstvalue.c: (GST_START_TEST):
21854         * check/pipelines/cleanup.c: (GST_START_TEST):
21855         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21856         * check/states/sinks.c: (GST_START_TEST):
21857         * check/gstcheck.c: (gst_check_init):
21858         * check/gstcheck.h:
21859           add debugging category
21860           use GST_START_TEST now, so we add a debug line
21861
21862 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21863
21864         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21865           add test for state change message on a bin
21866         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21867           add another test
21868         * gst/gstbin.c: (gst_bin_init):
21869         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21870         * gst/gstelement.c: (gst_element_post_message),
21871         (gst_element_set_state):
21872         * gst/gstelementfactory.c: (gst_element_factory_create):
21873         * gst/gstmessage.c: (gst_message_new):
21874         * gst/gstscheduler.c:
21875           various debugging additions and cleanups
21876
21877 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21878
21879         * check/Makefile.am:
21880         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21881         (main):
21882           adding tests for elements
21883         * gst/gstelement.c: (gst_element_dispose):
21884
21885 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21886
21887         * gst/registries/gstlibxmlregistry.c: (load_feature):
21888           plug more leaks.  A simple gst_init() now is leakfree, yay.
21889
21890 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21891
21892         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21893         (gst_xml_registry_load):
21894           plug another memleak
21895
21896 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21897
21898         * configure.ac:
21899           use GST_SET_ERROR_CFLAGS
21900         * docs/faq/cvs.xml:
21901           change to ERROR_CFLAGS
21902
21903 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21904
21905         * configure.ac:
21906           make GST_ERROR_CFLAGS overridable and re-enable Werror
21907         * docs/faq/cvs.xml:
21908           add a note about error CFLAGS
21909         * docs/gst/tmpl/gstfakesrc.sgml:
21910         * gst/elements/gstfakesrc.c:
21911           comment out some unused code
21912         * gst/gst.c: (split_and_iterate):
21913         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21914         (load_feature):
21915           plug some memleaks
21916
21917 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21918
21919         * common/Makefile.am:
21920         * common/gtk-doc.mak:
21921         * docs/gst/Makefile.am:
21922           factor out gtk-doc.mak
21923
21924 2005-07-07  Wim Taymans  <wim@fluendo.com>
21925
21926         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21927         (gst_thread_scheduler_dispose):
21928         Unlock the STREAM_LOCK completely.
21929
21930 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21931
21932         * check/Makefile.am:
21933         * check/elements/.cvsignore:
21934         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21935         (START_TEST), (fakesrc_suite), (main):
21936         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21937         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21938         (gst_fakesrc_create), (gst_fakesrc_start):
21939         * gst/elements/gstfakesrc.h:
21940           adding a first element test
21941
21942 2005-07-07  Andy Wingo  <wingo@pobox.com>
21943
21944         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21945         debug message.
21946
21947 2005-07-07  Wim Taymans  <wim@fluendo.com>
21948
21949         * gst/gstquery.c:
21950         * gst/gstquery.h:
21951         Remove old types
21952
21953 2005-07-07  Wim Taymans  <wim@fluendo.com>
21954
21955         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21956         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21957         Allow subclasses to implement their own negotiation.
21958
21959 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21960
21961         * docs/design/part-gstbin.txt:
21962         * docs/design/part-gstpipeline.txt:
21963           Update design notes to reflect the movement of
21964           responsibility for bus handling from GstPipeline to
21965           GstBin
21966
21967 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21968
21969         * configure.ac:
21970           Remove unnecessary queue2/3/4 examples.
21971
21972 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21973
21974         * examples/Makefile.am:
21975         * examples/helloworld/helloworld.c: (event_loop), (main):
21976         * examples/queue/queue.c: (event_loop), (main):
21977         * examples/queue2/queue2.c: (main):
21978           Update a couple of the examples to work again.
21979
21980         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21981         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21982          Spelling corrections and extra debug.
21983         
21984         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21985         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21986         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21987         * gst/gstbin.h:
21988         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21989         (gst_pipeline_change_state):
21990         * gst/gstpipeline.h:
21991           Move the bus handler for children to the GstBin, and create a
21992           separate bus for receiving messages from children to the one the
21993           bus sends 'upwards' on.
21994
21995 2005-07-06  Wim Taymans  <wim@fluendo.com>
21996
21997         * gst/base/README:
21998         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21999         (gst_base_sink_handle_object), (gst_base_sink_loop),
22000         (gst_base_sink_change_state):
22001         * gst/base/gstbasesink.h:
22002         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22003         (gst_base_src_init), (gst_base_src_setcaps),
22004         (gst_base_src_getcaps), (gst_base_src_loop),
22005         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22006         (gst_base_src_start), (gst_base_src_change_state):
22007         * gst/base/gstbasesrc.h:
22008         Make basesrc negotiate.
22009         Handle the case where preroll fails in basesink.
22010         Update README.
22011
22012 2005-07-06  Wim Taymans  <wim@fluendo.com>
22013
22014         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22015         Implement the fixate function.
22016         Clean up acceptcaps.
22017
22018 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22019
22020         * docs/pwg/building-filterfactory.xml:
22021         * docs/pwg/pwg.xml:
22022           Remove never-written filter-factory chapter; I'll add the various
22023           base classes to part 4 ("other element types") later on.
22024
22025 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22026
22027         * docs/pwg/advanced-negotiation.xml:
22028         * docs/pwg/building-boiler.xml:
22029         * docs/pwg/building-pads.xml:
22030         * docs/pwg/pwg.xml:
22031         * examples/pwg/Makefile.am:
22032           Add a chapter on caps negotiation, simplify the original code
22033           samples a bit w.r.t. caps negotiation, add link to the advanced
22034           section. Add a bunch of examples showing different use cases of
22035           different types of caps negotiation. Upstream renegotiation isn't
22036           fully documented yet since nobody knows how that works.
22037
22038 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22039
22040         * check/gst/gstpad.c:
22041         * check/gstcheck.c:
22042         * gst/gstpad.c: (gst_pad_get_internal_links_default):
22043           if pad has no parent, return NULL as list of internal links
22044
22045 2005-07-05  Andy Wingo  <wingo@pobox.com>
22046
22047         * gst/elements/gstfilesrc.c:
22048         * gst/elements/gstfakesrc.c: 
22049         * gst/base/gstpushsrc.c:
22050         * gst/base/gstbasesrc.h: 
22051         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22052         
22053 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
22054
22055         * Makefile.am:
22056           better report generation target (lcov needs a patch)
22057
22058 2005-07-05  Andy Wingo  <wingo@pobox.com>
22059
22060         * gst/elements, testsuite: Null if we got it...
22061
22062 2005-07-05  Wim Taymans  <wim@fluendo.com>
22063
22064         * configure.ac:
22065         * libs/gst/dataprotocol/Makefile.am:
22066         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22067         * libs/gst/dataprotocol/dataprotocol.h:
22068         * pkgconfig/Makefile.am:
22069         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22070         * pkgconfig/gstreamer-dataprotocol.pc.in:
22071         Ported dataprotol to 0.9. 
22072         Added pkgconfig files.
22073
22074 2005-07-05  Andy Wingo  <wingo@pobox.com>
22075
22076         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22077         Default to returning TRUE for the case when tranform_caps returns
22078         a fixed caps, like for identity or volume.
22079
22080         * check/gst/gstbus.c (pound_bus_with_messages): 
22081         * check/gst/gstmessage.c (START_TEST): 
22082         * check/pipelines/simple_launch_lines.c (got_handoff): Application
22083         message API change.
22084
22085         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22086         logic weaks here: always run transform_caps, trying passthrough
22087         operation only if the original caps intersects with the transform.
22088
22089         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22090         source and sink caps.
22091
22092         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22093         Intersect the peer caps with the pad template before going into
22094         transform_caps.
22095         (gst_base_transform_transform_caps): More debugging.
22096
22097         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22098         src argument.
22099
22100 2005-07-04  Edward Hervey  <edward@fluendo.com>
22101
22102         * gst/gstutils.c:
22103         * gst/gstutils.h:
22104         (gst_pad_add_*_probe): now returns the signal id for better wrapping
22105         in bindings.
22106
22107 2005-07-04  Andy Wingo  <wingo@pobox.com>
22108
22109         * check/gst/gstpad.c: Only set explicit caps on pads.
22110
22111 2005-07-01  Andy Wingo  <wingo@pobox.com>
22112
22113         * tests/network-clock.scm: Commentary update.
22114
22115         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22116         Didn't really make sense, not implementable with basetransform,
22117         etc.
22118         (gst_identity_transform): Unref inbuf via make_writable. Feeble
22119         attempt at implementing the sync property, needs an unlock method.
22120
22121         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22122         New func, by default returns the same caps (the identity
22123         transformation).
22124         (gst_base_transform_getcaps): Uses transform_caps to return
22125         something sensible.
22126         (gst_base_transform_setcaps): Complicated logic to get caps on
22127         both pads, even if they are different, and to call set_caps once
22128         for every time both pads get their caps set.
22129         (gst_base_transform_handle_buffer): Give the ref to the transform
22130         function. Allows in-place modification of the buffer.
22131
22132         * gst/base/gstbasetransform.h (transform_caps): New class method.
22133         Given caps on one side, what can I do on the other.
22134         (set_caps): Take two caps, one for each side of the element.
22135
22136         * gst/gstpad.h:
22137         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22138         caps in place. This is safe because we can check the mutability of
22139         the caps, and a good idea because fixate functions are just called
22140         as a matter of last resort. (Not actually implemented.)
22141         (gst_pad_set_caps): If the caps we're setting is actually the same
22142         as the existing pad caps, just update the pointer without calling
22143         setcaps. Assert that caps is either NULL or fixed, as per the
22144         docs.
22145
22146         * gst/gstghostpad.c: Update for fixate changes.
22147
22148 2005-07-02  Andy Wingo  <wingo@pobox.com>
22149
22150         * gst/gstcaps.c:
22151         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22152         two refcounts makes it immutable, which is enough. Doc more.
22153
22154 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
22155
22156         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22157           Put the mini_object into GValue as a mini_object,
22158           not a gpointer, since that's how we declared
22159           the signal.
22160
22161 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22162
22163         * examples/pwg/Makefile.am:
22164           Fix buildbot again.
22165
22166 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22167
22168         * docs/pwg/building-testapp.xml:
22169           Add extra check.
22170         * examples/pwg/Makefile.am:
22171           Fix buildbot.
22172
22173 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22174
22175         * configure.ac:
22176         * examples/Makefile.am:
22177         * examples/pwg/Makefile.am:
22178         * examples/pwg/extract.pl:
22179           Enable building the PWG examples.
22180         * docs/pwg/advanced-interfaces.xml:
22181           Add URI interface stub.
22182         * docs/pwg/advanced-types.xml:
22183         * docs/pwg/other-autoplugger.xml:
22184         * docs/pwg/appendix-porting.xml:
22185         * docs/pwg/pwg.xml:
22186           Add porting guide (mostly stubs), remove autoplugging (see ADM).
22187         * docs/pwg/building-boiler.xml:
22188         * docs/pwg/building-chainfn.xml:
22189         * docs/pwg/building-pads.xml:
22190         * docs/pwg/building-props.xml:
22191         * docs/pwg/building-state.xml:
22192         * docs/pwg/building-testapp.xml:
22193           Update the building-*.xml parts for 0.9 changes. All examples
22194           code blocks compile in examples/pwg/*.
22195
22196 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22197
22198         * docs/manual/advanced-autoplugging.xml:
22199         * docs/manual/appendix-checklist.xml:
22200         * docs/manual/appendix-integration.xml:
22201         * docs/manual/highlevel-components.xml:
22202           Fix playbin/decodebin examples, update docs a bit, mention bus
22203           instead of signals in various places, mention kmplayer and
22204           kaffeine since they have a working GStreamer backend in the KDE
22205           section.
22206
22207 2005-06-30  Wim Taymans  <wim@fluendo.com>
22208
22209         * CHANGES-0.9:
22210         * docs/design/draft-ghostpads.txt:
22211         * docs/design/draft-push-pull.txt:
22212         * docs/design/draft-query.txt:
22213         * docs/design/part-TODO.txt:
22214         * docs/design/part-query.txt:
22215         Added CHANGES-0.9 doc, updated status of other docs.
22216         
22217         * gst/gstquery.h:
22218         Remove "hmm" macro
22219
22220 2005-06-30  Wim Taymans  <wim@fluendo.com>
22221
22222         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22223         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22224         (gst_base_sink_change_state):
22225         * gst/base/gstbasesink.h:
22226         Some tweaks, only EOS and a buffer complete a preroll.
22227
22228 2005-06-30  Andy Wingo  <wingo@pobox.com>
22229
22230         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22231         activate_push down to the internal pad as well.
22232
22233 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
22234
22235         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22236
22237         * gst/gsttaginterface.c:
22238           Some documentation fixes (#307394 and #307397).
22239
22240 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
22241
22242         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22243
22244         * gst/gstvalue.c: (gst_value_intersect_list):
22245           Fix memleak (#309125).
22246
22247 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22248
22249         * docs/manual/advanced-dataaccess.xml:
22250           Fix fakesrc example to compile; doesn't work, bug somewhere...?
22251         * docs/manual/basics-pads.xml:
22252           Add reference for filtered caps to above chapter.
22253
22254 2005-06-30  Wim Taymans  <wim@fluendo.com>
22255
22256         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22257         (gst_bin_change_state):
22258         Probes are gone.
22259         Lame attempt at making the state change function a bit
22260         more readable.
22261
22262 2005-06-30  Wim Taymans  <wim@fluendo.com>
22263
22264         * docs/design/part-clocks.txt:
22265         * docs/design/part-element-sink.txt:
22266         * docs/design/part-events.txt:
22267         * docs/design/part-preroll.txt:
22268         * docs/design/part-states.txt:
22269         Some more tweeks and additions to the docs.
22270
22271 2005-06-30  Wim Taymans  <wim@fluendo.com>
22272
22273         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22274         (default_have_data), (gst_pad_class_init), (gst_pad_init),
22275         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22276         (gst_pad_check_pull_range), (gst_pad_get_range),
22277         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22278         * gst/gstpad.h:
22279         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22280         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22281         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22282         (gst_pad_remove_buffer_probe):
22283         Removed atomic operations, use existing LOCK.
22284         Move exception handling out of main code path.
22285
22286 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22287
22288         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22289         (silly_return_true_function), (gst_pad_class_init),
22290         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22291         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22292         (gst_pad_send_event):
22293           Fix accumulator, add default value by using _emitv() instead
22294           of _emit() for signal emission.
22295
22296 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22297
22298         * docs/manual/advanced-dataaccess.xml:
22299         * examples/manual/Makefile.am:
22300           Add probe example.
22301         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22302           Make work (??).
22303
22304 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
22305
22306         * gst/elements/gstfilesink.c: (gst_filesink_render):
22307           Simplify code so that we don't have to handle short
22308           writes and return GST_FLOW_ERROR if an error occured.
22309
22310 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22311
22312         * docs/gst/gstreamer-docs.sgml:
22313           Remove probes more.
22314
22315 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22316
22317         * docs/gst/gstreamer-sections.txt:
22318         * docs/gst/tmpl/gstpad.sgml:
22319         * docs/gst/tmpl/gstprobe.sgml:
22320         * gst/Makefile.am:
22321         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22322         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22323         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22324         (gst_pad_push_event), (gst_pad_send_event):
22325         * gst/gstpad.h:
22326         * gst/gstutils.c: (gst_pad_add_data_probe),
22327         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22328         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22329         (gst_pad_remove_buffer_probe):
22330         * gst/gstutils.h:
22331           Remove old probes, add new g-signal-based probes and some utility
22332           functions.
22333
22334 2005-06-29  Edward Hervey  <edward@fluendo.com>
22335
22336         * gst/gstelementfactory.c:
22337         * gst/gstutils.h:
22338         * gst/gstutils.c:
22339         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22340         the definition to the header file.
22341
22342 2005-06-29  Andy Wingo  <wingo@pobox.com>
22343
22344         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22345         plugins from the source directory.
22346
22347 2005-06-29  Wim Taymans  <wim@fluendo.com>
22348
22349         * docs/gst/tmpl/gstbuffer.sgml:
22350         * docs/gst/tmpl/gstclock.sgml:
22351         Some fixings for blantently wrong text.
22352
22353 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22354
22355         * check/Makefile.am:
22356         * gst/gst.c: (add_path_func), (init_pre):
22357         * gst/gstregistry.c: (gst_registry_add_path):
22358           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22359           only scan the GST_PLUGIN_PATH locations, and not add
22360           system locations
22361
22362 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22363
22364         * docs/gst/gstreamer-sections.txt:
22365         * docs/gst/tmpl/gstbasesrc.sgml:
22366         * gst/gstelement.c:
22367         * gst/gstelement.h:
22368         * gst/gstevent.c:
22369         * gst/gstutils.c:
22370           doc fixes
22371
22372 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22373
22374         * docs/manual/advanced-autoplugging.xml:
22375           Fix autoplugging example.
22376
22377 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22378
22379         * docs/manual/advanced-autoplugging.xml:
22380         * docs/manual/mime-world.fig:
22381           Try to get autoplugging working, fix type detection. Fix text
22382           in hello-world image.
22383
22384 2005-06-29  Wim Taymans  <wim@fluendo.com>
22385
22386         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22387         (gst_base_sink_change_state):
22388         Small debug line.
22389
22390         * gst/gstclock.h:
22391         map SIGNAL and BROADCAST to the right function.
22392
22393         * gst/gstobject.h:
22394         Remove redundant braces.
22395
22396         * gst/gstpad.c: (gst_pad_set_caps):
22397         Don't call setcaps function when reseting caps to NULL.
22398
22399         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22400         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
22401         (gst_system_clock_id_unschedule):
22402         Use BROADCAST as this is what we do.
22403
22404 2005-06-29  Wim Taymans  <wim@fluendo.com>
22405
22406         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22407         We are actually prerolling before commiting the state
22408         change. 
22409
22410 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22411
22412         * docs/manual/advanced-clocks.xml:
22413         * docs/manual/advanced-interfaces.xml:
22414         * docs/manual/advanced-metadata.xml:
22415         * docs/manual/advanced-position.xml:
22416         * docs/manual/advanced-schedulers.xml:
22417         * docs/manual/advanced-threads.xml:
22418         * docs/manual/appendix-porting.xml:
22419         * docs/manual/basics-bins.xml:
22420         * docs/manual/basics-bus.xml:
22421         * docs/manual/basics-elements.xml:
22422         * docs/manual/basics-helloworld.xml:
22423         * docs/manual/basics-pads.xml:
22424         * docs/manual/highlevel-components.xml:
22425         * docs/manual/manual.xml:
22426         * docs/manual/thread.fig:
22427           Update (until threads/scheduling) Application Development Manual;
22428           remove GstThread, add GstBus, add simple porting checklist, add
22429           documentation for tag writing, clocks, make all examples until this
22430           part compile and run.
22431         * examples/manual/Makefile.am:
22432           Update from changes to Application Development Manual; add bus
22433           example, remove thread example.
22434
22435 2005-06-28  Wim Taymans  <wim@fluendo.com>
22436
22437         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
22438         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
22439         (gst_bus_source_dispatch):
22440         Add debugging messages.
22441         Make internal methods static.
22442         Handle the case where the bus is flushed in the handler.
22443         
22444         * gst/gstelement.c: (gst_element_get_bus):
22445         Fix refcount in _get_bus();
22446
22447         * gst/gstpipeline.c: (gst_pipeline_change_state),
22448         (gst_pipeline_get_clock_func):
22449         Clock refcounting fixes.
22450         Handle the case where preroll timed out more gracefully.
22451         
22452         * gst/gstsystemclock.c: (gst_system_clock_dispose):
22453         Clean up the internal thread in dispose. This is needed
22454         for subclasses that actually get disposed.
22455         
22456         * gst/schedulers/threadscheduler.c:
22457         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22458         (gst_thread_scheduler_dispose):
22459         Free thread pool in dispose.
22460
22461 2005-06-28  Andy Wingo  <wingo@pobox.com>
22462
22463         * tests/network-clock-utils.scm (debug, print-event): New utils.
22464
22465         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
22466         (*packet-loss*): Unified loss probability.
22467         (network-time): Report out-of-band events.
22468
22469         * tests/plot-data: Add support for out-of-band events. Hack it
22470         into this script instead of passing it down the pipe; should fix
22471         this later.
22472
22473 2005-06-28  Wim Taymans  <wim@fluendo.com>
22474
22475         * docs/gst/gstreamer.types:
22476         * docs/gst/tmpl/gstbasesrc.sgml:
22477         * docs/gst/tmpl/gstpad.sgml:
22478         Docs fixes.
22479
22480 2005-06-28  Wim Taymans  <wim@fluendo.com>
22481
22482         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22483         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
22484         (gst_proxy_pad_do_fixatecaps):
22485         Correctly proxy the check_pull_range function.
22486
22487 2005-06-28  Andy Wingo  <wingo@pobox.com>
22488
22489         * tests/network-clock.scm: Removed need for slib.
22490         
22491 2005-06-28  Wim Taymans  <wim@fluendo.com>
22492
22493         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
22494         (gst_basesink_preroll_queue_flush):
22495         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
22496         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
22497         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22498         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22499         (gst_proxy_pad_set_property):
22500         * gst/gstpad.c:
22501         * gst/gstpad.h:
22502         * gst/gstqueue.c: (gst_queue_init):
22503         The deprecated pad loop function is removed now.
22504
22505 2005-06-28  Andy Wingo  <wingo@pobox.com>
22506
22507         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22508         New parameters, simulate network packet loss.
22509
22510         * tests/network-clock-utils.scm: Initialize the RNG.
22511
22512 2005-06-28  Wim Taymans  <wim@fluendo.com>
22513
22514         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22515         (gst_basesink_event), (gst_basesink_deactivate):
22516         Flushing the preroll queue always needs to unlock the waiters.
22517
22518 2005-06-28  Edward Hervey  <edward@fluendo.com>
22519
22520         * gst/gstpipeline.c: (gst_pipeline_send_event): 
22521         Wheen a seek was successful on a pipeline, set the stream_time to the
22522         seek offset in order to have a synchronized stream_time.
22523
22524 2005-06-28  Wim Taymans  <wim@fluendo.com>
22525
22526         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22527         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22528         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22529         (gst_proxy_pad_do_fixatecaps):
22530         Call wrapper function instead of just calling the function
22531         pointers. This takes care of any locking and whatmore.
22532
22533 2005-06-28  Wim Taymans  <wim@fluendo.com>
22534
22535         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22536         (gst_pad_pull_range):
22537         * gst/gstpad.h:
22538         CONNECTED -> LINKED.
22539
22540 2005-06-28  Andy Wingo  <wingo@pobox.com>
22541
22542         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22543         source-munging commit!!!
22544
22545         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
22546         (gst_object_sink): Take gpointer arguments, not GstObject --
22547         avoids casts. Like GLib.
22548
22549         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22550         activate.
22551
22552 2005-06-27  Andy Wingo  <wingo@pobox.com>
22553
22554         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22555         remaining buffer.
22556
22557         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22558         returns a sorted copy of the trace list.
22559         (gst_alloc_trace_print_live): New API, only prints traces with
22560         live objects. Sort the list.
22561         (gst_alloc_trace_print_all): Sort the list.
22562         (gst_alloc_trace_print): Align columns.
22563
22564         * gst/elements/gstttypefindelement.c:
22565         * gst/elements/gsttee.c:
22566         * gst/base/gstbasesrc.c:
22567         * gst/base/gstbasesink.c:
22568         * gst/base/gstbasetransform.c:
22569         * gst/gstqueue.c: Adapt for pad activation changes.
22570
22571         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22572         sched.
22573         (gst_pipeline_dispose): Drop ref on sched.
22574
22575         * gst/gstpad.c (gst_pad_init): Set the default activate func.
22576         (gst_pad_activate_default): Push mode by default.
22577         (pre_activate_switch, post_activate_switch): New stubs, things to
22578         do before and after switching activation modes on pads.
22579         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22580         the pad's activate function to choose which mode to activate.
22581         Shortcut on deactivation and call the right function directly.
22582         (gst_pad_activate_pull): New API, (de)activates a pad in pull
22583         mode.
22584         (gst_pad_activate_push): New API, same for push mode.
22585         (gst_pad_set_activate_function) 
22586         (gst_pad_set_activatepull_function) 
22587         (gst_pad_set_activatepush_function): Setters for new API.
22588
22589         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22590         Trace all miniobjects.
22591         (gst_mini_object_make_writable): Unref the arg if we copy, like
22592         gst_caps_make_writable.
22593
22594         * gst/gstmessage.c (_gst_message_initialize): No trace init.
22595
22596         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
22597         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22598         Adapt for new pad API.
22599
22600         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22601
22602         * gst/gstelement.h:
22603         * gst/gstelement.c (gst_element_iterate_src_pads) 
22604         (gst_element_iterate_sink_pads): New API functions.
22605         
22606         * gst/gstelement.c (iterator_fold_with_resync): New utility,
22607         should fold into gstiterator.c in some form.
22608         (gst_element_pads_activate): Simplified via use of fold and
22609         delegation of decisions to gstpad->activate.
22610
22611         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22612         help in debugging.
22613
22614         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22615         class once in init, like gstmessage. Didn't run into this issue
22616         but it seems correct. Don't initialize a trace, gstminiobject does
22617         that.
22618
22619         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22620         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22621         to the bus.
22622         (assert_live_count): New util function, uses alloc traces to check
22623         cleanup.
22624
22625         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22626         To be modified when unlink drops the internal pad.
22627
22628 2005-06-27  Wim Taymans  <wim@fluendo.com>
22629
22630         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22631         (gst_bin_change_state):
22632         Cleanup the get_state() function a little, make sure it
22633         iterates the same set of elements.
22634         Added stub iterate_state_order().
22635
22636 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22637
22638         * docs/gst/gstreamer-docs.sgml:
22639         * docs/gst/gstreamer-sections.txt:
22640         * docs/gst/gstreamer.types:
22641         * docs/gst/tmpl/gstbasesink.sgml:
22642         * docs/gst/tmpl/gstbasesrc.sgml:
22643         * docs/gst/tmpl/gstbasetransform.sgml:
22644         * docs/gst/tmpl/gstelement.sgml:
22645         * docs/gst/tmpl/gstiterator.sgml:
22646         * gst/base/gstbasesrc.c:
22647         * gst/base/gstbasesrc.h:
22648         * gst/base/gstbasetransform.h:
22649         * gst/gstelement.c:
22650         * gst/gstiterator.h:
22651           adding basetransform and iterator docs
22652
22653 2005-06-27  Andy Wingo  <wingo@pobox.com>
22654
22655         * docs/design/part-activation.txt: Notes on how activation should
22656         work -- not quite implemented yet.
22657
22658 2005-06-25  Wim Taymans  <wim@fluendo.com>
22659
22660         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22661         At least get the chain function correct, needs more
22662         fixing.
22663
22664 2005-06-25  Wim Taymans  <wim@fluendo.com>
22665
22666         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22667         (gst_basesink_handle_object), (gst_basesink_event),
22668         (gst_basesink_do_sync), (gst_basesink_handle_event),
22669         (gst_basesink_change_state):
22670         * gst/gsttask.h:
22671         Right, two problems here: ghostpads don't take locks and
22672         glib _rec_mutex_lock_full() with depth==0 still locks.
22673         Catch illegal locking and g_warn them.
22674
22675 2005-06-25  Wim Taymans  <wim@fluendo.com>
22676
22677         * check/states/sinks.c: (START_TEST), (gst_object_suite):
22678         Have to check for completion now...
22679
22680 2005-06-25  Wim Taymans  <wim@fluendo.com>
22681
22682         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22683         (gst_basesink_handle_object), (gst_basesink_event),
22684         (gst_basesink_do_sync), (gst_basesink_handle_event),
22685         (gst_basesink_change_state):
22686         * gst/gstpad.h:
22687         Unlock STREAM_LOCK whatever the recursion was.
22688
22689 2005-06-25  Wim Taymans  <wim@fluendo.com>
22690
22691         * gst/base/gstbasesink.c: (gst_basesink_set_property),
22692         (gst_basesink_preroll_queue_empty),
22693         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22694         (gst_basesink_event), (gst_basesink_do_sync),
22695         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22696         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22697         (gst_basesink_change_state):
22698         Reworked the base sink, handle event and buffer serialisation
22699         correctly and removed possible deadlock.
22700         Handle EOS correctly.
22701
22702 2005-06-25  Wim Taymans  <wim@fluendo.com>
22703
22704         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22705         (gst_pipeline_change_state):
22706         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22707         Allow elements to post EOS in the state change function.
22708         Fix up -launch, make it exit the poll loop when the
22709         pipeline actually changed state.
22710         Fix up warning parsing in -launch.
22711
22712 2005-06-25  Wim Taymans  <wim@fluendo.com>
22713
22714         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
22715         (gst_tee_sink_activate):
22716         Core takes STREAM_LOCK for us now.
22717
22718 2005-06-25  Wim Taymans  <wim@fluendo.com>
22719
22720         * gst/gstelement.c: (gst_element_get_state_func),
22721         (gst_element_set_state):
22722         * gst/gstelement.h:
22723         * gst/gstmessage.c: (gst_message_parse_error),
22724         (gst_message_parse_warning):
22725         Keep track of current target state while performing a state
22726         change so that subclasses can do something interesting.
22727         Fix parsing of warning/error messages when GError is NULL.
22728
22729 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22730
22731         * docs/gst/Makefile.am:
22732         * docs/gst/gstreamer-docs.sgml:
22733         * docs/gst/gstreamer-sections.txt:
22734         * docs/gst/gstreamer.types:
22735         * docs/gst/tmpl/gstbasesink.sgml:
22736         * docs/gst/tmpl/gstbasesrc.sgml:
22737         * docs/gst/tmpl/gstbin.sgml:
22738         * docs/gst/tmpl/gstcompat.sgml:
22739         * docs/gst/tmpl/gstfakesink.sgml:
22740         * docs/gst/tmpl/gstfakesrc.sgml:
22741         * docs/gst/tmpl/gstfilesink.sgml:
22742         * docs/gst/tmpl/gstfilesrc.sgml:
22743         * docs/gst/tmpl/gstindex.sgml:
22744         * docs/manual/appendix-quotes.xml:
22745         * gst/base/gstbasesrc.h:
22746         * gst/elements/gstfakesrc.h:
22747         * gst/gstmessage.h:
22748           start pulling in base classes and elements in our docs
22749
22750 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
22751
22752         * docs/gst/Makefile.am:
22753         * docs/libs/Makefile.am:
22754           fixed make distcheck with gtk-doc 1.3
22755
22756 2005-06-23  Wim Taymans  <wim@fluendo.com>
22757
22758         * gst/gstelement.c: (gst_element_get_state_func),
22759         (gst_element_set_state), (gst_element_change_state):
22760         When the state did not change, also report NO_PREROLL
22761         when it matters.
22762
22763 2005-06-23  Wim Taymans  <wim@fluendo.com>
22764
22765         * gst/gstpad.c: (gst_pad_event_default):
22766         * gst/gstqueue.c: (gst_queue_loop):
22767         No unsafe task pausing please.
22768
22769 2005-06-23  Wim Taymans  <wim@fluendo.com>
22770
22771         * gst/schedulers/threadscheduler.c:
22772         (gst_thread_scheduler_task_start),
22773         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
22774         Ref the task before pushing it on the threadpool. This
22775         makes sure that we have a ref when the threadfunction is
22776         actually called.
22777
22778 2005-06-23  Andy Wingo  <wingo@pobox.com>
22779
22780         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
22781         offset is greater than the file's size.
22782
22783         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
22784         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
22785         * gst/gstobject.c (gst_object_class_init): Make the class lock
22786         recursive. Wim won't let me drop deep_notify. Decodebin works
22787         again, whoopdy doo.
22788
22789         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
22790         internal pad, and hacks accordingly. Doesn't do it on the target
22791         pad because we change its caps. Probably catches all cases of
22792         interest tho.
22793         (gst_ghost_pad_set_property): Connect to notify::caps as
22794         appropritate.
22795
22796         * tests/network-clock.scm (plot-simulation): Pipe data to the
22797         elite python skript.
22798
22799         * tests/network-clock-utils.scm (define-parameter): New macro,
22800         defines a parameter that can be set via the command line.
22801         (set-parameter!, parse-parameter-arguments): Command line args
22802         parser.
22803
22804         * tests/plot-data: Simple matplotlib-based plotter, takes input on
22805         stdin.
22806
22807 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
22808
22809         * gst/elements/gsttypefindelement.c:
22810         (gst_type_find_element_handle_event):
22811           Don't restart typefinding on a discont.
22812         * gst/gstelement.c: (gst_element_set_state):
22813           Debug spelling fix.
22814         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22815           Allow changing mode of an active pad.
22816           Debug output fixes.
22817         * gst/registries/gstlibxmlregistry.c: (load_feature):
22818           Don't cast a static pad template to a normal pad template.
22819
22820 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22821
22822         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22823         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22824           remove gst_strtoll completely, since it didn't actually do
22825           anything more than what g_ascii_strtoull already does.
22826           check for range errors when deserializing
22827           do a cast for the unsigned cases; but further fixing needs
22828           a decision on what the interpretation of "(int)" and
22829           deserialization should be for values that fall outside the
22830           type's boundaries (ie, refuse, or interpret as casting)
22831
22832 2005-06-23  Wim Taymans  <wim@fluendo.com>
22833
22834         * check/Makefile.am:
22835         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22836         * docs/design/part-live-source.txt:
22837         * docs/design/part-states.txt:
22838         * gst/base/gstbasesrc.c: (gst_basesrc_init),
22839         (gst_basesrc_set_live), (gst_basesrc_is_live),
22840         (gst_basesrc_get_range), (gst_basesrc_activate),
22841         (gst_basesrc_change_state):
22842         * gst/base/gstbasesrc.h:
22843         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22844         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22845         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22846         * gst/gstelement.c: (gst_element_get_state_func),
22847         (gst_element_set_state):
22848         * gst/gstelement.h:
22849         * gst/gsttypes.h:
22850         * tools/gst-launch.c: (event_loop), (main):
22851         Added support for live sources and other elements that
22852         cannot do preroll.
22853         Updated design docs, added live-source design doc.
22854         Implemented live source functionality in basesrc
22855         Fix error condition in _bin_get_state()
22856         Implement live source handling in -launch.
22857         Added check for live sources.
22858         Fixed case in GstBin where elements were changed state
22859         multiple times.
22860
22861
22862 2005-06-23  Andy Wingo  <wingo@pobox.com>
22863
22864         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22865         borken refcounting.
22866
22867         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22868         gst_caps_replace takes care of this for us.
22869
22870         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22871         gst_pad_set_caps on the target, not just its setcaps() function.
22872
22873         * tests/network-clock.scm: 
22874         * tests/network-clock-utils.scm: A network clock simulator.
22875         Something of an algorithmic testbed before doing something in C.
22876
22877 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22878
22879         * check/Makefile.am:
22880         * check/gst/capslist.h:
22881           copy over from 0.8, and add two with bitmasks specified with
22882           (int) 0xFF...
22883         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22884           add test to parse everything from capslist.h
22885         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22886         (main):
22887           add test for structure deserialization
22888         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22889           add tests for deserialization of strings to int types
22890         * gst/gststructure.c: (gst_structure_nth_field_name):
22891         * gst/gststructure.h:
22892           add a way to get the name of a field referenced by index
22893         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22894           instead of checking if the resulting long long lies between
22895           min and max, we check if the long long would fit into
22896           a number of bytes for the final type.
22897           This fixes cases where a string represents 2^32 - 1, which
22898           when cast to int would be the (valid) -1, but is bigger than
22899           G_MAXINT
22900
22901 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22902
22903         * gst/parse/grammar.y:
22904           add a log line for type deserialization
22905
22906 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22907
22908         * check/gst/gstvalue.c: (START_TEST):
22909         * gst/gstvalue.c: (gst_value_deserialize):
22910           return long long, not int, so gint64 deserialization actually
22911           works.  Is there any flag that makes the compiler check this ?
22912           Fixes #308559
22913
22914 2005-06-22  Wim Taymans  <wim@fluendo.com>
22915
22916         * gst/gstbuffer.h:
22917         Added convenience macros for setting buffers in GValue.
22918
22919 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22920
22921         * check/gst/.cvsignore:
22922         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22923           add a test deserializing int64, and comment part out because
22924           it fails, yay !
22925
22926 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22927
22928         * check/Makefile.am:
22929         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22930         * testsuite/Makefile.am:
22931         * testsuite/caps/Makefile.am:
22932         * testsuite/caps/value_serialize.c:
22933         * testsuite/test_gst_init.c:
22934           move a value_serialize test over
22935
22936 2005-06-20  Wim Taymans  <wim@fluendo.com>
22937
22938         * gst/gstpad.c:
22939         Small doc updates.
22940         
22941         * gst/gstvalue.c: (gst_value_compare_buffer),
22942         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22943         (gst_value_compare_flags), (gst_value_serialize_flags),
22944         (gst_value_deserialize_flags), (_gst_value_initialize):
22945         Fix serialisation of buffers, they are not boxed types anymore
22946
22947 2005-06-20  Wim Taymans  <wim@fluendo.com>
22948
22949         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22950         Testcase to show error in buffer-on-caps serialisation.
22951
22952 2005-06-20  Andy Wingo  <wingo@pobox.com>
22953
22954         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22955         will be adding to later.
22956
22957         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22958         if its socks fill with rocks.
22959         (gst_system_clock_obtain): Set the name on object construction.
22960         Avoid double-checked locking.
22961
22962 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
22963
22964         * gst/gsturi.c: (gst_element_make_from_uri):
22965           Fix potential endless loop.
22966
22967 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22968
22969         * check/Makefile.am:
22970           add gsttag
22971         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22972         (main):
22973           move over from testsuite dir and clean up
22974         * configure.ac:
22975         * gst/gsttag.c:
22976         * testsuite/Makefile.am:
22977         * testsuite/tags/.cvsignore:
22978         * testsuite/tags/Makefile.am:
22979         * testsuite/tags/merge.c:
22980           remove testsuite/tags
22981
22982 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22983
22984         * docs/gst/gstreamer-sections.txt:
22985         * docs/gst/tmpl/gstenumtypes.sgml:
22986         * win32/gstenumtypes.c:
22987           clean up documentation build a little
22988
22989 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22990
22991         * check/gstcheck.h:
22992           add macros for checking refcounts on objects and caps
22993         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22994           add some more unit tests
22995         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22996         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22997           fix leaked refcounts (I hope :)) so unittest works
22998         * gst/gstpad.h:
22999           whitespace removal
23000
23001 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23002
23003         * configure.ac: back to HEAD
23004
23005 === release 0.9.1 ===
23006
23007 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23008
23009         * NEWS:
23010         * RELEASE:
23011           updated
23012
23013 2005-06-17  Andy Wingo  <wingo@pobox.com>
23014
23015         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23016         assert; it's always possible that the pad gets deactivated in
23017         between the checks in gstpad.c and the implementation. Rely on
23018         finish_preroll() to return a FLUSHING or similar instead of on the
23019         assert.
23020         
23021         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23022         clock and post an EOS message if we come out of finish_preroll in
23023         the playing state.
23024
23025 2005-06-16  David Schleef  <ds@schleef.org>
23026
23027         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23028         (gst_capsfilter_set_property): Allow NULL as possible value
23029         for filter_caps property, indicating GST_CAPS_ANY.
23030
23031 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23032
23033         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23034           fix debug output
23035         * gst/schedulers/Makefile.am:
23036           use libgst prefix
23037         * gstreamer.spec.in:
23038           fix spec for it
23039
23040 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23041
23042         * gstreamer.spec.in:
23043           clean up
23044
23045 2005-06-08  Andy Wingo  <wingo@pobox.com>
23046
23047         * gst/gstutils.c: RPAD fixes all around.
23048         (gst_element_link_pads): Refcounting fixes.
23049
23050         * tools/gst-inspect.c:
23051         * tools/gst-xmlinspect.c:
23052         * parse/grammar.y:
23053         * gst/base/gsttypefindhelper.c:
23054         * gst/base/gstbasesink.c:
23055         * gst/gstqueue.c: RPAD fixes.
23056
23057         * gst/gstghostpad.h:
23058         * gst/gstghostpad.c: New ghost pad implementation as full proxy
23059         pads. The tricky thing is they provide both source and sink
23060         interfaces, since they proxy the internal pad for the external
23061         pad, and vice versa. Implement with lower-level ProxyPad objects,
23062         with the interior proxy pad as a child of the exterior ghost pad.
23063         Should write a doc on this.
23064         
23065         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23066         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23067         gst_object API.
23068         
23069         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23070         pads are real pads. No ghost pads in this file. Not documenting
23071         the myriad s/RPAD/PAD/ and REALIZE fixes.
23072         (gst_pad_class_init): Add properties for "direction" and
23073         "template". Both are construct-only, so they can't change during
23074         the life of the pad. Fixes properly deriving from GstPad.
23075         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23076         derived objects, just set properties when creating the objects via
23077         g_object_new.
23078         (gst_pad_get_parent): Implement as a function, return NULL if the
23079         parent is not an element.
23080         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23081         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23082         
23083         * gst/gstobject.c (gst_object_class_init): Make name a construct
23084         property. Don't set it in the object init.
23085
23086         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23087         with UNKNOWN direction.
23088         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23089         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23090         (gst_element_remove_pad): Remove ghost-pad special cases.
23091         (gst_element_pads_activate): Remove rpad cruft.
23092
23093         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23094         catch the pad's-parent-not-an-element case.
23095
23096         * gst/gst.h: Include gstghostpad.h.
23097
23098         * gst/gst.c (init_post): No more real, ghost pads.
23099
23100         * gst/Makefile.am: Add gstghostpad.[ch].
23101
23102         * check/Makefile.am:
23103         * check/gst/gstbin.c:
23104         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23105         into a bin creates ghost pads, and that the refcounts are right.
23106         Partly moved from gstbin.c.
23107
23108 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23109
23110         * check/gst-libs/.cvsignore:
23111         * check/gst/.cvsignore:
23112         * check/pipelines/.cvsignore:
23113           ignore more
23114         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23115         (START_TEST), (cleanup_suite), (main):
23116           add some tests related to cleanup after running pipelines
23117
23118 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23119
23120         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23121           add a testsuite for GstBuffer
23122
23123 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23124
23125         * gst/gstminiobject.h:
23126           add defines for accessing the refcount
23127
23128 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
23129
23130         * Makefile.am: added support for html unit test coverage reports
23131
23132 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
23133
23134         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23135           Free existing caps if the capsfilter changes. Add a FIXME about
23136           setting those caps on the pads.
23137
23138         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23139           Before adding a ghost pad to a parent bin, check that there isn't
23140           already one for the element on the bin. Prevents infinite recursion
23141           when using decodebin in parse pipelines. Andy says he'll rewrite the
23142           way this works anyway, so ignore the hack.
23143
23144 2005-06-02  Andy Wingo  <wingo@pobox.com>
23145
23146         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23147         file size, pass it on to the type find helper.
23148
23149         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23150         segment_start and segment_end properly according to the seek
23151         method. Segment_end is still a bit flaky because offset can be
23152         negative for CUR and END cases, but it takes -1 as an "unset"
23153         value.
23154
23155 2005-06-02  Wim Taymans  <wim@fluendo.com>
23156
23157         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23158         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23159         (gst_basesink_activate):
23160         * gst/base/gstbasesink.h:
23161         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23162         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23163         (gst_pad_query), (gst_pad_start_task):
23164         * gst/gstpad.h:
23165         * gst/gstqueue.c: (gst_queue_bufferalloc),
23166         (gst_queue_handle_sink_event), (gst_queue_chain):
23167         Bufferalloc: return GstFlowReturn to more accuratly report
23168         why allocation failed.
23169
23170 2005-06-02  Wim Taymans  <wim@fluendo.com>
23171
23172         * gst/gstpipeline.c: (gst_pipeline_send_event):
23173         Take snapshot of state without blocking.
23174
23175 2005-06-02  Wim Taymans  <wim@fluendo.com>
23176
23177         * docs/design/part-TODO.txt:
23178         * docs/design/part-caps.txt:
23179         * docs/design/part-clocks.txt:
23180         * docs/design/part-negotiation.txt:
23181         * docs/design/part-preroll.txt:
23182         Small doc updates 
23183
23184 2005-05-30  Wim Taymans  <wim@fluendo.com>
23185
23186         * gst/elements/gstidentity.c: (gst_identity_event),
23187         (gst_identity_transform), (gst_identity_get_property):
23188         Protect last_message property as it is accessed from
23189         multiple threads.
23190
23191 2005-05-30  Wim Taymans  <wim@fluendo.com>
23192
23193         * gst/gstelement.c: (gst_element_init),
23194         (gst_element_pads_activate), (gst_element_change_state):
23195         Slicker pad activation code.
23196
23197 2005-05-30  Wim Taymans  <wim@fluendo.com>
23198
23199         * gst/Makefile.am:
23200         * gst/gstelement.h:
23201         * gst/gstelementfactory.h:
23202         * gst/gsttypes.h:
23203         Move elementfactory methods to separate .h file.
23204
23205 2005-05-30  Wim Taymans  <wim@fluendo.com>
23206
23207         * docs/design/part-overview.txt:
23208         * gst/gstsystemclock.h:
23209         Small typo fixes, doc updates.
23210
23211 2005-05-30  Wim Taymans  <wim@fluendo.com>
23212
23213         * gst/gst.c: (gst_init_get_popt_table), (init_post),
23214         (init_popt_callback):
23215         Remove cpu-opt flag.
23216
23217 2005-05-30  Wim Taymans  <wim@fluendo.com>
23218
23219         * gst/gstbuffer.c: (gst_subbuffer_finalize),
23220         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23221         * gst/gstbuffer.h:
23222         Avoid typechecking in places where not needed.
23223         Added accessor for malloc_data.
23224
23225 2005-05-30  Wim Taymans  <wim@fluendo.com>
23226
23227         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23228         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23229         (gst_pad_configure_sink), (gst_pad_configure_src),
23230         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23231         (gst_pad_start_task):
23232         Propagate errors from _set_caps() in configure_src/sink
23233         functions instead of returning TRUE.
23234         FLUSH events can travel up and downstream
23235
23236
23237 2005-05-30  Wim Taymans  <wim@fluendo.com>
23238
23239         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23240         (gst_basesink_activate):
23241         Handle EOS in preroll.
23242
23243 2005-05-30  Wim Taymans  <wim@fluendo.com>
23244
23245         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23246         (gst_queue_loop), (gst_queue_handle_src_event):
23247         Remove old pieces of code
23248         Flushing the queue in an upstream event is a very bad idea.
23249
23250 2005-05-26  Andy Wingo  <wingo@pobox.com>
23251
23252         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23253         gst_value_set_mini_object so as to add a ref on the object (which
23254         will be removed when the value is unset).
23255
23256         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23257         arg type in ::handoff.
23258
23259         * gst/gstelement.c (gst_element_change_state): Also deactivate
23260         pads in READY->NULL, just in case the element didn't make it to
23261         PAUSED. Wingo tested, Wim approved.
23262
23263 2005-05-26  Wim Taymans  <wim@fluendo.com>
23264
23265         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23266         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23267         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23268         A flushing pad cannot be used to alloc_buffer from.
23269
23270 2005-05-26  Wim Taymans  <wim@fluendo.com>
23271
23272         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23273         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23274         (gst_bus_source_dispatch), (gst_bus_source_finalize),
23275         (gst_bus_create_watch), (gst_bus_add_watch_full):
23276         * gst/gstbus.h:
23277         Implement a real GSource and use g_main_context_wakeup() to
23278         signal new messages instead of the socketpair.
23279
23280 2005-05-25  Wim Taymans  <wim@fluendo.com>
23281
23282         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23283         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23284         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23285         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23286         (gst_pad_send_event), (gst_pad_start_task):
23287         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23288         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23289         (gst_queue_sink_activate), (gst_queue_src_activate),
23290         (gst_queue_change_state):
23291         * gst/gstqueue.h:
23292         Fix state changes for non sinks. We now change sinks, then elements
23293         with unconnected srcpads, then the rest.
23294         More efficient queue unlocking in flush and state changes.
23295         Set the pad activate mode even if it does not have an activate
23296         function.
23297
23298 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23299
23300         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23301           Don't go in pull mode for non-seekable sources.
23302         * gst/elements/gsttypefindelement.h:
23303         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23304         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23305         (free_entry), (stop_typefinding),
23306         (gst_type_find_element_handle_event), (find_peek),
23307         (gst_type_find_element_chain), (do_pull_typefind),
23308         (gst_type_find_element_change_state):
23309           Allow typefinding (w/o seeking) in push-mode, simplified version
23310           of what was in 0.8.
23311         * gst/gstutils.c: (gst_buffer_join):
23312         * gst/gstutils.h:
23313           gst_buffer_join() from 0.8.
23314
23315 2005-05-25  Wim Taymans  <wim@fluendo.com>
23316
23317         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23318         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23319         (gst_pad_send_event), (gst_pad_start_task):
23320         Disable attempt at mode switching until it is figured out.
23321
23322 2005-05-25  Wim Taymans  <wim@fluendo.com>
23323
23324         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23325         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23326         (gst_basesink_finish_preroll), (gst_basesink_chain),
23327         (gst_basesink_loop), (gst_basesink_activate),
23328         (gst_basesink_change_state):
23329         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23330         (gst_basesrc_get_range), (gst_basesrc_loop),
23331         (gst_basesrc_activate):
23332         * gst/elements/gsttee.c: (gst_tee_sink_activate):
23333         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23334         (gst_real_pad_init), (gst_real_pad_set_property),
23335         (gst_real_pad_get_property), (gst_pad_set_active),
23336         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23337         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23338         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23339         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23340         (gst_pad_event_default_dispatch), (gst_pad_event_default),
23341         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23342         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23343         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23344         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23345         (gst_pad_stop_task):
23346         * gst/gstpad.h:
23347         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23348         (gst_queue_loop), (gst_queue_src_activate):
23349         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23350         (gst_task_get_state):
23351         * gst/gsttask.h:
23352         * gst/schedulers/threadscheduler.c:
23353         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23354         Implement gst_pad_pause/start/stop_task(), take STREAM lock
23355         in task function.
23356         Remove ACTIVE pad flag, use FLUSHING everywhere
23357         Added _pad_chain(), _pad_get_range() to call chain/getrange 
23358         functions.
23359         Add locks around IS_FLUSHING when reading.
23360         Take STREAM lock in chain(), get_range() functions so plugins
23361         don't need to take it anymore.
23362         
23363
23364
23365 2005-05-25  Wim Taymans  <wim@fluendo.com>
23366
23367         * tools/gst-launch.c: (event_loop):
23368         Unref message after using its contents instead of
23369         before.
23370
23371 2005-05-24  Wim Taymans  <wim@fluendo.com>
23372
23373         * docs/design/draft-ghostpads.txt:
23374         * docs/design/draft-push-pull.txt:
23375         * docs/design/draft-query.txt:
23376         * docs/design/part-overview.txt:
23377         Docs updates, added general overview doc.
23378
23379 2005-05-21  David Schleef  <ds@schleef.org>
23380
23381         * docs/gst/tmpl/old/GstBin.sgml:
23382         * docs/gst/tmpl/old/GstBuffer.sgml:
23383         * docs/gst/tmpl/old/GstCaps.sgml:
23384         * docs/gst/tmpl/old/GstClock.sgml:
23385         * docs/gst/tmpl/old/GstCompat.sgml:
23386         * docs/gst/tmpl/old/GstData.sgml:
23387         * docs/gst/tmpl/old/GstElement.sgml:
23388         * docs/gst/tmpl/old/GstEvent.sgml:
23389         * docs/gst/tmpl/old/GstIndex.sgml:
23390         * docs/gst/tmpl/old/GstStructure.sgml:
23391         * docs/gst/tmpl/old/GstTag.sgml:
23392         * docs/gst/tmpl/old/cothreads.sgml:
23393         * docs/gst/tmpl/old/cothreads_compat.sgml:
23394         * docs/gst/tmpl/old/gettext.sgml:
23395         * docs/gst/tmpl/old/gobject2gtk.sgml:
23396         * docs/gst/tmpl/old/grammar.tab.sgml:
23397         * docs/gst/tmpl/old/gst-i18n-app.sgml:
23398         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
23399         * docs/gst/tmpl/old/gst_private.sgml:
23400         * docs/gst/tmpl/old/gstaggregator.sgml:
23401         * docs/gst/tmpl/old/gstarch.sgml:
23402         * docs/gst/tmpl/old/gstatomic_impl.sgml:
23403         * docs/gst/tmpl/old/gstbufferstore.sgml:
23404         * docs/gst/tmpl/old/gstdata_private.sgml:
23405         * docs/gst/tmpl/old/gstdisksink.sgml:
23406         * docs/gst/tmpl/old/gstdisksrc.sgml:
23407         * docs/gst/tmpl/old/gstelementfactory.sgml:
23408         * docs/gst/tmpl/old/gstextratypes.sgml:
23409         * docs/gst/tmpl/old/gstfakesink.sgml:
23410         * docs/gst/tmpl/old/gstfakesrc.sgml:
23411         * docs/gst/tmpl/old/gstfdsink.sgml:
23412         * docs/gst/tmpl/old/gstfdsrc.sgml:
23413         * docs/gst/tmpl/old/gstfilesink.sgml:
23414         * docs/gst/tmpl/old/gstfilesrc.sgml:
23415         * docs/gst/tmpl/old/gsthttpsrc.sgml:
23416         * docs/gst/tmpl/old/gstidentity.sgml:
23417         * docs/gst/tmpl/old/gstindexfactory.sgml:
23418         * docs/gst/tmpl/old/gstmarshal.sgml:
23419         * docs/gst/tmpl/old/gstmd5sink.sgml:
23420         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
23421         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
23422         * docs/gst/tmpl/old/gstpadtemplate.sgml:
23423         * docs/gst/tmpl/old/gstpipefilter.sgml:
23424         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
23425         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
23426         * docs/gst/tmpl/old/gstshaper.sgml:
23427         * docs/gst/tmpl/old/gstspider.sgml:
23428         * docs/gst/tmpl/old/gstspideridentity.sgml:
23429         * docs/gst/tmpl/old/gststatistics.sgml:
23430         * docs/gst/tmpl/old/gsttee.sgml:
23431         * docs/gst/tmpl/old/gsttimecache.sgml:
23432         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
23433         * docs/gst/tmpl/old/gstxmlregistry.sgml:
23434         * docs/gst/tmpl/old/gthread-cothreads.sgml:
23435         * docs/gst/tmpl/old/types.sgml:
23436           I didn't intend to add these or check them in.
23437
23438 2005-05-19  David Schleef  <ds@schleef.org>
23439
23440         * configure.ac: Use -no-common everywhere.  In a sane world, it
23441           would be the default in libtool, because without it, you can't
23442           build DLLs on Windows.
23443         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
23444         * docs/gst/gstreamer-sections.txt:
23445         * docs/gst/tmpl/gstcpu.sgml:
23446         * docs/gst/tmpl/gstdata.sgml:
23447         * docs/gst/tmpl/gstthread.sgml:
23448
23449 2005-05-19  David Schleef  <ds@schleef.org>
23450
23451         * gst/gstminiobject.c: (gst_value_set_mini_object),
23452         (gst_value_take_mini_object), (gst_value_get_mini_object):
23453         * gst/gstminiobject.h: Add GValue set/get functions.
23454
23455 2005-05-19  Wim Taymans  <wim@fluendo.com>
23456
23457         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
23458         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
23459         (gst_subbuffer_init), (gst_buffer_is_span_fast):
23460         * gst/gstbuffer.h:
23461         * gst/gstbus.c: (gst_bus_post):
23462         * gst/gstelement.c: (gst_element_get_random_pad):
23463         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
23464         Make subbufer unref the parent in finalize.
23465         some more debugging info.
23466
23467
23468 2005-05-19  Wim Taymans  <wim@fluendo.com>
23469
23470         * gst/base/gstbasesink.c: (gst_basesink_class_init),
23471         (gst_basesink_init), (gst_basesink_finalize),
23472         (gst_basesink_activate), (gst_basesink_change_state):
23473         Don't free preroll queue too early.
23474
23475 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23476
23477         * gst/Makefile.am:
23478         * gst/ROADMAP:
23479           Hi, I'm outdated. Please shoot me.
23480
23481 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23482
23483         * gst/gstpipeline.c: (gst_pipeline_send_event):
23484           Do not access variables after they have been deleted.
23485
23486 2005-05-19  Wim Taymans  <wim@fluendo.com>
23487
23488         * tools/gst-inspect.c: (print_plugin_features):
23489         A plugin feature does unfortunatly not use the
23490         object name yet...
23491
23492 2005-05-18  Wim Taymans  <wim@fluendo.com>
23493
23494         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
23495         Port _span() functions to new subbuffers.
23496
23497 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23498
23499         * gst/gstbin.c: (gst_bin_add_func):
23500           Fix clock settery in bins when adding kids after the clock has
23501           been selected.
23502
23503 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23504
23505         * gst/elements/gstidentity.c: (gst_identity_class_init):
23506           Workaround until signals support GstMiniObject.
23507
23508 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
23509
23510         * gst/gstbuffer.c:
23511         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23512
23513 2005-05-18  Wim Taymans  <wim@fluendo.com>
23514
23515         * gst/base/Makefile.am:
23516         * gst/base/gstadapter.c: (gst_adapter_base_init),
23517         (gst_adapter_class_init), (gst_adapter_init),
23518         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23519         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23520         (gst_adapter_flush), (gst_adapter_available),
23521         (gst_adapter_available_fast):
23522         * gst/base/gstadapter.h:
23523         Ported and added adapter to the base classes.
23524
23525 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
23526
23527         * gst/gst.c:
23528         * gst/gstmessage.c:
23529           Make sure the class is reffed/unreffed once before threads can be
23530           used.  Fixes #304551.
23531
23532 2005-05-17  Wim Taymans  <wim@fluendo.com>
23533
23534         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23535         (gst_basesink_chain_unlocked), (gst_basesink_activate):
23536         * gst/gstminiobject.c: (gst_mini_object_get_type),
23537         (gst_mini_object_free):
23538         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23539         (gst_pad_push), (gst_pad_push_event):
23540         * gst/gstqueue.c: (gst_queue_change_state):
23541         Don't queue buffers in basesink when we are flushing.
23542         Unref buffer when flushing in basesink.
23543         Flush queue when going to READY
23544         Unref buffer when _push() returns an error.
23545         Don't free MiniObject instance when refcount is incremented
23546         in _finalize() so that we can recover objects.
23547
23548 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23549
23550         * docs/manual/advanced-schedulers.xml:
23551         * docs/manual/appendix-checklist.xml:
23552         * docs/pwg/advanced-clock.xml:
23553         * docs/pwg/advanced-interfaces.xml:
23554         * docs/pwg/advanced-request.xml:
23555         * docs/pwg/advanced-types.xml:
23556         * docs/pwg/intro-preface.xml:
23557         * examples/plugins/example.c: (gst_example_get_type),
23558         (gst_example_class_init), (gst_example_chain),
23559         (gst_example_set_property), (gst_example_get_property),
23560         (gst_example_change_state), (plugin_init):
23561         * examples/plugins/example.h:
23562           small doc fixes
23563
23564 2005-05-17  Wim Taymans  <wim@fluendo.com>
23565
23566         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23567         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23568         * gst/gstqueue.c: (gst_queue_change_state):
23569         Clear queue when going to READY.
23570         Remove IN_SETCAPS flag too.
23571
23572 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
23573
23574         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23575           Remove implicit cast from gboolean to GstElementStateReturn;
23576           make sure we still return failure in paused => ready case if
23577           the parent class fails to change state and our own stop 
23578           vfunc succeeds.
23579
23580 2005-05-17  Wim Taymans  <wim@fluendo.com>
23581
23582         * tools/gst-launch.c: (event_loop):
23583         Message was unreffed too soon.
23584
23585 2005-05-16  Andy Wingo  <wingo@pobox.com>
23586
23587         * gst/gstbin.c (sink_iterator_filter): Err... um...
23588
23589         * check/gst/gstbin.c (test_ghost_pads): New test for the
23590         ghosting-if-elements-not-in-same-bin behavior.
23591
23592 2005-05-16  David Schleef  <ds@schleef.org>
23593
23594         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23595         accessing refcount directly.
23596
23597 2005-05-15  David Schleef  <ds@schleef.org>
23598
23599         * check/Makefile.am: remove GstData checks
23600         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23601         * gst/Makefile.am: add miniobject, remove data
23602         * gst/gst.h: add miniobject, remove data
23603         * gst/gstdata.c: remove
23604         * gst/gstdata.h: remove
23605         * gst/gstdata_private.h: remove
23606         * gst/gsttypes.h: remove GstEvent and GstMessage
23607         * gst/gstelement.c: (gst_element_post_message): fix for API changes
23608         * gst/gstmarshal.list: change BOXED -> OBJECT
23609
23610         Implement GstMiniObject.
23611         * gst/gstminiobject.c:
23612         * gst/gstminiobject.h:
23613
23614         Modify to be subclasses of GstMiniObject.
23615         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23616         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23617         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23618         (gst_subbuffer_get_type), (gst_subbuffer_init),
23619         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23620         (gst_buffer_span):
23621         * gst/gstbuffer.h:
23622         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23623         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23624         (_gst_event_copy), (gst_event_new):
23625         * gst/gstevent.h:
23626         * gst/gstmessage.c: (_gst_message_initialize),
23627         (gst_message_get_type), (gst_message_class_init),
23628         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23629         (gst_message_new), (gst_message_new_error),
23630         (gst_message_new_warning), (gst_message_new_tag),
23631         (gst_message_new_state_changed), (gst_message_new_application):
23632         * gst/gstmessage.h:
23633         * gst/gstprobe.c: (gst_probe_perform),
23634         (gst_probe_dispatcher_dispatch):
23635         * gst/gstprobe.h:
23636         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23637         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23638         (_gst_query_copy), (gst_query_new):
23639
23640         Update elements for GstData -> GstMiniObject changes
23641         * gst/gstquery.h:
23642         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23643         (gst_queue_chain), (gst_queue_loop):
23644         * gst/elements/gstbufferstore.c:
23645         (gst_buffer_store_add_buffer_func),
23646         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23647         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23648         (gst_fakesink_render):
23649         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23650         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23651         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23652         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23653         (gst_filesrc_create_read):
23654         * gst/elements/gstidentity.c: (gst_identity_class_init):
23655         * gst/elements/gsttypefindelement.c:
23656         (gst_type_find_element_src_event), (free_entry_buffers),
23657         (gst_type_find_element_handle_event):
23658         * libs/gst/dataprotocol/dataprotocol.c:
23659         (gst_dp_header_from_buffer):
23660         * libs/gst/dataprotocol/dataprotocol.h:
23661         * libs/gst/dataprotocol/dp-private.h:
23662
23663 2005-05-15  David Schleef  <ds@schleef.org>
23664
23665         * gst/elements/gstelements.c: Don't include headers that were
23666         just removed.
23667
23668 2005-05-15  David Schleef  <ds@schleef.org>
23669
23670         * gst/elements/Makefile.am: Remove some elements that don't
23671         need to be in the core (or even exist at all).
23672         * gst/elements/gstaggregator.c:
23673         * gst/elements/gstaggregator.h:
23674         * gst/elements/gstmd5sink.c:
23675         * gst/elements/gstmd5sink.h:
23676         * gst/elements/gstmultifilesrc.c:
23677         * gst/elements/gstmultifilesrc.h:
23678         * gst/elements/gstpipefilter.c:
23679         * gst/elements/gstpipefilter.h:
23680         * gst/elements/gstshaper.c:
23681         * gst/elements/gstshaper.h:
23682         * gst/elements/gststatistics.c:
23683         * gst/elements/gststatistics.h:
23684         * po/POTFILES.in: Remove above files.
23685
23686 2005-05-14  Andy Wingo  <wingo@pobox.com>
23687
23688         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23689         so as to get the refs right.
23690         (sink_iterator_filter): New function, wraps bin_element_is_sink,
23691         unreffing objects that don't pass the filter.
23692
23693         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23694         gst_element_set_bus.
23695         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23696         normal cases, this will destroy the bus.
23697
23698         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23699         object.
23700
23701         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23702         has no sinks.
23703
23704 2005-05-13  Andy Wingo  <wingo@pobox.com>
23705
23706         * gst/gstutils.c (gst_element_link_pads): Instead of calling
23707         gst_pad_link, call pad_link_maybe_ghosting,
23708         (pad_link_maybe_ghosting): Links pads, making sure that the
23709         elements being linked are in the same bin.
23710         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
23711         Helpers for pad_link_maybe_ghosting.
23712
23713 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
23714
23715         * configure.ac:
23716           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
23717
23718 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
23719
23720         * docs/design/part-element-source.txt:
23721           Mention GstPushSrc
23722
23723 2005-05-12  Wim Taymans  <wim@fluendo.com>
23724
23725         * gst/base/gstbasesink.c: (gst_basesink_init),
23726         (gst_basesink_activate):
23727         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
23728         (gst_basesrc_is_seekable):
23729         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23730         (bin_element_is_sink), (gst_bin_change_state):
23731         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23732         * gst/gstelement.h:
23733         Identify sinks by their flag to avoid overly complicated
23734         checks (fow now).
23735         Do state changes even for elements not reachable from the
23736         sinks.
23737         BaseSink is a sink now :)
23738         Some more debugging info in the basesrc.
23739
23740
23741 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23742
23743         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
23744           Implement _query on a bin, similar to _send_event.
23745
23746 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
23747
23748         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
23749           Discont event offset format should be GST_FORMAT_BYTES,
23750           not GST_FORMAT_TIME.
23751
23752 2005-05-12  Wim Taymans  <wim@fluendo.com>
23753
23754         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
23755         Same fix as Ronald's but without the signal. 
23756
23757 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23758
23759         * gst/gstutils.c: (gst_element_query_position):
23760           No, an element is not a pad.
23761
23762 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23763
23764         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
23765         (gst_bin_get_state):
23766           If a child is removed from a bin while we remove the child from
23767           the bin and while we're retrieving its state, signal this to the
23768           get_state function so we abort the wait (instead of waiting for
23769           a timeout) and can immediately re-iterate over all other elements.
23770
23771 2005-05-12  Wim Taymans  <wim@fluendo.com>
23772
23773         * gst/base/Makefile.am:
23774         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
23775         (gst_basesrc_start):
23776         * gst/base/gstbasesrc.h:
23777         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
23778         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
23779         (gst_pushsrc_init), (gst_pushsrc_create):
23780         * gst/base/gstpushsrc.h:
23781         Added is_seekable to BaseSrc
23782         Added simple PushSrc.
23783
23784 2005-05-11  Wim Taymans  <wim@fluendo.com>
23785
23786         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23787         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23788         (gst_element_link_pads), (gst_element_query_position),
23789         (gst_element_query_convert), (intersect_caps_func),
23790         (gst_pad_query_position), (gst_pad_query_convert):
23791         Fix refcounting in utils function.
23792         No point in trying to activate a pad when it's added, it could
23793         be added from the state change function and then we deadlock, the
23794         element has to decide what to do.
23795
23796 2005-05-10  Andy Wingo  <wingo@pobox.com>
23797
23798         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
23799         *all* the arguments.
23800
23801         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
23802         stream lock if it's a FLUSH_DONE; normal flushes don't get the
23803         lock (according to the docs -- if this is wrong change the docs).
23804
23805         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23806         flush messages in the NULL state.
23807
23808         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23809         message immediately and return.
23810         (gst_bus_set_flushing): New function. If a bus is flushing, it
23811         flushes out any queued messages and immediately unrefs new
23812         messages. This is so when an element goes to NULL, all of the
23813         unhandled messages coming from it can be freed, and their
23814         references to the element dropped. In other words: message source
23815         ref considered harmful :P
23816
23817         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23818         we're finished with it.
23819
23820         * gst/gstmessage.c (gst_message_new_state_changed): 
23821
23822 2005-05-10  Wim Taymans  <wim@fluendo.com>
23823
23824         * gst/gstvalue.c: (gst_value_compare_flags),
23825         (gst_value_serialize_flags), (gst_value_deserialize_flags),
23826         (_gst_value_initialize):
23827         Added flags serialize/deserialize/compare code.
23828
23829 2005-05-09  Andy Wingo  <wingo@pobox.com>
23830
23831         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23832         Intersect the peer's caps with our caps.
23833
23834 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23835
23836         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23837         * gst/elements/gsttypefindelement.c: (find_peek):
23838           Handle negative offsets better. Fixes decodebin.
23839
23840 2005-05-09  Wim Taymans  <wim@fluendo.com>
23841
23842         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23843         (gst_base_transform_event):
23844         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23845         Implement accept_caps.
23846         Fix silly lock/unlock mismatch in base class.
23847
23848 2005-05-09  Wim Taymans  <wim@fluendo.com>
23849
23850         * docs/design/draft-push-pull.txt:
23851         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23852         * gst/elements/gstfilesink.c: (gst_filesink_init),
23853         (gst_filesink_query):
23854         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23855         (gst_type_find_handle_src_query), (find_element_get_length):
23856         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23857         * gst/gstelement.h:
23858         * gst/gstmessage.c:
23859         * gst/gstmessage.h:
23860         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23861         (gst_real_pad_get_caps_unlocked),
23862         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23863         (gst_pad_event_default_dispatch), (gst_pad_event_default),
23864         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23865         (gst_real_pad_dispose), (gst_real_pad_finalize),
23866         (gst_pad_load_and_link), (gst_pad_save_thyself),
23867         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23868         (gst_pad_check_pull_range), (gst_pad_pull_range),
23869         (gst_pad_template_get_type), (gst_pad_template_class_init),
23870         (gst_pad_template_init), (gst_pad_template_dispose),
23871         (name_is_valid), (gst_static_pad_template_get),
23872         (gst_pad_template_new), (gst_static_pad_template_get_caps),
23873         (gst_pad_template_get_caps), (gst_pad_set_element_private),
23874         (gst_pad_get_element_private), (gst_pad_start_task),
23875         (gst_pad_pause_task), (gst_pad_stop_task),
23876         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23877         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23878         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23879         (gst_ghost_pad_new):
23880         * gst/gstpad.h:
23881         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23882         (gst_query_new_position), (gst_query_set_position),
23883         (gst_query_parse_position), (gst_query_new_convert),
23884         (gst_query_set_convert), (gst_query_parse_convert):
23885         * gst/gstquery.h:
23886         * gst/gstqueryutils.c:
23887         * gst/gstqueryutils.h:
23888         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23889         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23890         (gst_queue_handle_src_query):
23891         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23892         (gst_element_query_position), (gst_element_query_convert),
23893         (intersect_caps_func), (gst_pad_query_position),
23894         (gst_pad_query_convert):
23895         * gst/gstutils.h:
23896         * tools/gst-inspect.c: (print_pad_info):
23897         * tools/gst-xmlinspect.c: (print_element_info):
23898         Remove old query functions. Ported old code.
23899         Added position/convert helper functions to gstutils.
23900         Reordered gstpad.c code, grouping relevant things.
23901         Remove gst_message_new(), always need to speficy a specific
23902         message.
23903
23904
23905 2005-05-09  Andy Wingo  <wingo@pobox.com>
23906
23907         * gst/gstiterator.h: Add some includes.
23908
23909         * gst/gstqueryutils.h: Include more headers.
23910
23911         * gst/gstpad.h:
23912         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23913         some uses of gst_pad_query.
23914
23915         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23916         NULL out parameters.
23917         (gst_query_new_position): New proc, allocates a new position
23918         query.
23919
23920         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23921         gstqueryutils.c to the build.
23922
23923         * gst/gststructure.c (gst_structure_set_valist): Implement with
23924         the generic G_VALUE_COLLECT.
23925         
23926 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
23927
23928         * gst/Makefile.am: (gst_headers):
23929         Added gstqueryutils.h to the list of headers to install, that was
23930         a 'nachty' move wingo :)
23931
23932 2005-05-06  Andy Wingo  <wingo@pobox.com>
23933
23934         * gst/gstquery.h
23935         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23936         GstData, init a memchunk.
23937         (standard_definitions): Add a few query types, deprecate a few.
23938         (gst_query_get_type): New proc.
23939         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23940         implementation.
23941         (gst_query_new_application, gst_query_get_structure): New public
23942         procs.
23943
23944         * docs/design/draft-query.txt: Removed LINKS from the query types,
23945         because all the rest can be dispatched to other pads -- seemed
23946         ugly to have a query that couldn't be dispatched. internal_links
23947         is fine as a pad method.
23948
23949         * gst/gstpad.h: Add query2 as a pad method, add the new functions
23950         in gstpad.c, but maintain binary compatibility for the moment.
23951         Will fix before 0.9 is out.
23952
23953         * gst/gstqueryutils.c: 
23954         * gst/gstqueryutils.h: New files, implement 3 methods for each
23955         query type: parse_query, parse_response, and set. Probably need an
23956         allocator as well.
23957
23958         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23959
23960         * gst/elements/gstfilesink.c (gst_filesink_query2):
23961         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23962         query_types, and formats methods.
23963
23964         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23965         (gst_pad_set_query2_function): New functions.
23966         (gst_real_pad_init): Set query2_default as the default query2
23967         function. Basically just dispatches to internally linked pads.
23968
23969         Needs review!
23970         
23971         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23972         without using the atomic operations. Only one thread can possibly
23973         be accessing the data at this point. Changed so as to avoid
23974         gst_atomic operations.
23975
23976 2005-05-06  Wim Taymans  <wim@fluendo.com>
23977
23978         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23979         Also set caps if we use the fallback buffer alloc.
23980
23981 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
23982
23983         * docs/gst/Makefile.am:
23984         * docs/gst/gstreamer-docs.sgml:
23985         * docs/gst/gstreamer-sections.txt:
23986         * docs/gst/tmpl/gstatomic.sgml:
23987         * docs/gst/tmpl/gstmemchunk.sgml:
23988         * testsuite/elements/struct_i386.h:
23989         * win32/GStreamer.vcproj:
23990         * win32/Makefile:
23991           Purge GstAtomic stuff from docs and win32 makefiles as well
23992
23993 2005-05-06  Wim Taymans  <wim@fluendo.com>
23994
23995         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23996         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23997         * gst/gstpad.c: (gst_pad_peer_get_caps):
23998         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23999         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24000         (gst_queue_src_activate), (gst_queue_change_state):
24001         * gst/gstqueue.h:
24002         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24003         (intersect_caps_func):
24004         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24005         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24006         Some fixes for the peer_get_caps() change.
24007
24008 2005-05-06  Wim Taymans  <wim@fluendo.com>
24009
24010         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24011         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24012         (gst_basesink_activate):
24013         Actually do something with error codes returned from the push
24014         functions.
24015
24016 2005-05-06  Wim Taymans  <wim@fluendo.com>
24017
24018         * docs/design/part-element-sink.txt:
24019         * docs/design/part-element-source.txt:
24020         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24021         (gst_basesink_event), (gst_basesink_activate):
24022         * gst/base/gstbasesink.h:
24023         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24024         (gst_basesrc_activate):
24025         * gst/base/gstbasesrc.h:
24026         * gst/gstelement.c: (gst_element_pads_activate):
24027         Some more documentation.
24028         Fixed scheduling decision in _pads_activate().
24029
24030 2005-05-05  Andy Wingo  <wingo@pobox.com>
24031
24032         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24033         the test suite.
24034
24035 2005-05-05  Wim Taymans  <wim@fluendo.com>
24036
24037         * gst/base/Makefile.am:
24038         * gst/base/gstbasesink.h:
24039         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24040         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24041         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24042         (gst_collectpads_class_init), (gst_collectpads_init),
24043         (gst_collectpads_finalize), (gst_collectpads_new),
24044         (gst_collectpads_set_function), (gst_collectpads_add_pad),
24045         (find_pad), (gst_collectpads_remove_pad),
24046         (gst_collectpads_is_active), (gst_collectpads_collect),
24047         (gst_collectpads_collect_range), (gst_collectpads_start),
24048         (gst_collectpads_stop), (gst_collectpads_peek),
24049         (gst_collectpads_pop), (gst_collectpads_available),
24050         (gst_collectpads_read), (gst_collectpads_flush),
24051         (gst_collectpads_chain):
24052         * gst/base/gstcollectpads.h:
24053         * gst/elements/Makefile.am:
24054         * gst/elements/gstelements.c:
24055         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24056         (gst_fakesink_get_times), (gst_fakesink_event),
24057         (gst_fakesink_preroll), (gst_fakesink_render):
24058         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24059         (gst_filesink_init), (gst_filesink_set_location),
24060         (gst_filesink_open_file), (gst_filesink_close_file),
24061         (gst_filesink_pad_query), (gst_filesink_event),
24062         (gst_filesink_render), (gst_filesink_change_state):
24063         * gst/elements/gstfilesink.h:
24064         Added object to help in making collect pad based elements.
24065         Ported filesink.
24066         Make event function in sink baseclass return gboolean.
24067
24068 2005-05-05  Wim Taymans  <wim@fluendo.com>
24069
24070         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24071         (gst_bin_get_by_name):
24072         * gst/gstbuffer.h:
24073         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24074         (gst_clock_finalize):
24075         * gst/gstdata.c: (gst_data_replace):
24076         * gst/gstdata.h:
24077         * gst/gstelement.c: (gst_element_request_pad),
24078         (gst_element_pads_activate):
24079         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24080         (gst_object_unref):
24081         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24082         (gst_pad_set_checkgetrange_function),
24083         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24084         (gst_pad_check_pull_range), (gst_pad_pull_range),
24085         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24086         (gst_pad_pause_task), (gst_pad_stop_task):
24087         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24088         (gst_element_request_pad), (gst_pad_proxy_getcaps):
24089         Fix name lookup in GstBin.
24090         Added _data_replace() function and _buffer_replace()
24091         Use finalize method to clean up clock.
24092         Fix refcounting on request pads.
24093         Fix pad schedule mode error.
24094         Some more object refcounting debug info,
24095
24096
24097 2005-05-04  Andy Wingo <wingo@pobox.com>
24098
24099         * check/Makefile.am:
24100         * docs/gst/tmpl/gstatomic.sgml:
24101         * docs/gst/tmpl/gstplugin.sgml:
24102         * gst/base/gstbasesink.c: (gst_basesink_activate):
24103         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24104         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24105         (gst_basesrc_query), (gst_basesrc_set_property),
24106         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24107         (gst_basesrc_activate):
24108         * gst/base/gstbasesrc.h:
24109         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24110         (gst_base_transform_src_activate):
24111         * gst/elements/gstelements.c:
24112         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24113         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24114         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24115         * gst/elements/gsttypefindelement.c: (find_element_get_length),
24116         (gst_type_find_element_checkgetrange),
24117         (gst_type_find_element_activate):
24118         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24119         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24120         (gst_caps_load_thyself):
24121         * gst/gstelement.c: (gst_element_pads_activate),
24122         (gst_element_save_thyself), (gst_element_restore_thyself):
24123         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24124         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24125         * gst/gstpad.h:
24126         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24127         (gst_xml_parse_file), (gst_xml_parse_memory),
24128         (gst_xml_get_element), (gst_xml_make_element):
24129         * gst/indexers/gstfileindex.c: (gst_file_index_load),
24130         (_file_index_id_save_xml), (gst_file_index_commit):
24131         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24132         (read_enum), (load_pad_template), (load_feature), (load_plugin),
24133         (load_paths):
24134         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24135         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24136         * tools/gst-complete.c: (main):
24137         * tools/gst-compprep.c: (main):
24138         * tools/gst-inspect.c: (print_element_properties_info):
24139         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24140         * tools/gst-xmlinspect.c: (print_element_properties):
24141         GCC 4 fixen.
24142         
24143 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24144
24145         * gst/gstplugin.c: (gst_plugin_check_module),
24146         (gst_plugin_check_file), (gst_plugin_load_file):
24147             apply patch from #172526 to make register work on MacOSX
24148
24149 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24150
24151         * docs/gst/tmpl/gstconfig.sgml:
24152         * gst/gstconfig.h.in:
24153           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
24154         * testsuite/debug/printf_extension.c: (main):
24155           Do not use GST_PTR_FORMAT on pointers to types with
24156           sizeof < sizeof(gpointer).  Fixes test on 64-bit
24157         * testsuite/elements/property.h:
24158           use correct printf format
24159
24160 2005-05-02  Wim Taymans  <wim@fluendo.com>
24161
24162         * docs/design/draft-push-pull.txt:
24163         * docs/design/draft-query.txt:
24164         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24165         (gst_basesrc_start):
24166         Added draft for new query API.
24167         Added draft for better selecting scheduling methods.
24168         Make basesrc ignore length if the subclass does not support
24169         it.
24170
24171 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24172
24173         * gst/Makefile.am:
24174           possible fixes for automake-1.5 - _LIBADD is reserved
24175
24176 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24177
24178         * docs/faq/Makefile.am:
24179         * docs/manual/Makefile.am:
24180         * docs/manuals.mak:
24181         * docs/pwg/Makefile.am:
24182         * gst/Makefile.am:
24183           possible fixes for automake-1.5
24184
24185 2005-04-28  Wim Taymans  <wim@fluendo.com>
24186
24187         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24188         (gst_basesink_pad_getcaps), (gst_basesink_init),
24189         (gst_basesink_do_sync):
24190         * gst/gstclock.c: (gst_clock_entry_new):
24191         * gst/gstevent.c: (gst_event_discont_get_value):
24192         * gst/gstpipeline.c: (pipeline_bus_handler),
24193         (gst_pipeline_change_state):
24194         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24195         Better debugging of clocking info.
24196         Allow NULL values when getting discont values.
24197
24198 2005-04-27  Wim Taymans  <wim@fluendo.com>
24199
24200         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24201         * check/gst/gstpad.c: (gst_pad_suite):
24202         Increase timeout for checks.
24203
24204 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24205
24206         * check/Makefile.am:
24207           fix the broken rule for cleanup.  Apparently this rule is
24208           only needed on FC2, so maybe this warrants further autotool
24209           inspection.
24210
24211 2005-04-26  Wim Taymans  <wim@fluendo.com>
24212
24213         * gst/gsttrashstack.h:
24214         Ooohh. a nasty one! After having a failed pop() from the stack,
24215         it's possible that the stack is empty. In that case, don't
24216         follow the NULL pointer.
24217
24218 2005-04-25  Wim Taymans  <wim@fluendo.com>
24219
24220         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24221         (gst_pad_set_checkgetrange_function),
24222         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24223         (gst_pad_check_pull_range), (gst_pad_pull_range),
24224         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24225         (gst_pad_pause_task), (gst_pad_stop_task):
24226         * gst/gstplugin.c: (gst_plugin_load):
24227         * gst/gstplugin.h:
24228         Remove gst_library_load as it does more harm than good with
24229         the new g_module flags.
24230         Revert bogus caps template check in pad linking, pad caps
24231         are important when linking not the template, which is more
24232         general than the current caps.
24233
24234 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24235
24236         * gst/autoplug/.cvsignore:
24237         * gst/autoplug/Makefile.am:
24238         * gst/autoplug/gstsearchfuncs.c:
24239         * gst/autoplug/gstsearchfuncs.h:
24240         * gst/autoplug/gstspider.c:
24241         * gst/autoplug/gstspider.h:
24242         * gst/autoplug/gstspideridentity.c:
24243         * gst/autoplug/gstspideridentity.h:
24244         * gst/autoplug/spidertest.c:
24245           Die, spider, die.
24246
24247 2005-04-25  Wim Taymans  <wim@fluendo.com>
24248
24249         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24250         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24251         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24252         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24253         * gst/gstpad.h:
24254         Added stubs for unimplemented functions. 
24255
24256 2005-04-24  David Schleef  <ds@schleef.org>
24257
24258         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
24259         please fix.
24260
24261 2005-04-24  David Schleef  <ds@schleef.org>
24262
24263         Convert everything from GstAtomicInt to g_atomic_int_*, and
24264         remove gstatomic.
24265         * gst/Makefile.am:
24266         * gst/gstatomic.c:
24267         * gst/gstatomic.h:
24268         * gst/gstatomic_impl.h:
24269         * gst/gstbuffer.c:
24270         * gst/gstcaps.c:
24271         * gst/gstcaps.h:
24272         * gst/gstclock.c:
24273         * gst/gstclock.h:
24274         * gst/gstdata.c:
24275         * gst/gstdata.h:
24276         * gst/gstdata_private.h:
24277         * gst/gstevent.c:
24278         * gst/gstinfo.c:
24279         * gst/gstinfo.h:
24280         * gst/gstmessage.c:
24281         * gst/gstobject.c:
24282         * gst/gstobject.h:
24283         * gst/gststructure.c:
24284         * gst/gststructure.h:
24285         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24286         * gst/gstutils.h:
24287
24288 2005-04-24  David Schleef  <ds@schleef.org>
24289
24290         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24291         make the regressions tests work.  Remove some code that is no
24292         longer true.
24293         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24294         Disable warning for pads without templates.
24295
24296 2005-04-24  David Schleef  <ds@schleef.org>
24297
24298         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
24299         functions that handle filtered links.
24300         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24301         removed functions.
24302         * gst/gstutils.c: Fix/remove utility functions that handle
24303         filtered caps.
24304         * gst/gstutils.h:
24305         * gst/gstvalue.c: Add serialization/deserialization of caps
24306         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
24307         requires fixing so that the filter caps notation creates
24308         a capsfilter element and sets the filter_caps property.  I
24309         think everyone probably wants to keep the shorthand notation.
24310         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24311         * docs/gst/tmpl/gstpad.sgml:
24312
24313         * gst/elements/gstelements.c: Register capsfilter element.
24314         * gst/Makefile.am: fix spacing
24315         * docs/random/ds/0.9-suggested-changes: random
24316
24317 2005-04-23  David Schleef  <ds@schleef.org>
24318
24319         * gst/elements/Makefile.am:
24320         * gst/elements/gstcapsfilter.c: New element that acts like an
24321         identity, but filters caps.  Will eventually replace filtered
24322         caps in pad linking.
24323         * gst/gstutils.c: (gst_element_create_all_pads): New function
24324         to create all the ALWAYS pads that are registered with an
24325         element class.  This functionality should eventually be
24326         merged in with GstElement initialization.
24327         * gst/gstutils.h:
24328         * testsuite/trigger/README: part of trigger test code that should
24329         have been checked in a long time ago.
24330
24331 2005-04-23  David Schleef  <ds@schleef.org>
24332
24333         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
24334         needed with new versions of libtool (nobody will confirm this),
24335         and hard to carry around.
24336         * gst/autoplug/Makefile.am:
24337         * gst/base/Makefile.am:
24338         * gst/elements/Makefile.am:
24339         * gst/indexers/Makefile.am:
24340         * gst/schedulers/Makefile.am:
24341         * libs/gst/bytestream/Makefile.am:
24342         * libs/gst/control/Makefile.am:
24343         * libs/gst/dataprotocol/Makefile.am:
24344         * libs/gst/getbits/Makefile.am:
24345
24346 2005-04-21  Wim Taymans  <wim@fluendo.com>
24347
24348         * docs/design/draft-push-pull.txt:
24349         * docs/design/part-MT-refcounting.txt:
24350         * docs/design/part-TODO.txt:
24351         * docs/design/part-caps.txt:
24352         * docs/design/part-events.txt:
24353         * docs/design/part-gstbus.txt:
24354         * docs/design/part-gstpipeline.txt:
24355         * docs/design/part-messages.txt:
24356         * docs/design/part-push-pull.txt:
24357         * docs/design/part-query.txt:
24358         Some more docs.
24359
24360 2005-04-21  Wim Taymans  <wim@fluendo.com>
24361
24362         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24363         (gst_message_new), (gst_message_new_error),
24364         (gst_message_new_warning), (gst_message_new_tag),
24365         (gst_message_new_state_changed), (gst_message_new_application),
24366         (gst_message_get_structure):
24367         * gst/gstmessage.h:
24368         * gst/gststructure.c: (gst_structure_set_parent_refcount),
24369         (gst_structure_copy_conditional):
24370         Use parent refcount in GstMessage to ensure GstStructure
24371         consistency.
24372         Cleaned up headers a bit.
24373         
24374
24375 2005-04-20  Wim Taymans  <wim@fluendo.com>
24376
24377         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24378         (gst_basesink_pad_getcaps), (gst_basesink_init),
24379         (gst_basesink_chain_unlocked):
24380         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24381         (gst_type_find_helper):
24382         * gst/elements/gsttypefindelement.c:
24383         (gst_type_find_element_have_type), (gst_type_find_element_init),
24384         (stop_typefinding), (gst_type_find_element_handle_event),
24385         (find_suggest), (gst_type_find_element_chain),
24386         (gst_type_find_element_checkgetrange),
24387         (gst_type_find_element_getrange), (do_typefind),
24388         (gst_type_find_element_activate):
24389         * gst/gstbuffer.c: (_gst_buffer_sub_free),
24390         (gst_buffer_default_free), (gst_buffer_default_copy),
24391         (gst_buffer_set_caps):
24392         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
24393         (gst_caps_replace):
24394         * gst/gstmessage.c: (gst_message_new),
24395         (gst_message_new_state_changed):
24396         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24397         (gst_pad_set_checkgetrange_function),
24398         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
24399         (gst_pad_set_caps), (gst_pad_check_pull_range),
24400         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
24401         * gst/gstpad.h:
24402         * gst/gsttypefind.c: (gst_type_find_register):
24403         Make gst_caps_replace() work like other _replace() functions.
24404         Use _caps_replace() where possible.
24405         Make sure _message_new() initialises its field.
24406         Add gst_static_pad_template_get_caps()
24407
24408
24409 2005-04-18  Andy Wingo  <wingo@pobox.com>
24410
24411         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
24412         on the peer, not the pad. I think that was a typo. Pass an extra
24413         arg to see if random access is possible. Activate the pads as
24414         PULL_RANGE if possible.
24415
24416         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
24417
24418         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
24419         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
24420         to PROP_....
24421
24422 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24423
24424         * docs/faq/using.xml:
24425           Add note on gstreamer-properties (#154996).
24426
24427 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24428
24429         * docs/random/bbb/optional-properties:
24430           Some analysis on optional properties.
24431
24432 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24433
24434         * docs/gst/tmpl/gstelementfactory.sgml:
24435         * gst/gstelement.h:
24436         * gst/gstelementfactory.c: (gst_element_factory_init),
24437         (gst_element_factory_cleanup), (gst_element_register),
24438         (__gst_element_factory_add_static_pad_template),
24439         (gst_element_factory_get_static_pad_templates),
24440         (gst_element_factory_can_src_caps),
24441         (gst_element_factory_can_sink_caps):
24442         * gst/registries/Makefile.am:
24443         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
24444         (gst_xml_registry_class_init), (gst_xml_registry_init),
24445         (gst_xml_registry_new), (gst_xml_registry_set_property),
24446         (gst_xml_registry_get_property), (get_time), (make_dir),
24447         (gst_xml_registry_get_perms_func),
24448         (plugin_times_older_than_recurse), (plugin_times_older_than),
24449         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
24450         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
24451         (add_to_char_array), (read_string), (read_uint), (read_enum),
24452         (load_pad_template), (load_feature), (load_plugin), (load_paths),
24453         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
24454         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
24455         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
24456         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
24457         (gst_xml_registry_rebuild):
24458         * gst/registries/gstlibxmlregistry.h:
24459         * tools/gst-compprep.c: (main):
24460         * tools/gst-inspect.c: (print_pad_templates_info):
24461         * tools/gst-xmlinspect.c: (print_element_info):
24462           Use libxml2 for registry parsing, use staticpadtemplates in
24463           elementfactories. Makes gst_init() +/- 10x faster.
24464
24465 2005-04-12  Wim Taymans  <wim@fluendo.com>
24466
24467         * gst/base/Makefile.am:
24468         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24469         (gst_basesink_pad_getcaps), (gst_basesink_init),
24470         (gst_basesink_event), (gst_basesink_change_state):
24471         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24472         (gst_basesrc_init), (gst_basesrc_query),
24473         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24474         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24475         (gst_basesrc_check_get_range), (gst_basesrc_loop),
24476         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24477         (gst_basesrc_stop), (gst_basesrc_activate),
24478         (gst_basesrc_change_state):
24479         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24480         (helper_find_suggest), (gst_type_find_helper):
24481         * gst/base/gsttypefindhelper.h:
24482         * gst/elements/Makefile.am:
24483         * gst/elements/gstelements.c:
24484         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24485         (gst_fakesink_get_times), (gst_fakesink_event),
24486         (gst_fakesink_preroll), (gst_fakesink_render):
24487         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24488         (gst_fakesrc_init), (gst_fakesrc_event_handler),
24489         (gst_fakesrc_get_property), (gst_fakesrc_create),
24490         (gst_fakesrc_start), (gst_fakesrc_stop):
24491         * gst/elements/gstfakesrc.h:
24492         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
24493         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24494         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24495         (gst_filesrc_create_read), (gst_filesrc_create),
24496         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
24497         (gst_filesrc_start):
24498         * gst/elements/gsttypefindelement.c:
24499         (gst_type_find_element_have_type), (gst_type_find_element_init),
24500         (start_typefinding), (stop_typefinding), (push_buffer_store),
24501         (gst_type_find_element_handle_event),
24502         (gst_type_find_element_chain),
24503         (gst_type_find_element_checkgetrange),
24504         (gst_type_find_element_getrange), (do_typefind),
24505         (gst_type_find_element_activate),
24506         (gst_type_find_element_change_state):
24507         * gst/elements/gsttypefindelement.h:
24508         * gst/gstpipeline.c: (pipeline_bus_handler):
24509         Added typefind helper.
24510         Small preroll fix in the base sink.
24511         Disable typefind code in basesrc.
24512         Crude port of typefindelement.
24513         Fakesrc cleanups.
24514
24515
24516 2005-04-11  Wim Taymans  <wim@fluendo.com>
24517
24518         * check/gst/gstbus.c: (gstbus_suite):
24519         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24520         * check/gstcheck.h:
24521           Fix up the timeout so that the test does not fail.
24522
24523 2005-04-06  Wim Taymans  <wim@fluendo.com>
24524
24525         * gst/base/README:
24526         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24527         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24528         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24529         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24530         (gst_basesrc_check_get_range), (gst_basesrc_loop),
24531         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24532         (gst_basesrc_stop), (gst_basesrc_activate),
24533         (gst_basesrc_change_state), (basesrc_find_peek),
24534         (basesrc_find_suggest), (gst_basesrc_type_find):
24535         * gst/base/gstbasesrc.h:
24536         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24537         (gst_filesrc_class_init), (gst_filesrc_init),
24538         (gst_filesrc_finalize), (gst_filesrc_set_location),
24539         (gst_filesrc_set_property), (gst_filesrc_get_property),
24540         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24541         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24542         (gst_filesrc_create_read), (gst_filesrc_create),
24543         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24544         * gst/elements/gstfilesrc.h:
24545         * gst/gstelement.c: (gst_element_get_state_func),
24546         (gst_element_lost_state), (gst_element_pads_activate):
24547         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24548         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24549         (gst_pad_pull_range):
24550         * gst/gstpad.h:
24551         More work on the generic source base class, implement seeking,
24552         query.
24553         Make filesrc extend the base source class.
24554         Added gst_pad_set_checkgetrange_function to GstPad.
24555
24556 2005-04-06  Andy Wingo  <wingo@pobox.com>
24557
24558         * pkgconfig/gstreamer-base.pc.in:
24559         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24560
24561         * pkgconfig/Makefile.am:
24562         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24563
24564 2005-04-04  Wim Taymans  <wim@fluendo.com>
24565
24566         * gst/base/Makefile.am:
24567         * gst/base/README:
24568         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24569         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24570         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24571         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24572         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24573         (gst_basesrc_base_init), (gst_basesrc_class_init),
24574         (gst_basesrc_init), (gst_basesrc_get_formats),
24575         (gst_basesrc_get_query_types), (gst_basesrc_query),
24576         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24577         (gst_basesrc_set_property), (gst_basesrc_get_property),
24578         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24579         (gst_basesrc_loop), (gst_basesrc_activate),
24580         (gst_basesrc_change_state):
24581         * gst/base/gstbasesrc.h:
24582         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24583         (gst_fakesrc_class_init), (gst_fakesrc_init),
24584         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24585         (gst_fakesrc_get_property), (gst_fakesrc_create):
24586         * gst/elements/gstfakesrc.h:
24587         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24588         (gst_filesrc_open_file), (gst_filesrc_loop),
24589         (gst_filesrc_activate), (filesrc_find_peek),
24590         (gst_filesrc_type_find):
24591         Made base source class, make fakesrc extend it.
24592         Add comments to basesink class.
24593         Some filesrc cleanup.
24594
24595 2005-03-31  David Schleef  <ds@schleef.org>
24596
24597         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24598         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24599         expected to link against libgstreamer.
24600         * gst/base/Makefile.am: link against libgstreamer
24601         * gst/elements/Makefile.am: same
24602
24603 2005-03-31  Andy Wingo  <wingo@pobox.com>
24604
24605         * tests/instantiate/Makefile.am:
24606         * tests/instantiate/caps.c: Add test to test speed of caps copy
24607         and free.
24608
24609         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24610         GMemChunk to be fair.
24611
24612         * gst/gsttrashstack.h: Remove warning about using the fallback
24613         trash stack implementation, it's still faster than malloc.
24614
24615 2005-03-30  Andy Wingo  <wingo@pobox.com>
24616
24617         * tests/complexity.c: Add a copyright.
24618
24619 2005-03-31  Wim Taymans  <wim@fluendo.com>
24620
24621         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24622         (gst_base_transform_class_init), (gst_base_transform_init),
24623         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24624         (gst_base_transform_get_property),
24625         (gst_base_transform_sink_activate),
24626         (gst_base_transform_src_activate),
24627         (gst_base_transform_change_state):
24628         * gst/base/gstbasetransform.h:
24629         * gst/elements/gstidentity.c: (gst_identity_class_init),
24630         (gst_identity_event), (gst_identity_check_perfect),
24631         (gst_identity_transform), (gst_identity_start),
24632         (gst_identity_stop):
24633         Added start/stop methods to transform base class so subclasses 
24634         don't need to deal with state changes even.
24635
24636 2005-03-31  Wim Taymans  <wim@fluendo.com>
24637
24638         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24639         (gst_event_new_discontinuous), (gst_event_discont_get_value):
24640         * gst/gstevent.h:
24641         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24642         (gst_pad_pull_range):
24643         Added rate to the discont event to prepare for variable speed
24644         and reverse playback.
24645
24646 2005-03-29  David Schleef  <ds@schleef.org>
24647
24648         * configure.ac:
24649         * testsuite/trigger/Makefile.am:
24650         * testsuite/trigger/trigger.c: A little example program to show
24651         how trigger-based elements can work.
24652
24653 2005-03-29  Wim Taymans  <wim@fluendo.com>
24654
24655         * gst/base/Makefile.am:
24656         * gst/base/README:
24657         * gst/base/gstbasesink.c: (gst_basesink_get_type),
24658         (gst_basesink_base_init), (gst_basesink_class_init),
24659         (gst_basesink_pad_getcaps), (gst_basesink_init),
24660         (gst_basesink_activate), (gst_basesink_change_state):
24661         * gst/base/gstbasesink.h:
24662         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24663         (gst_base_transform_base_init), (gst_base_transform_finalize),
24664         (gst_base_transform_class_init), (gst_base_transform_init),
24665         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24666         (gst_base_transform_event), (gst_base_transform_getrange),
24667         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24668         (gst_base_transform_set_property),
24669         (gst_base_transform_get_property),
24670         (gst_base_transform_sink_activate),
24671         (gst_base_transform_src_activate),
24672         (gst_base_transform_change_state):
24673         * gst/base/gstbasetransform.h:
24674         * gst/elements/gstidentity.c: (gst_identity_finalize),
24675         (gst_identity_class_init), (gst_identity_init),
24676         (gst_identity_event), (gst_identity_check_perfect),
24677         (gst_identity_transform), (gst_identity_set_property),
24678         (gst_identity_get_property), (gst_identity_change_state):
24679         * gst/elements/gstidentity.h:
24680         * gst/gstelement.c: (gst_element_get_state_func),
24681         (gst_element_lost_state), (gst_element_pads_activate):
24682         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24683         (gst_pad_check_pull_range), (gst_pad_pull_range):
24684         * gst/gstpad.h:
24685         Simplify pad activation.
24686         Added function to check if pull_range can be performed.
24687         Error out when pulling inactive or flushing pads.
24688         Removed const from refcounted types as it does not make sense.
24689         Simplify pad templates in basesink
24690         Added base class for simple 1-to-1 transforms.
24691         Make identity subclass the base transform.
24692
24693 2005-03-29  Andy Wingo  <wingo@pobox.com>
24694
24695         * docs/libs/gstreamer-libs-overrides.txt: 
24696         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24697         really don't understand what's going on, but like whatever. I want
24698         green buildbot!
24699
24700         * docs/gst/Makefile.am:
24701         * docs/libs/Makefile.am: Dist the overrides files.
24702
24703         * check/Makefile.am (clean-local): Remove .libs directories.
24704
24705         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24706         elements to EXTRA_DIST, so po/ files are happy.
24707
24708         * po/POTFILES.in: Er, remove it here.
24709
24710         * po/POTFILES: Remove gstspider.c.
24711
24712         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
24713
24714         * docs/libs/gstreamer-libs-docs.sgml: 
24715         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
24716         bytestream.
24717
24718         * tests/complexity.c (main): Set the length of the preroll queue
24719         on the sinks to prevent a lockup.
24720
24721         * libs/gst/dataprotocol/Makefile.am: 
24722         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
24723         the same as the one in check/gst-libs/gdp.c.
24724
24725         * po/, docs/gst/: Commit automatic changes to docs and po files.
24726
24727         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
24728         the versioned libgstbase.
24729
24730         * check/Makefile.am: Depend on an unversioned gst-register, seems
24731         to make autoconf happier.
24732
24733         * gst/base/Makefile.am: Make libgstbase a versioned lib.
24734
24735 2005-03-28  Wim Taymans  <wim@fluendo.com>
24736
24737         * configure.ac:
24738         * docs/design/part-gstelement.txt:
24739         * docs/design/part-negotiation.txt:
24740         * docs/design/part-preroll.txt:
24741         * docs/design/part-scheduling.txt:
24742         * docs/design/part-states.txt:
24743         * gst/Makefile.am:
24744         * gst/base/Makefile.am:
24745         * gst/base/README:
24746         * gst/base/gstbasesink.c: (gst_basesink_get_template),
24747         (gst_basesink_base_init), (gst_basesink_class_init),
24748         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24749         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24750         (gst_basesink_set_pad_functions),
24751         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
24752         (gst_basesink_set_property), (gst_basesink_get_property),
24753         (gst_base_sink_get_template), (gst_base_sink_get_caps),
24754         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
24755         (gst_basesink_preroll_queue_push),
24756         (gst_basesink_preroll_queue_empty),
24757         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
24758         (gst_basesink_event), (gst_basesink_get_times),
24759         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
24760         (gst_basesink_chain_unlocked), (gst_basesink_chain),
24761         (gst_basesink_loop), (gst_basesink_activate),
24762         (gst_basesink_change_state):
24763         * gst/base/gstbasesink.h:
24764         * gst/elements/Makefile.am:
24765         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
24766         (gst_fakesink_class_init), (gst_fakesink_init),
24767         (gst_fakesink_set_property), (gst_fakesink_get_property),
24768         (gst_fakesink_get_times), (gst_fakesink_event),
24769         (gst_fakesink_preroll), (gst_fakesink_render),
24770         (gst_fakesink_change_state):
24771         * gst/elements/gstfakesink.h:
24772         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24773         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
24774         * gst/gstelement.c: (gst_element_add_pad),
24775         (gst_element_get_state_func), (gst_element_abort_state),
24776         (gst_element_commit_state), (gst_element_lost_state),
24777         (gst_element_set_state), (gst_element_pads_activate):
24778         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
24779         * gst/gstpipeline.c: (gst_pipeline_send_event),
24780         (gst_pipeline_change_state):
24781         Added state change code.
24782         Added/updated docs.
24783         Added sink base class, make fakesink extend the base class.
24784         Small cleanups in GstPipeline.
24785
24786 2005-03-26  David Schleef  <ds@schleef.org>
24787
24788         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
24789         is broken and should be implemented in a different library.
24790         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
24791         * gst/gst.h: remove gstcpu.h
24792         * gst/gstcpu.c: remove
24793         * gst/gstcpu.h: remove
24794         * gst/Makefile.am.future: Remove this file.  It's ancient.
24795
24796 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24797
24798         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24799         (gst_bin_send_event):
24800           Add default event/set_manager handlers. The set_manager handler
24801           takes care that the manager is distributed over kids that were
24802           already in the bin before the manager was set. The event handler
24803           is a utility virtual function that sends the event over all sinks,
24804           so that gst_element_send_event (bin, event); has the expected
24805           behaviour.
24806         * gst/gstpad.c: (gst_pad_event_default):
24807           Re-install default event handling for discontinuities, so that
24808           seeking works without requiring hacks in applications or extra
24809           code in sinks.
24810         * gst/gstpipeline.c: (gst_pipeline_class_init),
24811         (gst_pipeline_send_event):
24812           Half hack, half utility: set a pipeline to PAUSED for seek events,
24813           since that is the only way we can guarantee a/v sync. Means that
24814           you can do gst_element_seek (pipeline, method, pos); on a pipeline
24815           and it "just works".
24816
24817 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24818
24819         * gst/gstpipeline.c: (gst_pipeline_use_clock):
24820           Lock/unlock mismatch.
24821
24822 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24823
24824         * docs/faq/gst-uninstalled:
24825           add gst-plugins-base
24826         * docs/gst/Makefile.am:
24827           don't error out until docs are fixed
24828         * docs/gst/gstreamer.types:
24829           remove thread
24830
24831 2005-03-22  Wim Taymans  <wim@fluendo.com>
24832
24833         * check/Makefile.am:
24834         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24835         * gst/gststructure.c: (gst_structure_set_valist),
24836         (gst_structure_copy_conditional):
24837         Activated more tests.
24838         Added message test.
24839         Added G_TYPE_POINTER to GstStructure.
24840         
24841
24842 2005-03-22  Wim Taymans  <wim@fluendo.com>
24843
24844         * docs/design/part-TODO.txt:
24845         * docs/design/part-events.txt:
24846         * docs/design/part-gstbin.txt:
24847         * docs/design/part-gstbus.txt:
24848         * docs/design/part-gstpipeline.txt:
24849         * docs/design/part-messages.txt:
24850         * gst/gstbus.c:
24851         * gst/gstmessage.c:
24852         Docs updates
24853
24854 2005-03-21  Wim Taymans  <wim@fluendo.com>
24855
24856         * gst/gstbus.c: (gst_bus_post):
24857         Fix copy-and-paste error.
24858
24859 2005-03-21  Wim Taymans  <wim@fluendo.com>
24860
24861         * check/Makefile.am:
24862         * gst/Makefile.am:
24863         * gst/elements/Makefile.am:
24864         * gst/elements/gstelements.c:
24865         * gst/elements/gstfakesink.c: (gst_fakesink_init),
24866         (gst_fakesink_event), (gst_fakesink_chain):
24867         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24868         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24869         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24870         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24871         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24872         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24873         (gst_fakesrc_loop), (gst_fakesrc_activate),
24874         (gst_fakesrc_change_state):
24875         * gst/elements/gstfakesrc.h:
24876         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24877         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24878         (gst_filesrc_open_file), (gst_filesrc_loop),
24879         (gst_filesrc_activate), (gst_filesrc_change_state),
24880         (filesrc_find_peek), (filesrc_find_suggest),
24881         (gst_filesrc_type_find):
24882         * gst/elements/gstidentity.c: (gst_identity_finalize),
24883         (gst_identity_class_init), (gst_identity_init),
24884         (gst_identity_proxy_getcaps), (identity_queue_push),
24885         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24886         (gst_identity_getrange), (gst_identity_chain),
24887         (gst_identity_sink_loop), (gst_identity_src_loop),
24888         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24889         (gst_identity_set_property), (gst_identity_get_property),
24890         (gst_identity_change_state):
24891         * gst/elements/gstidentity.h:
24892         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24893         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24894         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24895         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24896         (gst_tee_sink_activate):
24897         * gst/elements/gsttee.h:
24898         * gst/gst.c: (gst_register_core_elements), (init_post):
24899         * gst/gst.h:
24900         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24901         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24902         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24903         (gst_bin_change_state):
24904         * gst/gstbin.h:
24905         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24906         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24907         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24908         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24909         (gst_bus_set_sync_handler), (gst_bus_create_watch),
24910         (bus_watch_callback), (bus_watch_destroy),
24911         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24912         (poll_timeout), (gst_bus_poll):
24913         * gst/gstbus.h:
24914         * gst/gstcaps.h:
24915         * gst/gstdata.h:
24916         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24917         (gst_element_post_message), (gst_element_message_full),
24918         (gst_element_get_state_func), (gst_element_get_state),
24919         (gst_element_abort_state), (gst_element_commit_state),
24920         (gst_element_lost_state), (gst_element_set_state),
24921         (gst_element_pads_activate), (gst_element_change_state),
24922         (gst_element_dispose), (gst_element_set_manager_func),
24923         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24924         (gst_element_set_manager), (gst_element_get_manager),
24925         (gst_element_set_bus), (gst_element_get_bus),
24926         (gst_element_set_scheduler), (gst_element_get_scheduler):
24927         * gst/gstelement.h:
24928         * gst/gstevent.c: (gst_event_new_segment_seek),
24929         (gst_event_new_flush):
24930         * gst/gstevent.h:
24931         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24932         (_gst_message_free), (gst_message_get_type), (gst_message_new),
24933         (gst_message_new_eos), (gst_message_new_error),
24934         (gst_message_new_warning), (gst_message_new_tag),
24935         (gst_message_new_state_changed), (gst_message_new_application),
24936         (gst_message_get_structure), (gst_message_parse_tag),
24937         (gst_message_parse_state_changed), (gst_message_parse_error),
24938         (gst_message_parse_warning):
24939         * gst/gstmessage.h:
24940         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24941         (gst_real_pad_set_property), (gst_pad_set_active),
24942         (gst_pad_is_active), (gst_pad_set_blocked_async),
24943         (gst_pad_set_blocked), (gst_pad_is_blocked),
24944         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24945         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24946         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24947         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24948         (gst_pad_link_filtered), (gst_pad_relink_filtered),
24949         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24950         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24951         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24952         (gst_pad_set_caps), (gst_pad_configure_sink),
24953         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24954         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24955         (gst_real_pad_dispose), (gst_real_pad_finalize),
24956         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24957         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24958         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24959         * gst/gstpad.h:
24960         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24961         (pipeline_bus_handler), (gst_pipeline_change_state),
24962         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24963         * gst/gstpipeline.h:
24964         * gst/gstprobe.h:
24965         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24966         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24967         (gst_queue_link_src), (gst_queue_bufferalloc),
24968         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24969         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24970         (gst_queue_loop), (gst_queue_handle_src_event),
24971         (gst_queue_handle_src_query), (gst_queue_src_activate),
24972         (gst_queue_change_state):
24973         * gst/gstqueue.h:
24974         * gst/gstscheduler.c: (gst_scheduler_init),
24975         (gst_scheduler_dispose), (gst_scheduler_create_task),
24976         (gst_scheduler_factory_create):
24977         * gst/gstscheduler.h:
24978         * gst/gststructure.c: (gst_structure_get_type),
24979         (gst_structure_copy_conditional):
24980         * gst/gststructure.h:
24981         * gst/gsttaginterface.h:
24982         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24983         (gst_task_init), (gst_task_dispose), (gst_task_create),
24984         (gst_task_get_state), (gst_task_start), (gst_task_stop),
24985         (gst_task_pause):
24986         * gst/gsttask.h:
24987         * gst/gstthread.c:
24988         * gst/gstthread.h:
24989         * gst/gsttypes.h:
24990         * gst/schedulers/Makefile.am:
24991         * gst/schedulers/cothreads_compat.h:
24992         * gst/schedulers/entryscheduler.c:
24993         * gst/schedulers/faircothreads.c:
24994         * gst/schedulers/faircothreads.h:
24995         * gst/schedulers/fairscheduler.c:
24996         * gst/schedulers/gstbasicscheduler.c:
24997         * gst/schedulers/gstoptimalscheduler.c:
24998         * gst/schedulers/gthread-cothreads.h:
24999         * gst/schedulers/threadscheduler.c:
25000         (gst_thread_scheduler_task_get_type),
25001         (gst_thread_scheduler_task_class_init),
25002         (gst_thread_scheduler_task_init),
25003         (gst_thread_scheduler_task_start),
25004         (gst_thread_scheduler_task_stop),
25005         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25006         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25007         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25008         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25009         (plugin_init):
25010         * libs/gst/Makefile.am:
25011         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25012         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25013         (gst_file_pad_parent_set):
25014         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25015         (gst_dp_event_from_packet):
25016         * tests/complexity.c: (main):
25017         * tests/mass_elements.c: (main):
25018         * testsuite/states/locked.c: (message_received), (main):
25019         * testsuite/states/parent.c: (main):
25020         * tools/gst-inspect.c: (print_element_flag_info),
25021         (print_implementation_info), (print_pad_info):
25022         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25023         (main):
25024         * tools/gst-md5sum.c: (event_loop), (main):
25025         * tools/gst-typefind.c: (main):
25026         * tools/gst-xmlinspect.c: (print_element_info):
25027         Next big merge.
25028         Added GstBus for mainloop integration.
25029         Added GstMessage for sending notifications on the bus.
25030         Added GstTask as an abstraction for pipeline entry points.
25031         Removed GstThread.
25032         Removed Schedulers.
25033         Simplified GstQueue for multithreaded core.
25034         Made _link threadsafe, removed old capsnego.
25035         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25036         Added pad blocking functions.
25037         Reworked scheduling functions in GstPad to prepare for
25038         scheduling updates soon.
25039         Moved events out of data stream.
25040         Simplified GstEvent types.
25041         Added return values to push/pull.
25042         Removed clocking from GstElement.
25043         Added prototypes for state change function for next merge.
25044         Removed iterate from bins and state change management.
25045         Fixed some elements, disabled others for now.
25046         Fixed -inspect and -launch.
25047         Added check for GstBus.
25048
25049 2005-03-10  Wim Taymans  <wim@fluendo.com>
25050
25051         * docs/design/part-MT-refcounting.txt:
25052         * docs/design/part-clocks.txt:
25053         * docs/design/part-gstelement.txt:
25054         * docs/design/part-gstobject.txt:
25055         * docs/design/part-standards.txt:
25056         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25057         (gst_bin_remove_func), (gst_bin_remove):
25058         * gst/gstbin.h:
25059         * gst/gstbuffer.c:
25060         * gst/gstcaps.h:
25061         * testsuite/clock/clock1.c: (main):
25062         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25063         (main):
25064         * testsuite/dlopen/loadgst.c: (do_test):
25065         * testsuite/refcounting/bin.c: (add_remove_test1),
25066         (add_remove_test2), (main):
25067         * testsuite/refcounting/element.c: (main):
25068         * testsuite/refcounting/element_pad.c: (main):
25069         * testsuite/refcounting/pad.c: (main):
25070         * tools/gst-launch.c: (sigint_handler_sighandler):
25071         * tools/gst-typefind.c: (main):
25072         Doc updates.
25073         Added doc about clock.
25074         removed gst_bin_iterate_recurse_up(), marked methods
25075         for removal.
25076         Fix more testsuites.
25077
25078 2005-03-09  Wim Taymans  <wim@fluendo.com>
25079
25080         * gst/gstpad.c: (gst_pad_get_direction),
25081         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25082         (gst_pad_collect_valist):
25083         * testsuite/bins/interface.c: (main):
25084         * testsuite/caps/audioscale.c: (test_caps):
25085         * testsuite/caps/caps.c: (test1), (test2), (test3):
25086         * testsuite/caps/deserialize.c: (main):
25087         * testsuite/caps/enumcaps.c: (main):
25088         * testsuite/caps/filtercaps.c: (main):
25089         * testsuite/caps/intersect2.c: (main):
25090         * testsuite/caps/random.c: (main):
25091         * testsuite/caps/renegotiate.c: (my_fixate), (main):
25092         * testsuite/caps/sets.c: (check_caps):
25093         * testsuite/caps/simplify.c: (check_caps), (main):
25094         * testsuite/caps/subtract.c: (check_caps):
25095         Fix _pad_get_direction wrt ghostpads.
25096         Fix caps testsuite.
25097
25098 2005-03-09  Wim Taymans  <wim@fluendo.com>
25099
25100         * check/Makefile.am:
25101         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25102         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25103         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25104         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25105         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25106         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25107         (gst_bin_remove), (gst_bin_iterate_recurse_up),
25108         (bin_element_is_sink), (gst_bin_iterate_sinks),
25109         (gst_bin_iterate_all_by_interface):
25110         * gst/gstbin.h:
25111         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25112         (gst_element_change_state), (gst_element_dispose),
25113         (gst_element_finalize), (gst_element_set_loop_function):
25114         * gst/gstelement.h:
25115         * gst/gstiterator.c: (find_custom_fold_func):
25116         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25117         (gst_pad_collectv), (gst_pad_collect_valist),
25118         (gst_pad_template_new):
25119         * gst/gstpipeline.c: (gst_pipeline_class_init),
25120         (gst_pipeline_dispose), (gst_pipeline_set_property),
25121         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25122         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25123         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25124         * gst/gstutils.h:
25125         * gst/schedulers/entryscheduler.c:
25126         * gst/schedulers/gstbasicscheduler.c:
25127         (gst_basic_scheduler_cothreaded_chain),
25128         (gst_basic_scheduler_chain_add_element):
25129         * testsuite/bins/interface.c: (main):
25130         Added GstBin test.
25131         Added GstSystemClock test.
25132         Implemented clock distribution code in GstBin.
25133         Implemented iterate sinks method for future use.
25134         Rearranged gstelement.h
25135         Fix GstIterator comparison bug.
25136         Moved some code to GstPipeline, mostly clocking related.
25137
25138 2005-03-09  Wim Taymans  <wim@fluendo.com>
25139
25140         * configure.ac:
25141         * gst/gst_private.h:
25142         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25143         (gst_bin_remove_func), (gst_bin_remove),
25144         (gst_bin_get_by_name_recurse_up):
25145         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25146         (gst_clock_id_compare_func), (gst_clock_id_wait),
25147         (gst_clock_id_wait_async), (gst_clock_init),
25148         (gst_clock_adjust_unlocked), (gst_clock_get_time):
25149         * gst/gstelement.h:
25150         * gst/gstinfo.c: (_gst_debug_init):
25151         * gst/gstobject.h:
25152         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25153         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25154         * gst/gstpad.h:
25155         Bump version number, we're now 0.9.0
25156         Add future debugging category.
25157         Fix NULL _unref() in _get_by_name_recurse_up
25158         Rearrange gstpad.h.
25159         Update some docs.
25160
25161 2005-03-08  Wim Taymans  <wim@fluendo.com>
25162
25163         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25164         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25165         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25166         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25167         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25168         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25169         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25170         * gst/elements/gstidentity.c: (gst_identity_class_init):
25171         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25172         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25173         * gst/elements/gstshaper.c: (gst_shaper_class_init):
25174         * gst/elements/gststatistics.c: (gst_statistics_class_init):
25175         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25176         (gst_tee_link):
25177         * gst/gstelement.c: (gst_element_class_init),
25178         (gst_element_base_class_init), (gst_element_init),
25179         (gst_element_get_random_pad), (gst_element_wait_state_change),
25180         (gst_element_change_state), (gst_element_dispose),
25181         (gst_element_finalize), (gst_element_set_loop_function):
25182         * gst/gstelement.h:
25183         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25184         * gst/gstthread.c: (gst_thread_class_init),
25185         (gst_thread_release_children_locks), (gst_thread_change_state):
25186         * gst/schedulers/gstbasicscheduler.c:
25187         (gst_basic_scheduler_loopfunc_wrapper),
25188         (gst_basic_scheduler_chain_wrapper),
25189         (gst_basic_scheduler_src_wrapper),
25190         (gst_basic_scheduler_remove_element):
25191         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25192         Remove threadsafe properties. Fix elements because GObject
25193         complains when installing a property before declaring a
25194         set/get_property handler.
25195         Rearrange gstelement.h file, use STATE macros for state locks.
25196         Free mutexes in the finalize method instead of dispose.
25197
25198 2005-03-08  Wim Taymans  <wim@fluendo.com>
25199
25200         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25201         * gst/gstthread.c: (gst_thread_release_children_locks):
25202         Added parentage check.
25203         Fix build og GstThread again.
25204
25205 2005-03-08  Wim Taymans  <wim@fluendo.com>
25206
25207         * docs/design/part-MT-refcounting.txt:
25208         * docs/design/part-conventions.txt:
25209         * docs/design/part-gstobject.txt:
25210         * docs/design/part-relations.txt:
25211         * docs/design/part-standards.txt:
25212         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25213         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25214         (gst_bin_get_by_name), (gst_bin_get_by_interface),
25215         (gst_bin_iterate_all_by_interface):
25216         * gst/gstbuffer.h:
25217         * gst/gstclock.h:
25218         * gst/gstelement.c: (gst_element_class_init),
25219         (gst_element_change_state), (gst_element_set_loop_function):
25220         * gst/gstelement.h:
25221         * gst/gstiterator.c:
25222         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25223         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25224         (gst_object_dispatch_properties_changed), (gst_object_set_name),
25225         (gst_object_set_parent), (gst_object_unparent),
25226         (gst_object_check_uniqueness):
25227         * gst/gstobject.h:
25228         Docs updates, clean up some headers.
25229
25230 2005-03-07  Wim Taymans  <wim@fluendo.com>
25231
25232         * check/.cvsignore:
25233         * check/Makefile.am:
25234         * check/gst-libs/.cvsignore:
25235         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25236         * check/gst/.cvsignore:
25237         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25238         (START_TEST), (gstbus_suite), (main):
25239         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25240         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25241         (gst_data_suite), (main):
25242         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25243         (add_fold_func), (gstiterator_suite), (main):
25244         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25245         (thread_name_object), (thread_name_object_default),
25246         (gst_object_name_compare), (gst_object_suite), (main):
25247         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25248         (gst_pad_suite), (main):
25249         * check/gstcheck.c: (gst_check_log_message_func),
25250         (gst_check_log_critical_func), (gst_check_init):
25251         * check/gstcheck.h:
25252         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25253         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25254         Added checks.
25255
25256 2005-03-07  Wim Taymans  <wim@fluendo.com>
25257
25258         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25259         (gst_list_iterator_next), (gst_list_iterator_resync),
25260         (gst_list_iterator_free), (gst_iterator_new_list),
25261         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25262         (gst_iterator_free), (gst_iterator_push), (filter_next),
25263         (filter_resync), (filter_uninit), (filter_free),
25264         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25265         (gst_iterator_foreach), (find_custom_fold_func),
25266         (gst_iterator_find_custom):
25267         * gst/gstiterator.h:
25268         Added missing files.
25269
25270 2005-03-07  Wim Taymans  <wim@fluendo.com>
25271
25272         * Makefile.am:
25273         * configure.ac:
25274         * docs/design/part-MT-refcounting.txt:
25275         * docs/design/part-conventions.txt:
25276         * docs/design/part-gstobject.txt:
25277         * docs/design/part-relations.txt:
25278         * examples/mixer/mixer.c: (main):
25279         * examples/thread/thread.c: (eos), (main):
25280         * gst/Makefile.am:
25281         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25282         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25283         (gst_spider_plug_from_srcpad):
25284         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25285         (gst_spider_identity_change_state),
25286         (gst_spider_identity_sink_loop_type_finding):
25287         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25288         * gst/elements/gstidentity.c: (gst_identity_init):
25289         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25290         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25291         * gst/elements/gsttypefindelement.c: (free_entry):
25292         * gst/gst.c:
25293         * gst/gst.h:
25294         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25295         (gst_bin_set_clock_func), (gst_bin_auto_clock),
25296         (gst_bin_set_index), (gst_bin_set_element_sched),
25297         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25298         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25299         (gst_bin_iterate_elements), (iterate_child_recurse),
25300         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25301         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25302         (compare_interface), (gst_bin_get_by_interface),
25303         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25304         * gst/gstbin.h:
25305         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25306         (gst_buffer_default_free), (gst_buffer_default_copy),
25307         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25308         (gst_buffer_create_sub):
25309         * gst/gstbuffer.h:
25310         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25311         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25312         (gst_caps_unref), (gst_static_caps_get),
25313         (gst_caps_remove_and_get_structure), (gst_caps_append),
25314         (gst_caps_append_structure), (gst_caps_remove_structure),
25315         (gst_caps_copy_nth), (gst_caps_set_simple),
25316         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25317         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25318         (gst_caps_structure_intersect_field), (gst_caps_intersect),
25319         (gst_caps_structure_subtract_field), (gst_caps_subtract),
25320         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25321         (gst_caps_structure_figure_out_union),
25322         (gst_caps_switch_structures), (gst_caps_do_simplify),
25323         (gst_caps_replace), (gst_caps_from_string),
25324         (gst_caps_copy_conditional):
25325         * gst/gstcaps.h:
25326         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25327         (_gst_clock_id_free), (gst_clock_id_unref),
25328         (gst_clock_id_compare_func), (gst_clock_id_wait),
25329         (gst_clock_id_wait_async), (gst_clock_class_init),
25330         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25331         (gst_clock_get_time), (gst_clock_set_time_adjust),
25332         (gst_clock_set_property), (gst_clock_get_property):
25333         * gst/gstclock.h:
25334         * gst/gstcompat.h:
25335         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25336         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25337         * gst/gstdata.h:
25338         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25339         (gst_element_requires_clock), (gst_element_provides_clock),
25340         (gst_element_set_clock), (gst_element_clock_wait),
25341         (gst_element_wait), (gst_element_set_time_delay),
25342         (gst_element_is_indexable), (gst_element_add_pad),
25343         (gst_element_add_ghost_pad), (gst_element_remove_pad),
25344         (pad_compare_name), (gst_element_get_static_pad),
25345         (gst_element_request_pad), (gst_element_get_request_pad),
25346         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25347         (gst_element_class_get_pad_template_list),
25348         (gst_element_class_get_pad_template), (gst_element_error_func),
25349         (gst_element_get_random_pad), (gst_element_get_event_masks),
25350         (gst_element_send_event), (gst_element_seek),
25351         (gst_element_get_query_types), (gst_element_query),
25352         (gst_element_get_formats), (gst_element_convert),
25353         (gst_element_is_locked_state), (gst_element_set_locked_state),
25354         (gst_element_sync_state_with_parent), (gst_element_change_state),
25355         (gst_element_finalize), (gst_element_yield),
25356         (gst_element_interrupt), (gst_element_set_scheduler),
25357         (gst_element_get_scheduler), (gst_element_set_loop_function):
25358         * gst/gstelement.h:
25359         * gst/gstevent.h:
25360         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25361         (gst_format_get_by_nick), (gst_format_get_details),
25362         (gst_format_iterate_definitions):
25363         * gst/gstformat.h:
25364         * gst/gstindex.c: (gst_index_gtype_resolver):
25365         * gst/gstinfo.c:
25366         * gst/gstinfo.h:
25367         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25368         (gst_mem_chunk_free):
25369         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25370         (gst_object_ref), (gst_object_unref), (gst_object_sink),
25371         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25372         (gst_object_dispatch_properties_changed),
25373         (gst_object_set_name_default), (gst_object_set_name),
25374         (gst_object_get_name), (gst_object_set_name_prefix),
25375         (gst_object_get_name_prefix), (gst_object_set_parent),
25376         (gst_object_get_parent), (gst_object_unparent),
25377         (gst_object_check_uniqueness), (gst_object_save_thyself),
25378         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25379         (gst_object_set_property), (gst_object_get_property),
25380         (gst_object_get_path_string):
25381         * gst/gstobject.h:
25382         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25383         (gst_real_pad_init), (gst_real_pad_get_property),
25384         (gst_pad_custom_new), (gst_pad_get_direction),
25385         (gst_pad_set_active), (gst_pad_is_active),
25386         (gst_pad_set_event_function), (gst_pad_is_linked),
25387         (gst_pad_link_free), (gst_pad_link_intersect),
25388         (gst_pad_link_fixate), (gst_pad_set_caps),
25389         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
25390         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
25391         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
25392         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
25393         (gst_pad_get_caps), (gst_pad_peer_get_caps),
25394         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
25395         (gst_pad_realize), (gst_pad_get_allowed_caps),
25396         (gst_real_pad_dispose), (gst_real_pad_finalize),
25397         (gst_pad_collectv), (gst_pad_collect_valist),
25398         (gst_pad_template_dispose), (gst_pad_template_new),
25399         (gst_pad_get_internal_links):
25400         * gst/gstpad.h:
25401         * gst/gstpipeline.c: (gst_pipeline_dispose),
25402         (gst_pipeline_change_state):
25403         * gst/gstpipeline.h:
25404         * gst/gstplugin.c:
25405         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
25406         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
25407         * gst/gstpluginfeature.h:
25408         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
25409         * gst/gstquery.c: (_gst_query_type_initialize),
25410         (gst_query_type_register), (gst_query_type_get_by_nick),
25411         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
25412         * gst/gstquery.h:
25413         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
25414         * gst/gstscheduler.c: (gst_scheduler_add_element),
25415         (gst_scheduler_factory_create):
25416         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25417         (gst_structure_free), (gst_structure_set_name),
25418         (gst_structure_id_set_value), (gst_structure_set_value),
25419         (gst_structure_set_valist), (gst_structure_remove_field),
25420         (gst_structure_remove_fields),
25421         (gst_structure_remove_fields_valist),
25422         (gst_structure_remove_all_fields), (gst_structure_foreach),
25423         (gst_structure_map_in_place),
25424         (gst_caps_structure_fixate_field_nearest_int),
25425         (gst_caps_structure_fixate_field_nearest_double):
25426         * gst/gststructure.h:
25427         * gst/gstsystemclock.c: (gst_system_clock_class_init),
25428         (gst_system_clock_init), (gst_system_clock_dispose),
25429         (gst_system_clock_async_thread),
25430         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
25431         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
25432         * gst/gstsystemclock.h:
25433         * gst/gsttag.c: (gst_tag_list_add_value_internal),
25434         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
25435         * gst/gsttaginterface.c:
25436         * gst/gstthread.c: (gst_thread_dispose),
25437         (gst_thread_release_children_locks), (gst_thread_change_state),
25438         (gst_thread_main_loop):
25439         * gst/gsttrashstack.h:
25440         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
25441         * gst/gsttypes.h:
25442         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25443         (gst_element_request_pad), (gst_element_get_pad_from_template),
25444         (gst_element_request_compatible_pad),
25445         (gst_element_get_compatible_pad_filtered),
25446         (gst_element_get_compatible_pad), (gst_element_state_get_name),
25447         (gst_element_link_pads_filtered), (gst_element_link_filtered),
25448         (gst_element_link_many), (gst_element_link),
25449         (gst_element_link_pads), (gst_element_unlink_pads),
25450         (gst_element_unlink_many), (gst_element_unlink),
25451         (gst_pad_can_link_filtered), (gst_pad_can_link),
25452         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
25453         (gst_object_default_error), (gst_bin_add_many),
25454         (gst_bin_remove_many), (gst_element_populate_std_props),
25455         (gst_element_class_install_std_props), (gst_buffer_merge),
25456         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
25457         (link_fold_func), (gst_pad_proxy_setcaps):
25458         * gst/gstutils.h:
25459         * gst/gstvalue.c: (gst_value_deserialize_string):
25460         * gst/parse/grammar.y:
25461         * gst/schedulers/gstbasicscheduler.c:
25462         (gst_basic_scheduler_cothreaded_chain),
25463         (gst_basic_scheduler_chain_recursive_add),
25464         (gst_basic_scheduler_pad_link):
25465         * gst/schedulers/gstoptimalscheduler.c:
25466         (get_group_schedule_function),
25467         (gst_opt_scheduler_state_transition),
25468         (gst_opt_scheduler_add_element), (element_get_reachables_func):
25469         * libs/gst/bytestream/bytestream.c:
25470         * libs/gst/dataprotocol/dataprotocol.c:
25471         (gst_dp_header_from_buffer):
25472         * po/nb.po:
25473         * po/ru.po:
25474         * tests/threadstate/threadstate2.c: (eos):
25475         * tools/gst-compprep.c: (main):
25476         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
25477         (print_pad_info), (print_children_info):
25478         * tools/gst-launch.c: (idle_func), (main):
25479         * tools/gst-md5sum.c: (idle_func), (main):
25480         * tools/gst-xmlinspect.c: (print_element_info):
25481         First THREADED backport attempt, focusing on adding locks and
25482         making sure the API is threadsafe. Needs more work. More docs
25483         follow this week.
25484
25485 2005-02-24  Andy Wingo  <wingo@pobox.com>
25486
25487         * tests/bench-complexity.scm:
25488         * tests/complexity.gnuplot: New files, good for running complexity
25489         benchmarks.
25490
25491         * tests/Makefile.am:
25492         * tests/complexity.c: New test, sets up N elements, at each level
25493         teeing into M streams per element. Eeeenteresting.
25494
25495         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
25496         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
25497         running bench-mass_elements.scm.
25498
25499         * tests/bench-mass_elements.scm: New script, runs mass_elements
25500         for various numbers of identities, outputting the results to a
25501         file. Requires guile 1.6. Just for testing.
25502
25503 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
25504
25505         * gst/schedulers/fairscheduler.c:
25506           compile with debug disabled
25507
25508 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25509
25510         * configure.ac:
25511           hunting season on 0.9 is now OPEN