API: add gst_bus_pop_filtered
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * docs/gst/gstreamer-sections.txt:
4         * gst/gstbus.c:
5         * gst/gstbus.h:
6           API: add gst_bus_pop_filtered
7           API: add gst_bus_timed_pop_filtered
8           Two new functions for waiting for specific message types on the
9           bus for a specified amount of time without iterating any main
10           loops or main contexts.
11
12         * tests/check/gst/gstbus.c:
13           Some tests for the new functions.
14
15 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
16
17         * docs/libs/gstreamer-libs-sections.txt:
18           Make gtk-doc ignore stuff it should ignore.
19
20 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
21
22         * libs/gst/check/gstcheck.c:
23         * libs/gst/check/gstcheck.h:
24           Allow runtime selection of unit tests to run via the GST_CHECKS
25           environment variable (test case function names, comma-separated).
26
27 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
28
29         * gst/gststructure.c:
30         * tests/check/gst/gststructure.c:
31           Revert serialisation change and constrain structure-names after
32           consensus on irc. Update api documentation to reflect the change.
33
34 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
35
36         * gst/gststructure.c:
37           Improve serialization and fix tests.
38
39         * tests/check/gst/gststructure.c:
40           Add another test that covers why I actually did the previous structure
41           change.
42
43 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
44
45         * tools/gst-inspect.c: (print_element_info):
46         Don't crash when inspecting an element.
47
48 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
49
50         * tests/check/gst/gststructure.c:
51           Add unit test for escaping of structure name when serialising
52           and deserialising to/from strings.
53
54 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
55
56         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
57         (gst_single_queue_new):
58         * plugins/elements/gstqueue.c: (gst_queue_init),
59         (gst_queue_push_one):
60         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
61         upstream is tricked into thinking it can suggest a format downstream
62         while downstream does not support that format. The real problem is that
63         core calls acceptcaps when pushing a buffer with new caps, for which we
64         do a little workaround by setting the caps on the srcpad ourselves
65         before pushing the buffer (until this is figured out). Fixes #486758.
66
67 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
68
69         * gst/gststructure.c:
70         * gst/gstvalue.c:
71           Add some more comments and debug output. Quote structure name to fix
72           deserialisation of some strings.
73
74 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
75
76         * gst/gstbuffer.h:
77           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
78           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
79
80 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
81
82         * tools/gst-inspect.c:
83           Save approx. 400 1 byte allocs when printing. Use API to acces element
84           details.
85
86         * tools/gst-run.c:
87           Avoid a strdup.
88
89         * tools/gst-xmlinspect.c:
90           Use API to acces element details.
91
92 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
93
94         * gst/gstinfo.c:
95           Fix some spelling errors.
96
97 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
98
99         * gst/gstbin.c: (bin_handle_async_done):
100         Correctly set the next state if all of our async children commited their
101         state. This makes sure we can actually cancel the state change in
102         progress. Fixes a regression in Rhythmbox when seeking.
103
104 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
105
106         * gst/gstbin.c:
107           Don't shadow local variable.
108
109         * gst/gstinfo.c:
110           Don't shadow global function name.
111
112 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
113
114         * gst/gstelementfactory.c:
115         * gst/gstpluginfeature.c:
116         * gst/gstpluginfeature.h:
117         * gst/gstregistrybinary.c:
118         * gst/gstregistryxml.c:
119         * gst/gsttypefind.c:
120           Use already-interned string for the private GstPluginFeature
121           plugin_name field.
122
123 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
124
125         * docs/libs/gstreamer-libs-sections.txt:
126           Add new API to docs; fixes the build.
127
128 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
129         
130         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
131
132         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
133         (gst_base_sink_event):
134         * libs/gst/base/gstbasesink.h:
135         Add function to wait for EOS, subclasses can use this to correctly wait
136         for devices to drain before performing the EOS logic. Fixes #485343.
137         API: gst_base_sink_wait_eos()
138
139 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
140
141         * gst/gstplugin.h:
142           Cast description string constants in GST_PLUGIN_DEFINE macros
143           to a (gchar*) to make C++ code using these macros compile
144           without warning with g++-4.2 (see #462737).  Even if slightly
145           ugly, this seems preferable to putting the description strings
146           into the GLib quark table or making the structure member a
147           const gchar * and doing casts in core code that allocs and
148           frees these strings, or requiring a cast in the C++ code.
149
150 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
151
152         * gst/gstinfo.h:
153           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
154           to print the entire class/function signature into the log
155           file for C++ code.  This only affects C++ code, for C code
156           everything remains the same.
157
158 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
159
160         * gst/gstbin.c: (remove_from_queue):
161         Work around a problem with pipelines containing (semi)loops until a
162         proper, more complicated solution is ready. See #475455.
163
164 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
165
166         * gst/gstplugin.c:
167         * gst/gstplugin.h:
168         * gst/gstregistrybinary.c:
169         * gst/gstregistryxml.c:
170           Put more strings into the GLib quark table. No need to keep
171           a hundred-something copies of identical version strings,
172           license strings, package name strings and package origin
173           strings around. 
174
175 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
176
177         * docs/manual/advanced-dataaccess.xml:
178           Don't imply that it's okay to unconditionally change
179           buffer data or buffer metadata in a pad probe callback,
180           and a bunch of other comments. Fixes #430031.
181
182 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
183
184         * win32/common/gstenumtypes.c:
185         * win32/common/gstenumtypes.h:
186         * win32/common/gstversion.h:
187           Update generated files.
188
189 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
190
191         * docs/manual/advanced-autoplugging.xml:
192           Prefix section with broken code with a warning (see #342432).
193
194 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
195
196         * docs/manual/appendix-integration.xml:
197         * docs/manual/basics-init.xml:
198           Call g_thread_init() before g_option_context_new() to
199           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
200
201 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
202
203         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
204         (gst_base_sink_queue_object_unlocked),
205         (gst_base_sink_queue_object), (gst_base_sink_event),
206         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
207         When we received EOS and are waiting for when to post the EOS message,
208         our state is prerolled and we should not return ASYNC.
209         Reorganize some code paths to implement this behavior.
210
211         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
212         (gst_sinks_suite):
213         Add unit test to verify above EOS fix.
214
215 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
216
217         * plugins/elements/gsttypefindelement.c:
218         (gst_type_find_element_have_type), (gst_type_find_element_init),
219         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
220         Move detecting the input caps of the sinkpad to the setcaps function.
221         This allows us to update the output caps when we receive new input caps
222         instead of always using the first detected caps.
223
224 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
225
226         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
227         (gst_base_sink_get_position):
228         Don't try to preroll non-async elements after a flush.
229         Subtract latency form clock times when reporting position.
230
231 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
232
233         * gst/gstpad.c: (gst_pad_pause_task):
234         * gst/gstutils.c:
235         Small comment and documentation update.
236
237 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
238
239         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
240         (gst_base_src_set_live), (gst_base_src_is_live),
241         (gst_base_src_query_latency), (gst_base_src_perform_seek),
242         (gst_base_src_default_event), (gst_base_src_wait),
243         (gst_base_src_do_sync), (gst_base_src_get_range),
244         (gst_base_src_pad_get_range), (gst_base_src_loop),
245         (gst_base_src_unlock), (gst_base_src_unlock_stop),
246         (gst_base_src_set_flushing), (gst_base_src_set_playing),
247         (gst_base_src_activate_push), (gst_base_src_activate_pull),
248         (gst_base_src_change_state):
249         Rework the locking of basesrc in a similar fashion to basesink. We
250         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
251         us to handle live sources and semi live ones much better.
252         Simplify flushing.
253         Fix unlocking when seeking, shutting down and pausing in live sources.
254
255 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
256
257         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
258         Fix compilation again.
259
260 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
261
262         * gst/gstelement.c:
263           Use meaningful categories for the logs to clean the default one.
264
265 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
266
267         * tests/check/pipelines/cleanup.c:
268           Print message name and not just number.
269
270 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
271
272         * docs/design/draft-tagreading.txt:
273           Add some more thoughts.
274
275 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
276
277         * tests/check/pipelines/simple-launch-lines.c:
278           Print message name and not just number.
279
280 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
281
282         * libs/gst/base/gsttypefindhelper.c:
283           Speedup typefinding. This is work in progress (see #459862).
284
285 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
286
287         * gst/gstplugin.c:
288           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
289           Spotted by Josep Torra Valles <josep@fluendo.com>.
290
291 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
292
293         * gst/gstclock.h:
294           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
295           field has moved to GstObject.
296
297 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
298
299         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
300         (gst_base_src_get_range), (gst_base_src_change_state):
301         Call unlock for live sources so that they can't get stuck in _create and
302         produce a buffer before they are set back to PLAYING.
303
304 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
305
306         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
307         (gst_queue_locked_dequeue):
308         Comment the segment-related code... in the PROPER function.
309         See #482147 and my commit from yesterday.
310
311 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
312
313         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
314         Also initialize the counter that calculates the first timestamp on a
315         buffer correctly for non-live sources.
316
317 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
318
319         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
320         Disable code that's breaking the current-time-level reporting.
321         See #482147
322
323 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
324
325         * docs/gst/gstreamer-sections.txt:
326         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
327         as they shouldn't show up. Fixes the docs build.
328
329 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
330         
331         * gst/gstinfo.h:
332         Add an explicit variable importation needed on VS6 (only for MSC_VER)
333         Define M_PI which is used in files which are including gstinfo.h. 
334         VS6 includes doesn't define it.
335         * win32/common/libgstbase.def:
336         * win32/common/libgstcontroller.def:
337         * win32/common/libgstreamer.def:
338         Add new exported functions and variables.
339         * win32/vs6/libgstcontroller.dsp:
340         * win32/vs6/libgstreamer.dsp:
341         Update the list of files to build.
342         
343 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
344
345         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
346
347         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
348         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
349         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
350         Improve debugging. Fixes #480858.
351
352 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
353
354         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
355
356         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
357         First patch of code cleanups, use the macros and right arguments in the
358         macros to signal and lock the queue. See #480858.
359
360 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
361
362         * gst/gstbus.c: (poll_func):
363         Improve debugging when dealing with _poll().
364
365 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
366
367         * gst/gstregistryxml.c:
368           Fix memory leak I introduced a few days ago.
369
370 2007-09-26  Michael Smith <msmith@fluendo.com>
371
372         * gst/gstbuffer.c: (gst_buffer_finalize):
373           Make it once again possible to free GstBuffers in the default
374           build.
375           The poisoning scribbles on parts of the miniobject we need in
376           order to free it.
377           Fixes #480341
378
379 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
380
381         * docs/gst/gstreamer-sections.txt:
382         * gst/gsttaglist.c:
383         * gst/gsttaglist.h:
384         API: add GST_TAG_COMPOSER, fixes #459809.
385
386 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
387
388         * gst/gstplugin.c:
389         * gst/gstplugin.h:
390         Add the 3-clause BSD license and the MIT/X11 license to the license
391         list. Fixes #479784.
392
393 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
394
395         * docs/faq/getting.xml:
396           Add Q+A about different GStreamer versions (#364056).
397
398 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
399
400         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
401         (gst_base_sink_event), (gst_base_sink_change_state):
402         Return correct gboolean from query function.
403
404 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
405
406         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
407         (gst_base_sink_event), (gst_base_sink_query),
408         (gst_base_sink_change_state):
409         Simplify latency query.
410         When not synchronizing, we can report latency without querying the peer
411         element.
412
413 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
414
415         * gst/gstobject.h:
416         * gst/gstvalue.c:
417         Fix small typos in the docs.
418
419 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
420
421         * docs/design/draft-latency.txt:
422         * docs/design/draft-push-pull.txt:
423         * docs/design/draft-tagreading.txt:
424         * docs/design/part-MT-refcounting.txt:
425         * docs/design/part-activation.txt:
426         * docs/design/part-block.txt:
427         * docs/design/part-element-source.txt:
428         * docs/design/part-events.txt:
429         * docs/design/part-gstbin.txt:
430         * docs/design/part-gstelement.txt:
431         * docs/design/part-gstobject.txt:
432         * docs/design/part-gstpipeline.txt:
433         * docs/design/part-messages.txt:
434         * docs/design/part-preroll.txt:
435         * docs/design/part-push-pull.txt:
436         * docs/design/part-qos.txt:
437         * docs/design/part-query.txt:
438         * docs/design/part-scheduling.txt:
439         * docs/design/part-seeking.txt:
440         * docs/design/part-segments.txt:
441         * docs/design/part-states.txt:
442         Documentation updates and typo fixes.
443
444 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
445
446         * plugins/elements/gstfakesink.c:
447           Add some debug text to error message to indicate that
448           we errored out on request.
449
450         * tools/gst-launch.c:
451           When the state change to PLAYING fails, check for an
452           error message on the bus and print it.
453
454 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
455
456         translated by: Jorge González González <aloriel@gmail.com>
457
458         * po/LINGUAS:
459         * po/es.po:
460           Added Spanish translation.
461
462 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
463
464         * plugins/elements/gstqueue.c: (gst_queue_push_one):
465         Fix printf arguments.
466
467 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
468
469         * tests/check/generic/states.c:
470           Improved state change unit test.
471
472 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
473
474         * gst/gstbin.h:
475           Move priv to the right place.
476
477         * gst/gstsystemclock.c:
478           Add FIXME: and improve log.
479
480         * tests/check/Makefile.am:
481         * tests/examples/manual/Makefile.am:
482           Work with all types of registries.
483
484 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
485
486         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
487         Don't unref the event after pushing it. Fixes #478401.
488
489 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
490
491         * .cvsignore:
492         * tests/examples/manual/.cvsignore:
493           Ignore registries in any format.
494
495 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
496
497         * gst/glib-compat-private.h:
498           Add compatibility macro for g_intern_string() for
499           GLib-2.8 (any reason we can't just bump the
500           requirement to at least 2.10?)
501
502         * gst/gstpadtemplate.h:
503         * gst/gstelementfactory.c:
504         * gst/gstregistryxml.c:
505         * gst/gstregistrybinary.c:
506           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
507           up the internal code accordingly.  This shouldn't be a problem, since
508           there is no reason external code could ever assume the string in such
509           a structure is dynamically allocated unless it did that itself;  the
510           use of g_strdup() is private to element factories.  The new code also
511           saves some memory by putting pad template name strings into the GLib
512           quark table instead of allocating them dynamically.
513           Declaring this field constant fixes warnings with g++-4.2 when using
514           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
515
516 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
517
518         * gst/gstelementfactory.c:
519           Release static caps. Fixes #475723.
520
521 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
522
523         * gst/gstinfo.c:
524         * gst/gstinfo.h:
525           Make some internal API take const gchar * instead of just
526           gchar * to avoid compiler warnings with g++-4.2.2 when
527           passing string constants (partially fixes #478092).
528
529 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
530
531         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
532         A latency query fails when one of the sinks fail.
533
534         * gst/gstelement.c: (gst_element_set_base_time):
535         Improve debugging.
536
537 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
538
539         * gst/gstbin.c: (gst_bin_continue_func):
540         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
541         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
542         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
543
544         Fix minor compilation warnings shown with Forte.
545
546 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
547
548         * plugins/elements/gstqueue.c: (apply_buffer),
549         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
550         Measure queue level based on the diff between head and tail timestamps
551         even when pushing the first buffer.
552
553 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
554
555         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
556         (gst_base_sink_event), (gst_base_sink_change_state):
557         Sinks that don't preroll can always be queried for the latency.
558         Don't post ASYNC start when we are not async.
559
560 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
561
562         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
563         (gst_queue_handle_sink_event), (gst_queue_chain),
564         (gst_queue_push_one), (gst_queue_handle_src_query),
565         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
566         * plugins/elements/gstqueue.h:
567         When downstream returns UNEXPECTED from pushing a buffer, don't try to
568         push more buffers but allow pushing of EOS and NEWSEGMENT.
569         Add some more debug info here and there. Fixes #476514.
570
571 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
572
573         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
574         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
575         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
576         (gst_base_sink_set_flushing), (gst_base_sink_query),
577         (gst_base_sink_change_state):
578         Latency query is allowed after we are prerolled. Introduce a new flag
579         for this and stop abusing other variables.
580
581 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
582
583         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
584         Push OOB events downstream when we get them in send_event. This allows
585         the application to insert events in the pipeline.
586         Add some more comments.
587
588 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
589
590         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
591         (do_bin_latency), (gst_bin_change_state_func):
592         * gst/gstpipeline.c: (gst_pipeline_change_state):
593         Move latency query from GstPipeline to GstBin so that we can also
594         use it when async-handling is enabled on bins.
595
596 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
597
598         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
599         (gst_base_src_do_sync), (gst_base_src_change_state):
600         Update docs.
601         Clean up the timestamping and syncing code for pseudo live sources.
602
603 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
604
605         Patch by: Steve Fink  <sphink gmail com>
606
607         * docs/manual/appendix-checklist.xml:
608           Mention less -R switch in the section about debug output (#474055).
609
610 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
611
612         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
613         Queue can latency to the pipeline up to the configured max size in time.
614         Report this fact in the latency query.
615
616 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
617
618         Patch by: Sebastien Moutte <sebastien at moutte dot net>
619
620         * libs/gst/controller/gstinterpolation.c:
621         * libs/gst/controller/gstlfocontrolsource.c:
622         Use gst_guint64_to_gdouble() when converting from a uint64 or
623         GstClockTime to double to fix the build on win32. Fixes #474371.
624
625 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
626
627         * gst/gstbuffer.c: (gst_buffer_finalize):
628         Implement poisoning for GstBuffer if --enable-poisoning is specified.
629         When finalizing a buffer the complete struct is filled with 0xff,
630         thus making a use of the buffer after the final unref impossible.
631
632 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
633
634         * tests/check/libs/controller.c: (GST_START_TEST):
635         Use fail_unless_equals_int(a, b) instead of
636         fail_unless_equals (a == b) to get better output on failures.
637
638 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
639
640         * tests/check/gst/gsturi.c:
641           Also check for the other file URI variant on win32.
642
643 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
644
645         * gst/gsturi.c: (gst_uri_get_location):
646           If there's no hostname, we want to return 'c:/foo/bar.txt'
647           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
648
649         * tests/check/gst/gsturi.c:
650           Unit test for the above and a few more things.
651
652 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
653
654         * docs/design/part-live-source.txt:
655         Add docs on how live sources should timestamp.
656
657         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
658         Add some more debug info.
659         For subclasses that are live and like to sync, add aditional startup
660         latency to sync time and timestamps so that we timstamp according to the
661         design doc.
662
663 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
664
665         * gst/gstbuffer.c:
666           Also do a g_type_class_ref() for the subbuffer type in
667           the init function.
668
669 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
670
671         * docs/gst/gstreamer-sections.txt:
672         * gst/gstpad.c: (gst_pad_peer_query):
673         * gst/gstpad.h:
674         Add function to perform a query on the peer of a pad.
675         API: gst_pad_peer_query()
676
677 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
678
679         * tests/check/gst/gstsystemclock.c:
680           Cleanup the test a little (use gst-logging and not g_message). Improve
681           test to check if a wait reached the target.
682
683 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
684
685         * docs/libs/gstreamer-libs-sections.txt:
686           Add new API to docs and fix the build.
687
688 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
689
690         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
691         (gst_base_src_init), (gst_base_src_set_do_timestamp),
692         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
693         (gst_base_src_get_property), (gst_base_src_do_sync):
694         * libs/gst/base/gstbasesrc.h:
695         Add property to make the basesrc timestamp buffers based on the current
696         running time.
697         API: GstBaseSrc::do-timestamp
698         API: gst_base_src_set_do_timestamp()
699         API: gst_base_src_get_do_timestamp()
700
701 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
702
703         * docs/random/release:
704           Really make sure translations are up-to-date before
705           a release (#465010).
706
707 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
708
709         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
710         Always destroy the timer, also in error cases.
711
712 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
713
714         * docs/manual/highlevel-xml.xml:
715         Fix XML example code. Fixes #472714.
716
717 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
718
719         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
720         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
721         (gst_base_sink_query):
722         Protect eos and have_preroll with the OBJECT lock so we don't need to
723         take the PREROLL lock when querying the latency. Fixes #473846.
724
725 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
726
727         * gst/gstelement.c:
728           Give some log-messages a category.
729
730 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
731
732         * gst/gststructure.c:
733         (gst_structure_fixate_field_nearest_fraction):
734         Fix fraction list fixation code. Take the fraction with the smallest
735         difference with the target instead of the first one in the list.
736
737         * tests/check/gst/gststructure.c: (GST_START_TEST),
738         (gst_structure_suite):
739         Added test to verify correct fraction list fixation behaviour.
740
741 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
742
743         * win32/common/libgstreamer.def:
744           Export gst_bus_add_signal_watch too.
745
746 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
747
748         * docs/libs/gstreamer-libs-sections.txt:
749         Add new methods to docs.
750
751         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
752         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
753         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
754         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
755         * libs/gst/base/gstbasesink.h:
756         Add ts-offset property to fine-tune the synchronisation.
757         API: GstBaseSink::ts-offset property
758         API: gst_base_sink_set_ts_offset()
759         API: gst_base_sink_get_ts_offset()
760
761 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
762
763         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
764         (gst_base_sink_init), (gst_base_sink_set_sync),
765         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
766         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
767         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
768         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
769         (gst_base_sink_get_property), (gst_base_sink_change_state):
770         * libs/gst/base/gstbasesink.h:
771         Add async property to instruct the sink never to inform the parent about
772         ASYNC state changes, update docs.
773         Check argument with g_return_* for the public functions.
774         API: GstBaseSink::async property
775         API: gst_base_sink_set_async_enabled()
776         API: gst_base_sink_is_async_enabled()
777
778 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
779
780         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
781         Improve debugging.
782
783         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
784         (gst_base_src_default_query), (gst_base_src_wait),
785         (gst_base_src_do_sync), (gst_base_src_change_state):
786         Rearrange some code so that we can add support for measuring the 
787         startup latency.
788
789 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
790
791         * docs/random/ensonic/dynlink.txt:
792           More thoughs on this.
793
794         * plugins/elements/gstcapsfilter.c:
795           Add bugzilla ticket number to FIXME comment.
796
797 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
798
799         * docs/design/part-TODO.txt:
800         * docs/design/part-block.txt:
801         Update some docs.
802
803 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
804
805         * gst/Makefile.am:
806           Revert patch which uses $(gst_headers) instead of $^ because it
807           breaks make dist.
808
809 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
810
811         * tests/check/gst/gstbin.c: (GST_START_TEST):
812           Fix leaks in the new unit test.
813
814 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
815
816         * gst/gst.c:
817           Don't use GST_INFO before the debug system is actually initialised
818           (shouldn't do any harm, but won't print anything either, so we can
819           just as well remove it).
820
821         * gst/gstinfo.h:
822           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
823           compilers that don't support variadic macros (such as MSVC), should
824           check for debug_level <= __gst_debug_min as well, since that's the
825           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
826           inline helper functions. Should improve performance a bit, but also
827           makes sure uses of GST_INFO et.al are ignored if the debugging
828           system isn't initialised yet (instead of printing an assertion
829           failure).
830
831 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
832
833         patch by: David Nečas <yeti@physics.muni.cz>
834
835         * gst/Makefile.am:
836           Replace some non portable makefile constructs.
837
838 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
839
840         * common/gtk-doc-plugins.mak:
841           Grrrrr. Don't remove the types file on make clean.
842
843 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
844
845         * tools/gst-launch.1.in:
846         Add colorspace to example pipeline. Fixes #458274.
847
848 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
849
850         * docs/random/release:
851           The release manager should run 'make download-po' before making a
852           release to make sure translations are up-to-date.
853
854         * po/LINGUAS:
855         * po/be.po:
856         * po/pl.po:
857         * po/rw.po:
858           Add some new translations.
859
860 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
861
862         * tools/gst-launch.c: (event_loop), (main):
863         Don´t try to do any state management when a live pipeline posts
864         buffering messages.
865         Also make the buffering string translatable.
866
867 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
868
869         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
870         (bin_handle_async_start), (gst_bin_handle_message_func):
871         Improve debugging.
872         When adding elements, insert messages into the bus of the newly added
873         element and make sure the element is the source of the message. This
874         allows the parent bin to intercept the message and do the
875         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
876         messages to the app (which is not allowed).
877         Update some docs.
878
879         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
880         Fix testsuite so that is does not work around messages that should not
881         have been posted in the first place.
882
883 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
884
885         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
886         (update_degree), (gst_bin_sort_iterator_next):
887         Fix annoying bug in the sorted iterator where a sink that is not really
888         a sink (when it has downstream links) screwed up the iterator.
889
890         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
891         Unit test to verify the fix.
892
893 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
894
895         * gst/gstmessage.h:
896         Add some more docs for the messages.
897
898         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
899         (gst_base_sink_query):
900         Add some more debugging.
901
902         * tools/gst-launch.c: (event_loop):
903         When interrupting, don't try to set pipeline to PAUSED twice.
904
905 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
906
907         
908         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
909         (bin_handle_async_start), (gst_bin_handle_message_func):
910         Move ASYNC_START message posting to where it belongs, similar to
911         async_done. 
912         Don't post ASYNC_START when we are in error. 
913         Post ASYNC_START when we added an async element to a bin.
914
915 2007-08-14  Julien MOUTTE  <julien@moutte.net>
916
917         * gst/gstindex.c: (gst_index_add_association): Fix index entry
918         generation from vargs. Fixes #466595.
919
920 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
921
922         * gst/gstbin.c: (gst_bin_element_set_state):
923         Always change the state of a NO_PREROLL element even if it has ASYNC
924         elements inside (in case of a bin).
925
926         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
927         Unit test for this case.
928
929 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
930
931         * libs/gst/check/gstbufferstraw.c:
932         * libs/gst/check/gstcheck.h:
933         * libs/gst/controller/gstcontroller.c:
934         * libs/gst/controller/gstcontrolsource.h:
935         * libs/gst/controller/gstlfocontrolsource.h:
936         * plugins/elements/gstcapsfilter.h:
937         * plugins/elements/gstfdsink.h:
938         * plugins/elements/gstfdsrc.h:
939           Add more missing docs.
940
941 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
942
943         * gst/gststructure.c:
944         Add Since tag to docs.
945
946 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
947
948         * docs/gst/gstreamer-sections.txt:
949         * gst/gststructure.c: (gst_structure_get_uint):
950         * gst/gststructure.h:
951         Add function to get uint from a structure.
952         API: gst_structure_get_uint()
953
954 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
955
956         * gst/gstcaps.c: (gst_caps_set_simple_valist),
957         (gst_caps_intersect):
958         Fix proper check for simple caps.
959
960 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
961
962         * docs/gst/Makefile.am:
963         * docs/libs/Makefile.am:
964           Remove cruft and do some cleanups.
965
966         * docs/gst/gstreamer-docs.sgml:
967         * docs/libs/gstreamer-libs-docs.sgml:
968           Prepare for comming gtkdoc features (rebase against online docs).
969
970 2007-08-10  Michael Smith <msmith@fluendo.com>
971
972         * docs/gst/gstreamer-sections.txt:
973           Add gst_registry_add_path to docs.
974
975 2007-08-10  Michael Smith <msmith@fluendo.com>
976
977         * gst/gstregistry.h:
978           Add gst_registry_add_path, which was missing from this header.
979
980 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
981
982         * libs/gst/controller/gstlfocontrolsource.c:
983           Printf format fix.
984
985 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
986
987         * libs/gst/base/gstbasesink.c:
988           Don't send an async_start message during downwards state change if 
989           target state is less than READY
990
991 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
992
993         translated by: Gabor Kelemen <kelemeng@gnome.hu>
994
995         * po/LINGUAS:
996         * po/hu.po:
997           Added Hungarian translation.
998
999 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1000
1001         * po/fi.po:
1002         * po/it.po:
1003         * po/nl.po:
1004         * po/sv.po:
1005         * po/uk.po:
1006           Updated translations.
1007
1008 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1009
1010         * libs/gst/controller/Makefile.am:
1011         Dist gstlfocontrolsourceprivate.h
1012
1013 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1014
1015         * docs/libs/gstreamer-libs.types:
1016         Don't register the enum type gst_lfo_waveform_get_type() in the
1017         .types file - only GObject derived types belong.
1018
1019 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1020
1021         Patch by: <arenevier at fdn dot fr>
1022
1023         * gst/gstbuffer.h:
1024         Remove comma from last element in enum to avoid compile errors when
1025         using -pendantic. Fixes #464366.
1026
1027 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1028
1029         * docs/design/part-TODO.txt:
1030         Add some more TODO items
1031
1032         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1033         Improve debugging.
1034
1035         * gst/gstcaps.c: (gst_caps_intersect):
1036         Optimize trivial intersection case between identical caps pointers.
1037
1038         * gst/gstelement.c: (gst_element_continue_state),
1039         (gst_element_set_state_func):
1040         * gst/gstpad.c:
1041         Fix spelling and grammar mistakes.
1042
1043 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1044
1045         * po/POTFILES.in:
1046         * po/POTFILES.skip:
1047           Update POTFILES. Fixes #461599.
1048
1049 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1050
1051         * gst/gst.c:
1052         Fix confusing typo in debug output.
1053
1054 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1055
1056         reviewed by: Stefan Kost <ensonic@users.sf.net>
1057
1058         * libs/gst/controller/Makefile.am:
1059         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1060         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1061         (gst_lfo_control_source_new),
1062         (gst_lfo_control_source_set_waveform),
1063         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1064         (gst_lfo_control_source_finalize),
1065         (gst_lfo_control_source_dispose),
1066         (gst_lfo_control_source_set_property),
1067         (gst_lfo_control_source_get_property),
1068         (gst_lfo_control_source_class_init):
1069         * libs/gst/controller/gstlfocontrolsource.h:
1070         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1071         API: Add GstLFOControlSource, a control source that gives values
1072         for specific timestamps based on several periodic waveforms.
1073         Fixes #459717.
1074
1075         * tests/check/libs/controller.c: (GST_START_TEST),
1076         (gst_controller_suite):
1077         * docs/libs/gstreamer-libs-docs.sgml:
1078         * docs/libs/gstreamer-libs-sections.txt:
1079         * docs/libs/gstreamer-libs.types:
1080         Add documentation and unit tests for GstLFOControlSource.
1081
1082 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1083
1084         * configure.ac:
1085         Back to CVS
1086
1087 === release 0.10.14 ===
1088
1089 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1090
1091         * configure.ac:
1092           releasing 0.10.14, "Breathing Vacuum"
1093
1094 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1095
1096         * gst/gstelement.c: (gst_element_class_set_details_simple):
1097         * gst/gstelement.h:
1098           Make strings passed to gst_element_class_set_details_simple()
1099           constant, as they should be (#462752).
1100
1101 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1102
1103         * gst/gstbin.c: (gst_bin_change_state_func),
1104         (bin_handle_async_done), (gst_bin_handle_message_func):
1105         Don't forget about the fact that some element went ASYNC even after a
1106         resync. This makes us post the ASYNC_DONE message correctly.
1107         Fixes #462558.
1108
1109 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1110
1111         * gst/gstregistry.c: (gst_registry_add_feature):
1112         When replacing an existing feature in the registry, make sure to
1113         continue holding a reference until we've replaced the name string
1114         within our feature hash table. Make sure to use g_hash_table_replace
1115         instead of g_hash_table_insert to ensure the new name string is used
1116         as a key instead of the old one that we're about to free.
1117         Fixes: #462085
1118
1119 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1120
1121         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1122         (gst_plugin_feature_set_name):
1123         Revert patch from #459466 until after the release and we can work
1124         out exactly what the problem is (if any).
1125
1126 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1127
1128         * docs/gst/gstreamer-sections.txt:
1129         * gst/gsttaglist.c:
1130         * gst/gsttaglist.h:
1131           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1132
1133 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1134
1135         * docs/libs/Makefile.am:
1136         Include our build-prefix libs and includes before the generic ones to
1137         avoid linking against the installed libs when we want the build-tree
1138         ones.
1139
1140 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1141
1142         Patch by: Steve Fink  <sphink gmail com>
1143
1144         * docs/pwg/building-testapp.xml:
1145           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1146           if people try to build or install the example from the plugin
1147           template against a GStreamer from package using the configure
1148           defaults.
1149
1150 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1151
1152         Patch by: Steve Fink  <sphink gmail com>
1153
1154         * tools/gst-inspect.1.in:
1155           Document --print-all and --print-plugin-auto-install-info command
1156           line options in man page.
1157
1158 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1159
1160         * docs/gst/gstreamer-sections.txt:
1161         Add docs for new api function.
1162
1163 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1164
1165         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1166         * gst/gstelementfactory.h:
1167         API: gst_element_factory_has_interface()
1168         Added method to check if an element factory implements a named
1169         interface.
1170
1171 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1172
1173         * configure.ac:
1174         * docs/gst/gstreamer.types.in:
1175           Another conditional doc check.
1176
1177         * gst/gstmessage.c:
1178         * gst/gstparamspecs.h:
1179         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1180         * gst/gstvalue.c:
1181         * gst/gstxml.h:
1182           API-doc fixes.
1183
1184 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1185
1186         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1187         (gst_registry_binary_load_feature),
1188         (gst_registry_binary_load_plugin),
1189         (gst_registry_binary_read_cache):
1190           Print error just once and with additional info.
1191
1192 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1193
1194         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1195         (helper_find_suggest), (helper_find_get_length),
1196         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1197         (gst_type_find_helper_for_buffer):
1198           Cleanup the typefindhelper code and add private doc comments.
1199
1200 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1201
1202         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1203         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1204         Fix capsfilter for cases where the caps set on capsfilter will provide
1205         additional information.
1206         Fixes #449197
1207
1208 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1209
1210         * gst/gsttypefindfactory.c:
1211           Fix docs that recommened wrong function to use.
1212
1213 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1214
1215         * tools/gst-inspect.c: (print_plugin_features):
1216           Also give media-type for typefinders in element output.
1217
1218 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1219
1220         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1221         (gst_registry_remove_features_for_plugin_unlocked),
1222         (gst_registry_add_feature), (gst_registry_remove_feature),
1223         (gst_registry_lookup_feature_locked):
1224         * gst/gstregistry.h:
1225           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1226           Fixes #459501.
1227
1228 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1229
1230         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1231         (gst_plugin_feature_set_name):
1232           Avoid double memory usage for pluginfeature names. Fixes #459466.
1233
1234 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1235
1236         * gst/gstpad.h:
1237           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1238           driving the pipeline may need to explicitly check for NOT_LINKED as
1239           well, since IS_FATAL doesn't cover that.
1240
1241 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1242
1243         * docs/pwg/advanced-types.xml:
1244           Fix typo and duplicate entry in video formats list.
1245
1246 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
1247
1248         * libs/gst/controller/gstinterpolation.c:
1249         Also round to the nearest int when using cubic interpolation.
1250
1251 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
1252
1253         * libs/gst/controller/gstinterpolation.c:
1254         When linearly interpolating integer types, round to the nearest int
1255         by adding 0.5. Don't do it for float/double types.
1256         Fixes the failing controller test on my machine, which is somehow
1257         rounding differently than on the buildbots.
1258
1259 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1260
1261         * tools/gst-plot-timeline.py:
1262           Better log parsing (categories can have -). Adjust text vs. lines, so
1263           that they span the same y-range.        
1264
1265 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1266
1267         * docs/random/ensonic/audiobaseclasses.txt:
1268         * docs/random/ensonic/dynlink.txt:
1269         * docs/random/ensonic/profiling.txt:
1270           Save my thoughts.
1271
1272         * docs/random/moving-plugins:
1273           Add note to use g_assert type macros.
1274
1275 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1276
1277         * configure.ac:
1278         * libs/gst/check/Makefile.am:
1279           Add libm check as we use in for plugins.
1280
1281 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
1282
1283         * gst/gstbin.c: (gst_bin_continue_func):
1284         Check that the state_cookie hasn't changed since the continue_func
1285         was scheduled. Avoids problems where the state changes back to
1286         something it shouldn't be because it was changed in the meantime.
1287
1288 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
1289
1290         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1291         (gst_registry_binary_save_string),
1292         (gst_registry_binary_save_pad_template),
1293         (gst_registry_binary_save_feature),
1294         (gst_registry_binary_save_plugin),
1295         (gst_registry_binary_load_feature),
1296         (gst_registry_binary_load_plugin),
1297         (gst_registry_binary_read_cache):
1298           Fix memory leak. Be less verbose in the log.
1299
1300 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1301
1302         * tests/check/elements/.cvsignore:
1303         Add file to cvsignore as commanded.
1304
1305 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1306
1307         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1308         (mq_dummypad_event), (run_output_order_test):
1309         Use a GStaticMutex to protect all cases where libcheck
1310         fail_if/fail_unless macros might be called from multiple threads
1311         simultaneously to avoid errors like:
1312           "check_pack.c:107: :-1081725400:Bad message type arg"
1313
1314 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1315
1316         * tests/check/pipelines/stress.c: (GST_START_TEST):
1317         Make sure we set the pipeline back to the NULL state before
1318         dropping our final reference.
1319
1320 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1321
1322         * tests/check/elements/tee.c: (GST_START_TEST):
1323         Make the tee stress-test a little less stressful so it doesn't just
1324         time out on slow-machines, and remove a small race when it's starting 
1325         up by adding a get_state() call.
1326
1327 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
1328
1329         * gst/gst.c:
1330           Avoid reading registry twice on startup. Fixes #457322.
1331
1332 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1333
1334         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1335         * pkgconfig/gstreamer-check.pc.in:
1336         Substitute the CFLAGS for libcheck into our .pc file too so that
1337         dependent modules will pick it up properly if libcheck is installed
1338         into some other prefix.
1339
1340 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1341
1342         * configure.ac:
1343         Revert the pkg-config check for libcheck, since it pulls in the
1344         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1345         a proper solution, either from the check project, or something else.
1346
1347 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
1348
1349         * configure.ac:
1350           Use pkg-config to locate check.
1351
1352 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
1353
1354         * gst/gsttaglist.c:
1355           Fix doc syntax.
1356
1357         * gst/gstutils.c:
1358         * gst/gstutils.h:
1359           Add deprecation guards.
1360
1361         * libs/gst/base/gstcollectpads.h:
1362           Don't document object (this is implicitly private).
1363
1364 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
1365
1366         * gst/gststructure.c: (gst_structure_parse_value):
1367           When deserialising foo=bar without a type cast, check if it's a
1368           boolean before falling back to a string type, otherwise things like
1369           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1370           because the filtercaps end up having a signed=(string)true field,
1371           which causes problems later when intersection caps.
1372
1373         * tests/check/gst/gststructure.c: (GST_START_TEST):
1374           Add a unit test for this.
1375
1376 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
1377
1378         Reviewed by: Stefan Kost <ensonic@users.sf.net>
1379
1380         * libs/gst/controller/Makefile.am:
1381         * libs/gst/controller/gstcontroller.c:
1382         (gst_controlled_property_add_interpolation_control_source),
1383         (gst_controlled_property_new), (gst_controlled_property_free),
1384         (gst_controller_find_controlled_property),
1385         (gst_controller_new_valist), (gst_controller_new_list),
1386         (gst_controller_new), (gst_controller_remove_properties_valist),
1387         (gst_controller_remove_properties_list),
1388         (gst_controller_remove_properties),
1389         (gst_controller_set_property_disabled),
1390         (gst_controller_set_disabled), (gst_controller_set_control_source),
1391         (gst_controller_get_control_source), (gst_controller_get),
1392         (gst_controller_sync_values), (gst_controller_get_value_array),
1393         (_gst_controller_dispose), (gst_controller_get_type),
1394         (gst_controlled_property_set_interpolation_mode),
1395         (gst_controller_set), (gst_controller_set_from_list),
1396         (gst_controller_unset), (gst_controller_unset_all),
1397         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1398         * libs/gst/controller/gstcontroller.h:
1399         * libs/gst/controller/gstcontrollerprivate.h:
1400         * libs/gst/controller/gstcontrolsource.c:
1401         (gst_control_source_class_init), (gst_control_source_init),
1402         (gst_control_source_get_value),
1403         (gst_control_source_get_value_array), (gst_control_source_bind):
1404         * libs/gst/controller/gstcontrolsource.h:
1405         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1406         (gst_object_get_control_source):
1407         * libs/gst/controller/gstinterpolation.c:
1408         (gst_interpolation_control_source_find_control_point_node),
1409         (gst_interpolation_control_source_get_first_value),
1410         (_interpolate_none_get), (interpolate_none_get),
1411         (interpolate_none_get_boolean_value_array),
1412         (interpolate_none_get_enum_value_array),
1413         (interpolate_none_get_string_value_array),
1414         (_interpolate_trigger_get), (interpolate_trigger_get),
1415         (interpolate_trigger_get_boolean_value_array),
1416         (interpolate_trigger_get_enum_value_array),
1417         (interpolate_trigger_get_string_value_array):
1418         * libs/gst/controller/gstinterpolationcontrolsource.c:
1419         (gst_control_point_free), (gst_interpolation_control_source_reset),
1420         (gst_interpolation_control_source_new),
1421         (gst_interpolation_control_source_set_interpolation_mode),
1422         (gst_interpolation_control_source_bind),
1423         (gst_control_point_compare), (gst_control_point_find),
1424         (gst_interpolation_control_source_set_internal),
1425         (gst_interpolation_control_source_set),
1426         (gst_interpolation_control_source_set_from_list),
1427         (gst_interpolation_control_source_unset),
1428         (gst_interpolation_control_source_unset_all),
1429         (gst_interpolation_control_source_get_all),
1430         (gst_interpolation_control_source_get_count),
1431         (gst_interpolation_control_source_init),
1432         (gst_interpolation_control_source_finalize),
1433         (gst_interpolation_control_source_dispose),
1434         (gst_interpolation_control_source_class_init):
1435         * libs/gst/controller/gstinterpolationcontrolsource.h:
1436         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1437         API: Refactor GstController into the core controller which can take
1438         a GstControlSource for providing actual values for timestamps.
1439         Implement a interpolation control source and use this for backward
1440         compatibility, deprecate a bunch of functions that are now handled
1441         by GstControlSource or GstInterpolationControlSource.
1442         Make it possible to disable the controller completely or only for
1443         specific properties. Fixes #450711.
1444         * docs/libs/gstreamer-libs-docs.sgml:
1445         * docs/libs/gstreamer-libs-sections.txt:
1446         * docs/libs/gstreamer-libs.types:
1447         Add new functions and classes to the docs.
1448         * tests/check/libs/controller.c: (GST_START_TEST),
1449         (gst_controller_suite):
1450         * tests/examples/controller/audio-example.c: (main):
1451         Port unit test and example to the new API and add some new
1452         unit tests.
1453
1454 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
1455
1456         Patch by: Mark Nauwelaerts <manauw at skynet be>
1457
1458         * plugins/elements/gstmultiqueue.c:
1459         (gst_multi_queue_get_internal_links), (apply_buffer),
1460         (single_queue_overrun_cb), (gst_single_queue_new):
1461         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1462         the pipeline layout can be tracked correctly. Fixes #453732.
1463
1464 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
1465
1466         * docs/gst/Makefile.am:
1467         * docs/libs/Makefile.am:
1468         * docs/plugins/Makefile.am:
1469           Simplify --extra-dir as gtkdoc scans recursively.
1470
1471 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1472
1473         * tools/gst-launch.c: (main):
1474         When we got an error, there is no point in waiting for preroll when
1475         shutting down.
1476
1477 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1478
1479         * plugins/elements/gsttee.c: (gst_tee_base_init),
1480         (gst_tee_request_new_pad), (gst_tee_release_pad),
1481         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1482         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1483         (gst_tee_chain):
1484         Be a lot smarter when deciding what srcpad to use for proxying
1485         the buffer_alloc. Also handle pad added/removed when doing so.
1486         Fixes #357959.
1487         Keep track of what pads we already pushed on in case we have pads
1488         added/removed while pushing. Fixes #374639 
1489
1490         * tests/check/Makefile.am:
1491         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1492         (tee_suite):
1493         Added unit test for pad resync.
1494
1495 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1496
1497         * po/nl.po:
1498         * po/sv.po:
1499           Updated translations.
1500
1501 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1502
1503         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1504
1505         * po/LINGUAS:
1506         * po/fi.po:
1507           Added new Finnish translation.
1508
1509 2007-06-28  Wim Taymans  <wim@fluendo.com>
1510
1511         * plugins/elements/gstmultiqueue.c: (apply_buffer),
1512         (single_queue_overrun_cb):
1513         When figuring out when a queue is filled, use our internal time estimate
1514         based on segments, just like check_full does.
1515
1516 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
1517
1518         * gst/gstminiobject.c: (gst_mini_object_get_type):
1519           Remove 3 do-nothing methods.
1520
1521 2007-06-27  Wim Taymans  <wim@fluendo.com>
1522
1523         Patch by: Tim Angus <tim at ngus dot net>
1524
1525         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1526         (gst_capsfilter_set_property):
1527         Take a reference instead of a copy when setting "caps".
1528         Fix documentation to clarify this behaviour. Fixes #449414.
1529
1530 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
1531
1532         * gst/gstindexfactory.c: (gst_index_factory_get_type):
1533         * gst/gstplugin.c: (gst_plugin_init):
1534         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1535         * gst/gstquery.c: (gst_query_get_type):
1536         * gst/gstregistry.c: (gst_registry_init):
1537         * gst/gsturi.c: (gst_uri_handler_base_init):
1538           Remove empty instance_init() functions to save relocs and lessen the
1539           noise. Remove some of the function prototypes that are doubled by
1540           G_DEFINE_TYPE.
1541           
1542 2007-06-27  Wim Taymans  <wim@fluendo.com>
1543
1544         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1545
1546         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1547         Add peer and direction in the XML serialisation of ghostpads.
1548         Fixes #449226.
1549
1550 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
1551
1552         * configure.ac:
1553           Preserve useful information, thanks Tim.
1554
1555 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
1556
1557         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1558         (gst_single_queue_flush), (apply_segment), (apply_buffer),
1559         (gst_single_queue_push_one), (gst_multi_queue_loop),
1560         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1561         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1562         (compute_high_id), (gst_single_queue_new):
1563         * plugins/elements/gstmultiqueue.h:
1564         Take the multiqueue lock when updating the fill level so we don't get
1565         confused. 
1566
1567         After applying a buffer or event on the src pad segment, make sure to
1568         call gst_data_queue_limits_changed() to get the data queue to unblock
1569         and check the filled state again.
1570         
1571         Rework the not-linked pad handling so the logic is that not-linked 
1572         pads can push as fast as they like, but only so they never get 
1573         ahead of any linked pads.
1574
1575         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1576         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1577         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1578
1579         Add a test to check that not-linked pads always stay behind
1580         linked pads.
1581
1582         Fixes: #430682
1583
1584 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
1585
1586         * docs/random/release:
1587           Some updates to the release procedure.
1588
1589 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
1590
1591         * gst/gstelementfactory.c: (__gst_element_details_clear):
1592           Microoptimization that saves stunning 80 bytes.
1593
1594 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
1595
1596         * docs/plugins/gstreamer-plugins.args:
1597         * docs/plugins/inspect/plugin-coreelements.xml:
1598         * docs/plugins/inspect/plugin-coreindexers.xml:
1599           Update docs with caps info.
1600
1601 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1602
1603         * po/it.po:
1604           Updated Italian translation.
1605
1606 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1607
1608         * ChangeLog:
1609         * po/vi.po:
1610           Update Vietnamese translations.
1611
1612 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1613
1614         * libs/gst/base/gstbasesink.c:
1615           Remove unused signal enum.
1616
1617 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
1618
1619         * docs/gst/gstreamer-sections.txt:
1620         * gst/gstelement.c:
1621         * gst/gstutils.c: (gst_type_register_static_full):
1622         Beef up and include the docs for gst_type_register_static_full and
1623         gst_element_class_set_details_simple and add the API keyword
1624         in the ChangeLog.
1625
1626 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
1627
1628         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1629         (update_time_level), (gst_single_queue_push_one),
1630         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1631         (single_queue_overrun_cb), (single_queue_underrun_cb),
1632         (single_queue_check_full):
1633         Fix setting max-* properties after adding queues.
1634         Use IS_FILLED for checking visible items.
1635         Signal overrun if multiple queues overrun.
1636         Add extra debug output.
1637         Patch by: Wim Taymans <wim@fluendo.com>
1638
1639 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
1640
1641         * gst/gstelement.c: (gst_element_class_set_details_simple):
1642         * gst/gstelement.h:
1643         * gst/gstutils.c: (gst_type_register_static_full):
1644         * gst/gstutils.h:
1645         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1646         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1647         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1648         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1649         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1650         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1651         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1652         * plugins/elements/gstidentity.c: (gst_identity_base_init):
1653         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1654         * plugins/elements/gstqueue.c: (gst_queue_base_init),
1655         (apply_buffer), (gst_queue_chain):
1656         * plugins/elements/gsttee.c: (gst_tee_base_init):
1657         * plugins/elements/gsttypefindelement.c:
1658         (gst_type_find_element_base_init),
1659         (gst_type_find_element_class_init):
1660           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1661           API: add gst_type_register_static_full
1662           API: add gst_element_class_set_details_simple
1663
1664 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1665
1666         * docs/pwg/advanced-types.xml:
1667           Fix typo in iana.org URI.
1668
1669 2007-06-19  Andy Wingo  <wingo@pobox.com>
1670
1671         * tests/check/pipelines/simple-launch-lines.c
1672         (test_state_change_returns): Enable pull-mode tests now that
1673         basesink has been fixed.
1674
1675         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
1676         Changed from gst_base_sink_is_prerolled, reversing the sense of
1677         the return value. Returns FALSE also if the sink is in pull mode,
1678         in which case it needs no preroll.
1679         (gst_base_sink_query, gst_base_sink_change_state): Update for
1680         needs_preroll change.
1681         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
1682         chaining up, in which we return SUCCESS directly if we activated
1683         in pull mode instead of ASYNC. Involves countering an async_start
1684         message sent before chaining up; not sure if this is correct, in
1685         an ideal world we only send async-start when activating in push
1686         mode.
1687
1688         * tests/check/pipelines/simple-launch-lines.c
1689         (test_state_change_returns): New test, partially disabled until
1690         basesink is fixed.
1691
1692 2007-06-19  Wim Taymans  <wim@fluendo.com>
1693
1694         * plugins/elements/gstmultiqueue.c: (apply_buffer),
1695         (gst_multi_queue_sink_event):
1696         Fix event leak.
1697
1698 2007-06-19  Wim Taymans  <wim@fluendo.com>
1699
1700         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1701         (gst_bin_change_state_func), (bin_push_state_continue),
1702         (bin_handle_async_start), (bin_handle_async_done),
1703         (gst_bin_handle_message_func):
1704         Move the common code for posting state-change messages into
1705         one function.
1706         Broadcast the state signal after we posted the messages.
1707         Mark the bin as busy when it's doing a state-change.
1708         Make sure async-start/done messages don't interfere with the bin's
1709         state when it's busy.
1710         After the state change, let the bin check which elements completed the
1711         state change while it was busy so that it can update its state.
1712
1713 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
1714
1715         * docs/random/release:
1716         Add a note about updating the doap file to the release checklist
1717
1718 2007-06-18  Wim Taymans  <wim@fluendo.com>
1719
1720         * plugins/elements/gstmultiqueue.c: (apply_buffer),
1721         (gst_single_queue_push_one), (gst_multi_queue_chain),
1722         (gst_multi_queue_sink_event):
1723         Make sure we don't reference the buffer/event after we have given away
1724         ownership in the queue.
1725
1726 2007-06-18  Wim Taymans  <wim@fluendo.com>
1727
1728         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1729         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
1730         Update queue state _after_ adding the item in the queue because else we
1731         could end up being full without the element added yet.
1732
1733 2007-06-18  Wim Taymans  <wim@fluendo.com>
1734
1735         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1736         (gst_bin_remove_func), (gst_bin_get_state_func),
1737         (gst_bin_element_set_state), (gst_bin_continue_func),
1738         (bin_push_state_continue), (bin_handle_async_start),
1739         (bin_handle_async_done), (gst_bin_handle_message_func):
1740         * gst/gstbin.h:
1741         Immediatly commit the toplevel bin state when receiving an async-done
1742         message. This enables us to avoid spawning a thread to commit the state
1743         in some common cases and it also avoids some races.
1744         Avoid spawning a state thread when adding/removing async elements to a
1745         toplevel bin. Instead we immediatly update the bin state.
1746         Get rid of iterating all the children when getting the state in the bin
1747         because it is now always up-to-date.
1748         Fix bug where locked elements would always return _SUCCESS even it they
1749         returned NO_PREROLL before being locked.
1750         Fix the order of the state_change, async-start/done messages that was
1751         sometimes incorrect.
1752         Mark the state_dirty field as deprecated, we don't need it anymore as we
1753         are always up-to-date.
1754
1755         * gst/gstelement.c: (gst_element_get_state_func),
1756         (gst_element_continue_state):
1757         Small debug inprovements.
1758         Return the previous element state return when nothing is pending instead
1759         of blindly returning SUCCESS.
1760
1761         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
1762         (gst_sinks_suite):
1763         Add a whole bunch of new testcases.
1764
1765 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1766
1767         * po/uk.po:
1768         * po/vi.po:
1769           Update translations.
1770
1771 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
1772
1773         * gst/gstpad.c:
1774         Fix typo in the docs.
1775
1776 2007-06-15  Wim Taymans  <wim@fluendo.com>
1777
1778         * docs/libs/gstreamer-libs-sections.txt:
1779         Add docs for new methods.
1780
1781 2007-06-15  Wim Taymans  <wim@fluendo.com>
1782
1783         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
1784         (gst_multi_queue_item_new):
1785         Don't use GSlice because we don't depend on >= 2.10 yet.
1786
1787 2007-06-15  Wim Taymans  <wim@fluendo.com>
1788
1789         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1790         (update_time_level), (apply_segment), (apply_buffer),
1791         (gst_single_queue_push_one), (gst_multi_queue_item_new),
1792         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
1793         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
1794         (single_queue_underrun_cb), (single_queue_check_full):
1795         Remove debug printf.
1796
1797 2007-06-15  Wim Taymans  <wim@fluendo.com>
1798
1799         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1800         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1801         (gst_data_queue_set_flushing), (gst_data_queue_push),
1802         (gst_data_queue_pop), (gst_data_queue_drop_head),
1803         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1804         * libs/gst/base/gstdataqueue.h:
1805         Various cleanups.
1806         Added methods to get the current levels and to inform the queue that the
1807         'full' limits changed.
1808
1809         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1810         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1811         (gst_single_queue_flush), (update_time_level), (apply_segment),
1812         (apply_buffer), (gst_single_queue_push_one),
1813         (gst_multi_queue_item_steal_object),
1814         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1815         (gst_multi_queue_loop), (gst_multi_queue_chain),
1816         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1817         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1818         (gst_multi_queue_src_query), (single_queue_overrun_cb),
1819         (single_queue_underrun_cb), (single_queue_check_full),
1820         (gst_single_queue_new):
1821         Keep track of time in the queue by measuring the difference between
1822         running_time on input and output. This gives more accurate results and
1823         can compensate for segments correctly.
1824         Make a queue by default only 5 buffers deep. We will now increase the
1825         buffer size depending on the filledness of the other queues.
1826         Factor out commong flush code.
1827         Make sure we don't add additional refcounts to buffers when we can avoid
1828         it.
1829         Propagate GstFlowReturn differently.
1830         Use GSlice for intermediate GstMultiQueueItems.
1831         Keep track of EOS.
1832         Resize queues on over and underruns based on filled level of other
1833         queues.
1834         When checking if the queue is filled, prefer to measure in time if we
1835         can and fall back to bytes when no time is known.
1836
1837         * plugins/elements/gstqueue.c:
1838         Fix return value.
1839
1840 2007-06-15  Wim Taymans  <wim@fluendo.com>
1841
1842         * libs/gst/base/gstbasetransform.c:
1843         (gst_base_transform_sink_event):
1844         Work around the brokenness of the event vmethod in basetransform. Prefer
1845         to return TRUE when the subclass returned FALSE (meaning don't forward
1846         the event). 
1847
1848         * libs/gst/base/gstbasetransform.h:
1849         Clarify the docs.
1850
1851 2007-06-15  Wim Taymans  <wim@fluendo.com>
1852
1853         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1854         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1855         (gst_base_src_default_query), (gst_base_src_get_range),
1856         (gst_base_src_start):
1857         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1858         Improve debugging.
1859
1860 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
1861
1862         * docs/pwg/advanced-types.xml:
1863           Added more formats to caps table.
1864
1865 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
1866
1867         * tools/gst-launch.c: (main):
1868           Remove crufy code. GOption does not need this workaround.
1869
1870 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
1871
1872         * libs/gst/controller/gstcontroller.c:
1873         (gst_controlled_property_set_interpolation_mode):
1874           Fix wrong getter for enums in controller.
1875
1876 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1877
1878         * libs/gst/check/gstcheck.c: (gst_check_init):
1879           Intercept criticals and warnings in the Gst-Phonon log domain, so
1880           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1881           well.
1882         
1883 2007-06-14  Edward Hervey  <edward@fluendo.com>
1884
1885         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1886         Since this file doesn't include "gst.h" it will not go through the
1887         macros that disable GST_LOG if debugging was disabled.
1888
1889 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1890
1891         * libs/gst/check/Makefile.am:
1892         * libs/gst/check/gstcheck.h:
1893         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1894         * pkgconfig/gstreamer-check.pc.in:
1895           Ugly 'fix' for the controller unit test on the p5 bot: in
1896           fail_unless_equals_float() check whether the values are 'almost
1897           equal' by allowing a small absolute error, which should be good
1898           enough for our use cases (normal numbers and values close to 0).
1899           Proper fixage left to floating point arithmetic aficionados.
1900
1901 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
1902
1903         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1904         (gst_base_sink_render_object), (gst_base_sink_get_position):
1905           Add two breaks thats where missing.
1906
1907 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1908
1909         * docs/libs/gstreamer-libs-sections.txt:
1910         * libs/gst/check/gstcheck.h:
1911           API: add fail_unless_equals_float() and assert_equals_float().
1912           Add documentation for some of the macros.
1913
1914         * tests/check/libs/controller.c: (GST_START_TEST):
1915           Use newly-added asserts.
1916
1917 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
1918
1919         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1920           Show the caps change in the log to help spotting the case of not
1921           exactly matching caps.
1922
1923 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1924
1925         * docs/pwg/building-boiler.xml:
1926           Fix typos, spotted by Thijs Vermeir (#447190).
1927
1928 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
1929
1930         * docs/plugins/tmpl/.cvsignore:
1931         Ignore file to keep the buildbots happy
1932
1933 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
1934
1935         * docs/plugins/Makefile.am:
1936         * docs/plugins/gstreamer-plugins-docs.sgml:
1937         * docs/plugins/gstreamer-plugins-sections.txt:
1938         Pull fdsink into the docs too.
1939
1940 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
1941
1942         * libs/gst/controller/gstinterpolation.c:
1943         Actually use the new functions with min/max checks for the trigger and
1944         none interpolation modes for get() and get_value_array() instead of
1945         just the latter.
1946
1947 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
1948
1949         * libs/gst/controller/gstcontroller.c:
1950         (gst_controlled_property_free):
1951         Unset the minimum and maximum GValues when freeing the corresponding
1952         GstControllerProperty struct.
1953
1954 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
1955
1956         * libs/gst/controller/gstcontroller.c:
1957         (gst_controlled_property_new):
1958         * libs/gst/controller/gstcontrollerprivate.h:
1959         * libs/gst/controller/gstinterpolation.c:
1960         (gst_controlled_property_find_control_point_node),
1961         (interpolate_none_get), (interpolate_none_get_enum_value_array),
1962         (interpolate_none_get_string_value_array),
1963         (interpolate_trigger_get),
1964         (interpolate_trigger_get_enum_value_array),
1965         (interpolate_trigger_get_string_value_array):
1966         Protect against values larger or smaller than the minimum or maximum
1967         allowed value for the property when using values that can be compared.
1968
1969         Optimize trigger interpolator a bit by taking the last requested value
1970         into account instead of always looping through the complete list.
1971
1972         Fix coding style a bit, everywhere else we use "return foo" instead
1973         of "return (foo)".
1974         
1975         * tests/check/libs/controller.c: (GST_START_TEST),
1976         (gst_controller_suite):
1977         Add unit test for the protection against too large or too small
1978         values.
1979
1980 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
1981
1982         * docs/random/slomo/controller.txt:
1983         Add some thoughts about the future of the controller.
1984
1985 2007-06-08  Wim Taymans  <wim@fluendo.com>
1986
1987         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1988         Don't overflow in retimestamping code.
1989
1990 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
1991
1992         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1993         Use gst_util_guint64_to_gdouble for conversions.
1994         * win32/common/libgstreamer.def:
1995         Add new exported functions.
1996
1997 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
1998
1999         * gst/gstutils.c:
2000           Small docs addition.
2001
2002 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2003
2004         * README:
2005           Remove that test line again.
2006
2007 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2008
2009         * README:
2010           Test commit mail sending.
2011
2012 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2013
2014         * configure.ac:
2015           Fix typo and test commit mail sending.
2016
2017 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2018
2019         * tests/examples/controller/audio-example.c:
2020           Improve comment and test commit mail sending.
2021
2022 2007-06-07  Wim Taymans  <wim@fluendo.com>
2023
2024         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2025         (gst_bin_remove_func), (gst_bin_element_set_state),
2026         (bin_handle_async_start), (bin_handle_async_done),
2027         (gst_bin_handle_message_func):
2028         Add helper function to find messages.
2029         Generate the async-done messages together with the state change
2030         messages.
2031         Small cleanups in handling toplevel bins.
2032
2033 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2034
2035         * libs/gst/base/gstdataqueue.c:
2036         * libs/gst/base/gstdataqueue.h:
2037         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2038         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2039         (gst_multi_queue_sink_event):
2040         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2041           Fix multiqueue leaking buffers and events when downstream or the
2042           queue are flushing. Make refcounting assumptions explicit and
2043           document them (shouldn't break existing code that uses it other than
2044           maybe leak miniobjects, but that already happens anyway). Add unit
2045           test for the most common flushing case. Fixes #423700.
2046           
2047 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2048
2049         * libs/gst/controller/gstcontroller.c:
2050         Clarify docs: The get_all, get_value_array(s) functions
2051         don't modify the GObject properties.
2052
2053 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2054
2055         * libs/gst/controller/gstcontroller.c:
2056         (gst_controlled_property_set_interpolation_mode),
2057         (gst_controlled_property_prepend_default),
2058         (gst_controlled_property_new), (gst_controller_set_unlocked),
2059         (gst_controller_set), (gst_controller_set_from_list),
2060         (gst_controller_unset), (gst_controller_unset_all):
2061         * libs/gst/controller/gstcontrollerprivate.h:
2062         * libs/gst/controller/gstinterpolation.c:
2063         Factor out the 'set' logic into gst_controller_set_unlocked for the
2064         gst_controller_set and gst_controller_set_from_list functions.
2065
2066         To make life of the interpolators easier always add a control point
2067         at timestamp zero with the default value.
2068
2069         In the linear interpolator make things more obvious by better variable
2070         naming (slope).
2071
2072         Implement cubic interpolation mode (by using a natural cubic spline)
2073         and map the quadratic interpolation mode to this too (as quadratic
2074         doesn't make much sense, see discussion on the list).
2075
2076         * tests/check/libs/controller.c: (GST_START_TEST),
2077         (gst_controller_suite):
2078         Add unit test for the cubic interpolation mode and check everywhere
2079         if the interpolation mode could be set as expected.
2080
2081 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2082
2083         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2084           Don't use GLib-2.10 functions, we still depend on
2085           GLib-how-old-is-it-again-2.8.
2086
2087 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2088
2089         * docs/gst/gstreamer-sections.txt:
2090         * gst/Makefile.am:
2091         * gst/gst.c:
2092         * gst/gst.h:
2093         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2094         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2095         (_gst_param_fraction_values_cmp),
2096         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2097         * gst/gstparamspecs.h:
2098         * gst/gstvalue.c:
2099         * tests/check/Makefile.am:
2100         * tests/check/gst/.cvsignore:
2101         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2102         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2103         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2104         (GST_START_TEST), (gst_param_spec_suite):
2105           API: add GstParamSpecFraction, so elements can have fraction
2106           properties without lots of painful string parsing (#444648).
2107
2108 2007-06-05  Wim Taymans  <wim@fluendo.com>
2109
2110         * gst/gstobject.c: (gst_object_class_init):
2111         Fix signal signature.
2112
2113         * gst/gstsegment.c:
2114         Add small clarification in the api docs.
2115
2116         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2117         States are protected with object lock.
2118
2119 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2120
2121         * AUTHORS:
2122         I should probably be listed as an author by now.
2123
2124         * docs/random/release:
2125         Update the release doc
2126
2127 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2128
2129         * gst/gstvalue.c:
2130           Make docs for gst_value_compare() mention return enums that
2131           actually exist.
2132
2133 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2134
2135         * configure.ac:
2136           Back to CVS
2137
2138 === release 0.10.13 ===
2139
2140 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2141
2142         * configure.ac:
2143           releasing 0.10.13, "With or without you"
2144
2145 2007-05-25  Wim Taymans  <wim@fluendo.com>
2146
2147         * gst/gstbin.c: (bin_handle_async_done):
2148         Make sure that the child bin stops after completing the async state
2149         change so that the parent can continue the state change to PLAYING.
2150         Fixes #441159.
2151
2152 2007-05-25  Wim Taymans  <wim@fluendo.com>
2153
2154         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2155         (unref_data), (gst_collect_pads_remove_pad),
2156         (gst_collect_pads_check_pads):
2157         Use additional refcounting to avoid crashes when dynamically adding and
2158         removing pads. Fixes #420206.
2159
2160 2007-05-24  Wim Taymans  <wim@fluendo.com>
2161
2162         * tools/gst-launch.c: (event_loop):
2163         When buffering goes from a two digit to a single digit number, make sure
2164         to remove the old second digit by writing a blank over it.
2165
2166 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2167
2168         * libs/gst/base/gstdataqueue.c:
2169           Eliminate tabs and trailing comma in enum list; fix some typos.
2170
2171 2007-05-24  Wim Taymans  <wim@fluendo.com>
2172
2173         * tests/check/gst/gstbin.c: (GST_START_TEST):
2174         Allow refcount of 3 and 4 because some state thread might still be busy
2175         with it.
2176
2177 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2178
2179         * plugins/elements/Makefile.am:
2180         * plugins/elements/gstmultiqueue.h:
2181         * plugins/elements/gstqueue.h:
2182           These are not installed headers, no need for padding.
2183
2184 2007-05-24  Wim Taymans  <wim@fluendo.com>
2185
2186         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2187         (gst_bin_continue_func):
2188         Enable latency for next release.
2189         Restore STATE_LOCK around recalc_state that was left out during the
2190         rewrite and could result in racy behaviour when _get_state and
2191         recalc_state are run concurrently. See #440463.
2192
2193 2007-05-23  Wim Taymans  <wim@fluendo.com>
2194
2195         * tests/check/gst/gstsystemclock.c: (store_callback),
2196         (GST_START_TEST):
2197         Improve test_async_order to also work when both timers are already
2198         expired when we get scheduled to check it.
2199
2200 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2201
2202         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2203         (gst_bin_set_property), (gst_bin_get_property),
2204         (gst_bin_remove_func), (gst_bin_handle_message_func):
2205         * gst/gstbin.h:
2206           'private' is a c++ keyword, let's not use that in header files,
2207           otherwise c++ compilers will throw a tantrum.
2208
2209 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2210
2211         * plugins/elements/gstelements.c:
2212         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2213         (gst_file_sink_get_current_offset):
2214         * plugins/indexers/gstindexers.c: (plugin_init):
2215           Use #ifdef for HAVE_XYZ for consistency.
2216
2217         * tests/check/Makefile.am:
2218         * tests/check/elements/.cvsignore:
2219         * tests/check/elements/filesink.c: (setup_filesink),
2220         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2221           Add some unit tests for filesink.
2222
2223 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2224
2225         Patch by: Mark Nauwelaerts <manauw at skynet be>
2226
2227         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2228         (gst_file_sink_query), (gst_file_sink_do_seek),
2229         (gst_file_sink_get_current_offset), (gst_file_sink_render):
2230         * plugins/elements/gstfilesink.h:
2231           Fix position reporting; rename data_written member to current_pos to
2232           reflect its real meaning (fixes #412648).
2233
2234 2007-05-22  Edward Hervey  <edward@fluendo.com>
2235
2236         * docs/gst/gstreamer-sections.txt:
2237         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2238         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2239         (gst_bin_remove_func), (gst_bin_handle_message_func):
2240         * gst/gstbin.h:
2241         Add a property for bins that handle the state change of their childs.
2242         Fixes #435880
2243
2244 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2245
2246         * libs/gst/controller/gstinterpolation.c:
2247         Use an array of the correct type when using _get_value_array with
2248         linear interpolation.
2249
2250 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
2251
2252         * gst/gstelement.c (gst_element_requires_clock,
2253           gst_element_provides_clock, gst_element_request_pad,
2254           gst_element_class_set_details, gst_element_class_set_details_simple,
2255           gst_element_default_send_event, gst_element_abort_state,
2256           gst_element_continue_state, gst_element_set_state,
2257           gst_element_set_state_func, iterator_activate_fold_with_resync):
2258         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2259           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2260           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2261           gst_pad_get_range, gst_pad_pull_range):
2262         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2263           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2264           GstPadActivateModeFunction, GstPadChainFunction,
2265           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2266           GstPadFixateCapsFunction, GstPadTemplate):
2267         * gst/gstpipeline.c (gst_pipeline_change_state,
2268           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2269           gst_pipeline_set_clock, gst_pipeline_auto_clock,
2270           gst_pipeline_get_delay):
2271           Whitespace and docs fixes.
2272
2273 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2274
2275         * libs/gst/controller/gstinterpolation.c:
2276         (interpolate_trigger_get_enum_value_array),
2277         (interpolate_trigger_get_string_value_array):
2278         Add support for retrieving value arrays when using the trigger
2279         interpolation mode. 
2280
2281 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2282
2283         * libs/gst/controller/gstcontroller.c:
2284         (gst_controller_get_value_array):
2285         * libs/gst/controller/gstcontroller.h:
2286         Clarify the docs of gst_controller_get_value_array(): The array where
2287         the values should be written to must be allocated as there seems to be
2288         no way to get the size of a random GType. This doesn't change any
2289         behaviour. Also fix some typos all over the place and remove an unused,
2290         commented function that is not necessary as g_object_set() could be
2291         used instead.
2292         * tests/check/libs/controller.c: (GST_START_TEST),
2293         (gst_controller_suite):
2294         Add unit test for gst_controller_get_value_array().
2295
2296 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
2297
2298         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2299
2300         Disable part of the gst_buffer_try_new_and_alloc test, because
2301         it can happily succeed on 64-bit systems where there's more address
2302         space available.
2303
2304 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2305
2306         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2307         Add unit test for the improved caps checking from bug #421543.
2308
2309 2007-05-21  Wim Taymans  <wim@fluendo.com>
2310
2311         * docs/design/part-synchronisation.txt:
2312         Small addition.
2313
2314         * gst/gstbin.c: (gst_bin_query):
2315         * plugins/elements/gstqueue.c: (apply_segment):
2316         Improve debugging.
2317
2318         * gst/gstmessage.h:
2319         Improve docs.
2320
2321 2007-05-21  Wim Taymans  <wim@fluendo.com>
2322
2323         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2324         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2325         (gst_pad_configure_src):
2326         Added simple version of improved caps checking. It was previously
2327         assumed that a setcaps function would check the validity of the caps but
2328         people prefer us to check caps against the template automatically. 
2329         Fixes #421543.
2330
2331 2007-05-21  Wim Taymans  <wim@fluendo.com>
2332
2333         * libs/gst/base/gstbasetransform.h:
2334         Fix macro for locking/unlocking the transform lock.
2335
2336 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2337
2338         * docs/plugins/tmpl/.cvsignore:
2339           Ignore more.
2340
2341 2007-05-18  Edward Hervey  <edward@fluendo.com>
2342
2343         * plugins/elements/gstqueue.c: (gst_queue_loop):
2344         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2345         for the subtle art of warning a potentially blocking thread that it
2346         should check the source pad return value, and relay the information
2347         upstream.
2348
2349 2007-05-18  Edward Hervey  <edward@fluendo.com>
2350
2351         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2352         Release the queue lock !
2353
2354 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2355
2356         * docs/libs/gstreamer-libs-sections.txt:
2357         Add the two new controller functions to the appropiate places.
2358
2359 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2360
2361         reviewed by: Stefan Kost <ensonic@users.sf.net>
2362
2363         * libs/gst/controller/gstcontroller.c:
2364         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2365         (_gst_controller_get_property), (_gst_controller_set_property),
2366         (_gst_controller_init), (_gst_controller_class_init):
2367         * libs/gst/controller/gstcontroller.h:
2368         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2369         (gst_object_get_control_rate), (gst_object_set_control_rate):
2370         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2371         Add API that provides sync suggestion timestamps for elements that
2372         call gst_object_sync_values() from which those elements can subdivide
2373         their processing loop to get the best results for the controlled
2374         properties. For now it just suggests last_sync + control_rate as
2375         new timestamp but this will be improved in the future.
2376
2377         While doing that change the control-rate property to a GstClockTime
2378         from guint and change it's meaning from samples to nanoseconds as
2379         the GstController doesn't know anything about sampling rate. Strictly
2380         speaking this breaks ABI but as the control-rate property didn't do
2381         anything in the past and as such couldn't be used this should be no
2382         problem.        
2383
2384 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2385
2386         reviewed by: Stefan Kost <ensonic@users.sf.net>
2387
2388         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2389         (gst_controller_unset_all):
2390         * libs/gst/controller/gstcontrollerprivate.h:
2391         * libs/gst/controller/gstinterpolation.c:
2392         (gst_controlled_property_find_control_point_node):
2393         Save last synced value from the list to continue searching from there
2394         in future syncs. This speeds everything up a bit.
2395         
2396 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2397
2398         reviewed by: Stefan Kost <ensonic@users.sf.net>
2399
2400         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2401         (gst_control_point_find), (gst_controlled_property_new),
2402         (gst_control_point_free), (gst_controlled_property_free),
2403         (gst_controller_set), (gst_controller_set_from_list),
2404         (gst_controller_unset), (gst_controller_unset_all),
2405         (gst_controller_sync_values):
2406         * libs/gst/controller/gstcontroller.h:
2407         * libs/gst/controller/gstcontrollerprivate.h:
2408         * libs/gst/controller/gstinterpolation.c:
2409         (gst_controlled_property_find_control_point_node),
2410         (interpolate_none_get), (interpolate_trigger_get):
2411         Add a new private GstControlPoint struct which "inherits" from
2412         GstTimedValue to allow different interpolators to store internal
2413         values next to each control point. From the outside everything is
2414         still a GstControlPoint so we don't loose binary compatibility.
2415         Also fixup all the GValue handling to not leak GValues or list nodes.
2416         * tests/check/libs/controller.c: (GST_START_TEST):
2417         Free the list nodes and GValues in the controller_misc test.
2418
2419 2007-05-17  Edward Hervey  <edward@fluendo.com>
2420
2421         * gst/gstsegment.c:
2422         Small doc fix.
2423
2424 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2425
2426         * gst/gstplugin.c: (gst_plugin_load_file):
2427           If we fail to load a plugin because of unresolved symbols or missing
2428           libraries and spew a warning to stderr, we may just as well mention
2429           which plugin it was that failed to load.
2430
2431 2007-05-13  David Schleef  <ds@schleef.org>
2432
2433         * docs/Makefile.am: the gtk-doc makefile snippet correctly
2434           handles the case when ENABLE_GTK_DOC is false, and installs
2435           the prebuilt documentation.  So gtk-doc subdirs are 
2436           unconditionally enabled.  Fixes: #349099.
2437
2438 2007-05-13  David Schleef  <ds@schleef.org>
2439
2440         * gst/gstutils.h: Reword some documentation.
2441
2442 2007-05-12  David Schleef  <ds@schleef.org>
2443
2444         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2445           do anything with the passed "module" parameter, so remove it.
2446           Allows removal of additional vestigal code.
2447
2448 2007-05-12  David Schleef  <ds@schleef.org>
2449
2450         * gst/gstplugin.c:
2451           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2452           Switch to using g_stat() because it's more portable.
2453
2454 2007-05-12  David Schleef  <ds@schleef.org>
2455
2456         * gst/gst.c:
2457           Add GST_DISABLE_OPTION_PARSING, in order to disable option
2458           parsing for embedded systems.
2459         * gst/gstelementfactory.c:
2460           Allow gst_element_register() to be called with plugin==NULL.
2461           Did nobody notice that static elements were broken?
2462
2463 2007-05-12  Wim Taymans  <wim@fluendo.com>
2464
2465         * tools/gst-launch.c: (event_loop):
2466         Give more interesting info when buffering starts and stops.
2467         Fix case where buffering starts but we fail to update the buffering flag
2468         because the target state is not PLAYING.
2469
2470 2007-05-12  Wim Taymans  <wim@fluendo.com>
2471
2472         * plugins/elements/gstqueue.c: (gst_queue_init),
2473         (gst_queue_finalize), (update_time_level), (apply_segment),
2474         (apply_buffer), (gst_queue_locked_flush),
2475         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2476         (gst_queue_handle_sink_event), (gst_queue_chain),
2477         (gst_queue_push_one), (gst_queue_loop):
2478         * plugins/elements/gstqueue.h:
2479         Refactor an cleanup queue a bit.
2480         Do better time level calculations that also work when the srcpad is not
2481         yet running.
2482         Remove some unneeded debug lines.
2483
2484         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2485         Added testcase for time level measurement.
2486         Try to make some stuff more racefree.
2487
2488 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2489
2490         * gst/gsturi.c: (gst_element_make_from_uri):
2491           Don't leak plugin feature.
2492
2493         * tests/check/Makefile.am:
2494         * tests/check/gst/.cvsignore:
2495         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2496           Add brain-dead unit test.
2497
2498 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2499
2500         Patch by: Jeroen Wouters <woutersj at gmail com>
2501
2502         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2503           Treat protocol strings in a case-insensitive way (#437563).
2504
2505 2007-05-11  Michael Smith <msmith@fluendo.com>
2506
2507         * gst/gstplugin.c: (gst_plugin_load_file):
2508         * gst/gstregistry.c: (gst_registry_scan_path_level):
2509           Don't print a g_warning for any failure to load a shared object.
2510           Instead, push this down into gstplugin.c, and warn _only_ if we
2511           failed to open the module (i.e. failure to link).
2512           Avoids warnings on normal, working, non-plugin .so files.
2513
2514 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
2515
2516         * gst/gstplugin.c (gst_plugin_load_file):
2517         * gst/gstregistry.c (GST_CAT_DEFAULT,
2518           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2519           Print a g_warning if there was an error when loading a plugins during
2520           registry scan. The shuld help beginners starting with gst-plugin
2521           template.
2522
2523 2007-05-10  Wim Taymans  <wim@fluendo.com>
2524
2525         * plugins/elements/gstqueue.c: (gst_queue_class_init),
2526         (update_time_level), (gst_queue_locked_flush),
2527         (gst_queue_handle_sink_event), (gst_queue_chain),
2528         (gst_queue_push_one), (gst_queue_loop):
2529         * plugins/elements/gstqueue.h:
2530         Be smarter when calculating the current amount of data in the queue by
2531         measuring the difference between start and end timestamps (in running
2532         time) inside the queue. Fixes #432876.
2533         API: GstQueue::pushing to notify elements that we are pushing data again
2534         since the running signal is rather broken for this purpose.
2535
2536 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
2537
2538         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2539           gst_queue_base_init, gst_queue_init):
2540           use GST_BOILERPLATE
2541
2542 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
2543
2544         * win32/common/libgstreamer.def:
2545         Add new exported functions.
2546         * win32/vs6/grammar.dsp:
2547         Use grammar pre-generated files.
2548
2549 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2550
2551         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
2552
2553         * gst/Makefile.am:
2554         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2555         * gst/gstparse.h:
2556         * gst/gstutils.c: (gst_parse_bin_from_description):
2557         * gst/gstutils.h:
2558           Maintain API and ABI when --disable-parse is used. Now that
2559           we have an appropriate error code, we can just return NULL and the
2560           appropriate error when gst_parse_launch() is used despite it having
2561           been disabled (#342564).
2562
2563         * tests/check/Makefile.am:
2564         * tests/check/pipelines/.cvsignore:
2565         * tests/check/pipelines/parse-disabled.c:
2566           Make sure these functions exist and return NULL plus a GError when
2567           --disable-parse is used.
2568
2569 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2570
2571         * tests/benchmarks/complexity.c: (main):
2572         * tests/benchmarks/mass-elements.c: (main):
2573           Set a good example and don't leak messages.
2574
2575 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
2576
2577         * docs/gst/Makefile.am:
2578         * docs/libs/Makefile.am:
2579           Correct fixxrefs options.
2580
2581         * docs/plugins/Makefile.am:
2582         * docs/plugins/gstreamer-plugins-docs.sgml:
2583         * docs/plugins/gstreamer-plugins-sections.txt:
2584         * plugins/elements/Makefile.am:
2585         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2586         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2587           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2588           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2589           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2590           _GstCapsFilterClass, trans_class):
2591         * plugins/elements/gstelements.c (name, rank, type, _elements):
2592         * plugins/elements/gstidentity.c
2593           (gst_identity_check_imperfect_timestamp,
2594           gst_identity_check_imperfect_offset):
2595           Document capsfilter and add doc-blurb to identity.
2596
2597 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
2598
2599         * libs/gst/controller/gstcontroller.c:
2600         (gst_controlled_property_set_interpolation_mode):
2601         * libs/gst/controller/gstinterpolation.c:
2602           Don't crash if someone tries to set an interpolation mode that
2603           is invalid or that isn't supported yet. Fixes #422295.
2604
2605         * tests/check/libs/controller.c: (GST_START_TEST),
2606         (gst_controller_suite):
2607           Add a test case for the above.
2608
2609 2007-05-03  Edward Hervey  <edward@fluendo.com>
2610
2611         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2612         Properly set the last_stop position on GstSegment. This will only happen
2613         if there is a buffer to push out.
2614
2615 2007-05-03  Wim Taymans  <wim@fluendo.com>
2616
2617         * libs/gst/base/gstbasetransform.c:
2618         (gst_base_transform_buffer_alloc):
2619         always_in_place does not mean that the sink and source caps are the
2620         same! Make sure we don't blindly proxy the buffer_alloc in this case.
2621
2622 2007-05-03  Wim Taymans  <wim@fluendo.com>
2623
2624         * docs/libs/gstreamer-libs-sections.txt:
2625         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2626         (gst_base_src_default_query), (gst_base_src_get_range):
2627         * libs/gst/base/gstbasesrc.h:
2628         API: gst_base_src_query_latency(). Added method so that subclasses can
2629         easily get the latency values of the base source class.
2630
2631 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
2632
2633         * tools/gst-inspect.c (print_implementation_info):
2634         Remove 0.8 cruft.
2635
2636 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
2637
2638         * tools/Makefile.am:
2639         * tools/gst-launch.1.in:
2640           Don't create a customised man page based on the host architecture,
2641           describe the default registry path generically. That way the man
2642           page is the same for all architectures and packagers have one
2643           multilib issue less to deal with. Fixes #434926.
2644
2645 2007-05-02  Wim Taymans  <wim@fluendo.com>
2646
2647         * gst/gstpad.c:
2648         Fix documentation as spotted by rg on IRC. 
2649
2650 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
2651
2652         * gst/gstutils.c:
2653           Improve docs for gst_element_{link,unlink}.
2654
2655 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
2656
2657         * docs/design/part-events.txt:
2658         * docs/design/part-overview.txt:
2659         * gst/gstevent.c:
2660         * gst/gsturi.c:
2661         * gst/gsturi.h:
2662         * libs/gst/base/gstbasesink.c:
2663           Typo fixes; minor docs addition.
2664
2665 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
2666
2667         * docs/gst/gstreamer-sections.txt:
2668         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2669         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2670         * gst/gsturi.h:
2671         API: Add gst_uri_protocol_is_supported(), which checks if a sink
2672         or src that supports a given URI protocol exists.
2673
2674 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
2675
2676         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2677         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2678         Set the location to NULL if "file://" is set as URI. Otherwise
2679         some random previous URI would still be set if "file://" is
2680         set on an already used filesink/filesrc.
2681
2682 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
2683
2684         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2685         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2686         Special case the "file://" URI as as this is used by some
2687         applications to test with gst_element_make_from_uri if there's
2688         an element that supports the URI protocol.
2689         Also move the g_path_is_absolute() check for the location part
2690         of the URI to also check this for "file://localhost/bla" URIs.
2691
2692 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
2693
2694         * docs/gst/gstreamer-sections.txt:
2695         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
2696         * gst/gstbuffer.h:
2697         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2698         (gst_buffer_suite):
2699           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2700
2701 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
2702
2703         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2704         (gst_registry_binary_load_pad_template),
2705         (gst_registry_binary_load_plugin),
2706         (gst_registry_binary_read_cache):
2707         * gst/gstregistrybinary.h:
2708           Implement no-mmap alternative for registry reading. Do code cleanups.
2709           Add more comments about avoiding strdups for all text data. Comments
2710           welcome.
2711
2712 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
2713
2714         * gst/gstregistrybinary.h (GstBinaryPluginElement,
2715           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
2716           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
2717           Comment structs and reformat to fix the build (that stuff should go
2718           into a priv. header).
2719
2720 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
2721
2722         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2723         (gst_registry_binary_load_feature):
2724         * gst/gstregistrybinary.h:
2725           Refactor so that we can implement multiple features. Add support for
2726           TypeFindFactory features.
2727
2728 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
2729
2730         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
2731
2732         * configure.ac:
2733           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
2734
2735 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
2736
2737         * gst/gstbin.c: (gst_bin_element_set_state),
2738         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
2739         (bin_handle_async_done), (gst_bin_handle_message_func):
2740           Fix build with --gst-disable-gst-debug
2741
2742 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
2743
2744         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
2745           Make sure streaming has finished before calling the ::stop() vfunc,
2746           since that vfunc might clear state which is being used in the
2747           streaming thread. This fixes a race that caused crashes in
2748           audioresample when shutting down a pipeline (#420106).
2749
2750 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
2751
2752         * docs/gst/gstreamer-sections.txt:
2753           That was one byte missing.
2754
2755 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
2756
2757         * configure.ac:
2758         * docs/gst/gstreamer-sections.txt:
2759         * gst/Makefile.am:
2760         * gst/gstconfig.h.in:
2761         * gst/gstobject.c: (gst_object_class_init),
2762         (gst_signal_object_class_init):
2763         * gst/gstobject.h:
2764           2nd attempt to have a xml-less build as a joined effort of #413123
2765           and #421480.
2766
2767 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
2768
2769         * docs/design/draft-tagreading.txt:
2770           Added open issues/thoughts to draft.
2771
2772 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2773
2774         * gst/parse/grammar.tab.pre.c:
2775         * gst/parse/grammar.tab.pre.h:
2776         * gst/parse/lex._gst_parse_yy.pre.c:
2777         Update the prebuild parser sources.
2778
2779 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2780
2781         * gst/parse/Makefile.am:
2782         And now fix the building of the flex sources. Now everything should
2783         work as expected.
2784
2785 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2786
2787         * gst/parse/Makefile.am:
2788         Now hopefully fix the build failures by setting proper rule
2789         dependencies and moving instead of copying.
2790
2791 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
2792
2793         * tests/benchmarks/complexity.gnuplot:
2794         * tests/benchmarks/complexity.scm:
2795         * tests/benchmarks/mass-elements.gnuplot:
2796         * tests/benchmarks/mass-elements.scm:
2797           Total licensification.
2798
2799 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
2800
2801         * gst/parse/Makefile.am:
2802           Fix the build by correcting the rule that gave wrong files to flex.
2803
2804 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
2805
2806         * tests/benchmarks/complexity.c:
2807         * tests/benchmarks/mass-elements.c:
2808           Change licence to LGPL as granted by Benjamin and Andy.
2809
2810 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2811
2812         * gst/parse/Makefile.am:
2813         Add correct grammar.tab.h dependency if compiling without new enough
2814         flex. Fixes #431150.
2815
2816 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
2817
2818         * gst/parse/Makefile.am:
2819         Fix typo and use outdated sources if the flex/bison sources are newer
2820         than the pregenerated ones but flex is too old. Print a warning in
2821         that case. This should fix the build on the build bot.
2822
2823 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
2824
2825         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2826         * gst/parse/Makefile.am:
2827         * gst/parse/grammar.y:
2828         * gst/parse/parse.l:
2829         Make the parser reentrant and recursively callable. This requires flex
2830         >= 2.5.31, for older versions pregenerated sources are used as we
2831         can't bump the build dependency. Finally fixes #349180.
2832
2833         * gst/gstparse.c: (gst_parse_launch):
2834         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2835         now anyway.
2836
2837         * docs/gst/Makefile.am:
2838         * docs/gst/Makefile.am:
2839         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2840         (__gst_parse_strfree), (__gst_parse_link_new),
2841         (__gst_parse_link_free), (__gst_parse_chain_new),
2842         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2843         (gst_parse_element_set), (gst_parse_free_link),
2844         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2845         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2846         (_gst_parse_launch):
2847         * gst/parse/grammar.tab.pre.h:
2848         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2849         (yy_get_previous_state), (yy_try_NUL_trans), (input),
2850         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2851         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2852         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2853         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2854         (_gst_parse_yypop_buffer_state),
2855         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2856         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2857         (yy_fatal_error), (_gst_parse_yyget_extra),
2858         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2859         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2860         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2861         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2862         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2863         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2864         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2865         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2866         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2867         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2868         (_gst_parse_yyfree):
2869         If the installed flex version is too old use pre-generated parser
2870         sources. These pre-generated parser sources are always updated when
2871         the actual flex/bison sources change but require everybody who wants
2872         to change something in the parser to have flex >= 2.5.31 installed.
2873
2874 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
2875
2876         * common/m4/gst-gettext.m4:
2877         * gst/gst-i18n-lib.h:
2878           Make --disable-nls to work
2879
2880 2007-04-17  Wim Taymans  <wim@fluendo.com>
2881
2882         * gst/gstconfig.h.in:
2883         Revert previous change that broke the build.
2884
2885 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
2886
2887         * configure.ac:
2888         * gst/Makefile.am:
2889         * gst/gstconfig.h.in:
2890           Drop libxml2 dependency when building with 
2891           --enable-binary-registry --disable-loadsave
2892
2893 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
2894
2895         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2896         (gst_registry_binary_read_cache):
2897         * gst/gstregistrybinary.h:
2898           Remove unnecessary <sys/mman.h> include which broke the win32 build
2899           with MingW; move includes from header file to .c file, even if the
2900           header file isn't installed; use g_strerror() where UTF-8 strings
2901           are expected, such as in GST_DEBUG messages.
2902
2903 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2904
2905         * docs/libs/gstreamer-libs-sections.txt:
2906         Remove bogus addition for API I didn't end up keeping.
2907
2908         * libs/gst/base/gstbasesrc.h:
2909         Mention Since: 0.10.13 in the documentation.
2910
2911         Add the API keyword to the previous ChangeLog entry.
2912
2913 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2914
2915         * docs/libs/gstreamer-libs-sections.txt:
2916         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2917         (gst_base_src_default_prepare_seek_segment),
2918         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2919         * libs/gst/base/gstbasesrc.h:
2920         Allow basesrc derived classes to execute seeks in other formats
2921         by providing a prepare_seek_segment vmethod. Sub-classes can choose
2922         to prepare the GstSegment in any format that their perform_seek method
2923         will be able to understand. The default implementation provides the
2924         old behaviour of attempting to convert the seek offsets to the 
2925         configured native format.
2926
2927         API: basesrc::prepare_seek_segment vmethod.
2928
2929 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2930
2931         * gst/gstelement.c: (gst_element_get_state_func):
2932         Don't output the same debug statement twice.
2933
2934         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2935         (gst_adapter_peek), (gst_adapter_take_buffer):
2936         Optimise the case where we have buffers at the head of the queue that
2937         can be joined quickly (because they're contiguous sub-buffers) by
2938         merging them together rather than copying data out into new memory.
2939
2940         * gst/parse/grammar.y:
2941         * tests/check/pipelines/parse-launch.c:
2942         Fix a leak in an error path for parse_launch, and add a check 
2943         for it to the testsuite.
2944
2945 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2946
2947         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2948           Don't deadlock when releasing a pad - gst_pad_set_active may try
2949           and take the multiqueue lock too.
2950
2951 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
2952
2953         * gst/gsterror.c: (_gst_core_errors_init):
2954         * gst/gsterror.h:
2955           API: add GST_CORE_ERROR_DISABLED (#392804).
2956
2957 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2958
2959         * docs/faq/gst-uninstalled:
2960           don't get empty paths on the PATH variables
2961         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2962           Don't format for the uncommon terminal width of 84 characters.
2963
2964 2007-04-06  Wim Taymans  <wim@fluendo.com>
2965
2966         * gst/gstpipeline.c: (reset_stream_time),
2967         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2968         Only try to select a different pipeline clock when we went back to
2969         PAUSED and not when we merely got flushed.
2970
2971 2007-04-05  Michael Smith  <msmith@fluendo.com>
2972
2973         * tools/gst-launch.1.in:
2974           fractions are better supported in gstreamer than ractions, so
2975           suggest using those.
2976
2977 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
2978
2979         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2980
2981         * po/LINGUAS:
2982         * po/da.po:
2983           Added Danish translation.
2984
2985 2007-04-05  Wim Taymans  <wim@fluendo.com>
2986
2987         * libs/gst/base/gstbasesink.c:
2988         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2989         Fix leak caused when refusing newsegment after EOS.
2990
2991         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2992         (gst_fake_sink_init), (gst_fake_sink_set_property),
2993         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2994         (gst_fake_sink_render), (gst_fake_sink_change_state):
2995         * plugins/elements/gstfakesink.h:
2996         Add num-buffers property to make the element generate EOS after a
2997         configurable amount of buffers.
2998         API: fakesink::num-buffers property.
2999
3000         * tests/check/elements/fakesink.c: (GST_START_TEST),
3001         (fakesink_suite):
3002         Fix GstBus leak in test.
3003         Test for fakesink num-buffers.
3004
3005 2007-04-05  Wim Taymans  <wim@fluendo.com>
3006
3007         * libs/gst/base/gstbasesink.c:
3008         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3009         (gst_base_sink_change_state):
3010         Don't accept anything after an EOS, return UNEXPECTED instead.
3011
3012         * tests/check/elements/fakesink.c: (GST_START_TEST),
3013         (fakesink_suite):
3014         Unit test for new EOS behaviour.
3015
3016 2007-04-05  Wim Taymans  <wim@fluendo.com>
3017
3018         * gst/gstelement.c: (gst_element_get_request_pad):
3019         Make padtemplates also work when they don't contain %s or %d.
3020
3021 2007-04-05  Wim Taymans  <wim@fluendo.com>
3022
3023         * docs/gst/gstreamer-sections.txt:
3024         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3025         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3026         * gst/gstclock.h:
3027         Improve _adjust_unlocked() so that it overflows less.
3028         Add gst_clock_unadjust_unlocked to convert from external time to
3029         internal time based on calibration.
3030         Add some more debug.
3031         API: GstClock::gst_clock_unadjust_unlocked()
3032
3033 2007-04-03  Wim Taymans  <wim@fluendo.com>
3034
3035         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3036
3037         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3038         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3039         when releasing sink pad. Fixes #425400.
3040
3041 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3042
3043         * docs/random/ensonic/dynlink.txt:
3044           More work on proposal for new core api.
3045
3046         * docs/libs/gstreamer-libs-sections.txt:
3047         * libs/gst/base/gstbasetransform.h:
3048           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3049           
3050         * libs/gst/controller/gstcontroller.c:
3051         (on_object_controlled_property_changed),
3052         (gst_controller_sync_values),
3053         (gst_controller_set_interpolation_mode):
3054         * libs/gst/controller/gstcontroller.h:
3055           Less verbose logging add docs for unimplemented parts and correctly
3056           return when using unavailable parts.
3057
3058 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3059
3060         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3061         Move all the debug to the CLOCK category, and associate it with
3062         the clock object.
3063
3064 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3065
3066         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3067         Make take_buffer a bit quicker by removing redundant checks
3068         caused by calling gst_adapter_take.
3069
3070 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3071
3072         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3073           Don't leak GCond.
3074
3075         * tests/check/Makefile.am:
3076         * tests/check/elements/.cvsignore:
3077         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3078         (GST_START_TEST), (multiqueue_suite):
3079           Add some dead simple unit tests for the 'multiqueue' element
3080           (some bits don't work yet and are disabled for now).
3081
3082 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3083
3084         * gst/gstelement.c: (gst_element_get_request_pad),
3085         (gst_element_class_get_request_pad_template):
3086           Make gst_element_get_request_pad() create request pads only for
3087           request pad templates and not for, say, sometimes pad templates.
3088
3089 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3090
3091         * docs/design/draft-klass.txt:
3092           Add example that needs more thinking.
3093         
3094         * docs/design/draft-missing-plugins.txt:
3095           More thoughts about wrapper plugins.
3096         
3097         * docs/random/ensonic/embedded.txt:
3098         * docs/random/ensonic/profiling.txt:
3099           More design work.
3100
3101 2007-03-25  Wim Taymans  <wim@fluendo.com>
3102
3103         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3104         (gst_base_src_loop):
3105         Only push the segment events in the PLAYING state for live sources.
3106
3107 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3108
3109         * gst/gstpipeline.c: (gst_pipeline_change_state):
3110         Modify the clock distribution path in PAUSED->PLAYING so that we 
3111         never attempt to choose a new clock unless we're actually leaving
3112         the PAUSED state for the first time. This prevents choosing a
3113         different clock when the state_change gets called for a 2nd time due
3114         to some element doing an async state change.
3115
3116 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3117
3118         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3119         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3120         (gst_pad_chain_unchecked), (gst_pad_push):
3121         Revert last commit. This needs some more thoughts.
3122
3123 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3124
3125         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3126         (gst_pad_chain_unchecked), (gst_pad_push):
3127         Check in set_caps if the caps are compatible with the pad and remove
3128         two functions that are redundant now. Fixes #421543.
3129
3130 2007-03-22  Wim Taymans  <wim@fluendo.com>
3131
3132         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3133         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3134         Unref some more to make valgrind happy.
3135
3136 2007-03-22  Wim Taymans  <wim@fluendo.com>
3137
3138         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3139         (gst_system_clock_id_wait_jitter),
3140         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3141         Fix anoying regression that survived a few releases. When adding an
3142         async entry while blocking on a sync entry, the sync entry will unblock
3143         but still be busy, so it should continue to wait instead of returning
3144         _BUSY to the app.
3145         Add some comments here and there.
3146
3147         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3148         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3149         Add testcase for this.
3150
3151 2007-03-22  Wim Taymans  <wim@fluendo.com>
3152
3153         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3154         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3155         WRONG_STATE and can silently pause the task. All other cases should
3156         error out.
3157
3158 2007-03-22  Wim Taymans  <wim@fluendo.com>
3159
3160         Patch by: Ville Syrjala <syrjala at sci dot fi>
3161
3162         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3163         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3164         Improve debugging.
3165
3166 2007-03-21  Michael Smith  <msmith@fluendo.com>
3167
3168         * docs/pwg/advanced-types.xml:
3169           Fix some errors in the typefinding docs pointed out on irc.
3170
3171 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3172
3173         * libs/gst/base/gstbasesrc.c:
3174         Clarify FIXME comment in the face of having added unlock_stop()
3175
3176 2007-03-21  Wim Taymans  <wim@fluendo.com>
3177
3178         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3179         Prepare for release where we warn against possible app breakage in the
3180         case of live pipelines along with an env var to enable/disable live
3181         preroll mode (GST_COMPAT=[no-]live-preroll).
3182
3183 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3184
3185         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3186         So we should use correct constants for checking for None offset.
3187
3188 2007-03-20  Wim Taymans  <wim@fluendo.com>
3189
3190         * docs/design/part-block.txt:
3191         Mention the fact that the newly switched element should be set to at
3192         least PAUSED.
3193
3194 2007-03-20  Wim Taymans  <wim@fluendo.com>
3195
3196         * gst/gst.c:
3197         Fix compilation with registry disabled as spotted by Saur.
3198
3199 2007-03-20  Wim Taymans  <wim@fluendo.com>
3200
3201         Patch by: Olivier Crete <tester at tester dot ca>
3202
3203         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3204         Look at the pending state too when syncing the element state to the
3205         parent. Fixes #420133.
3206
3207 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3208
3209         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3210         (gst_base_sink_change_state):
3211         * libs/gst/base/gstbasesink.h:
3212         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3213         (gst_base_src_default_event), (gst_base_src_unlock_stop),
3214         (gst_base_src_deactivate):
3215         * libs/gst/base/gstbasesrc.h:
3216         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3217         for sub-classes to correctly clear any state they set trying to
3218         unlock, such as clearing out unlock commands from a command fd.
3219         API: basesrc::unlock_stop
3220         API: basesink::unlock_stop
3221
3222         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3223         (gst_fd_sink_render), (gst_fd_sink_unlock),
3224         (gst_fd_sink_unlock_stop):
3225         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3226         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3227         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3228
3229         Implement unlock_stop in fdsrc and fdsink.
3230         Implement seeking in fdsrc when a seekable fd is passed, as in
3231         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3232
3233 2007-03-19  Wim Taymans  <wim@fluendo.com>
3234
3235         Patch by: Evan Nemerson <evan at coeus dash group dot com>
3236
3237         * gst/gstelement.c: (gst_element_class_init):
3238         Fix pad-added and pad-removed signal signatures so that the pad type is
3239         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3240
3241 2007-03-19  Wim Taymans  <wim@fluendo.com>
3242
3243         * docs/gst/gstreamer-sections.txt:
3244         Add new element field and method.
3245
3246         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3247         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3248         (gst_bin_recalc_state), (gst_bin_get_state_func),
3249         (gst_bin_element_set_state), (gst_bin_change_state_func),
3250         (gst_bin_continue_func), (bin_bus_handler),
3251         (bin_push_state_continue), (bin_handle_async_start),
3252         (bin_handle_async_done), (gst_bin_handle_message_func):
3253         Make async state changes a bit smarter by using new ASYNC_START and
3254         ASYNC_DONE messages. This reduces the number of times we run the state
3255         recalculation thread.
3256         Don't change state of element with a pending ASYNC_START message.
3257         Deprecate STATE_DIRTY messages.
3258         
3259         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3260         (gst_element_get_state_func), (gst_element_continue_state),
3261         (gst_element_lost_state), (gst_element_set_state_func),
3262         (gst_element_change_state):
3263         * gst/gstelement.h:
3264         Keep the state that was last set by the app in a new element field.
3265         Don't allow state changes when handling an element event.
3266         Post ASYNC_START and ASYNC_DONE messages.
3267         Change lost_state so that we go to PAUSED and wait for the parent to set
3268         us to PLAYING again (so latency calculation can be performed)
3269         Export gst_element_change_state() method so that subclasses can use it.
3270         API: gst_element_change_state()
3271         API: GST_STATE_TARGET
3272
3273         * gst/gstpipeline.c: (gst_pipeline_class_init),
3274         (reset_stream_time), (gst_pipeline_change_state),
3275         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3276         Using the new ASYNC_START message we can reset the base_time when
3277         needed. This can then be used to implement base_time redistribution in
3278         flushing seeks so that we can remove the explicit seek handling.
3279         Perform latency query and configuration when going to PLAYING.
3280
3281         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3282         (gst_base_sink_query), (gst_base_sink_change_state):
3283         Post new ASYNC_START/ASYNC_DONE messages.
3284
3285         * tests/check/generic/sinks.c: (GST_START_TEST):
3286         Fix test because the bin will not set the async element to PLAYING right
3287         away.
3288
3289         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3290         Make the message check a little stronger.
3291         Handle ASYNC messages.
3292
3293         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3294         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3295         Expect ASYNC_DONE messages.
3296
3297 2007-03-19  Wim Taymans  <wim@fluendo.com>
3298
3299         * docs/gst/gstreamer-sections.txt:
3300         * gst/gstmessage.c: (gst_message_new_async_start),
3301         (gst_message_new_async_done), (gst_message_parse_info),
3302         (gst_message_parse_async_start):
3303         * gst/gstmessage.h:
3304         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3305         support.
3306
3307 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
3308
3309         * tools/gst-inspect.c:
3310         (print_plugin_automatic_install_info_codecs):
3311           Now that we don't check for the 'Codec' keyword any longer in the
3312           klass, we shouldn't spew a warning if the klass isn't a decoder or
3313           encoder (since it might be a Source/Network, for example).
3314
3315 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3316
3317         * tools/gst-inspect.c:
3318         (print_plugin_automatic_install_info_codecs):
3319           Don't require decoder/demuxer/depayloader elements or
3320           encoder/muxer/paylader elements to have 'Codec' as part of their
3321           factory class string when introspecting a plugin's capabilities.
3322           draft-klass.txt mentions that it might be removed in future, and
3323           flump3dec doesn't have it as part of its class string, so chances
3324           are others might also not have it.
3325
3326 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3327
3328         * po/af.po:
3329         * po/az.po:
3330         * po/bg.po:
3331         * po/ca.po:
3332         * po/cs.po:
3333         * po/de.po:
3334         * po/en_GB.po:
3335         * po/fr.po:
3336         * po/it.po:
3337         * po/nb.po:
3338         * po/nl.po:
3339         * po/ru.po:
3340         * po/sq.po:
3341         * po/sr.po:
3342         * po/sv.po:
3343         * po/tr.po:
3344         * po/uk.po:
3345         * po/vi.po:
3346         * po/zh_CN.po:
3347         * po/zh_TW.po:
3348           Update translations from translation project
3349
3350 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
3351
3352         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3353         (gst_child_proxy_set_property):
3354           Invert precondition check to be alike the ones in the mimiced gobject
3355           api.
3356
3357 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
3358
3359         * docs/design/draft-tagreading.txt:
3360         * docs/random/ensonic/audiobaseclasses.txt:
3361           Do some Architect work.
3362
3363         * gst/gstobject.c: (gst_object_set_name):
3364           Add a WARNING.
3365
3366         * gst/gstpad.c:
3367           Add docs that point from gst_pad_get_range to gst_pad_pull_range
3368
3369 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
3370
3371         * gst/gstsystemclock.c: (gst_system_clock_init),
3372         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3373         Defer starting the async system clock thread until the first async
3374         wait is scheduled. Fixes #414986.
3375
3376 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
3377
3378         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3379         (gst_single_queue_free):
3380           Fix small leak (free GstSingleQueue structure too, not only contents).
3381
3382 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
3383
3384         * gst/gstbin.c:(gst_bin_add):
3385         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3386         * win32/common/libgstbase.def:
3387         * win32/common/libgstreamer.def:
3388         Add new exported functions.
3389
3390 2007-03-09  Wim Taymans  <wim@fluendo.com>
3391
3392         * docs/plugins/gstreamer-plugins-sections.txt:
3393         Fix GstTee docs.
3394
3395 2007-03-09  Wim Taymans  <wim@fluendo.com>
3396
3397         * docs/gst/gstreamer-sections.txt:
3398         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3399         * gst/gstbuffer.h:
3400         Add metadata copy functions. Fixes #393099.
3401         API: gst_buffer_copy_metadata()
3402
3403         * gst/gstutils.c: (gst_buffer_stamp):
3404         * libs/gst/base/gstbasetransform.c:
3405         (gst_base_transform_prepare_output_buffer):
3406         Use new metadata copy functions.
3407
3408 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3409
3410         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3411         (gst_identity_init), (gst_identity_check_perfect),
3412         (gst_identity_check_imperfect_timestamp),
3413         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3414         (gst_identity_set_property), (gst_identity_get_property):
3415         * plugins/elements/gstidentity.h:
3416         Separate out check-imperfect-timestamp and check-imperfect-offset.
3417         Put back check-perfect as it was to keep compatibility.
3418
3419 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
3420
3421         * gst/gstelement.c: (gst_element_dispose):
3422         There's no need to warn if VOID_PENDING is not NONE here, as
3423         long as the state is NULL it's ok, and that's checked immediately
3424         above.
3425
3426 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3427
3428         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3429         Fix check for perfect stream to ignore buffers with -1 
3430         offsets/offset ends when checking data contiguity.
3431
3432 2007-03-08  Wim Taymans  <wim@fluendo.com>
3433
3434         * tools/gst-launch.c: (event_loop):
3435         Print INFO messages.
3436
3437 2007-03-08  Wim Taymans  <wim@fluendo.com>
3438
3439         * libs/gst/base/gstbasetransform.c:
3440         (gst_base_transform_sink_eventfunc),
3441         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3442         (gst_base_transform_activate):
3443         * libs/gst/base/gstbasetransform.h:
3444         Add support for dropping buffers with custom GstFlowReturn.
3445         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3446         buffers or dropped buffers.
3447
3448         * docs/libs/gstreamer-libs-sections.txt:
3449         docs for new custom return code.
3450
3451         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3452         Use drop support in base class to implement drop-probability.
3453
3454 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
3455
3456         * gst/gst.c: (load_plugin_func):
3457         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3458         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3459         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3460           Remove newlines at end of debug log strings.
3461
3462 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3463
3464         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3465         Only post bus message at max, once per buffer received.
3466
3467 2007-03-07  Wim Taymans  <wim@fluendo.com>
3468
3469         * docs/design/Makefile.am:
3470         * docs/design/part-synchronisation.txt:
3471         Add doc about synchronisation
3472
3473         * docs/design/draft-latency.txt:
3474         * docs/design/part-TODO.txt:
3475         * docs/design/part-clocks.txt:
3476         * docs/design/part-events.txt:
3477         * docs/design/part-gstbus.txt:
3478         * docs/design/part-gstpipeline.txt:
3479         * docs/design/part-live-source.txt:
3480         * docs/design/part-messages.txt:
3481         * docs/design/part-overview.txt:
3482         * docs/design/part-streams.txt:
3483         * docs/design/part-trickmodes.txt:
3484         Documentation updates.
3485
3486 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3487
3488         * gstreamer.doap:
3489         Update the doap file.
3490
3491 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3492
3493         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3494         Rename non-perfect to imperfect for Mike and for the sanctity of the
3495         language.
3496         Also make sure bus message gets emitted for data-incontiguities.
3497
3498 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3499
3500         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3501         (gst_identity_start):
3502         * plugins/elements/gstidentity.h:
3503         Emit bus message if check-perfect is true and we encounter a
3504         non-perfect stream between 2 consecutive buffers.
3505         Fixes #415394.
3506
3507 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3508
3509         * configure.ac:
3510         Back to CVS
3511
3512 === release 0.10.12 ===
3513
3514 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
3515
3516         * configure.ac:
3517           releasing 0.10.12, "Inevitable Demise"
3518
3519 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
3520
3521         * configure.ac:
3522          Version 0.10.11.2 (0.10.12 pre-release)
3523          Bump libtool versioning.
3524
3525 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
3526
3527         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3528           Log flow-names and not numbers.
3529
3530 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3531
3532         * configure.ac:
3533           Convert to new AG_GST style.
3534
3535 2007-02-28  Wim Taymans  <wim@fluendo.com>
3536
3537         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3538         Don't unref query twice.
3539
3540 2007-02-28  Wim Taymans  <wim@fluendo.com>
3541
3542         * gst/gstvalue.c: (gst_value_transform_object_string),
3543         (_gst_value_initialize):
3544         Implement GstObject -> string transform so we print object names
3545         when serializing GValues containing GstObjects.
3546
3547 2007-02-28  Wim Taymans  <wim@fluendo.com>
3548
3549         * docs/gst/gstreamer-sections.txt:
3550         Add new stuff to docs.
3551
3552 2007-02-28  Wim Taymans  <wim@fluendo.com>
3553
3554         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3555         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3556         (gst_base_sink_change_state):
3557         Improve latency query code.
3558         Don't leak latency events.
3559
3560         * tests/check/gst/gstbin.c: (GST_START_TEST):
3561         Improve debugging.
3562
3563 2007-02-28  Wim Taymans  <wim@fluendo.com>
3564
3565         * gst/gstelement.c: (gst_element_message_full),
3566         (gst_element_get_state_func):
3567         * gst/gstelement.h:
3568         Improve docs a little. Added Since: for new macro.
3569
3570         * gst/gstobject.c: (gst_object_sink):
3571         * gst/gstpipeline.c: (gst_pipeline_change_state),
3572         (gst_pipeline_set_new_stream_time):
3573         * gst/gstpipeline.h:
3574         Improve debugging and docs.
3575
3576         * gst/gstutils.c: (gst_element_state_change_return_get_name):
3577         Improve debugging.
3578
3579 2007-02-28  Wim Taymans  <wim@fluendo.com>
3580
3581         * gst/gstelement.c: (gst_element_message_full),
3582         (gst_element_set_locked_state), (gst_element_get_state_func),
3583         (gst_element_change_state):
3584         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3585         Documentation updates.
3586         Small code cleanups.
3587
3588         * gst/gstmessage.c: (gst_message_new_info),
3589         (gst_message_parse_info):
3590         * gst/gstmessage.h:
3591         API: gst_message_new_info()
3592         API: gst_message_parse_info()
3593         Add INFO message create and parse code.
3594
3595 2007-02-28  Wim Taymans  <wim@fluendo.com>
3596
3597         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3598         (bin_query_latency_done):
3599         Also report the live parameter of a latency query.
3600
3601 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3602
3603         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3604           Copy the current generic/states example from -base and adapt so
3605           we can use the exact same code everywhere.
3606           Check a STATES_IGNORE_ELEMENTS env var which can be used
3607           to ignore certain element factories for this test, which is
3608           what is being done in -base
3609         * tests/check/Makefile.am:
3610           Mention this environment variable.
3611
3612 2007-02-27  Wim Taymans  <wim@fluendo.com>
3613
3614         * docs/gst/gstreamer-sections.txt:
3615         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3616         (gst_bus_timed_pop), (gst_bus_pop):
3617         * gst/gstbus.h:
3618         API: gst_bus_timed_pop()
3619         Implement gst_bus_timed_pop() to do a blocking timed wait for a
3620         message to arrive on the bus.
3621
3622         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3623         (gst_bus_suite):
3624         Two unit tests for new _timed_pop() function.
3625
3626 2007-02-23  Wim Taymans  <wim@fluendo.com>
3627
3628         * gst/gstpipeline.c: (gst_pipeline_change_state),
3629         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3630         Don't ref a NULL clock in _provide_clock_func().
3631         Don't allow an INVALID delay.
3632         Don't try to calculate base_time with an invalid start_time.
3633         Also distribute and notify a NULL clock when it was selected.
3634
3635         * tools/gst-launch.c: (event_loop):
3636         Don't crash when a NULL clock was selected in the pipeline.
3637
3638 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3639
3640         * docs/design/Makefile.am:
3641         * docs/design/draft-missing-plugins.txt:
3642         * docs/random/draft-missing-plugins.txt:
3643           Some small updates: update plugin system identifier prefix
3644           ('gstreamer.net' to 'gstreamer'), mention our new install
3645           API in libgstbaseutils rather than libgimme-codec, add
3646           reference to the online docs.
3647
3648 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3649
3650         * win32/common/config.h:
3651           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
3652           use moap cl ci to only check in what is mentioned in the ChangeLog.
3653
3654 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3655
3656         * docs/gst/gstreamer-sections.txt:
3657         * gst/gstelement.h:
3658           Fix up documentation to link to the correct GstGError section.
3659           Add GST_ELEMENT_INFO macro since someone else added a Info message.
3660
3661 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3662
3663         * tools/gst-launch.c: (event_loop):
3664           Make sure that we actually show the important message part of a
3665           warning message.
3666           No need to check if the gerror is not NULL to free; first of all
3667           g_free accepts NULL; and second the default error handler would
3668           segfault if gerror was NULL.
3669
3670 2007-02-21  Wim Taymans  <wim@fluendo.com>
3671
3672         * docs/gst/gstreamer-sections.txt:
3673         Removed docs as well.
3674
3675 2007-02-21  Wim Taymans  <wim@fluendo.com>
3676
3677         * gst/gstmessage.c: (gst_message_parse_duration):
3678         * gst/gstmessage.h:
3679         Remove new messages for release.
3680
3681 2007-02-20  Wim Taymans  <wim@fluendo.com>
3682
3683         * docs/design/part-gstghostpad.txt:
3684         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
3685         (gst_ghost_pad_new_full):
3686         Make the ghostpad a parent of the internal pad again for better backward
3687         compatibility. Don't write code that relies on this however.
3688
3689         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3690         (gst_pad_link_check_hierarchy):
3691         Require that parents should be GstElements in the hierarchy check.
3692
3693 2007-02-20  Wim Taymans  <wim@fluendo.com>
3694
3695         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
3696         (gst_bin_change_state_func), (bin_query_min_max_init),
3697         (bin_query_latency_fold), (bin_query_latency_done),
3698         (gst_bin_query):
3699         Improve debug info.
3700         Implement latency query.
3701
3702 2007-02-20  Wim Taymans  <wim@fluendo.com>
3703
3704         * docs/design/part-gstghostpad.txt:
3705         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
3706         (gst_ghost_pad_internal_do_activate_push),
3707         (gst_ghost_pad_internal_do_activate_pull),
3708         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3709         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
3710         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
3711         Do not set the internal pad as a parent anymore so we can avoid
3712         hierarchy linking errors when the ghostpad has no parent yet. This also
3713         fixes failed activation because of unlinked internal pads, which in
3714         turn fixes the impossible case where you have to activate a pad before
3715         you can add it to a running element.
3716         Also fix the docs.
3717
3718         * gst/gstpad.c: (pre_activate), (post_activate),
3719         (gst_pad_set_active), (gst_pad_activate_pull),
3720         (gst_pad_activate_push), (gst_pad_check_pull_range):
3721         Add some more debug info.
3722         Mark activation mode in pre_activate so that we don't try to activate in
3723         endless loops. Fixes #385084.
3724
3725 2007-02-19  Wim Taymans  <wim@fluendo.com>
3726
3727         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3728         (gst_base_transform_check_get_range):
3729         Implement a checkgetrange function instead of relying on the default
3730         core behaviour that assumes we can operate in pull mode if we have a
3731         getrange function. First step at fixing #385084.
3732
3733 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
3734
3735         * gst/gstchildproxy.h:
3736         * libs/gst/base/gstbasesink.h:
3737         * libs/gst/base/gstbasesrc.h:
3738         * libs/gst/base/gstbasetransform.h:
3739         More docs coverage and some ChangeLog surgery (add missing names)
3740
3741 2007-02-15  Wim Taymans  <wim@fluendo.com>
3742
3743         * docs/design/part-TODO.txt:
3744         * docs/design/part-activation.txt:
3745         * docs/design/part-block.txt:
3746         * docs/design/part-buffering.txt:
3747         * docs/design/part-clocks.txt:
3748         * docs/design/part-element-source.txt:
3749         * docs/design/part-events.txt:
3750         * docs/design/part-gstbin.txt:
3751         * docs/design/part-gstbus.txt:
3752         * docs/design/part-gstpipeline.txt:
3753         * docs/design/part-live-source.txt:
3754         * docs/design/part-messages.txt:
3755         * docs/design/part-overview.txt:
3756         * docs/design/part-qos.txt:
3757         * docs/design/part-query.txt:
3758         * docs/design/part-states.txt:
3759         * docs/design/part-trickmodes.txt:
3760         Some doc updates. Start renaming from stream_time to running_time where
3761         it was used wrongly.
3762
3763 2007-02-15  Wim Taymans  <wim@fluendo.com>
3764
3765         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3766         Answer LATENCY query.
3767
3768 2007-02-15  Wim Taymans  <wim@fluendo.com>
3769
3770         * tests/check/gst/gstevent.c: (event_probe), (test_event),
3771         (GST_START_TEST):
3772         Improve debugging.
3773
3774 2007-02-15  Wim Taymans  <wim@fluendo.com>
3775
3776         * gst/gstpad.c: (gst_pad_get_internal_links_default),
3777         (gst_pad_dispatcher):
3778         Improve debugging of default pad dispatcher and query functions.
3779
3780 2007-02-15  Wim Taymans  <wim@fluendo.com>
3781
3782         * docs/gst/gstreamer-sections.txt:
3783         Remove old unused method.
3784
3785 2007-02-13  Wim Taymans  <wim@fluendo.com>
3786
3787         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3788         Fix check
3789
3790 2007-02-13  Wim Taymans  <wim@fluendo.com>
3791
3792         * docs/design/part-seeking.txt:
3793         Some small update.
3794
3795         * gst/gstsegment.c: (gst_segment_set_seek):
3796         Revert old bogus change that should make seeking work again.
3797
3798 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
3799
3800         * docs/random/ensonic/dynlink.txt:
3801         * docs/random/ensonic/interfaces.txt:
3802         * docs/random/ensonic/receipies.txt:
3803           Possible dynamic reconnection api, plus some type fixes the other two
3804           docs.
3805
3806 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
3807
3808         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3809         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3810         Also check for an absolute path following file:// in the filesrc
3811         element. Remove redundant check and call g_path_is_absolute() on the
3812         unescaped location.
3813
3814 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
3815
3816         * docs/design/draft-klass.txt:
3817           Add existing category analysis.
3818           
3819         * gst/gstcaps.c:
3820           Fix doc example, framerate is a fraction.
3821
3822 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
3823
3824         * configure.ac:
3825         * docs/gst/Makefile.am:
3826         * docs/gst/gstreamer-sections.txt:
3827         * docs/libs/Makefile.am:
3828           Erm, forgot a bunch of --extra-dir.
3829
3830 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
3831
3832         * configure.ac:
3833         * docs/gst/Makefile.am:
3834         * docs/libs/Makefile.am:
3835         * docs/plugins/Makefile.am:
3836           Add crossreferences to glib/gobject docs.
3837
3838 2007-02-12  Wim Taymans  <wim@fluendo.com>
3839
3840         * docs/design/draft-latency.txt:
3841         Small update.
3842
3843         * docs/libs/gstreamer-libs-sections.txt:
3844         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3845         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3846         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3847         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3848         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3849         (gst_base_sink_get_position), (gst_base_sink_query),
3850         (gst_base_sink_change_state):
3851         * libs/gst/base/gstbasesink.h:
3852         API: gst_base_sink_query_latency() to let subclasses query the upstream
3853         latency.
3854         API: gst_base_sink_get_latency() to let subclasses query the configured
3855         latency in the sink.
3856         Implement query and set latency.
3857         Update some docs.
3858         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3859         don't continue preroll when we are flushing. Fixes #405284.
3860
3861         * tests/check/pipelines/stress.c: (change_state_timeout),
3862         (quit_timeout), (GST_START_TEST), (stress_suite):
3863         Test for #405284.
3864
3865 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
3866
3867         Patch by: René Stadler <mail at renestadler de>
3868
3869         * docs/gst/gstreamer-sections.txt:
3870         * gst/gsttaglist.c: (_gst_tag_initialize):
3871         * gst/gsttaglist.h:
3872           API: add GST_TAG_REFERENCE_LEVEL (#403597).
3873
3874 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
3875
3876         * docs/libs/Makefile.am:
3877           Fix path to core docs.
3878
3879         * gst/gstbin.c: (gst_bin_get_by_interface),
3880         (gst_bin_iterate_all_by_interface):
3881           Refix docs by also renaming 'interface' to 'iface' in implementation.
3882
3883         * docs/gst/gstreamer-sections.txt:
3884         * gst/gstcaps.c:
3885         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3886         * gst/gstchildproxy.h:
3887         * gst/gstelementfactory.c:
3888         * gst/gstpadtemplate.h:
3889         * libs/gst/controller/gstcontroller.c:
3890         (gst_controlled_property_new):
3891           Document more.
3892
3893 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
3894
3895         * gst/gstbin.h:(gst_bin_get_by_interface),
3896         (gst_bin_iterate_all_by_interface):
3897         Replace interface parameter name by iface as interface is 
3898         a reserved keyword in Visual Studio for C++ projects so it removes
3899         a build error for application developpers using VS.
3900         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3901         Fix a bug on Windows in uri format check. Now the prefix checked
3902         is file:// and next we check if the path after file:// is absolute.
3903         * win32/common/libgstbase.def:
3904         * win32/common/libgstdataprotocol.def:
3905         * win32/common/libgstgstreamer.def:
3906         Add new exported functions.
3907
3908 2007-02-09  Andy Wingo  <wingo@pobox.com>
3909
3910         * tests/check/pipelines/simple-launch-lines.c
3911         (simple_launch_lines_suite, test_tee): Disable tee test until I
3912         have time to fix it :-(
3913
3914         * tests/check/Makefile.am (noinst_HEADERS): 
3915         * tests/check/libs/libsabi.c: 
3916         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3917         * tests/check/gst/gstabi.c: 
3918         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3919
3920         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3921         tests for push and pull tee behavior.
3922
3923         * plugins/elements/gsttee.h: 
3924         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3925         mark as deprecated as well as unimplemented. It was a crack idea.
3926         Add support for tee operating in pull mode, off by default.
3927
3928         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3929         normal-case logs down to LOG, raise errors to WARNING.
3930         (gst_registry_xml_read_cache): Don't log before calling a function
3931         that logs.
3932
3933         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3934         exit (registry finalize).
3935         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3936         DEBUG log when we emit signals that people don't even have the
3937         chance to connect to.
3938         (gst_registry_scan_path_level): Less logging in the normal case.
3939
3940 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3941
3942         Patch by: Michal Benes <michal dot benes at itonis dot tv>
3943
3944         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3945         Correctly generate EOS for non-seekable files. We don't have a total
3946         length for them and would get an unexpected end of file if we only
3947         special-cased for regular files. (Fixes: #404569)
3948
3949 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3950
3951         * tests/check/elements/filesrc.c: (GST_START_TEST),
3952         (filesrc_suite):
3953         Add unit test for the GstURIHandler interface in filesrc. This also
3954         tests the newly added file://localhost/foo/bar support.
3955
3956 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
3957
3958         * gst/gstelementfactory.h:
3959           The klass string is not a hierarchy. Add reference to the design doc
3960           for more information and common types.
3961
3962 2007-02-02  Wim Taymans  <wim@fluendo.com>
3963
3964         * gst/gstquery.c: (gst_query_new_latency):
3965         Remove old structure field.
3966
3967 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
3968
3969         * tools/gst-launch.1.in:
3970           Give example for network streaming (#351998)
3971
3972 2007-02-02  Wim Taymans  <wim@fluendo.com>
3973
3974         * docs/gst/gstreamer-sections.txt:
3975         Add docs for new methods.
3976
3977         * gst/gstevent.c: (gst_event_new_latency),
3978         (gst_event_parse_latency):
3979         * gst/gstevent.h:
3980         Add new LATENCY event to configure latency in a pipeline.
3981         API: gst_event_new_latency
3982         API: gst_event_parse_latency
3983
3984         * gst/gstmessage.c: (gst_message_new_buffering),
3985         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3986         (gst_message_new_latency), (gst_message_parse_buffering),
3987         (gst_message_parse_lost_preroll):
3988         * gst/gstmessage.h:
3989         Added messages used in draft-latency.
3990         API: gst_message_new_lost_preroll
3991         API: gst_message_parse_lost_preroll
3992         API: gst_message_new_prerolled
3993         API: gst_message_new_latency
3994
3995         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3996         (gst_query_parse_latency):
3997         * gst/gstquery.h:
3998         Implemented new latency query as in design doc.
3999         API: gst_query_new_latency
4000         API: gst_query_set_latency
4001         API: gst_query_parse_latency
4002
4003 2007-02-02  Wim Taymans  <wim@fluendo.com>
4004
4005         * docs/design/draft-latency.txt:
4006         Slight redesign to allow for dynamic latency adjustments.
4007
4008         * docs/design/part-negotiation.txt:
4009         Fix some typos.
4010
4011 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4012
4013         reviewed by: Wim Taymans <wim@fluendo.com>
4014
4015         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4016         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4017         Allow file://localhost/foo/bar URLs and correctly fail for every other
4018         hostname that one sets. This was gnomevfssrc is linked for those if
4019         installed as it can handle it (#403172)
4020
4021 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4022
4023         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4024
4025         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4026         (unref_data), (gst_collect_pads_add_pad_full):
4027         * libs/gst/base/gstcollectpads.h:
4028         Don't put the previously added destroy notify in the GstCollectData
4029         struct as all it's padding is already used and we don't want to break
4030         ABI. Instead put in the pad's GObject data for now. This should be
4031         cleaned up for 0.11 (#402393).
4032
4033 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4034
4035         reviewed by: Wim Taymans <wim@fluendo.com>
4036
4037         * docs/libs/gstreamer-libs-sections.txt:
4038         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4039         (unref_data), (gst_collect_pads_add_pad),
4040         (gst_collect_pads_add_pad_full):
4041         * libs/gst/base/gstcollectpads.h:
4042         API: Add function to specify a destroy notification for custom
4043         GstCollectData when adding new pads in GstCollectPads (#402393).
4044
4045 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4046
4047         * po/sv.po:
4048           Update Swedish translation (#378255).
4049
4050 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4051
4052         * docs/design/draft-klass.txt:
4053           Fix the previous change, this is a list of categories and not a hierarchy.
4054
4055 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4056
4057         * docs/design/draft-klass.txt:
4058           Add info about how to get a list of used classes.
4059
4060 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4061
4062         * plugins/elements/gsttypefindelement.c:
4063         (gst_type_find_element_chain_do_typefinding),
4064         (gst_type_find_element_change_state):
4065           Don't leak found caps in chain function (no idea why that never
4066           showed up as a leak anywhere).
4067
4068 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4069
4070         * gst/gstplugin.h:
4071           Fix and expand GstPluginDesc API docs.
4072
4073 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4074
4075         * gst/gstcaps.c:
4076         * gst/gstelementfactory.c:
4077         * gst/gstpadtemplate.h:
4078           api doc fixes
4079
4080         * libs/gst/controller/gstcontroller.c:
4081         (gst_controlled_property_new):
4082         * tests/examples/controller/audio-example.c:
4083           comment fixes
4084
4085 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4086
4087         * configure.ac:
4088           comment about refining the xml deps
4089
4090         * docs/manuals.mak:
4091           comments about moving away from jade for docs
4092         
4093         * gst/gst.c:
4094           recommit the ifdefs to use the binary registry
4095         
4096         * gst/gstbin.c: (gst_bin_change_state_func):
4097           this break is obsolete
4098
4099         * gst/gstelementfactory.h:
4100           better GST_ELEMENT_DETAILS docs, add comment about translation
4101
4102         * gst/gstinfo.h:
4103           remove eol slash
4104
4105         * gst/gstobject.c: (gst_signal_object_get_type):
4106           add G_UNLIKELY as usual
4107
4108         * gst/gstpad.c: (gst_pad_event_default):
4109           add fall trhu comment
4110
4111         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4112         (gst_registry_binary_initialize_magic),
4113         (gst_registry_binary_save_string),
4114         (gst_registry_binary_save_pad_template),
4115         (gst_registry_binary_save_feature),
4116         (gst_registry_binary_save_plugin),
4117         (gst_registry_binary_write_cache),
4118         (gst_registry_binary_check_magic),
4119         (gst_registry_binary_load_pad_template),
4120         (gst_registry_binary_load_feature),
4121         (gst_registry_binary_load_plugin),
4122         (gst_registry_binary_read_cache):
4123           comment typo and formatting
4124
4125         * gst/gstutils.c: (gst_element_state_get_name),
4126         (gst_element_state_change_return_get_name):
4127           remove obsolete breaks
4128
4129         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4130           add FIXME 0.11 and remove cpp comment
4131
4132 2007-01-29  Edward Hervey  <edward@fluendo.com>
4133
4134         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4135         Fix print statement in an even more portable way.
4136
4137 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4138
4139         * docs/gst/gstreamer-sections.txt:
4140         * gst/gstutils.h:
4141           API: add GST_ROUND_DOWN_* macros (#401781).
4142
4143 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4144
4145         * docs/gst/gstreamer.types.in:
4146         * gst/gstregistry.c: (gst_registry_class_init):
4147           Document registry signals and make gtk-doc pick them up (#401381).
4148
4149 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4150
4151         * docs/pwg/building-testapp.xml:
4152           Add some audioconverts and audioresample to the pipeline, and some
4153           more comments and error handling.
4154
4155 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4156
4157         * docs/manual/manual.xml:
4158         * docs/pwg/pwg.xml:
4159           Fix typo (#400987).
4160
4161 2007-01-26  Wim Taymans  <wim@fluendo.com>
4162
4163         * gst/gstcaps.c: (gst_static_caps_get):
4164         Init caps flags too.
4165
4166 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4167
4168         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4169
4170         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4171         If not using mmap'ed files try to seek to the end instead of the
4172         start to determine whether we can seek at all. This fixes the case
4173         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4174         seeks for everything afterwards fail. Fixes #400656
4175
4176 2007-01-25  Wim Taymans  <wim@fluendo.com>
4177
4178         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4179         Add some refcount debugging.
4180         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4181         in multiple streaming threads.
4182
4183 2007-01-25  Wim Taymans  <wim@fluendo.com>
4184
4185         Patch by: David Schleef <ds at schleef dot org>
4186
4187         * docs/libs/gstreamer-libs-sections.txt:
4188         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4189         * libs/gst/base/gstadapter.h:
4190         API: gst_adapter_copy() that can reduce the amount of memcpy when
4191         getting data from the adapter. Fixes #388201.
4192
4193 2007-01-25  Edward Hervey  <edward@fluendo.com>
4194
4195         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4196         In print statements, "%x" is for guint. Fixes build on macosx.
4197
4198 2007-01-24  Edward Hervey  <edward@fluendo.com>
4199
4200         * plugins/elements/gstmultiqueue.c:
4201         (gst_multi_queue_loop):
4202         Small fix.
4203         (single_queue_overrun_cb), (single_queue_underrun_cb),
4204         (single_queue_check_full), (gst_single_queue_new):
4205         Implement single queue growth system.
4206         This uses the extra-size properties, and will grow single queues by
4207         that much if one goes full whereas there are others empty. This is
4208         called extra-mode in the code.
4209         When a single queue's levels go back below the initial max-size
4210         limits, it is no longer in extra-mode. This is to ensure we don't
4211         consume too much memory.
4212         Fixes #399875
4213
4214 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
4215
4216         * gst/gst.c: (gst_init_get_option_group):
4217           Make warning about late g_thread_init() calls a bit more explicit,
4218           so that it's more obvious to application developers what they need
4219           to do if a user files a bug against their application.
4220
4221 2007-01-22  Edward Hervey  <edward@fluendo.com>
4222
4223         * plugins/elements/gstmultiqueue.c:
4224         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4225         Remove previous hack of unsetting the flushing flag for the source pad
4226         instead of activating it. Instead, fix the source pad activate function
4227         so that it no longer depends on having a parent set or not.
4228
4229 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
4230
4231         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4232
4233         * docs/manual/basics-bus.xml:
4234           Fix example code, gst_element_unref() doesn't exist any longer.
4235
4236 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
4237
4238         Patch by: Mark Nauwelaerts <manauw at skynet be>
4239
4240         * gst/gstpad.c:
4241           Fix two docs typoes (#399094).
4242
4243 2007-01-19  Edward Hervey  <edward@fluendo.com>
4244
4245         * docs/faq/gst-uninstalled:
4246         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4247         depending on libgstbaseutils can work in uninstalled environment.
4248
4249 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
4250
4251         * gst/gsttaglist.h:
4252         * gst/gsttagsetter.c:
4253         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4254         statement for new tag.
4255
4256 2007-01-17  Edward Hervey  <edward@fluendo.com>
4257
4258         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4259         When dynamically creating single queues, activate sinkpad before adding
4260         it.
4261         We should be doing the same thing for the source pad, but we can't
4262         since it would call a method which needs the parent to be set in order
4263         to work propertly. Instead of activating the source pad, we just unset
4264         the flushing flag, which is the minimal requirement for adding a pad
4265         to an element in a state greater than READY.
4266
4267 2007-01-17  Edward Hervey  <edward@fluendo.com>
4268
4269         * docs/faq/gst-uninstalled:
4270         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4271         Mac OS X.
4272
4273 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4274
4275         * tests/check/gst/gstabi.c:
4276         * tests/check/gst/struct_hppa.h:
4277         * tests/check/libs/libsabi.c:
4278         * tests/check/libs/struct_hppa.h:
4279           Add ABI structs for HPPA (see #393796).
4280
4281 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
4282
4283         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4284           Actually write ABI structs to the file specified in the GST_ABI
4285           environment variable, as the message we print claims we would.
4286
4287 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4288
4289         * tests/check/gst/gsttask.c:
4290           Fix header comment.
4291
4292 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4293
4294         * gst/gsttaglist.c: (_gst_tag_initialize):
4295           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4296           previous two entries.
4297
4298 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4299
4300         * docs/gst/gstreamer-sections.txt:
4301         * gst/gsttaglist.c: (_gst_tag_initialize):
4302         * gst/gsttaglist.h:
4303           Add tag support for beat-per-minute.
4304
4305 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4306
4307         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4308         (gst_registry_binary_initialize_magic),
4309         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4310         (gst_registry_binary_save_pad_template),
4311         (gst_registry_binary_save_feature),
4312         (gst_registry_binary_save_plugin),
4313         (gst_registry_binary_write_cache),
4314         (gst_registry_binary_check_magic),
4315         (gst_registry_binary_load_pad_template),
4316         (gst_registry_binary_load_feature),
4317         (gst_registry_binary_load_plugin),
4318         (gst_registry_binary_read_cache):
4319         * gst/gstregistrybinary.h:
4320           Use glib types, cleanup comments, impement interfaces and uri-types.
4321
4322 2007-01-13  Andy Wingo  <wingo@pobox.com>
4323
4324         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4325         getrange() to return buffers with other caps, while we fix
4326         demuxers and typefind, or otherwise change part-negotiation.txt.
4327
4328 2007-01-12  Andy Wingo  <wingo@pobox.com>
4329
4330         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4331         Factor start/stop into this private function instead of partially
4332         in activate functions and partially in the change_state function.
4333         Fixes setup before the element has changed from READY->PAUSED, as
4334         is the case in pull-mode pipelines.
4335         (gst_base_transform_sink_activate_push)
4336         (gst_base_transform_src_activate_pull): Refactor to use
4337         gst_base_transform_activate().
4338         (gst_base_transform_change_state): Removed, not needed any more.
4339
4340         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4341         Truncate before fixating.
4342         
4343         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4344         Don't set_caps() if the result of fixating is ANY, as it's not
4345         supported, and not necessary in the case of a link with no
4346         template caps on either side. Fixes tests/check/libs/basesrc in
4347         some pull-mode tests.
4348
4349         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4350         (gst_base_transform_init, gst_base_transform_sink_activate_push)
4351         (gst_base_transform_src_activate_pull): 
4352         Track the activation mode.
4353         (gst_base_transform_setcaps): In pull mode, when activating the
4354         src pad, after activating the sink pad, activate the sink pad's
4355         peer, as discussed in part-negotiation.txt.
4356
4357         * libs/gst/base/gstbasesrc.h: 
4358         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4359         vmethod, as in basesink.
4360
4361         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4362
4363         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4364         mode, first proxy the setcaps to the peer pad.
4365         (gst_base_sink_pad_fixate): Add a fixate function that calls the
4366         new fixate vmethod.
4367         (gst_base_sink_default_activate_pull): Rename from
4368         gst_base_sink_activate_pull.
4369         (gst_base_sink_negotiate_pull): New function, performs negotiation
4370         in pull mode before calling ::activate_pull().
4371         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4372         vmethod instead of the default implementation. I have no idea how
4373         this worked before. Negotiate before calling activate_pull.
4374
4375         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4376         sink pads in pull mode. In addition to being correct, fixes
4377         filesrc ! decodebin ! identity ! fakesink.
4378         (gst_pad_get_range, gst_pad_pull_range): Don't call
4379         gst_pad_set_caps() if the caps changes; instead error out with
4380         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4381
4382 2007-01-12  Andy Wingo  <wingo@pobox.com>
4383
4384         * docs/design/part-negotiation.txt: Update with more policy.
4385
4386 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4387
4388         * libs/gst/check/gstbufferstraw.h:
4389         * libs/gst/check/gstcheck.h:
4390           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4391           belongs.
4392
4393 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4394
4395         * tests/check/Makefile.am:
4396         * tests/check/gst/.cvsignore:
4397         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4398         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4399         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4400         (GST_START_TEST), (gst_tag_setter_suite):
4401           Add minimal unit test for beforementioned GstTagSetter bug.
4402
4403 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4404
4405         Patch by: René Stadler <mail at renestadler dot de>
4406
4407         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4408           gst_tag_list_merge() returns a new list, so it's not the best idea
4409           to ingore its return value. Effectively meant that tags could only
4410           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4411           Also add function guard to require a non-NULL taglist as input (has
4412           always been so due to gst_tag_list_copy(), just making it explicit).
4413
4414 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4415
4416         * docs/random/draft-missing-plugins.txt:
4417           Some additions: mention new API that is supposed to be used at the
4418           various stages; short blob about new gst-inspect introspection
4419           option; mention potential future problem with plugins that have
4420           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4421
4422 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4423
4424         * tools/gst-inspect.c:
4425         (print_plugin_automatic_install_info_codecs),
4426         (print_plugin_automatic_install_info_protocols),
4427         (print_plugin_automatic_install_info), (main):
4428         Add --print-plugin-auto-install-info option to gst-inspect, so we can
4429         introspect plugin files and get machine-parsable output that corresponds
4430         to the last bit of the missing-plugin installer string (small gotcha:
4431         doesn't take into account ranks).
4432
4433 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
4434
4435         * configure.ac:
4436         * docs/gst/gstreamer-sections.txt:
4437         * gst/Makefile.am:
4438         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4439         (gst_registry_lookup_locked):
4440         * gst/gstregistry.h:
4441         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4442         (gst_registry_binary_initialize_magic),
4443         (gst_registry_binary_save_string),
4444         (gst_registry_binary_save_pad_template),
4445         (gst_registry_binary_save_feature),
4446         (gst_registry_binary_save_plugin),
4447         (gst_registry_binary_write_cache),
4448         (gst_registry_binary_check_magic),
4449         (gst_registry_binary_load_pad_template),
4450         (gst_registry_binary_load_feature),
4451         (gst_registry_binary_load_plugin),
4452         (gst_registry_binary_read_cache):
4453         * gst/gstregistrybinary.h:
4454         * gst/gstregistryxml.c: (load_feature),
4455         (gst_registry_xml_read_cache):
4456           commit binary registry (disabled by default, see #359653)
4457
4458 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4459
4460         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4461           Fix 'make check' too.
4462
4463 2007-01-10  Andy Wingo  <wingo@pobox.com>
4464
4465         * docs/design/part-negotiation.txt: Fix a typo, add a couple
4466         notes.
4467         
4468         * docs/design/part-negotiation.txt: Update with, um, one way that
4469         pull-mode negotiation might work?
4470
4471         * gst/gstpad.h: 
4472         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4473         that the pad must be a src pad; makes sense to call it the other
4474         way in pull mode, and the logic is symmetric anyway.
4475
4476 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4477
4478         * plugins/elements/gstfilesink.c:
4479           Include <stdio.h> for fseeko().
4480
4481 2007-01-10  Wim Taymans  <wim@fluendo.com>
4482
4483         * gst/gstevent.c:
4484         * gst/gstevent.h:
4485         Reserve LATENCY event.
4486
4487 2007-01-09  Wim Taymans  <wim@fluendo.com>
4488
4489         * docs/design/draft-latency.txt:
4490         Updates.
4491
4492 2007-01-09  Wim Taymans  <wim@fluendo.com>
4493
4494         * docs/design/draft-latency.txt:
4495         Updates.
4496
4497         * gst/gstelement.h:
4498         * gst/gststructure.c:
4499         * gst/gsttrace.c:
4500         Small typo fixes.
4501
4502 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4503
4504         * tests/check/.cvsignore:
4505           Ignore test-registry.xml as well.
4506
4507 2007-01-09  Wim Taymans  <wim@fluendo.com>
4508
4509         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4510         unref data at the end when we are done with the pad.
4511
4512 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4513
4514         * docs/gst/gstreamer-sections.txt:
4515         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4516         (init_post), (gst_deinit), (gst_update_registry):
4517         * gst/gst.h:
4518           API: add gst_update_registry() (#391296).
4519
4520         * tests/check/Makefile.am:
4521         * tests/check/gst/gstregistry.c:
4522         * tests/check/gst/.cvsignore:
4523           Simple unit test for the above.
4524
4525 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4526
4527         * gst/gstregistry.c: (gst_registry_scan_path_level):
4528           Plugin extension on HP-UX is .sl, add that to the list of approved
4529           plugin extensions (see #393796).
4530
4531         * tests/check/gst/gstpad.c: (GST_START_TEST):
4532           ulong => gulong. Fixes compilation with HP-UX compiler.
4533
4534         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4535           Fix compilation if valgrind headers are not available.
4536
4537 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
4538
4539         * win32/common/libgstreamer.def: 
4540           Add new exported function.
4541         * win32/vs6/libgstbase.dsp: 
4542           Add gstdataqueue.c to the build.
4543         * win32/vs6/libgstcoreelements.dsp:
4544           Add gstmultiqueue.c to the build.
4545         
4546 2007-01-06  Andy Wingo  <wingo@pobox.com>
4547
4548         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4549         activate_pull(), providing for a way to specialize the process of
4550         spawning a thread to pull on the sink pad. There is a default
4551         implementation.
4552
4553         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4554         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4555         (gst_base_sink_init): Renamed pad activation functions (inserting
4556         "_pad" in their names). Refactor to use the new activate_pull
4557         vmethod, as appropriate.
4558         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4559         default activate_pull function to start a task pulling from the
4560         sink pad, as before.
4561
4562         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4563         on the pads if necessary, as in push()/chain(). Update docs.
4564         Shouldn't affect existing pull() usage as it is currently only
4565         being used on buffers without caps.
4566
4567 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4568
4569         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4570         (init_pre):
4571           Call g_thread_init() first thing in gst_init() / gst_check_init().
4572           When initialisation is done via gst_init_get_option_group() and
4573           GOption parsing, issue a warning if the GLib thread system has not
4574           been initialised yet by the time gst_init_get_option_group() is
4575           called, as it's quite likely other GLib functions such as
4576           g_option_context_new() have been called already then, and
4577           g_thread_init() must be called before any other GLib function. The
4578           application in question must be fixed in that case, since memory
4579           corruption might happen otherwise.
4580           We issue the warning because even if the GLib folks decide to work
4581           around the problem on their end in future, this is still an issue
4582           with all GLib versions >= 2.10.0, so we should warn until we depend
4583           on a GLib version we know to be safe.
4584           Update documentation as well.
4585           Closes bug #391278.
4586
4587 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4588
4589         * tools/gst-inspect.c: (main):
4590         * tools/gst-launch.c: (main):
4591         * tools/gst-typefind.c: (main):
4592         * tools/gst-xmlinspect.c: (main):
4593           Call g_thread_init() really really early, before any other GLib
4594           function (see #342564 and recent discussion on gtk-devel-list).
4595
4596 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4597
4598         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
4599
4600         * gst/gst_private.h:
4601         * gst/gstconfig.h.in:
4602         * gst/gstinfo.h:
4603           On win32, all the __declspec stuff for symbol exporting is
4604           apparently only needed with MSVC, but doesn't work with MingW.
4605           Fixes compilation with MingW and #391909.
4606
4607 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4608
4609         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4610           Change some GST_ERROR_OBJECT that aren't really errors to
4611           GST_WARNING_OBJECT in order to reduce terminal spam.
4612
4613 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
4614
4615         * tests/check/Makefile.am:
4616           disable test again, as there seem to be still race problems
4617
4618 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
4619
4620         * tests/check/Makefile.am:
4621         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4622         (GST_START_TEST), (queue_suite):
4623           enable queue test again, add tests for the leaky behaviour
4624
4625 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
4626
4627         * configure.ac:
4628         * tests/examples/Makefile.am:
4629           Compile adapter test/example only if the required headers are
4630           available (fixes #391915).
4631
4632 2007-01-01  David Schleef  <ds@schleef.org>
4633
4634         * gst/gstplugin.c:
4635           Restore the previous signal handler for SIGSEGV instead of
4636           setting to default, since we may have stolen it away from
4637           someone.  (i.e., Mono)
4638
4639 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
4640
4641         * docs/random/draft-missing-plugins.txt:
4642           Some small additions and clarifications.
4643
4644 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
4645
4646         * gst/gstregistryxml.c: (gst_registry_save_escaped):
4647           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4648           since that can lead to random memory corruptions and crashes
4649           (may or may not be related to #383244, #386711, and #386711).
4650
4651 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4652
4653         * tests/check/.cvsignore:
4654         * tests/check/Makefile.am:
4655           sync .cvsignome and CLEANFILES
4656
4657 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4658
4659         * tests/check/Makefile.am:
4660           fix distcheck
4661
4662 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4663
4664         * docs/design/part-states.txt:
4665           two tiny additional comments
4666         
4667         * gst/gststructure.c:
4668           doc fixing
4669
4670         * tests/check/Makefile.am:
4671         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4672         (GST_START_TEST):
4673           disable test for now, unless it gets fixed
4674
4675 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4676
4677         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4678         (GST_START_TEST):
4679           fix race in underrun test
4680
4681 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4682
4683         * tests/check/elements/.cvsignore:
4684           ignore more
4685
4686         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4687         (GST_START_TEST):
4688           try to narrow test failure
4689
4690 2006-12-21  David Schleef  <ds@schleef.org>
4691
4692         * plugins/elements/gstfakesrc.c:
4693           Use g_random_int_range(), since it produces better random
4694           numbers in a range than almost-correct floating point code.
4695
4696 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4697
4698         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4699         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4700         (gst_check_teardown_sink_pad):
4701           do not automatically (de)activate pads
4702
4703         * tests/check/Makefile.am:
4704         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4705         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
4706           add new, yet simple tests for queue
4707
4708         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
4709         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
4710         * tests/check/elements/filesrc.c: (cleanup_filesrc),
4711         (GST_START_TEST):
4712         * tests/check/elements/identity.c: (cleanup_identity):
4713           consistent pad (de)activation
4714
4715 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
4716
4717         Patch by: Sebastian Dröge  <slomo ubuntu com>
4718
4719         * libs/gst/base/gstcollectpads.c:
4720           Fix two doc typos (#387866).
4721
4722 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
4723
4724         * docs/manual/advanced-dparams.xml:
4725           Fix typo (g_object_control_properties() doesn't exist).
4726
4727 2006-12-19  Edward Hervey  <edward@fluendo.com>
4728
4729         * gst/gstsegment.c: (gst_segment_set_seek):
4730         Fine tune the cases where the segment start/stop values are really
4731         updated.
4732         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4733         Add tests for the return values of gst_segment_set_seek().
4734
4735 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
4736
4737         * gst/gst.c:
4738           Docs typo fix.
4739
4740         * plugins/elements/gstqueue.c: (gst_queue_class_init),
4741         (gst_queue_init):
4742           Fix incorrect documentation and flesh it out a bit more.
4743           Set default values for the max properties on the GParamSpec as well,
4744           so it shows up correctly in gst-inspect.
4745
4746 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
4747
4748         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4749           Correct docs of queue, add more detail and crosslink it more.
4750
4751 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
4752
4753         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4754           Print additional debug info when the stream isn't perfectly
4755           timestamped; don't try to use invalid durations.
4756
4757 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
4758
4759         * docs/design/Makefile.am:
4760           Dist new design docs.
4761
4762 2006-12-16  Wim Taymans  <wim@fluendo.com>
4763
4764         Patch by: Sjoerd Simons <sjoerd at luon dot net>
4765
4766         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
4767         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4768         (gst_collect_pads_stop), (gst_collect_pads_event),
4769         (gst_collect_pads_chain):
4770         * libs/gst/base/gstcollectpads.h:
4771         Add refcounting to the collectpads data so we can track when it's safe
4772         to free the data. Fixes #383382.
4773
4774 2006-12-15  Wim Taymans  <wim@fluendo.com>
4775
4776         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4777         (gst_collect_pads_remove_pad):
4778         Automatically activate/deactivate pads when they are added to a
4779         started/stoped collectpads.
4780
4781 2006-12-15  Wim Taymans  <wim@fluendo.com>
4782
4783         * gst/gstelement.c: (gst_element_add_pad):
4784         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4785         * gst/gstpad.c: (gst_pad_init):
4786         Set pads to FLUSHING when they are created. Check, warn and fix when a
4787         demuxer adds an inactive pad to itself when running. Fixes #339326.
4788
4789 2006-12-15  Wim Taymans  <wim@fluendo.com>
4790
4791         * gst/gstelement.c: (gst_element_class_init),
4792         (gst_element_default_send_event), (gst_element_send_event),
4793         (gst_element_default_query), (gst_element_query):
4794         Expose default element send_event and query handling as vmethods that
4795         subclasses can chain up to.
4796
4797 2006-12-15  Wim Taymans  <wim@fluendo.com>
4798
4799         * gst/gstelement.c: (gst_element_set_state_func):
4800         Small documentation fixes.
4801
4802 2006-12-15  Wim Taymans  <wim@fluendo.com>
4803
4804         * docs/design/draft-latency.txt:
4805         Checked in draft for handling latency in pipelines.
4806
4807 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4808
4809         * Makefile.am:
4810         * gstreamer.doap:
4811         * gstreamer.spec.in:
4812           adding .doap file
4813
4814 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
4815
4816         * gst/gst.c: (init_pre), (init_post):
4817           init_pre() and init_post() might be called via our GOptionGroup or
4818           from gst_init(), and we should skip both of them if we've already
4819           been initialised, otherwise we will init some things twice or add
4820           two default log functions.
4821
4822 2006-12-13  Edward Hervey  <edward@fluendo.com>
4823
4824         * docs/manual/basics-bus.xml:
4825         No, gst_main_loop does not exist. Its g_main_loop.
4826         Discovered by somebody who abused the copy-paste technique of coding :)
4827
4828 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
4829
4830         * gst/gstghostpad.c:
4831           Log ghostpad debug stuff to the GST_PADS category as well rather
4832           than just to the default category.
4833
4834 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4835
4836         * configure.ac:
4837         * gst/gst.c: (init_pre):
4838           Add some basic system details such as OS and architecture
4839           to the debug output if possible, courtesy of uname().
4840
4841 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4842
4843         * docs/gst/running.xml:
4844           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4845           environment variables.
4846
4847 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
4848
4849         * tests/check/gst/gstbin.c: (GST_START_TEST):
4850         It is acceptable to have a refcount of 2 or 3 at this point in the
4851         test, because the pipeline might be just posting its state_change
4852         message. The next line then waits for that message to appear using
4853         bus_poll, so that should be fine too.
4854
4855 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
4856
4857         * gst/gst.c: (ensure_current_registry_forking):
4858         Ignore EINTR when reading from the child registry pipe.
4859         Explicitly ignore the return value from close, since it makes no
4860         difference.
4861
4862         * gst/gstminiobject.c: (gst_mini_object_ref),
4863         (gst_mini_object_unref):
4864         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4865
4866         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4867         When removing cached plugins, remove their features too, so they're
4868         not visible after they've disappeared.
4869
4870         * gst/gstutils.c: (prepare_link_maybe_ghosting):
4871         In the unlikely case that we are linking pads with no parents, don't
4872         crash trying to get the non-existent parent bin.
4873
4874         * gst/parse/grammar.y:
4875         Output debug in the PIPELINE category
4876
4877 2005-03-08  Wim Taymans  <wim@fluendo.com>
4878
4879         Patch by: René Stadler <mail at renestadler dot de>
4880
4881         * gst/gstclock.c: (gst_clock_new_periodic_id):
4882         Reject invalid clock times for interval of periodic ids.
4883         Fixes ##383506.
4884
4885 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
4886
4887         * gst/gstelementfactory.c: (gst_element_factory_create):
4888         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4889         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4890         * tools/gst-inspect.c: (print_element_info):
4891         Fix refcounting of gst_plugin_feature_load to match the docs. 
4892         Fixes: #380129
4893
4894 2006-12-07  Wim Taymans  <wim@fluendo.com>
4895
4896         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4897         (gst_base_sink_get_position):
4898         Improve debugging of events.
4899
4900 2006-12-07  Wim Taymans  <wim@fluendo.com>
4901
4902         Patch by: René Stadler <mail at renestadler dot de>
4903
4904         * gst/gstclock.c: (gst_clock_id_wait):
4905         Make period ids add the interval to the origial requested time instead
4906         of the possibly updated time which can be wrong when there are multiple
4907         waiters for the same id. Fixes #382592.
4908
4909         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4910         (gst_system_clock_id_wait_jitter_unlocked),
4911         (gst_system_clock_id_wait_jitter):
4912         Fix restart in the async notify thread when an async entry is added to
4913         the front of the list. Fixes #381492. 
4914
4915         * tests/check/gst/gstsystemclock.c: (store_callback),
4916         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4917         Added test for multiple async waits.
4918         Added test for async wait order.
4919
4920 2006-12-07  Wim Taymans  <wim@fluendo.com>
4921
4922         * gst/gstbin.c: (gst_bin_query):
4923         Add some more docs about the POSITION query.
4924
4925 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
4926
4927         * configure.ac:
4928         Bump version nano - back to CVS.
4929
4930 === release 0.10.11 ===
4931
4932 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
4933
4934         * configure.ac:
4935           releasing 0.10.11, "Love never runs on time"
4936
4937 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
4938
4939         * win32/common/libgstbase.def:
4940         * win32/common/libgstreamer.def:
4941         * win32/vs8/libgstbase.vcproj:
4942         * win32/vs8/libgstcoreelements.vcproj:
4943         * win32/vs8/libgstreamer.vcproj:
4944         Fix compilation on win32 under VS8
4945         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4946         Partially fixes #381175
4947
4948 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
4949
4950         * gst/gstvalue.c: (gst_value_compare_fraction):
4951         If someone is foolish enough to compare 2 fractions with denominator =
4952         0, return UNORDERED rather than aborting.
4953
4954 2006-11-28  Edward Hervey  <edward@fluendo.com>
4955
4956         * libs/gst/base/Makefile.am:
4957         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4958         (gst_data_queue_base_init), (gst_data_queue_class_init),
4959         (gst_data_queue_init), (gst_data_queue_new),
4960         (gst_data_queue_cleanup), (gst_data_queue_finalize),
4961         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4962         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4963         (gst_data_queue_is_empty), (gst_data_queue_is_full),
4964         (gst_data_queue_set_flushing), (gst_data_queue_push),
4965         (gst_data_queue_pop), (gst_data_queue_drop_head),
4966         (gst_data_queue_set_property), (gst_data_queue_get_property):
4967         * libs/gst/base/gstdataqueue.h:
4968         New GstDataQueue object for threadsafe queueing. Most useful for
4969         elements that need some queueing functionnality.
4970         * docs/libs/gstreamer-libs-docs.sgml:
4971         * docs/libs/gstreamer-libs-sections.txt:
4972         Insert documentation for GstDataQueue
4973         * plugins/elements/Makefile.am:
4974         * plugins/elements/gstelements.c:
4975         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4976         (gst_multi_queue_class_init), (gst_multi_queue_init),
4977         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4978         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4979         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4980         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4981         (gst_multi_queue_loop), (gst_multi_queue_chain),
4982         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4983         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4984         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4985         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4986         (wake_up_next_non_linked), (compute_next_non_linked),
4987         (single_queue_overrun_cb), (single_queue_underrun_cb),
4988         (single_queue_check_full), (gst_single_queue_new):
4989         * plugins/elements/gstmultiqueue.h:
4990         New multiqueue element, using GstDataQueue. Used for queuing multiple
4991         streams.
4992         Closes #344639 and #347785
4993
4994 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
4995
4996         * docs/pwg/advanced-types.xml:
4997           add more missing type details
4998
4999         * tools/gst-run.c: (main):
5000           remove unused variable
5001
5002 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5003
5004         * docs/libs/Makefile.am:
5005         * docs/libs/gstreamer-libs.types:
5006           add types of base classes to enable gobject specific stuff in the docs
5007
5008         * docs/random/ensonic/embedded.txt:
5009           more ideas about isolating platform specific things
5010
5011 2006-11-20  Wim Taymans  <wim@fluendo.com>
5012
5013         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5014
5015         * libs/gst/check/gstcheck.h:
5016         Fix compilation and running against 0.9.4. Fixes #377332.
5017
5018 2006-11-20  Wim Taymans  <wim@fluendo.com>
5019
5020         * gst/gstsegment.c: (gst_segment_set_seek),
5021         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5022         (gst_segment_to_running_time):
5023         Fix boundary checking in to_running_time() and to_stream_time().
5024         Fixes #377183.
5025
5026         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5027         stream and running time can now be calculated for the complete
5028         clipped segment.
5029
5030 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5031
5032         * gst/gstpad.c: (gst_pad_push_event):
5033           Can't access event structure after giving away ownership of
5034           the event.
5035
5036 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5037
5038         * docs/random/ensonic/embedded.txt:
5039         * docs/random/ensonic/profiling.txt:
5040         * docs/random/ensonic/receipies.txt:
5041           more thinking
5042
5043 2006-11-13  Wim Taymans  <wim@fluendo.com>
5044
5045         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5046
5047         * gst/gstpad.c:
5048         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5049
5050 2006-11-13  Wim Taymans  <wim@fluendo.com>
5051
5052         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5053
5054         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5055         Store new length in segment duration so we don't keep on calling the
5056         potentially expensize get_size() call. Fixes #370865.
5057
5058 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5059
5060         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5061
5062         * win32/common/libgstreamer.def:
5063           Add two missing symbols (#366492).
5064
5065 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5066
5067         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5068         (gst_adapter_take_buffer):
5069         Fix format string to use all its arguments.
5070         Remove useless >= check on a guint
5071
5072 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5073
5074         * tests/examples/adapter/.cvsignore:
5075         Ignore build file as commanded by the build-bot
5076
5077 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5078
5079         * tests/examples/adapter/Makefile.am:
5080         * tests/examples/adapter/adapter_test.c: (run_test_take),
5081         (run_test_take_buffer), (run_tests), (main):
5082
5083         Add new files from the previous commit
5084
5085 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5086
5087         * Makefile.am:
5088         * configure.ac:
5089         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5090         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5091         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5092         * libs/gst/base/gstadapter.h:
5093         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5094         (GST_START_TEST), (gst_adapter_suite):
5095         * tests/examples/Makefile.am:
5096         Do some optimisation work in GstAdapter to avoid copies in more cases.
5097         It could still do slightly better by merging buffers when
5098         gst_buffer_is_span_fast is true, but is already faster. 
5099
5100         Also, avoid traversing a single-linked list to append each incoming 
5101         buffer inside the adapter.
5102
5103         Add simple test app that times the adapter behaviour in different
5104         situations, and extend the unit test to check that bytes enter and
5105         exit the adapter in their original order.
5106
5107 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5108
5109         * docs/random/draft-missing-plugins.txt:
5110           Update: use element message instead of adding a new message
5111           type to the core; don't provide GStreamer API to initiate the
5112           plugin download, just provide API to compose the strings needed
5113           and let an external libgimmestuff handle the rest.
5114
5115 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5116
5117         * tools/gst-inspect.c: (print_element_properties_info):
5118         Print a string instead of 'unknown type' for GValueArray properties
5119
5120 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5121
5122         * docs/random/draft-missing-plugins.txt:
5123         More small fixes.
5124
5125 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5126
5127         * tests/examples/typefind/typefind.c: (type_found), (main):
5128           Make typefind element example work again (#371894); add a
5129           license header.
5130
5131 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5132
5133         * docs/random/draft-missing-plugins.txt:
5134           Commit initial draft about how to deal with missing plugins,
5135           needs work (API too).
5136
5137 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5138
5139         * docs/pwg/advanced-types.xml:
5140           documents the new caps elements (see #363118)
5141
5142 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5143
5144         * gst/gstplugin.c: (gst_plugin_load_file):
5145         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5146         (gst_file_src_map_region), (gst_file_src_start):
5147         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5148         (gst_file_index_commit):
5149           Use g_strerror() instead of strerror() - we want UTF-8.
5150
5151 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5152
5153         Patch by: Peter Kjellerstedt <pkj at axis com>
5154
5155         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5156           Another printf fix (#371493).
5157
5158 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5159
5160         * tests/check/gst/gsttag.c:
5161           relicence (okay with author=company)
5162
5163 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5164
5165         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5166         (gst_pad_push_event):
5167           Enhance debug and improve docs
5168         
5169         * gst/gsturi.c:
5170           Fix docs
5171
5172 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5173
5174         * docs/random/ensonic/distributed.txt:
5175         * docs/random/ensonic/profiling.txt:
5176           more ideas
5177
5178 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5179
5180         * docs/gst/gstreamer-sections.txt:
5181           add new API and fix the build
5182           
5183         * gst/gstbin.c: (gst_bin_recalc_state):
5184         * gst/gstelement.c: (gst_element_message_full),
5185         (gst_element_get_state_func), (gst_element_set_state_func):
5186           use new API and improve logging
5187         
5188         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5189         * gst/gstutils.h:
5190           API: add function to get StateChangereturn names to improve logs 
5191
5192 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5193
5194         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5195           I'm considering shooting the next person to put strerror stuff
5196           in the translateable part of the message.
5197
5198 2006-11-03  Wim Taymans  <wim@fluendo.com>
5199
5200         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5201         Get the type and printf conversion specifiers right.
5202
5203 2006-11-03  Wim Taymans  <wim@fluendo.com>
5204
5205         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5206
5207         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5208         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5209         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5210         Some small cleanups. Improve debugging.
5211         * gst/gstpad.h:
5212         Signal all waiting threads with a broadcast instead of just one.
5213         Fixes #369942.
5214
5215 2006-11-03  Wim Taymans  <wim@fluendo.com>
5216
5217         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5218         (gst_fd_src_create):
5219         Add some debugging. 
5220         Only update fd when it's different from the old.
5221
5222 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5223
5224         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5225           Printf fixes for PPC/OSX, take two (#369366).
5226
5227 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5228
5229         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
5230
5231         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5232         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5233         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5234           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5235           don't cast to long long for portability reasons, but use
5236           GLib's types instead.
5237
5238 2006-10-30  Michael Smith  <msmith@fluendo.com>
5239
5240         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5241           Get the arguments to lseek() the right way around.
5242           Fixes 367677.
5243
5244 2006-10-30  Wim Taymans  <wim@fluendo.com>
5245
5246         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5247
5248         * gst/gstinfo.h:
5249         _declspec should be __declspec (two underscores, not one). Fixes 366572.
5250
5251 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5252
5253         Patch by: Kjartan Maraas  <kmaraas at gnome org>
5254
5255         * docs/design/part-MT-refcounting.txt:
5256         * docs/random/wtay/capsnego2-docs:
5257         * gst/gstclock.c:
5258         * gst/gstxml.c:
5259           Typo fixes (#366212).
5260
5261 2006-10-28  Wim Taymans  <wim@fluendo.com>
5262
5263         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5264
5265         * gst/gst.c:
5266         * win32/common/libgstbase.def:
5267         * win32/common/libgstreamer.def:
5268         * win32/vs8/libgstbase.vcproj:
5269         * win32/vs8/libgstcontroller.vcproj:
5270         Add needed entries in .def files.
5271         Use HAVE_UNISTD_H.
5272         Rearrange def files in vs8 solutions. Fixes #366286.
5273
5274 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5275
5276         * win32/common/gstconfig.h:
5277           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5278           hand-made win32 gstconfig.h. Fixes #366321.
5279
5280 2006-10-27  Wim Taymans  <wim@fluendo.com>
5281
5282         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5283         (gst_ghost_pad_new_full):
5284         Make acceptcaps return TRUE when we don't have a target, just like
5285         setcaps does.
5286
5287 2006-10-27  Wim Taymans  <wim@fluendo.com>
5288
5289         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5290         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5291
5292 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5293
5294         * gst/gststructure.c: (gst_structure_id_set_value):
5295           If someone tries to set a non-UTF8 string field on a structure,
5296           don't just print a warning, but also ignore the request and do
5297           not change/add that field to the structure.
5298
5299         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5300           Test for the above.
5301
5302 2006-10-25  David Schleef  <ds@schleef.org>
5303
5304         * gst/gstinfo.c:
5305           g_hash_table_insert() needs a cast to a non-const pointer duh.
5306
5307 2006-10-25  David Schleef  <ds@schleef.org>
5308
5309         * gst/gstinfo.c:
5310         * gst/gstinfo.h:
5311           Change name parameter of _gst_debug_register_funcptr to const
5312           to reflect the constness of its use in the function as well
5313           as to quiet a gcc warning.
5314
5315 2006-10-25  Edward Hervey  <edward@fluendo.com>
5316
5317         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5318         Don't push the buffer if it's empty.
5319         Closes #363095
5320
5321 2006-10-24  Wim Taymans  <wim@fluendo.com>
5322
5323         * gst/gstevent.h:
5324         Add small comment.
5325
5326         * libs/gst/base/gstbasetransform.c:
5327         (gst_base_transform_sink_eventfunc):
5328         Debug segment values *after* updating them as this is more
5329         interesting.
5330
5331 2006-10-23  Wim Taymans  <wim@fluendo.com>
5332
5333         * docs/design/part-events.txt:
5334         Update some docs.
5335
5336         * docs/design/part-block.txt:
5337         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5338         (gst_pad_push_event):
5339         Revert BLOCKING patch, it tries to be smart without really having a
5340         clear idea what or how. So, now we discard all FLUSHING events again on
5341         a blocking pad. Should fix gnonlin again.
5342
5343 2006-10-23  Wim Taymans  <wim@fluendo.com>
5344
5345         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5346
5347         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5348         (gst_base_src_start), (gst_base_src_activate_push):
5349         Make sure size is always initialized. Fixes #364388.
5350
5351 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
5352
5353         * docs/random/ensonic/distributed.txt:
5354           add some ideas about doing distributed processing
5355
5356         * docs/random/ensonic/profiling.txt:
5357           get_rusage look promising
5358
5359 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5360
5361         * docs/manual/basics-helloworld.xml:
5362           Add a cast in example to fix compile warning
5363
5364 2006-10-18  Wim Taymans  <wim@fluendo.com>
5365
5366         * gst/gstsegment.c: (gst_segment_set_last_stop),
5367         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5368         Relax arg checking again, -1 is allowed.
5369
5370 2006-10-18  Wim Taymans  <wim@fluendo.com>
5371
5372         * gst/gstsegment.c: (gst_segment_set_last_stop),
5373         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5374         _set_last_stop() must be with a value != -1
5375         A _TYPE_SET to -1 means seek to 0.
5376         Calc last_stop correctly for negative rates.
5377         Make sure we work with positive durations when updating a segment.
5378
5379 2006-10-18  Wim Taymans  <wim@fluendo.com>
5380
5381         * docs/design/part-live-source.txt:
5382         * gst/gstclock.h:
5383         Small docs fixes.
5384
5385 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
5386
5387         * gst/gstbuffer.h:
5388           Add an explicit cast to GstBuffer** to keep old code that added an
5389           explicit cast to GstMiniObject** for gst_mini_object_replace()
5390           compiling without warning.
5391
5392 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5393
5394         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5395           check for validity of dates
5396
5397 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5398
5399         * docs/gst/gstreamer-sections.txt:
5400           Forgot this one, makes gtk-doc shut up.
5401
5402 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5403
5404         Patch by: Peter Kjellerstedt <pkj at axis com>
5405
5406         * gst/gstobject.h:
5407           Don't define xmlNodePtr to gpointer if the core was built with
5408           --disable-loadsave and --disable-registry, this will break
5409           applications that want to use libxml2 but are buildling against a
5410           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5411           instead so we don't have to mess with the libxml2 namespace
5412           (#361675).
5413
5414 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5415
5416         * gst/gstbuffer.h:
5417           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5418           type-punned pointer warnings.
5419
5420 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5421
5422         * gst/gstelement.h:
5423           Add casts to the correct return type to state <=> state transition
5424           macros.
5425
5426 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
5427
5428         * docs/design/part-live-source.txt:
5429           describe howto handle latency
5430         
5431         * docs/random/ensonic/profiling.txt:
5432           more ideas
5433
5434         * tools/gst-plot-timeline.py:
5435           fix log parsing for solaris, remove unused function
5436
5437 2006-10-16  Wim Taymans  <wim@fluendo.com>
5438
5439         * docs/design/part-trickmodes.txt:
5440         * gst/gstevent.c:
5441         Update some docs regarding reverse playback.
5442
5443 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5444
5445         Patch by: Marcus Granado  <mrc dot gran at gmail com>
5446
5447         * win32/vs8/grammar.vcproj:
5448           Error out with a warning if glib-genmarshal.exe is not in path,
5449           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5450
5451 2006-10-13  Wim Taymans  <wim@fluendo.com>
5452
5453         * gst/gstsegment.c: (gst_segment_set_seek):
5454         When seeking to stop -1, set last_stop (current position) to the
5455         duration of the segment.
5456
5457 2006-10-13  Wim Taymans  <wim@fluendo.com>
5458
5459         * gst/gstelement.h:
5460         Clarify _NO_PREROLL a bit more.
5461
5462         * gst/gstevent.c:
5463         Fix docs.
5464
5465         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5466         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5467         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5468         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5469         due to wrong locking order. Fixes #361769.
5470         Remove some redundant/misplaced checks in pad_block.
5471
5472         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5473         For negative rates, count backwards from the duration.
5474
5475 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5476
5477         * gst/gsterror.c: (_gst_library_errors_init):
5478           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5479           up with something better).
5480
5481 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5482
5483         * win32/vs6/libgstreamer.dsp:
5484         * win32/vs7/libgstreamer.vcproj:
5485         * win32/vs8/libgstreamer.vcproj:
5486           Don't reference glib-compat.c which is currently not used and not
5487           disted; add gstquark.c which was recently added. Fixes #361730.
5488
5489 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5490
5491         * win32/common/libgstbase.def:
5492         * win32/common/libgstcontroller.def:
5493         * win32/common/libgstreamer.def:
5494           Add gst_caps_merge() and a bunch of other recently-added functions.
5495           Fixes #361732.
5496
5497 2006-10-11  Wim Taymans  <wim@fluendo.com>
5498
5499         * docs/plugins/gstreamer-plugins.args:
5500         * docs/plugins/inspect/plugin-coreelements.xml:
5501         * docs/plugins/inspect/plugin-coreindexers.xml:
5502         Update element args.
5503
5504         * gst/gstsystemclock.c:
5505         Small comment update.
5506
5507         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5508         (gst_tee_request_new_pad), (gst_tee_release_pad),
5509         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5510         (gst_tee_sink_activate_pull):
5511         * plugins/elements/gsttee.h:
5512         Some tee loving:
5513         Add default property defines.
5514         Implement release pad function.
5515         Give properties better blubs etc.
5516         Activate pads before adding them to a running tee.
5517         Do simple buffer_alloc on the first requested pad.
5518         Post error when activation fails.
5519
5520 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
5521
5522         * gst/gst.c: (ensure_current_registry_forking):
5523           Check return value of write() to make compiler happy.
5524
5525 2006-10-11  Wim Taymans  <wim@fluendo.com>
5526
5527         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5528
5529         * plugins/elements/gstqueue.c: (gst_queue_chain):
5530         Recheck queue filledness after signalling the overrun when we're about
5531         to leak downstream because we released the lock when emitting the signal
5532         and the queue could be empty again. Fixes #352345.
5533
5534 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
5535
5536         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5537           Fix refcounting here too, just like we did for _new_valist() a few
5538           days ago (#357180) (thanks to René Stadler). Also remove all those
5539           'Since: 0.9' from the gtk-doc blobs.
5540
5541         * tests/check/libs/controller.c: (controller_refcount_new_list),
5542         (gst_controller_suite):
5543           Unit test for the above.
5544
5545 2006-10-10  Wim Taymans  <wim@fluendo.com>
5546
5547         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5548
5549         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5550         (gst_pad_save_thyself):
5551         Update some docs.
5552         Write pad direction in XML output. Fixes #345496.
5553
5554 2006-10-10  Wim Taymans  <wim@fluendo.com>
5555
5556         Patch by: René Stadler <mail at renestadler dot de>
5557
5558         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5559         (gst_controller_new_list), (_gst_controller_dispose),
5560         (_gst_controller_finalize), (_gst_controller_class_init):
5561         Take ref to controlled object so that it cannot disappear. 
5562         Fixes #357432.
5563
5564 2006-10-10  Wim Taymans  <wim@fluendo.com>
5565
5566         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5567         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5568         (gst_check_teardown_sink_pad):
5569         Activate/deactivate pads in setup/teardown respectively.
5570
5571 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5572
5573         Patch by: Josep Torre Valles <josep@fluendo.com>
5574
5575         * gst/Makefile.am:
5576         Cast values when making gstenumtypes.h.  This pacifies Forte
5577         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5578         in the enumeration.
5579
5580 2006-10-09  Wim Taymans  <wim@fluendo.com>
5581
5582         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5583         Rename some more @cur to @start to fix docs. 
5584
5585         * gst/gstsegment.c: (gst_segment_set_seek):
5586         Fix typo.
5587         time and start must always stay in sync as defined in design doc.
5588
5589         * gst/gsttaglist.c: (gst_tag_list_is_empty):
5590         Rename param to fix docs.
5591
5592         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5593         Check that start and time are in sync.
5594
5595         * tests/check/pipelines/parse-launch.c:
5596         (gst_parse_test_element_change_state):
5597         Activate pad before adding to the element.
5598
5599 2006-10-09  Wim Taymans  <wim@fluendo.com>
5600
5601         * docs/design/part-qos.txt:
5602         Fix typo.
5603
5604         * gst/gstevent.c:
5605         * gst/gstevent.h:
5606         Update seek event docs regarding negative rates.
5607         Rename @cur to @start. 
5608
5609         * gst/gstsegment.c: (gst_segment_set_seek):
5610         * gst/gstsegment.h:
5611         Update set_seek docs regarding negative rates.
5612         Correctly update last_stop to @stop when dealing with negative
5613         rates.
5614         Rename @cur to @start. 
5615
5616         * tests/check/gst/gstpad.c: (GST_START_TEST):
5617         Activate pads before trying to use them.
5618
5619         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5620         (gst_segment_suite):
5621         Add simple check for segments and negative rates.
5622
5623 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5624
5625         * gst/gsttaglist.c: (gst_tag_list_is_empty):
5626         * gst/gsttaglist.h:
5627         * docs/gst/gstreamer-sections.txt:
5628           API: add gst_tag_list_is_empty() (#360467).
5629
5630         * tests/check/gst/gsttag.c: (GST_START_TEST):
5631           And a test case.
5632
5633 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5634
5635         * gst/gstmessage.h:
5636         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5637         a value that doesn't fit on enumeration.
5638
5639 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5640
5641         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5642         Remove local debugging system and use Gstreamer's instead.
5643
5644 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5645
5646         Patch by: Josep Torre Valles <josep@fluendo.com>
5647
5648         * common/m4/gst-error.m4:
5649         Disable warning of statement not reached on Forte.
5650         * gst/gstmessage.h:
5651         Fix warning on Forte (value doesn't fit on enumeration).
5652         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5653         Fix warning on Forte (value doesn't fit on enumeration).
5654         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5655         DEBUG macro says it takes minimum of 2 args and so Forte
5656         complains about the use with just 1 arg.
5657         * plugins/elements/gstfdsink.c:
5658         * plugins/elements/gstfdsrc.c:
5659         * plugins/elements/gstfilesink.c:
5660         * plugins/elements/gstfilesrc.c:
5661         Use correct return type for the uri handler implementations.
5662
5663         All these fix warnings in Forte.  Fixes bug #360860.
5664
5665 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5666
5667         * gst/gstelement.h:
5668           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5669           format string, so don't use G_GNUC_PRINTF for those versions.
5670
5671 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
5672
5673         * gst/gsttaglist.c: (gst_is_tag_list):
5674         * gst/gsttaglist.h:
5675           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
5676
5677         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5678           Small test for the above.
5679
5680 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
5681
5682         * gst/gsttaglist.h:
5683           Less tabs, more spaces.
5684
5685 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
5686
5687         * gst/gstinfo.h:
5688           Those two function declarations do actually belong there, revert
5689           commit from yesterday that turned them intro macros.
5690
5691 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5692
5693         Patch by: Josep Torre Valles <josep@fluendo.com>
5694
5695         * gst/gst.c: (gst_init_get_option_group):
5696         Fix empty declaration and type mismatch.
5697         * gst/gstbin.c: (gst_bin_change_state_func):
5698         Fix type mismatch.
5699         * gst/gstelement.c: (gst_element_continue_state),
5700         (gst_element_set_state_func), (gst_element_change_state),
5701         (gst_element_change_state_func):
5702         Fix type mismatches.
5703         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
5704         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
5705         Cast as appropriate.
5706         * gst/gstobject.c: (gst_class_signal_connect):
5707         Cast as appropriate.  The function pointer parameter really
5708         has the wrong type but would break API if we change it.
5709         * gst/gstquery.c:
5710         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
5711         order of including string.h.
5712         * gst/gstutils.c: (gst_element_state_get_name):
5713         Remove unreachable line.
5714         * gst/gstxml.c: (gst_xml_parse_doc):
5715         Fix type mismatch.
5716         All these caught by Forte.
5717
5718 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5719
5720         Patch by: Josep Torre Valles <josep@fluendo.com>
5721
5722         * common/m4/gst-error.m4:
5723         Fixed bug #360151.
5724         We need to disable warnings on Forte for empty declarations
5725         due to gst-indent adding ;s to lines that just use macros
5726         where the macro actually doesn't need a ; at end to end
5727         statement.
5728
5729 2006-10-06  Wim Taymans  <wim@fluendo.com>
5730
5731         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5732         (gst_file_sink_close_file), (gst_file_sink_event),
5733         (gst_file_sink_render):
5734         Add some FIXME for the NEWSEGMENT handling.
5735
5736 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5737
5738         * gst/parse/grammar.y:
5739         Remove static function gst_parse_element_lock as all it does
5740         is return.  Looks like cruft from 0.8.
5741
5742 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5743
5744         Patch by: Josep Torre Valles <josep@fluendo.com>
5745
5746         * common/m4/gst-error.m4:
5747         * configure.ac:
5748         * libs/gst/net/Makefile.am:
5749         Fix a compilation issue with Forte on Solaris.  inet_aton is in
5750         libresolv.
5751
5752 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
5753
5754         * gst/gstpad.c: (pre_activate):
5755         * gst/gstregistry.c: (gst_registry_scan_path_level):
5756         * gst/gstregistryxml.c: (load_plugin):
5757         * libs/gst/controller/gstcontroller.c:
5758         (gst_controlled_property_set_interpolation_mode):
5759         * libs/gst/dataprotocol/dataprotocol.c:
5760         (gst_dp_packet_from_event_1_0):
5761         * libs/gst/net/gstnetclientclock.c:
5762         (gst_net_client_clock_observe_times):
5763         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5764           Printf fixes.
5765
5766 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
5767
5768         * configure.ac:
5769         * docs/gst/gstreamer-sections.txt:
5770         * gst/gstconfig.h.in:
5771         * gst/gstelement.h:
5772         * gst/gstinfo.h:
5773           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
5774           whether we can use G_GNUC_PRINTF in other header files and at
5775           least check the printf format/arguments of debug messages and
5776           GST_ELEMENT_ERROR messages when the printf extension is not
5777           being used.
5778           Replace more tabs with spaces in gstinfo.h and remove two spurious
5779           function declarations in GST_DISABLE_DEBUG part with macros.
5780
5781 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
5782
5783         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
5784           More docs for the sync-message signal (mention that it is not
5785           emitted by default); log message structures of messages posted on
5786           the bus as well.
5787
5788 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
5789
5790         * gst/gst.c: (ensure_current_registry_forking):
5791         Use a pipe pair to receive status results from the forked child, and
5792         ignore the result from waitpid. Fixes #355499
5793
5794 2006-10-02  Wim Taymans  <wim@fluendo.com>
5795
5796         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5797         (gst_ghost_pad_suite):
5798         Fix leak in check.
5799
5800 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5801
5802         * gst/gstpad.c:
5803           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5804
5805 2006-10-02  Edward Hervey  <edward@fluendo.com>
5806
5807         * docs/design/part-block.txt:
5808         Further explain the use of flushing on blocked pads.
5809         * docs/gst/gstreamer-sections.txt:
5810         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5811         (gst_pad_push_event):
5812         * gst/gstpad.h:
5813         Added new GstPadFlag : GST_PAD_BLOCKING.
5814         Adds the notion of pads really blocking, which enables to properly
5815         handle FLUSH_START/FLUSH_STOP events on blocked pads.
5816         Fixes #358999
5817         API: gst_pad_is_blocking()
5818         API: GST_PAD_IS_BLOCKING() macro
5819         API: GST_PAD_BLOCKING GstPadFlag
5820         
5821 2006-10-02  Wim Taymans  <wim@fluendo.com>
5822
5823         Patch by: mrcgran <mrc.gran at gmail dot com>
5824
5825         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5826         Filter the proxied caps against the padtemplate if we have one.
5827
5828         * gst/gstquery.c: (gst_query_new_segment):
5829         Add include for gstinfo.h so that compilation with
5830         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5831
5832 2006-10-02  Wim Taymans  <wim@fluendo.com>
5833
5834         Patch by: Alessandro Decina  <alessandro at nnva org>
5835
5836         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5837         (gst_file_sink_set_location), (gst_file_sink_open_file),
5838         (gst_file_sink_close_file), (gst_file_sink_event),
5839         (gst_file_sink_render):
5840         Set file to NULL when closing filesink so that we can set a new filename
5841         in READY. Fixes #358613.
5842
5843 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5844
5845         Patch by: Alessandro Decina  <alessandro at nnva org>
5846
5847         * gst/gstevent.c: (_gst_event_copy):
5848           Fix gst_mini_object_make_writable() and gst_event_copy() for events
5849           with event structures by setting the parent refcount address of the
5850           copied structure to the address of the refcount member of the newly
5851           copied event rather than the address of the refcount member of the
5852           original event. Fixes #358737.
5853
5854         * tests/check/gst/gstevent.c: (GST_START_TEST):
5855           Unit test for the above.
5856
5857 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
5858
5859         * docs/design/Makefile.am:
5860           Dist some more files.
5861
5862 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5863
5864         * tests/check/libs/controller.c: (GST_START_TEST),
5865         (gst_controller_suite):
5866           Add test for the previous fix; add some more tests
5867           for correct refcounting behaviour; fix a few leaks
5868           in test cases; call gst_controller_init() at start
5869           of all tests.
5870
5871 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5872
5873         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5874         (gst_controller_set_from_list):
5875           Don't g_return_val_if_fail() on timed values with invalid timestamps
5876           inside a critical section without unlocking the mutex. Spotted by
5877           René Stadler. (#357617)
5878           Also, fix up refcounting properly: when returning an existing
5879           controller, we should increase the reference only once and not
5880           once per property and when trying to control a property again
5881           we should also increase the refcount.
5882
5883 2006-09-29  Wim Taymans  <wim@fluendo.com>
5884
5885         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5886         * libs/gst/net/gstnettimeprovider.c:
5887         (gst_net_time_provider_thread):
5888         Stop reading commands when EOF as well.
5889
5890         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5891         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5892         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5893         Unify description of the dump property.
5894
5895 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5896
5897         * tests/examples/manual/.cvsignore:
5898         OK, so it's actually cvsignore that needs changing. Stop laughing.
5899
5900 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5901
5902         * tests/examples/manual/Makefile.am:
5903         Gah, declare vars *before* using them
5904
5905 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5906
5907         * gst/gst.c: (init_pre), (scan_and_update_registry),
5908         (ensure_current_registry_nonforking),
5909         (ensure_current_registry_forking), (ensure_current_registry),
5910         (init_post), (gst_debug_help), (gst_deinit):
5911         * gst/gst_private.h:
5912         * gst/gstregistry.c: (gst_registry_finalize),
5913         (gst_registry_remove_features_for_plugin_unlocked),
5914         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5915         (gst_registry_scan_path),
5916         (_priv_gst_registry_remove_cache_plugins),
5917         (_priv_gst_registry_cleanup):
5918         * gst/gstregistry.h:
5919         Re-commit the registry changes, along with an extra fix:
5920           When a cached plugin is encountered at a different file path,
5921           update the stored path in the registry cache so that the parent
5922           process knows where it actually is now when it re-reads the registry
5923           cache. Fixes the thing that broke distcheck with the previous commit.
5924
5925         * tests/check/Makefile.am:
5926         Clean up files named 'core' too when running make clean.
5927
5928         * tests/examples/manual/Makefile.am:
5929         Set up a registry path for running these tests, and clean it properly
5930         for distcheck.
5931
5932 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5933
5934         * configure.ac:
5935         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5936         want gmodule-no-export-2.0.pc instead so that we don't drag in
5937         --export-dynamic on every project that links to GStreamer.
5938
5939         Also, make our export regex only match the start of symbols, rather 
5940         than any symbol that contains '_gst' somewhere.
5941
5942         * libs/gst/check/Makefile.am:
5943         The libgstcheck we build does however need export-dynamic, as it
5944         produces some symbols that don't match our _gst... style regex.
5945         Fixes: #318031
5946
5947 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
5948
5949         * gst/gst.c: (init_pre), (scan_and_update_registry),
5950         (ensure_current_registry_nonforking),
5951         (ensure_current_registry_forking), (ensure_current_registry),
5952         (init_post), (gst_debug_help), (gst_deinit):
5953         * gst/gst_private.h:
5954         * gst/gstregistry.c: (gst_registry_finalize),
5955         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5956         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5957         (_gst_registry_cleanup):
5958         * gst/gstregistry.h:
5959           Revert previous change until I figure out why it breaks distcheck.
5960
5961 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
5962
5963         * gst/gst.c: (init_pre), (scan_and_update_registry),
5964         (ensure_current_registry_nonforking),
5965         (ensure_current_registry_forking), (ensure_current_registry),
5966         (init_post), (gst_debug_help), (gst_deinit):
5967
5968           Make init_pre and init_post take the full complement of GOptionFunc
5969           args so they can return useful GErrors. Make the registry updating
5970           functions do so.
5971
5972           Call _priv_gst_registry_remove_cache_plugins after scanning files to
5973           ensure that the registry we're about to write out doesn't contain
5974           stale information about old-deleted plugin files.
5975
5976           Make _priv_gst_registry_remove_cache_plugins return a boolean so
5977           that deletion of plugin files is considered a registry change.
5978
5979         * gst/gst_private.h:
5980         * gst/gstregistry.c: (gst_registry_finalize),
5981         (gst_registry_remove_features_for_plugin_unlocked),
5982         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5983         (gst_registry_scan_path),
5984         (_priv_gst_registry_remove_cache_plugins),
5985         (_priv_gst_registry_cleanup):
5986         * gst/gstregistry.h:
5987         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5988         by adding _priv prefix, so that they won't appear in the global
5989         symbol table. They still do atm though because of #318031. Move the
5990         prototypes to gst_private.h
5991
5992         When removing a plugin, remove all features for that plugin too. 
5993         Fixes #340878.
5994
5995 2006-09-27  Wim Taymans  <wim@fluendo.com>
5996
5997         * docs/random/moving-plugins:
5998         Make it clear that the "compiled-in descriptions" really mean
5999         the element details.
6000
6001         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6002         (gst_base_sink_wait_preroll):
6003         Update docs.
6004
6005         * docs/libs/gstreamer-libs-sections.txt:
6006         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6007         (gst_base_src_get_range), (gst_base_src_activate_push):
6008         * libs/gst/base/gstbasesrc.h:
6009         Added function to block while waiting for PLAYING, this function
6010         is used by live sources that block on the clock.
6011         API: gst_base_src_wait_playing()
6012
6013 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6014
6015         Patch by: Peter Kjellerstedt <pkj at axis com>
6016
6017         * Makefile.am:
6018           gst-element-check.m4 is generated and should therefore be
6019           copied from the build dir rather than the source dir (#357593).
6020           'make distcheck' hasn't noticed this because we were disting
6021           the file as well, so stop doing that.
6022
6023 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6024
6025         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6026           Add some tests for gst_caps_intersect().
6027
6028         * tools/gst-launch.c: (event_loop):
6029           Print all buffering percentages we get, even the 100% one.
6030
6031 2006-09-26  Wim Taymans  <wim@fluendo.com>
6032
6033         * tools/gst-inspect.c: (print_element_properties_info),
6034         (print_signal_info):
6035         Fix printing of flags to match the look of enums.
6036
6037 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6038
6039         * gst/gstelementfactory.c:
6040           Fix typo in docs blurb.
6041
6042 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6043
6044         * gst/gsturi.c: (search_by_entry):
6045           Don't assert/crash here if a uri handler doesn't return any
6046           supported protocols. The list of protocols could be generated
6047           dynamically at runtime or at plugin registration, and an error
6048           in the underlying library shouldn't be fatal (#353301).
6049
6050 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6051
6052         * gst/gstinfo.c:
6053           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6054           (spotted by Peter Kjellerstedt).
6055
6056 2006-09-23  Wim Taymans  <wim@fluendo.com>
6057
6058         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6059
6060         * libs/gst/base/gstbasesrc.c:
6061         (gst_base_src_default_check_get_range), (gst_base_src_start),
6062         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6063         (gst_base_src_change_state):
6064         Match _start/_stop calls in the activate functions. Remove redundant
6065         _stop call from the state change function. Fixes #356910.
6066         Turn failure DEBUG into ERROR. 
6067
6068 2006-09-22  Wim Taymans  <wim@fluendo.com>
6069
6070         * docs/design/part-buffering.txt:
6071         * gst/gstmessage.c: (gst_message_new_buffering),
6072         (gst_message_parse_buffering):
6073         Update docs about buffering.
6074
6075         * docs/design/part-trickmodes.txt:
6076         Fix typo.
6077
6078 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6079
6080         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6081         (gst_controller_new_list):
6082           Ref instances when returning them again (fixes #357180)
6083
6084 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6085
6086         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6087           Don't forget to release proxy lock when there's an error.
6088
6089 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6090
6091         * gst/gstcaps.h:
6092           Add extra initialisers for Caps things, to fix some plugin warnings
6093           when using -Wextra
6094
6095 2006-09-18  Wim Taymans  <wim@fluendo.com>
6096
6097         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6098           Also set template on the internal pad so that a getcaps from the 
6099           target pad returns the template caps.
6100
6101 2006-09-18  Wim Taymans  <wim@fluendo.com>
6102
6103         * gst/gstelement.c: (gst_element_post_message),
6104         (gst_element_dispose):
6105         Use _DEBUG_OBJECT some more.
6106
6107         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6108         Avoid typechecks.
6109
6110         * tools/gst-launch.c: (main):
6111         If the toplevel element is not a GstPipeline, it must be put in a
6112         pipeline so that a bus and clock is selected.
6113
6114 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6115
6116         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6117           JITTER, RATE, and LATENCY query should be handled by the
6118           default case and not by the CONVERT query code.
6119
6120 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6121
6122         * gst/gstformat.c: (gst_format_register):
6123           Fix locking order (must take lock before using n_values).
6124
6125         * gst/gstvalue.c: (gst_value_serialize_enum),
6126         (gst_value_deserialize_enum_iter_cmp),
6127         (gst_value_deserialize_enum):
6128           Fix serialisation/deserialisation of custom registered GstFormats.
6129
6130         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6131           Unit test for custom format serialisation/deserialisation.
6132
6133 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6134
6135         * docs/pwg/building-boiler.xml:
6136         * plugins/elements/gstcapsfilter.c:
6137         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6138         section.
6139
6140 2006-09-16  Edward Hervey  <edward@fluendo.com>
6141
6142         * libs/gst/base/gstbasetransform.c:
6143         (gst_base_transform_buffer_alloc):
6144         Check if requested caps are the same as the sinks caps IF
6145         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6146         is FALSE.
6147         This fixes the renegotiation issues stated in #352827.
6148
6149 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6150
6151         * configure.ac:
6152         * docs/manual/advanced-autoplugging.xml:
6153         * tests/examples/Makefile.am:
6154         * tests/examples/manual/.cvsignore:
6155         * tests/examples/manual/Makefile.am:
6156         * tests/examples/manual/extract.pl:
6157           Extract the manual examples again like we used to do.
6158           Fix one of them.
6159
6160 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6161
6162         * win32/common/config.h:
6163           update for version
6164
6165 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6166
6167         * gst/gsterror.c:
6168           Documents how to receive errors.
6169
6170 2006-09-15  Wim Taymans  <wim@fluendo.com>
6171
6172         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6173         (event_loop), (main):
6174         Added some comments here and there.
6175         Post an application message when an interrupt is caught instead of doing
6176         an uncontrolled state change.
6177         Clean up the event loop.
6178         Handle buffering messages, pause/resume the pipeline.
6179         Make shutdown because of an interrupt more reliable.
6180
6181 2006-09-15  Wim Taymans  <wim@fluendo.com>
6182
6183         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6184         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6185         (gst_base_sink_preroll_object):
6186         Make sure that our internal state is correct when we commit our state
6187         asynchronously. This solves a race where a state change to PLAYING
6188         could cause the sink to remain blocked in preroll in some situations.
6189
6190 2006-09-15  Wim Taymans  <wim@fluendo.com>
6191
6192         * tools/gst-inspect.c: (print_element_properties_info),
6193         (print_signal_info):
6194         List flags as hex so it's easier to deal with.
6195
6196 2006-09-15  Wim Taymans  <wim@fluendo.com>
6197
6198         * docs/libs/gstreamer-libs-sections.txt:
6199         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6200         (gst_base_sink_do_sync):
6201         * libs/gst/base/gstbasesink.h:
6202         Expose logic to wait for preroll so that subclasses such as audiosink
6203         can also use this method.
6204         API: gst_base_sink_wait_preroll()
6205
6206 2006-09-15  Wim Taymans  <wim@fluendo.com>
6207
6208         * gst/gstobject.c: (gst_object_set_parent):
6209         * gst/gstpipeline.c: (do_pipeline_seek):
6210         Small cleanups in docs and code.
6211
6212         * gst/gstsegment.c: (gst_segment_clip):
6213         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6214         if stop == start and start is in the segment, no clipping should be
6215         done. Also add a test for this.
6216
6217 2006-09-15  Wim Taymans  <wim@fluendo.com>
6218
6219         * docs/design/part-buffering.txt:
6220         * docs/gst/gstreamer-sections.txt:
6221         * gst/gstmessage.c: (gst_message_new_buffering),
6222         (gst_message_parse_buffering):
6223         * gst/gstmessage.h:
6224         Added methods to create and parse BUFFERING messages.
6225         Added preliminary docs about buffering.
6226         API: gst_message_new_buffering
6227         API: gst_message_parse_buffering
6228
6229 2006-09-06  Wim Taymans  <wim@fluendo.com>
6230
6231         * gst/gstbin.c:
6232         Update documentation.
6233
6234         * gst/gstelement.c: (gst_element_class_init),
6235         (gst_element_release_request_pad), (gst_element_set_clock),
6236         (gst_element_get_index), (gst_element_add_pad),
6237         (gst_element_remove_pad), (gst_element_get_random_pad),
6238         (gst_element_send_event), (gst_element_get_query_types),
6239         (gst_element_query), (gst_element_post_message),
6240         (gst_element_message_full), (gst_element_continue_state),
6241         (gst_element_lost_state), (gst_element_save_thyself),
6242         (gst_element_restore_thyself):
6243         Documentation updates.
6244         Rename last bit of the new-pad -> pad-added signal rename.
6245         Fix the case where an element query would only work if the source
6246         pad was linked.
6247         Avoid some useless type checking in message handling.
6248
6249         * gst/gstevent.c:
6250         * gst/gstevent.h:
6251         * gst/gstutils.c:
6252         Documentation updates.
6253
6254 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6255
6256         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6257           add an INFO line for when we actually update the fd
6258
6259 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6260
6261         * configure.ac:
6262           back to TRUNK
6263
6264 === release 0.10.10 ===
6265
6266 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
6267
6268         * configure.ac:
6269           releasing 0.10.10, "Pais"
6270
6271 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
6272
6273         * docs/manual/advanced-position.xml:
6274           Fix typo in sample code.
6275
6276 2006-09-05  Wim Taymans  <wim@fluendo.com>
6277
6278         * libs/gst/net/gstnetclientclock.c: (inet_aton),
6279         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6280         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6281         * libs/gst/net/gstnetclientclock.h:
6282         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6283         * libs/gst/net/gstnettimepacket.h:
6284         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6285         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6286         (gst_net_time_provider_thread), (gst_net_time_provider_new):
6287         * libs/gst/net/gstnettimeprovider.h:
6288         Make stuff compile on windows. Fixes #345295.
6289
6290 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6291
6292         * gst/gst.c: (ensure_current_registry_forking):
6293           Print better details when child was terminated by signal.
6294
6295 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6296
6297         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6298           Print a warning rather than g_assert() if a plugin feature
6299           is a URI handler but returns no protocols (#353976).
6300
6301 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
6302
6303         * docs/random/moving-plugins:
6304         Fix two typos.         
6305
6306 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6307
6308         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6309           Fix locking order, handle NULL function values properly.
6310
6311         * gst/gstinfo.h:
6312           Fix docs.
6313
6314         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6315           Initialise variable before using it and fix debug statement to
6316           print the address of the function rather than the address of the
6317           variable on the stack holding the address of the function.
6318
6319 2006-09-01  Wim Taymans  <wim@fluendo.com>
6320
6321         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6322         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6323         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6324         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6325         (gst_ghost_pad_parent_unset),
6326         (gst_ghost_pad_internal_do_activate_push),
6327         (gst_ghost_pad_internal_do_activate_pull),
6328         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6329         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6330         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6331         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6332         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6333         (gst_ghost_pad_new_no_target_from_template),
6334         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6335         More cleanups.
6336         Avoid needless typechecking in macros.
6337         Since the internal pad is always present and never changes, there is
6338         no need to locking or ref when retrieving it.
6339         Improve debugging a bit.
6340         Handle link errors when setting the target. Fixes #341029.
6341
6342 2006-09-01  Wim Taymans  <wim@fluendo.com>
6343
6344         * docs/libs/gstreamer-libs-sections.txt:
6345         * docs/plugins/gstreamer-plugins-sections.txt:
6346         Fix docs some more.
6347
6348         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6349         (gst_collect_pads_event):
6350         * libs/gst/base/gstcollectpads.h:
6351         Documentation updates.
6352         Free queued buffer when removing a pad.
6353
6354 2006-08-31  Michael Smith  <msmith@fluendo.com>
6355
6356         * gst/gstutils.c: (gst_element_link_pads),
6357         (gst_element_link_pads_filtered):
6358           Ensure that we set a capsfilter to NULL if we failed to link it
6359           when doing filtered linking, to avoid criticals.
6360
6361           No need to check for unreffing srcpad, which is explicly NULLed
6362           above (a trivial code cleanup).
6363
6364 2006-08-31  Wim Taymans  <wim@fluendo.com>
6365
6366         * docs/design/part-gstghostpad.txt:
6367         Update ascii art in documentation.
6368
6369         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6370         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6371         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6372         (gst_ghost_pad_internal_do_activate_push),
6373         (gst_ghost_pad_internal_do_activate_pull),
6374         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6375         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6376         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6377         (gst_ghost_pad_set_target):
6378         Small cleanups and leak fixes.
6379         Remove some checks now that the internal pad is never NULL.
6380         Fix the case where linking pads without a target would create nasty
6381         criticals. Fixes #341029.
6382         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6383         value of _set_target().
6384
6385         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6386         (gst_ghost_pad_suite):
6387         Some more tests for creating and linking untargeted ghostpads.
6388
6389 2006-08-31  Edward Hervey  <edward@fluendo.com>
6390
6391         * docs/gst/gstreamer-sections.txt:
6392         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6393         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6394         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6395         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6396         (gst_ghost_pad_new_from_template),
6397         (gst_ghost_pad_new_no_target_from_template):
6398         * gst/gstghostpad.h:
6399         Refactored *_new() functions.
6400         Templates are now used as a g_object_new() parameter.
6401         Use template in _do_getcaps() if we don't have a target.
6402         Small documentation cleanups.
6403         Added two new constructors:
6404         gst_ghost_pad_new_from_template()
6405         gst_ghost_pad_new_no_target_from_template()
6406         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6407         (gst_ghost_pad_suite):
6408         Added tests for new ghostpad instanciation functions.
6409
6410         API additions: gst_ghost_pad_new_from_template,
6411         gst_ghost_pad_new_no_target_from_template
6412
6413 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
6414
6415         * docs/random/ensonic/profiling.txt:
6416           Ideas about qos profiling.
6417
6418 2006-08-29  Wim Taymans  <wim@fluendo.com>
6419
6420         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6421         Code cleanups.
6422         Fix memleak.
6423
6424 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
6425
6426         * gst/gstxml.c:
6427           Improve and detypofy docs.
6428
6429         * tests/check/Makefile.am:
6430         * tests/check/gst/.cvsignore:
6431         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6432           Add a basic test suite for GstXML.
6433
6434 2006-08-29  Wim Taymans  <wim@fluendo.com>
6435
6436         * gst/gstelement.c: (activate_pads), (clear_caps),
6437         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6438         Clear the pad caps when the element shut down all of the pads and
6439         is not streaming data that could modify the caps. 
6440         Fixes #352958.
6441
6442 2006-08-28  Michael Smith  <msmith@fluendo.com>
6443
6444         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6445           Revert previous change; I misunderstood single-segment mode.
6446
6447 2006-08-28  Michael Smith  <msmith@fluendo.com>
6448
6449         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6450           Unset DISCONT on buffers when using single-segment mode.
6451
6452 2006-08-28  Wim Taymans  <wim@fluendo.com>
6453
6454         * gst/gstcaps.c: (gst_caps_merge_structure):
6455         * gst/gstcaps.h:
6456         Fix docs and indentation again.
6457
6458         * tests/check/gst/gstquery.c: (GST_START_TEST):
6459         Fix leak in tests and add some more tests.
6460
6461 2006-08-28  Edward Hervey  <edward@fluendo.com>
6462
6463         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6464         Inform GstSegment of the last stop position in order for the current
6465         segment to have a proper duration if it doesn't have a specific stop
6466         position from which a duration could be calculated.
6467         This bug was noticeable when a non-flushing, non-update new segment was
6468         followed by another segment (all buffers from the new segment were being
6469         dropped).
6470
6471 2006-08-28  Wim Taymans  <wim@fluendo.com>
6472
6473         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6474         Small comment update.
6475
6476         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6477         (gst_identity_transform_ip):
6478         Drop-probability is broken, mention this in the code with a 
6479         FIXME and also in the property description.
6480         Make silent also be silent about the drop messages.
6481
6482 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
6483
6484         * docs/manual/appendix-win32.xml:
6485           Remove mention of popt, we don't depend on that any
6486           longer (#353136). Add some comments pointing out that
6487           this section is slightly outdated.
6488
6489 2006-08-28  Wim Taymans  <wim@fluendo.com>
6490
6491         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6492
6493         * gst/gstquery.c: (gst_query_new_segment):
6494         * tests/check/gst/gstquery.c: (GST_START_TEST):
6495         Initialize variables when creating a new segment query.
6496         Fixes #353121.
6497
6498 2006-08-28  Wim Taymans  <wim@fluendo.com>
6499
6500         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6501
6502         * gst/gstelement.c: (gst_element_get_bus):
6503         * tests/check/gst/gstelement.c: (GST_START_TEST):
6504         Check for NULL before _reffing the bus. Fixes #353122.
6505
6506 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
6507
6508         * docs/manual/basics-bus.xml:
6509           Docs update: fix wrong callback return value explanation; add
6510           some lines about the implicit relationship between main loop
6511           and main context; remove duplicate main loop variable declaration.
6512
6513 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
6514
6515         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6516           Don't leak caps in unit test; add a few more simple
6517           checks. 
6518
6519 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
6520
6521         * docs/gst/gstreamer-sections.txt:
6522         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6523         (gst_caps_structure_is_subset), (gst_caps_merge),
6524         (gst_caps_merge_structure):
6525         * gst/gstcaps.h:
6526         * libs/gst/base/gstbasetransform.c:
6527         (gst_base_transform_transform_caps):
6528         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6529           implement caps merging (fixes #352580)
6530
6531 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
6532
6533         * tools/Makefile.am:
6534         * tools/gst-plot-timeline.py:
6535           add debug-log plotting developer tool (#340674)
6536
6537 2006-08-23  Wim Taymans  <wim@fluendo.com>
6538
6539         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6540         (gst_pad_stop_task):
6541         Improve debugging for task functions.
6542
6543         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6544         (gst_task_start), (gst_task_pause), (gst_task_join):
6545         Make sure that the task function started and finished after a 
6546         join(). 
6547         Don't try to push the task function on the threadpool multiple
6548         times.
6549         Improve the g_warning message with some useful suggestions
6550         about how to fix the problem. 
6551
6552 2006-08-23  Wim Taymans  <wim@fluendo.com>
6553
6554         * gst/gstutils.c: (gst_pad_proxy_getcaps):
6555         Handle RESYNC correctly in _proxy_getcaps.
6556
6557 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
6558
6559         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6560         (gst_xml_parse_memory), (gst_xml_get_element):
6561           Chain up to parent class in dispose function and also
6562           unref the elements in the toplevel_elements GList.
6563           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6564           Always return a reference in gst_xml_get_element() rather
6565           than only sometimes.
6566
6567         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6568           Don't leak GstXml object.
6569
6570 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
6571
6572         * docs/gst/gstreamer-sections.txt:
6573         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6574         (gst_caps_merge):
6575         * gst/gstcaps.h:
6576         * libs/gst/base/gstbasetransform.c:
6577         (gst_base_transform_transform_caps):
6578           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6579           in a better way
6580
6581 2006-08-21  Edward Hervey  <edward@fluendo.com>
6582
6583         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6584         Implement GObject::dispose virtual method in GstXML so we can free the
6585         top_elements GList.
6586
6587 2006-08-21  Wim Taymans  <wim@fluendo.com>
6588
6589         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6590         (gst_buffer_create_sub):
6591         Copy duration/offset_end/caps when creating a subbuffer of the
6592         complete parent.
6593         Make the subbuffer read-only when we make the metadata writable for
6594         now. Fixes #351768.
6595
6596         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6597         Added check for metadata copy when creating subbuffers.
6598
6599 2006-08-21  Edward Hervey  <edward@fluendo.com>
6600
6601         * libs/gst/base/gstbasetransform.c:
6602         (gst_base_transform_buffer_alloc):
6603         Only call downstream buffer_alloc if transform element is passthrough
6604         or always_in_place. Closes #350449.
6605
6606 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6607
6608         * ChangeLog:
6609           ChangeLog surgery to add comments to previous changes
6610
6611 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6612
6613         * gst/gst.c:
6614           Add comments
6615
6616         * gst/gstpad.c: (gst_pad_set_active):
6617           Be more verbose in the log
6618
6619         * libs/gst/base/gstbasetransform.c:
6620         (gst_base_transform_transform_caps):
6621           Simplify caps to get rid of duplicates, fixes #345444
6622
6623 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6624
6625         * gst/gstvalue.c:
6626         * gst/gstvalue.h:
6627           Use these optimizations only internally.
6628
6629 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6630
6631         * gst/gstvalue.c: (gst_value_compare_list),
6632         (gst_value_compare_fraction_range),
6633         (gst_value_intersect_fraction_fraction_range),
6634         (gst_value_intersect_fraction_range_fraction_range),
6635         (gst_value_subtract_fraction_fraction_range),
6636         (gst_value_subtract_fraction_range_fraction_range),
6637         (gst_value_get_compare_func), (gst_value_compare),
6638         (gst_value_compare_with_func):
6639         * gst/gstvalue.h:
6640           Saves the expensive lookup of the compare function in many cases
6641          (#345444)
6642
6643 2006-08-18  Edward Hervey  <edward@fluendo.com>
6644
6645         * tests/check/gst/gstinfo.c: (gst_info_suite):
6646         Disable test that require gstdebug if it wasn't built in core.
6647
6648 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
6649
6650         * docs/random/ensonic/logging.txt:
6651           update ideas
6652           
6653         * gst/gstinfo.c: (gst_debug_log_default):
6654           reorder fields, save some columns, add optional color codes for log
6655           levels
6656
6657 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
6658
6659         * docs/random/ensonic/logging.txt:
6660           add ideas about making the logs a bit more useful
6661
6662 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
6663
6664         * docs/pwg/advanced-events.xml:
6665         * docs/pwg/titlepage.xml:
6666           Update for 0.10 API (#340627). Add myself
6667           to authors list.
6668
6669 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
6670
6671         * docs/libs/gstreamer-libs-docs.sgml:
6672         * docs/libs/gstreamer-libs-sections.txt:
6673         * libs/gst/check/gstbufferstraw.c:
6674           Make gstcheck stuff show up in docs (still needs to
6675           be documented properly though).
6676
6677 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
6678
6679         * docs/gst/gstreamer-sections.txt:
6680         * gst/Makefile.am:
6681         * gst/gst.c: (init_post):
6682         * gst/gst_private.h:
6683         * gst/gstquark.c: (_priv_gst_quarks_initialize):
6684         * gst/gstquark.h:
6685         * gst/gstquery.c: (gst_query_new_position),
6686         (gst_query_set_position), (gst_query_parse_position),
6687         (gst_query_new_duration), (gst_query_set_duration),
6688         (gst_query_parse_duration), (gst_query_new_convert),
6689         (gst_query_set_convert), (gst_query_parse_convert),
6690         (gst_query_new_segment), (gst_query_set_segment),
6691         (gst_query_parse_segment), (gst_query_new_seeking),
6692         (gst_query_set_seeking), (gst_query_parse_seeking):
6693         Add internal helpers for pre-registering quarks from static strings
6694         and using the quark values directly instead of looking them up when
6695         creating and parsing queries. Can be used for event construction too.
6696         Closes #350432.
6697
6698 2006-08-16  Wim Taymans  <wim@fluendo.com>
6699
6700         * gst/gstbin.c:
6701         Fix bogus docs.
6702
6703 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
6704
6705         * gst/gstutils.c: (gst_util_set_value_from_string):
6706           Fix memleak (#351502).
6707
6708         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6709           Add unit test for most of gst_util_set_value_from_string()
6710           (not that one would want to encourage use of this function).
6711
6712 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
6713
6714         * libs/gst/check/gstcheck.h:
6715           Use const gchar * variables in fail_unless_equals_string
6716           macro to avoid compiler warnings (and don't use tabs for
6717           indenting).
6718
6719 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
6720
6721         * tools/gst-launch.c: (print_tag):
6722           More space on the left for the tag names, to cater
6723           for the 'extended comment' tag (not touching the
6724           string for the first line since it's translated).
6725
6726 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
6727
6728         * libs/gst/check/gstcheck.h:
6729           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
6730           print something when they fail.
6731
6732 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
6733
6734         * docs/gst/gstreamer-sections.txt:
6735         * gst/gsttaglist.c: (_gst_tag_initialize):
6736         * gst/gsttaglist.h:
6737           API: add GST_TAG_EXTENDED_COMMENT (#350935).
6738           Also change merge function for GST_TAG_COMMENT to
6739           use_first.
6740
6741 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
6742
6743         * gst/gstinfo.c: (gst_debug_print_object):
6744           Make GST_PTR_FORMAT print messages as well.
6745
6746         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
6747         (GST_START_TEST), (gst_info_suite):
6748           More tests.
6749
6750 2006-08-14  Edward Hervey  <edward@fluendo.com>
6751
6752         * gst/gstelementfactory.c: (gst_element_register):
6753         If the GstElementClass doesn't have a GstElementDetails with all fields
6754         filled up correctly (longname, description AND author), then error out
6755         nicely instead of crashing.
6756
6757 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
6758
6759         * gst/gststructure.c:
6760           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
6761
6762         * gst/gstvalue.h:
6763           Expand on the difference between arrays and lists as we use them.
6764           
6765 2006-08-14  Wim Taymans  <wim@fluendo.com>
6766
6767         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6768         If the parent state change function failed, don't assume we can safely
6769         stop the source, this will be done when the pads are deactivated.
6770
6771 2006-08-14  Wim Taymans  <wim@fluendo.com>
6772
6773         * gst/gstbuffer.c:
6774         * gst/gsttask.c: (gst_task_join):
6775         Small doc updates.
6776
6777         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6778         (gst_pad_stop_task):
6779         When pad (de)activation failed for some reason, restore the old
6780         activation mode and set the pad to flushing instead of assuming the
6781         pad is deactivated.
6782         If the _task_join() failed, reinstall the task on the pad so that it can
6783         be stopped later and return an error.
6784
6785 2006-08-11  Andy Wingo  <wingo@pobox.com>
6786
6787         * configure.ac:
6788         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6789         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
6790         is only for users of API that don't want to see deprecated
6791         functions in the headers; people that want to compile out
6792         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
6793         CFLAGS. Fixes the build of multifdsink, or will soon..
6794
6795 2006-08-11  Wim Taymans  <wim@fluendo.com>
6796
6797         * docs/gst/gstreamer-sections.txt:
6798         Add GstClockClass vmethod docs.
6799
6800         * gst/gstcaps.h:
6801         Mark #endif with comment for associated #if
6802
6803         * gst/gstclock.c: (gst_clock_id_wait):
6804         * gst/gstclock.h:
6805         Add vmethod wait_jitter to avoid an unneeded _get_time() for
6806         most clock implementations.
6807         Document vmethods.
6808         Flesh out docs about resolution methods.
6809         API: GstClockClass::wait_jitter
6810
6811         * gst/gstsystemclock.c: (gst_system_clock_class_init),
6812         (gst_system_clock_async_thread),
6813         (gst_system_clock_id_wait_jitter_unlocked),
6814         (gst_system_clock_id_wait_jitter):
6815         Use base class wait_jitter variant for improved performance
6816         due to less clock polling.
6817
6818 2006-08-11  Edward Hervey  <edward@fluendo.com>
6819
6820         * gst/gst.c: (gst_init_check), (init_post):
6821         Set gst as being initialized before scanning/updating the registry,
6822         since there might be my python plugin loader that calls gst_init() and
6823         we don't want to loop back in.
6824         Closes #350879
6825
6826 2006-08-11  Wim Taymans  <wim@fluendo.com>
6827
6828         * docs/design/part-qos.txt:
6829         Bring docs in line with the code. Mostly the sign of the jitter was
6830         wrong in the docs. Fixes #349943.
6831
6832         * gst/gstclock.c:
6833         Fix the docs for the jitter.
6834
6835         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6836         (gst_event_parse_tag), (gst_event_new_buffer_size),
6837         (gst_event_parse_buffer_size), (gst_event_parse_qos),
6838         (gst_event_new_seek), (gst_event_parse_seek),
6839         (gst_event_new_navigation):
6840         Make sure the GstStructure has no parent when creating custom
6841         events.
6842         Add some more argument checking so that we avoid 0.0 rates.
6843         Flesh out the docs for the QoS event some more.
6844
6845 2006-08-11  Wim Taymans  <wim@fluendo.com>
6846
6847         * docs/gst/gstreamer-sections.txt:
6848         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6849         (ensure_current_registry_forking), (ensure_current_registry),
6850         (parse_one_option), (parse_goption_arg), (gst_deinit),
6851         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6852         * gst/gst.h:
6853         Doc updates.
6854         Added API and command line option to disable registry forking in
6855         addition to the environment variable.
6856         Constify some static arrays.
6857         Added some more debug.
6858         Don't deinit twice.
6859         API: gst_registry_fork_is_enabled()
6860         API: gst_registry_fork_set_enabled()
6861         API: --gst-disable-registry-fork command line option
6862         Fixes #348918.
6863
6864 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
6865
6866         * gst/gst.c: (gst_init):
6867           Fix typo in error message.
6868
6869 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
6870
6871         * libs/gst/controller/gstcontroller.h:
6872           fix ABI size-correction
6873
6874         * tests/check/libs/gdp.c: (gst_dp_suite):
6875           make tests that use deprecated API conditional
6876
6877 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
6878
6879         * docs/libs/gstreamer-libs-sections.txt:
6880         * libs/gst/controller/gstcontroller.c:
6881         (_gst_controller_get_property), (_gst_controller_set_property),
6882         (_gst_controller_init), (_gst_controller_class_init):
6883         * libs/gst/controller/gstcontroller.h:
6884         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6885         (gst_object_set_control_rate):
6886           API: add gst_object_{s,g}et_control_rate(), add private data section,
6887           fix docs
6888
6889         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6890         * libs/gst/dataprotocol/dataprotocol.h:
6891           add deprecation guards to make gtk-doc happy and allow disabling cruft
6892
6893 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
6894
6895         * tests/check/Makefile.am:
6896         * tests/check/gst/.cvsignore:
6897           Let's enable the new unit test as well.
6898
6899 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6900
6901         * configure.ac:
6902         * docs/gst/gstreamer-sections.txt:
6903         * gst/gstconfig.h.in:
6904         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6905         (_gst_info_printf_extension_ptr),
6906         (_gst_info_printf_extension_segment):
6907           API: add GST_SEGMENT_FORMAT, which is a printf extension we
6908           register that lets us easily dump GstSegments into debug
6909           logs (#350419).
6910
6911         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6912         (info_segment_format_printf_extension), (gst_info_suite):
6913           Add simple unit test that logs a bunch of different segments (not
6914           valgrinded at the moment because of leaks in
6915           gst_debug_add_log_function).
6916
6917 2006-08-09  Edward Hervey  <edward@fluendo.com>
6918
6919         * libs/gst/base/gstbasetransform.c:
6920         (gst_base_transform_buffer_alloc):
6921         Even if we can't figure out the proper format to request downstream,
6922         call buffer_alloc() downstream with the input parameters without setting
6923         the caps on the srcpad. This will force negotiation in the chain
6924         function.
6925         Closes #350449
6926
6927 2006-08-08  Edward Hervey  <edward@fluendo.com>
6928
6929         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6930         Unlinking from a pad without a target is now a perfectly valid case
6931         which should NOT raise an assertion.
6932         This case would happen if a linked ghostpad its target set to NULL after
6933         it was previously linked.
6934
6935 2006-08-08  Edward Hervey  <edward@fluendo.com>
6936
6937         * tests/check/libs/gdp.c:
6938         Also comment out the test (see below).
6939
6940 2006-08-08  Edward Hervey  <edward@fluendo.com>
6941
6942         * tests/check/libs/gdp.c: (gst_dp_suite):
6943         Use the architecture information from config.h and not gcc macros
6944         in order to properly disable a test that fails on PPC64.
6945
6946 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
6947
6948         * gst/gstelement.c: (gst_element_remove_pad):
6949           Don't crash printing the warning if the pad has no parent.
6950
6951 2006-08-02  Wim Taymans  <wim@fluendo.com>
6952
6953         * libs/gst/dataprotocol/dataprotocol.c:
6954         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6955         (gst_dp_crc), (gst_dp_header_payload_length),
6956         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6957         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6958         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6959         (gst_dp_event_from_packet), (gst_dp_validate_header),
6960         (gst_dp_validate_payload):
6961         Make debug category static
6962         Constify the crc table.
6963         Do some more arg checking in public functions.
6964         Fix some docs and do some small cleanups.
6965
6966         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6967         Add some more checks to see if GDP deals with bogus input.
6968
6969 2006-07-31  Wim Taymans  <wim@fluendo.com>
6970
6971         * gst/gstvalue.c: (gst_value_compare_list):
6972         Fix GstValueList comparison code. Fixes #347293.
6973
6974         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6975         Check to test GstValueList comparison.
6976
6977 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
6978
6979         * gst/gstelementfactory.c: (gst_element_factory_create):
6980         Remove unnecessary ref/unref pair
6981
6982         * gst/parse/grammar.y:
6983         Make sure to free the parse buffer on all code paths.
6984         Move a g_free up to the error handler where it's easier to see.
6985
6986         * tests/check/gst/gstevent.c: (test_event):
6987         Extending timeout for downstream travelling events to 10 seconds to
6988         hopefully avoid intermittent failure on the buildbots.
6989
6990         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6991         Don't manually set the state of the src element - it will happen as a
6992         natural consequence of the pipeline changing state, and that way it
6993         will do it in the right order too.
6994
6995 2006-07-31  Wim Taymans  <wim@fluendo.com>
6996
6997         * libs/gst/base/gstbasetransform.c:
6998         (gst_base_transform_buffer_alloc):
6999         Use OBJECT_LOCK and refcounting to get the pad caps in the
7000         buffer_alloc function because the caps could change while we are
7001         busy with them. Fixes #349105
7002
7003 2006-07-31  Wim Taymans  <wim@fluendo.com>
7004
7005         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7006         Protect _PAD_CAPS with OBJECT_LOCK.
7007
7008 2006-07-31  Wim Taymans  <wim@fluendo.com>
7009
7010         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7011         (gst_pad_get_property), (gst_pad_activate_pull),
7012         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7013         (gst_pad_set_activate_function),
7014         (gst_pad_set_activatepull_function),
7015         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7016         (gst_pad_set_getrange_function),
7017         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7018         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7019         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7020         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7021         (gst_pad_set_acceptcaps_function),
7022         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7023         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7024         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7025         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7026         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7027         (gst_pad_configure_sink), (gst_pad_configure_src),
7028         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7029         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7030         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7031         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7032         (gst_pad_send_event):
7033         Use _DEBUG_OBJECT when it makes sense.
7034         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7035         Small cleanups and code reflows.
7036         Avoid caps refcounting in _accept_caps.
7037         Refactor alloc_buffer so that the code performed on the peer is in a
7038         separate function. Also if the pad does not implement a buffer alloc
7039         function, we should still check if the pad is flushing before falling
7040         back to the default allocator.
7041
7042 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7043
7044         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7045         Make all uses of identity and fakesink have silent=true to avoid
7046         serialising every passing data structure, which is breaking tests
7047         on FC4 for some unknown reason.
7048
7049 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7050
7051         * gst/parse/Makefile.am:
7052         * gst/parse/grammar.y:
7053         * gst/parse/parse.l:
7054           Reverted previous patch as it required to bump the flex dependency to
7055           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7056
7057 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7058
7059         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7060
7061         * gst/parse/Makefile.am:
7062         * gst/parse/grammar.y:
7063         * gst/parse/parse.l:
7064           push & pop the state of the lexer for reentrant use case
7065           Fixes #349180
7066
7067 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7068
7069         * libs/gst/base/gstbasesrc.h:
7070           Note in the docs that the ::newsegment vfunc is not actually used by
7071           GstBaseSrc.
7072
7073 2006-07-28  Wim Taymans  <wim@fluendo.com>
7074
7075         * libs/gst/base/gstcollectpads.c:
7076         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7077         (gst_collect_pads_clear), (gst_collect_pads_flush),
7078         (gst_collect_pads_event), (gst_collect_pads_chain):
7079         When flushing a pad, also clear the queued buffer so that we don't
7080         accidentally use it when we shouldn't.
7081         Fix leaks by inreffing incomming buffer.
7082         Flush out queued buffers in case of errors.
7083         Fixes #347452.
7084
7085 2006-07-28  Wim Taymans  <wim@fluendo.com>
7086
7087         * docs/random/phonon-gst:
7088         Random notes about a Phonon backend.
7089
7090 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7091
7092         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7093         Extra debug output
7094         * tests/check/libs/gdp.c: (gst_dp_suite):
7095         Take a whack at fixing the ppc compile using a different define to
7096         disable the broken test.
7097
7098         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7099         Remove excess g_print()
7100
7101 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7102
7103         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7104         Oops, meant to uncomment this line too to dampen the noise a bit.
7105
7106 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7107
7108         * gst/parse/grammar.y:
7109         * gst/parse/parse.l:
7110         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7111         (GST_START_TEST), (parse_suite):
7112         Fix some of the leaks exposed by extending the parse-launch testsuite,
7113         and move the 3 I can't figure out into a separate test that won't run
7114         the pipelines unless the appropriate line is uncommented.
7115
7116 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7117
7118         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7119           Requesting 0 bytes before the end of the file should result in
7120           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7121           unit test.
7122
7123 2006-07-27  Wim Taymans  <wim@fluendo.com>
7124
7125         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7126         Fix useless assert, a uint is always positive.
7127
7128         * gst/gststructure.c: (gst_structure_nth_field_name),
7129         (gst_structure_foreach), (gst_structure_map_in_place):
7130         Check input arguments for public functions to avoid obvious crashes.
7131
7132         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7133         * plugins/elements/gstfakesink.h:
7134         Do less useless typechecking.
7135
7136 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7137
7138         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7139           Do not use mmap() by default since there are a number of error
7140           conditions that we would like to handle in a non-fatal way that
7141           will result in a SIGBUS if we use mmap(). Examples: external
7142           devices (USB harddrive, portable music player) being unplugged
7143           while in use; file on mounted CD/DVD that can't be read because
7144           the medium is partly damaged. Fixes #348455 and #348475.
7145
7146 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7147
7148         * gst/gstquery.h:
7149         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7150         rates are a gdouble
7151
7152 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7153
7154         * gst/gstregistry.c:
7155           Move big documentation comment into class section header, so that it
7156           appears in the API docs.
7157
7158 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7159
7160         * docs/gst/gstreamer-sections.txt:
7161         Oops. Commit the docs additions too for new API.
7162         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7163
7164 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7165
7166         * gst/gststructure.c: (gst_structure_id_set),
7167         (gst_structure_id_set_valist):
7168         * gst/gststructure.h:
7169         Add API for setting values into structures without performing
7170         a quark lookup, if the appropriate quark is already known.
7171
7172         API: gst_structure_id_set
7173         API: gst_structure_id_set_valist
7174
7175         * gst/parse/grammar.y:
7176         * gst/parse/parse.l:
7177         Remove some dead code shown by the coverage information.
7178         Don't throw a critical g_warning when encountering a syntax error,
7179         just warn and let the normal error path handle it.
7180
7181         * plugins/elements/gstelements.c:
7182         Bump the rank of filesink up to PRIMARY so that it is preferred over
7183         gnomevfssink for file:// sink uri's
7184
7185         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7186         (GST_START_TEST), (run_delayed_test),
7187         (gst_parse_test_element_base_init),
7188         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7189         (gst_parse_test_element_change_state),
7190         (gst_register_parse_element), (parse_suite):
7191         Beef up the tests for parse syntax to check that more error cases
7192         fail as they are supposed to. Increases the test coverage a bit.
7193
7194 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7195
7196         * docs/manual/basics-elements.xml:
7197           Fix gst_element_link() example.
7198
7199         * gst/gstutils.c:
7200           Mention in API docs that one should usually gst_bin_add()
7201           elements to a bin or pipeline before doing the linking.
7202           
7203 2006-07-26  Wim Taymans  <wim@fluendo.com>
7204
7205         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7206         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7207         Avoid function call for known types by keeping the buffer and
7208         subbuffer GType global.
7209
7210         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7211         Random silly optimisations in read() path.
7212
7213 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7214
7215         * tools/gst-launch.c: (main):
7216           If the top-level of the parse is a normal bin, it doesn't do the
7217           right logic to run as a top-level element, so place it inside a
7218           pipeline.
7219
7220 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7221
7222         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7223           Remove superfluous g_object_notify() calls, GObject does
7224           that for us automatically.
7225
7226 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
7227
7228         * gst/gstinfo.h:
7229           on Win32, use dllspec to export the debug category symbols
7230
7231 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
7232
7233         * gst/gsttaglist.c: (_gst_tag_initialize):
7234           Allow more than one GST_TAG_IMAGE per taglist.
7235
7236 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7237
7238         * gst/gstminiobject.c:
7239           update docs
7240         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7241         (gst_fd_src_create):
7242           log recurring events at LOG level
7243           add more debug for when the fd gets set
7244
7245 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7246
7247         * gst/gstparse.c: (gst_parse_launch):
7248           Also remove reentrance checks if flex is MT safe (#348179)
7249          Fix my empty ChangeLog entry below
7250
7251 2006-07-21  Andy Wingo  <wingo@pobox.com>
7252
7253         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7254
7255         * libs/gst/check/Makefile.am
7256         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7257         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
7258         * libs/gst/check/gstbufferstraw.h:
7259         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7260         functions, thus proving I am still a GStreamer haxor. OK I wrote
7261         them a long time ago, but anyways.
7262
7263 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7264
7265         * configure.ac:
7266         * gst/gstparse.c: (gst_parse_launch):
7267           Check for flex version and omit mutex if we have a MT save flex
7268           (fixes #348179)
7269
7270 2006-07-21  Wim Taymans  <wim@fluendo.com>
7271
7272         * gst/gstparse.c: (gst_parse_launch):
7273         Protect recursive calls to _parse with a recursive mutex
7274         and busy flag.
7275
7276 2006-07-21  Wim Taymans  <wim@fluendo.com>
7277
7278         * tests/check/gst/gstpad.c: (GST_START_TEST):
7279         Fix leak in test.
7280
7281 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
7282
7283         * gst/gstparse.c: (gst_parse_launch):
7284           Do not hang on recursive usage of gst_parse_launch()
7285
7286 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7287
7288         * gst/gsttaglist.c:
7289           Add some more docs, comments and FIXME 0.11s here and there
7290           and also fix some typos.
7291
7292 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7293
7294         * gst/gstsegment.h:
7295           Convert tabs to spaces for better readability. 
7296
7297 2006-07-20  Edward Hervey  <edward@fluendo.com>
7298
7299         * tests/check/libs/gdp.c: (gst_dp_suite):
7300         the test_buffer test fails at line 140 on ppc64 at the following
7301         check:
7302         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7303                 GST_BUFFER_FLAG_IN_CAPS),
7304                 "GST_BUFFER_IN_CAPS flag should have been copied !");
7305         See bug #348114 for more details.
7306
7307 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
7308
7309         * docs/pwg/advanced-scheduling.xml:
7310         * gst/gstpad.c:
7311           Fix typos (#348000).
7312
7313 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
7314
7315         * docs/pwg/intro-basics.xml:
7316           Fix wrong links (#347927).
7317
7318 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
7319
7320         * gst/gstregistry.h:
7321         * gst/gstregistryxml.c: (load_feature),
7322         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7323         * win32/common/config.h:
7324           make --disable-index work (#342564)
7325
7326 2006-07-18  Wim Taymans  <wim@fluendo.com>
7327
7328         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7329
7330         * gst/Makefile.am:
7331         * gst/gsttrace.h:
7332         The attached patch adds two missing defines to gsttrace.h when tracing
7333         is disabled.  It also corrects one existing define.
7334         Fixes #347756.
7335
7336 2006-07-17  Wim Taymans  <wim@fluendo.com>
7337
7338         * docs/gst/gstreamer-sections.txt:
7339         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7340         * gst/gst.h:
7341         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7342         Add two functions to check and change the SIGSEGV behaviour
7343         when loading plugins.
7344         Don't mess with the SIGSEGV handler when we were told not to.
7345         Fixes #347794.
7346         API: gst_segtrap_is_enabled
7347         API: gst_segtrap_set_enabled
7348
7349 2006-07-14  Wim Taymans  <wim@fluendo.com>
7350
7351         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7352         * tests/check/elements/filesrc.c: (GST_START_TEST):
7353         Revert fix for regression in #347408 after release.
7354
7355 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
7356
7357         Patch by: Antoine Tremblay <hexa00 at gmail com>
7358
7359         * gst/gstutils.c: (gst_element_unlink):
7360           Free iterator when done (#347311).
7361
7362         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7363           And add a test case for this.
7364
7365 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
7366
7367         * configure.ac:
7368         Bump nano back to CVS
7369
7370 === release 0.10.9 ===
7371
7372 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
7373
7374         * configure.ac:
7375           releasing 0.10.9, "On the road again"
7376
7377 2006-07-13  Wim Taymans  <wim@fluendo.com>
7378
7379         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7380         * tests/check/elements/filesrc.c: (GST_START_TEST):
7381         Revert pull-0 fix for release. Disable check. Fixes #347408.
7382
7383 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7384
7385         * libs/gst/dataprotocol/dataprotocol.c:
7386         (gst_dp_event_from_packet_1_0):
7387           Fixes #347337: failure to deserialize event packets with
7388           empty payload (only event type)
7389
7390 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7391
7392         * gst/Makefile.am:
7393           do not install a .c file in the header directory
7394
7395 2006-07-13  Edward Hervey  <edward@fluendo.com>
7396
7397         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7398         GhostPad no longer implicitely use the padtemplates of the targets.
7399         Fixes #347384
7400
7401 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
7402
7403         * gst/gstvalue.c: (gst_value_compare_list),
7404         (gst_value_compare_array), (_gst_value_initialize):
7405         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7406         Make GstValueArray comparison be order dependent as designed.
7407         Add checks for value lists and value array comparisons.
7408         Fixes #347221
7409
7410 2006-07-11  Edward Hervey  <edward@fluendo.com>
7411
7412         * gst/gstbin.c: (activate_pads),
7413         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7414         (gst_bin_change_state_func):
7415         (de)activate src pads before calling state_change on the childs.
7416         This is to avoid the case where a src ghostpad is blocked (holding the
7417         stream lock), which would block the deactivation of the ghostpad's
7418         target pad.
7419         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7420         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7421         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7422         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7423         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7424         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7425         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7426         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7427         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7428         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7429         (gst_ghost_pad_class_init),
7430         (gst_ghost_pad_internal_do_activate_push),
7431         (gst_ghost_pad_internal_do_activate_pull),
7432         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7433         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7434         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7435         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7436         GhostPads now create their internal GstProxyPad at creation (and not
7437         when they're linked, as it was being done previously).
7438         The internal and target pads are linked straight away.
7439         The data will also travel through the other pad in order to make
7440         pad blocking and probes non-hackish (the probe/block now really happens
7441         on the GhostPad and not on the target).
7442         * gst/gstpad.c: (gst_pad_set_blocked_async),
7443         (gst_pad_link_prepare), (gst_pad_push_event):
7444         Remove previous ghostpad cruft.
7445         * gst/gstutils.c: (gst_pad_add_data_probe),
7446         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7447         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7448         (gst_pad_remove_buffer_probe):
7449         Remove previous ghost pad cruft.
7450         Added more detailed debug statements.
7451         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7452         Fix the testsuite for refcounting changes.
7453         The comments about who has references were correct, but the refcount
7454         being checked wasn't the same (!?!).
7455
7456         Fixes #341029
7457
7458 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7459
7460         * docs/gst/gstreamer-sections.txt:
7461         * gst/gstconfig.h.in:
7462         More docs for configuration options, add docs to gtk-doc.
7463
7464 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7465
7466         * gst/Makefile.am:
7467         * gst/gstconfig.h.in:
7468         * win32/common/config.h:
7469         Fix build when disabling tracing (fixes #344016). Also start to document
7470         the defines that disable the sub-systems.
7471
7472 2006-07-10  Edward Hervey  <edward@fluendo.com>
7473
7474         * gst/gst.c: (ensure_current_registry_forking):
7475         let's make valgrind happy...
7476
7477 2006-07-09  Wim Taymans  <wim@fluendo.com>
7478
7479         * gst/gstelement.c: (activate_pads),
7480         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7481         Better pad activation code: Reset the collect value too on resync.
7482         Add some comments.
7483
7484 2006-07-09  Wim Taymans  <wim@fluendo.com>
7485
7486         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7487         (gst_pad_activate_push):
7488         Use some more macros where it makes sense.
7489         Allow pad mode switching instead of asserting. When a pad
7490         is activated in one mode and we activate it in another, 
7491         deactivate it first before activating it in a different mode.
7492         Fixes #329198.
7493
7494 2006-07-08  Andy Wingo  <wingo@pobox.com>
7495
7496         * tools/gst-launch.c (main): Handle err == NULL.
7497
7498         * gst/gst.c (init_post, ensure_current_registry)
7499         (ensure_current_registry_forking)
7500         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7501         factoring out the registry scanning into separate functions. Don't
7502         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7503         Better environment var name/interface suggestions accepted.
7504
7505 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7506
7507         * gst/gstobject.c: (gst_object_set_name_default),
7508         (gst_object_set_name):
7509           Random micro-optimisation: don't use a hash table
7510           with strings as keys and the usual strdup/strcmp
7511           involved, but rather just use the GQuark of the
7512           type name as key, since it needs to be looked up
7513           anyway to get the type name string.
7514
7515         * tests/check/gst/gstobject.c: (GST_START_TEST):
7516           Fix various leaks.
7517
7518 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7519
7520         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7521         (gst_bin_iterate_all_by_interface):
7522           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7523           GTypes are gulongs and thus the top 4 bytes might be cut
7524           off on some platforms when doing GPOINTER_TO_INT, leading
7525           to invalid GTypes and bad things happening (see RH bug #179654).
7526           Also add a check to make sure the type passed in is really
7527           an interface type.
7528
7529 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7530
7531         * .cvsignore:
7532           Ignore more.
7533
7534 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7535
7536         * Makefile.am:
7537         * configure.ac:
7538         * gst-element-check.m4:
7539         * gst-element-check.m4.in:
7540           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7541           instead of the unversioned gst-inspect (#324176, #168659).
7542
7543 2006-07-06  Wim Taymans  <wim@fluendo.com>
7544
7545         * gst/gstmessage.h:
7546         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7547         warnings.
7548
7549 2006-07-06  Wim Taymans  <wim@fluendo.com>
7550
7551         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7552         (gst_base_src_wait), (gst_base_src_update_length),
7553         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7554         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7555         (gst_base_src_loop), (gst_base_src_start),
7556         (gst_base_src_activate_pull):
7557         Update docs.
7558         blocksize == 0 now means the default blocksize when working in push
7559         based mode.
7560         Remove some pointless asserts in _wait function.
7561         Fix offset/length calculations and EOS handling. We can now pull 0
7562         bytes as well, which is allowed.
7563         use _check_get_range() to decide if we can operate in _pull based
7564         mode.
7565         Fix refcounting leak when check_get_range function was not 
7566         implemented.
7567         API GstBaseSrc::blocksize range can be 0 too now (default)
7568
7569         * tests/check/elements/filesrc.c: (GST_START_TEST),
7570         (filesrc_suite):
7571         Added check to test _get_range() behaviour.
7572
7573 2006-07-06  Wim Taymans  <wim@fluendo.com>
7574
7575         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7576         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7577         (gst_pad_pull_range):
7578         * gst/gstpad.h:
7579         Lots of comments and docs added to the pad functions.
7580         Flesh out the expected behaviour of the get_range() functions.
7581
7582 2006-07-06  Wim Taymans  <wim@fluendo.com>
7583
7584         * gst/gstbus.h:
7585         * gst/gstclock.h:
7586         * gst/gstevent.h:
7587         * gst/gstiterator.h:
7588         * gst/gstpad.h:
7589         * gst/gstplugin.h:
7590         * gst/gsttask.h:
7591         Remove comma at end of enumerator list. 
7592
7593 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
7594
7595         * win32/common/libgstbase.def:
7596         * win32/common/libgstdataprotocol.def:
7597         * win32/common/libsgtreamer.def:
7598         Add new exported functions.
7599
7600 2006-07-05  Wim Taymans  <wim@fluendo.com>
7601
7602         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7603         Add some more docs here and there.
7604
7605 2006-07-05  Wim Taymans  <wim@fluendo.com>
7606
7607         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7608         (gst_base_sink_loop), (gst_base_sink_get_position):
7609         When operating in pull mode update the offset so that we
7610         read sequentially.
7611
7612 2006-07-05  Wim Taymans  <wim@fluendo.com>
7613
7614         * gst/gstregistryxml.c: (read_string):
7615         Avoid strdup. (will happen in libxml, but hey!)
7616
7617         * gst/gsturi.c:
7618         Add some more docs.
7619
7620 2006-07-05  Wim Taymans  <wim@fluendo.com>
7621
7622         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7623         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7624         (gst_buffer_suite):
7625         No point in checking if the size of the subbuffer > 0, the
7626         code handles it correclty as demonstrated by unit test.
7627         Also add a unit test for the zero sized _new_and_alloc and
7628         _copy. Fixes #346663.
7629
7630 2006-07-05  Wim Taymans  <wim@fluendo.com>
7631
7632         * libs/gst/base/gstbasetransform.c:
7633         (gst_base_transform_prepare_output_buffer),
7634         (gst_base_transform_buffer_alloc),
7635         (gst_base_transform_handle_buffer):
7636         Make sure the buffer we pass to transform_ip has a refcount of
7637         1 and thus is writable. Fixes #343196
7638
7639 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
7640
7641         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7642         (gst_file_src_init), (gst_file_src_set_property),
7643         (gst_file_src_get_property), (gst_file_src_map_region):
7644         * plugins/elements/gstfilesrc.h:
7645         Add "sequential" property, off by default, to use madvise and hint
7646         to the kernel that sequential access is desired.
7647         Touch all retrieved pages by default to ensure they are pulled
7648         into memory. (Closes #345720)
7649
7650 2006-07-03  Wim Taymans  <wim@fluendo.com>
7651
7652         * docs/design/part-block.txt:
7653         * docs/design/part-dynamic.txt:
7654         Small docs updates.
7655
7656 2006-07-03  Wim Taymans  <wim@fluendo.com>
7657
7658         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7659         (gst_caps_unref), (gst_static_caps_get),
7660         (gst_caps_append_structure):
7661         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7662         Use GSlice when the glib we build against is >= 2.10
7663
7664 2006-07-03  Wim Taymans  <wim@fluendo.com>
7665
7666         * gst/gstelement.c: (gst_element_pads_activate):
7667         Small cleanup in pad activation code.
7668
7669 2006-07-03  Wim Taymans  <wim@fluendo.com>
7670
7671         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7672
7673         * gst/gst-i18n-app.h:
7674         * gst/gst-i18n-lib.h:
7675         * tools/gst-inspect.c: (print_signal_info):
7676         The attached patch will make the inclusion of gettext.h unconditional in
7677         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
7678         libintl.h in tools/gst-inspect.c.
7679         This allows use of --disable-nls again and fixes #344642.
7680
7681 2006-07-03  Edward Hervey  <edward@fluendo.com>
7682
7683         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
7684         Implement pad blocking on events according to part-block.txt.
7685         More comments on behaviour.
7686         * tests/check/gst/gstevent.c: (test_event):
7687         Send event to peer pad of blocked pad (else it will block).
7688
7689 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7690
7691         * libs/gst/check/gstcheck.c: (gst_check_message_error),
7692         (gst_check_run_suite):
7693           if we get the wrong message, give us the types as string
7694         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7695           Fix a translatable
7696         * tests/check/elements/filesrc.c: (GST_START_TEST):
7697           add a test for trying to open a non-existing file
7698
7699 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7700
7701         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7702           add a test for adding self
7703
7704 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7705
7706         * libs/gst/check/gstcheck.h:
7707           add some assert_ as alias for fail_unless_*
7708         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
7709           increase test coverage
7710
7711 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7712
7713         * Makefile.am:
7714           include lcov.mak for lcov coverage generation
7715         * tools/Makefile.am:
7716           add to CLEANFILES
7717
7718 2006-07-02  Edward Hervey  <edward@fluendo.com>
7719
7720         * tests/check/elements/.cvsignore:
7721         moaping
7722
7723 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7724
7725         * configure.ac:
7726           don't set CFLAGS and friends for gcov, done from GST_GCOV now
7727         * tests/check/Makefile.am:
7728           clean up gcov files
7729
7730 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7731
7732         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
7733           remove gst_caps_simplify; it was not declared and not used
7734           and deprecated in 0.8
7735
7736 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7737
7738         * docs/faq/gst-uninstalled:
7739           don't put empty paths on PYTHONPATH
7740         * docs/gst/gstreamer-sections.txt:
7741           remove some symbols that are not there
7742
7743 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7744
7745         * gst/gstcaps.c: (gst_caps_compare_structures):
7746           whitespace fixes
7747         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7748         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7749           add more tests
7750
7751 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7752
7753         * libs/gst/dataprotocol/Makefile.am:
7754           build dataprotocol test by linking to the lib, instead of
7755           compiling the source, so we get coverage
7756         * tests/check/Makefile.am:
7757         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
7758         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
7759           add a test for filesrc
7760
7761 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7762
7763         * tests/check/gst/gststructure.c: (GST_START_TEST),
7764         (gst_structure_suite):
7765           Push coverage from 59.04% to 70.00%
7766
7767 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7768
7769         * tests/check/Makefile.am:
7770           gst-inspect every element; this makes sure that we also get
7771           coverage on element's get/set functions
7772
7773 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7774
7775         * configure.ac:
7776           set CFLAGS and friends to -O0 if gcov is being used
7777           add GCOV LIBS
7778         * gst/Makefile.am:
7779         * libs/gst/base/Makefile.am:
7780         * libs/gst/check/Makefile.am:
7781         * libs/gst/controller/Makefile.am:
7782         * libs/gst/dataprotocol/Makefile.am:
7783         * libs/gst/net/Makefile.am:
7784         * plugins/elements/Makefile.am:
7785         * plugins/indexers/Makefile.am:
7786           add makefile rules to generate gcov data and clean up
7787         * tests/check/Makefile.am:
7788           add a coverage target that generates an html overview
7789           of coverage data
7790
7791 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7792
7793         * tests/check/elements/fakesink.c:
7794         * tests/check/elements/fakesrc.c:
7795         * tests/check/elements/fdsrc.c:
7796         * tests/check/elements/identity.c:
7797         * tests/check/generic/sinks.c: (gst_sinks_suite):
7798         * tests/check/generic/states.c:
7799         * tests/check/gst/gst.c:
7800         * tests/check/gst/gstabi.c:
7801         * tests/check/gst/gstbin.c:
7802         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7803         * tests/check/gst/gstbus.c: (gst_bus_suite):
7804         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7805         * tests/check/gst/gstelement.c:
7806         * tests/check/gst/gstevent.c: (gst_event_suite):
7807         * tests/check/gst/gstghostpad.c:
7808         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7809         * tests/check/gst/gstmessage.c: (gst_message_suite):
7810         * tests/check/gst/gstminiobject.c:
7811         * tests/check/gst/gstobject.c:
7812         * tests/check/gst/gstpad.c:
7813         * tests/check/gst/gstpipeline.c:
7814         * tests/check/gst/gstplugin.c:
7815         * tests/check/gst/gstquery.c: (gst_query_suite):
7816         * tests/check/gst/gstsegment.c: (gst_segment_suite):
7817         * tests/check/gst/gststructure.c:
7818         * tests/check/gst/gstsystemclock.c:
7819         * tests/check/gst/gsttag.c:
7820         * tests/check/gst/gsttask.c: (gst_task_suite):
7821         * tests/check/gst/gstutils.c:
7822         * tests/check/gst/gstvalue.c:
7823         * tests/check/libs/adapter.c:
7824         * tests/check/libs/basesrc.c:
7825         * tests/check/libs/collectpads.c:
7826         * tests/check/libs/controller.c:
7827         * tests/check/libs/gdp.c: (gst_dp_suite):
7828         * tests/check/libs/gstnetclientclock.c:
7829         * tests/check/libs/gstnettimeprovider.c:
7830         * tests/check/libs/libsabi.c: (libsabi_suite):
7831         * tests/check/libs/typefindhelper.c:
7832         * tests/check/pipelines/cleanup.c:
7833         * tests/check/pipelines/parse-launch.c:
7834         * tests/check/pipelines/simple-launch-lines.c:
7835         * tests/check/pipelines/stress.c: (stress_suite):
7836           use the new macro
7837
7838 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7839
7840         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7841         * libs/gst/check/gstcheck.h:
7842           create a macro and function so that the simple unit test
7843           case can be just one macro to create main()
7844
7845 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
7846
7847         * gst/gstbin.c: (gst_bin_restore_thyself):
7848         * gst/gstxml.c: (gst_xml_make_element):
7849           Fix deserialisation from XML. Set parent manually
7850           instead of using gst_bin_add(), since gst_bin_add()
7851           will unlink all pads of the element being added.
7852           Fixes #341667.
7853
7854 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
7855
7856         Patch by: Peter Kjellerstedt <pkj at axis com>
7857
7858         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7859           Fix missing g_strdup() and double free when using the
7860           --gst-plugin-load command line option (#346097).
7861
7862 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
7863
7864         * gst/gstinfo.c:
7865           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7866
7867         * libs/gst/net/gstnetclientclock.c:
7868         * libs/gst/net/gstnettimeprovider.c:
7869           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7870
7871 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
7872
7873         * docs/manual/advanced-dataaccess.xml:
7874           Fix buffer probe example compilation in
7875           ADM (#345708).
7876         
7877 2006-06-22  Edward Hervey  <edward@fluendo.com>
7878
7879         * gst/gstelement.c: (gst_element_pads_activate):
7880         We need to deactivate src pads first and then sink pads.
7881         The reason is the src pads might be blocking while holding the streaming
7882         lock, so we need to deactivate them first so that deactivating the sink
7883         pads doesn't block (since it will require the streaming lock).
7884
7885 2006-06-22  Wim Taymans  <wim@fluendo.com>
7886
7887         * libs/gst/base/gstbasetransform.c:
7888         (gst_base_transform_buffer_alloc):
7889         Forgot to remove two unneeded unrefs.
7890         Simplify a check _is_equal allready checks the obvious case.
7891
7892 2006-06-22  Wim Taymans  <wim@fluendo.com>
7893
7894         * docs/design/part-block.txt:
7895         Some docs about what pad_block should do.
7896
7897 2006-06-22  Wim Taymans  <wim@fluendo.com>
7898
7899         * gst/gstcaps.c: (gst_caps_replace):
7900         Fix crasher when passed NULL. Doc clarification.
7901         Optimize for the trivial case.
7902
7903         * gst/gstpipeline.c: (gst_pipeline_change_state):
7904         Small cleanups.
7905
7906         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7907         Small documentation cleanup.
7908
7909         * libs/gst/base/gstbasetransform.c:
7910         (gst_base_transform_buffer_alloc):
7911         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7912         is what we need and it avoids a whole lot of redundant 
7913         refcount operations.
7914
7915 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
7916
7917         Patch by: Philip Jägenstedt  <philip at lysator liu se>
7918
7919         * docs/manual/advanced-dataaccess.xml:
7920           Fix 'Embedding static elements' section to use
7921           GST_PLUGIN_DEFINE_STATIC (#345607).
7922
7923 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7924
7925         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7926           Attempt to 'fix' spuriously failing test case: it seems like the
7927           timeout of half a second is simply too small when the system is under
7928           load otherwise, and the timeout doesn't really seem to serve any
7929           particular purpose here. Give the pipeline a few seconds to preroll
7930           first, and then give it another half a second to go from PAUSED to
7931           PLAYING and marshal the message into the main thread.
7932
7933 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7934
7935         * tools/gst-feedback-m.m:
7936           Don't only use unversioned tools, try versioned tools as well
7937           (#345086).
7938
7939 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7940
7941         * gst/gstbus.c: (gst_bus_class_init):
7942           Fix some typos, make docs more explicit.
7943
7944 2006-06-20  Wim Taymans  <wim@fluendo.com>
7945
7946         * tests/check/gst/gstghostpad.c: (block_callback),
7947         (GST_START_TEST), (gst_ghost_pad_suite):
7948         Added some more ghostpad tests, mainly blocking
7949         and probes.
7950
7951 2006-06-16  Wim Taymans  <wim@fluendo.com>
7952
7953         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7954         (gst_file_sink_close_file), (gst_file_sink_do_seek),
7955         (gst_file_sink_event), (gst_file_sink_render):
7956         * plugins/elements/gstfilesink.h:
7957         Check if we can seek in the file instead of assuming
7958         we always can. Post an error when we are asked to seek in a
7959         non-seekable file (like a fifo). Fixes #343312.
7960         Some cleanups.
7961
7962 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
7963
7964         * tools/gst-launch.1.in:
7965           Un-garble (fourcc) bit in filtered caps section.
7966
7967 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
7968
7969         * docs/manual/advanced-autoplugging.xml:
7970         * docs/manual/basics-helloworld.xml:
7971         * docs/manual/highlevel-components.xml:
7972           Don't leak bus reference in sample code.
7973
7974 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
7975
7976         * autogen.sh:
7977           Add default for new --enable-plugin-docs switch.
7978
7979         * configure.ac:
7980           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7981           Fixes #344039.
7982
7983         * docs/Makefile.am:
7984           Use new ENABLE_PLUGIN_DOCS conditional.
7985
7986 2006-06-14  Wim Taymans  <wim@fluendo.com>
7987
7988         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7989         Make it clear with a FIXME and a real define what the #if 0
7990         previously disabled.
7991
7992 2006-06-14  Wim Taymans  <wim@fluendo.com>
7993
7994         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7995         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7996         * libs/gst/base/gstbasetransform.c:
7997         (gst_base_transform_sink_eventfunc):
7998         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7999         Don't randomly and silently reset a segment when the format 
8000         changes as this is a bug somewhere upstream. Fixes #330379.
8001
8002 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8003
8004         Patch by: Wouter Paesen  <wouter at kangaroot net>
8005
8006         * libs/gst/controller/gstcontroller.c:
8007         (gst_controlled_property_new):
8008           Fix controlling of float properties (#344849).
8009
8010         * tests/check/libs/controller.c:
8011         (gst_test_mono_source_get_property),
8012         (gst_test_mono_source_set_property),
8013         (gst_test_mono_source_class_init), (GST_START_TEST):
8014           While we're at it, add some float stuff to unit test.
8015
8016 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8017
8018         * docs/README:
8019         * docs/images/gdp-header.svg:
8020           add a gdp image
8021         * docs/libs/Makefile.am:
8022         * docs/libs/gdp-header.png:
8023         * libs/gst/dataprotocol/dataprotocol.c:
8024           add it to the API docs
8025         * docs/manual/intro-motivation.xml:
8026           fix typo
8027
8028 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8029
8030         * gst/gst.c: (scan_and_update_registry), (init_post):
8031           If the fork()'ed child process can't write the updated registry cache
8032           file to disk for some reason, make it exit with a failure exit code,
8033           so that the parent can then re-scan the plugins itself and update the
8034           registry structures in memory and work with that (rather than failing
8035           when creating elements because seemingly no plugins are available).
8036           Refactor registry scanning code into separate function for this and
8037           also separate fork() and non-fork() code paths. Fixes #344748.
8038
8039 2006-06-13  Wim Taymans  <wim@fluendo.com>
8040
8041         * docs/manual/advanced-dataaccess.xml:
8042         Fix wrong PluginDesc. Fixes #344755.
8043
8044 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8045
8046         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8047           Fix silly bug that prevented us from creating
8048           ~/.gstreamer-0.10 and writing the registry in one
8049           go (the first call to g_mkstemp() would overwrite the
8050           placeholder in the template string, so the second call
8051           to g_mkstemp() after creating the missing directory
8052           would then error out with 'invalid argument').
8053
8054 2006-06-13  Edward Hervey  <edward@fluendo.com>
8055
8056         * gst/gst.c: (init_post):
8057         Free string.
8058
8059 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8060
8061         * gst/glib-compat-private.h:
8062         * gst/glib-compat.c:
8063         * gst/glib-compat.h:
8064         * gst/gstvalue.c: (gst_value_serialize_flags):
8065           remove GLib 2.6 compatibility code
8066
8067 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8068
8069         * gst/parse/Makefile.am:
8070           Fix build with 'make -j N' even more (#340016).
8071
8072 2006-06-12  Wim Taymans  <wim@fluendo.com>
8073
8074         * docs/gst/gstreamer-sections.txt:
8075         Fix docs.
8076
8077 2006-06-12  Wim Taymans  <wim@fluendo.com>
8078
8079         * gst/gstsegment.c: (gst_segment_set_duration),
8080         (gst_segment_set_last_stop), (gst_segment_set_seek),
8081         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8082         (gst_segment_to_running_time), (gst_segment_clip):
8083         Use G_UNLIKELY to help the compiler a bit.
8084
8085 2006-06-12  Wim Taymans  <wim@fluendo.com>
8086
8087         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8088
8089         * gst/gstevent.c: (gst_event_get_type):
8090         * gst/gstmessage.c:
8091         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8092         (gst_pad_push):
8093         constify quark registration strings. Fixes #344115
8094         Avoid unneeded type checking is _pad_push() by internally
8095         calling gst_pad_chain_unchecked().
8096
8097 2006-06-12  Wim Taymans  <wim@fluendo.com>
8098
8099         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8100         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8101         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8102         (gst_buffer_is_span_fast), (gst_buffer_span):
8103         Init _type for consistency.
8104         Use _FLAGS macro to avoid type check.
8105         Avoid unneeded type checks in subbufer code.
8106
8107 2006-06-12  Wim Taymans  <wim@fluendo.com>
8108
8109         * gst/gst.c: (gst_debug_help):
8110         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8111         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8112         (gst_plugin_feature_list_free):
8113         * gst/gstregistry.c: (gst_registry_add_plugin),
8114         (gst_registry_add_feature), (gst_registry_plugin_filter),
8115         (gst_registry_feature_filter), (gst_registry_find_plugin),
8116         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8117         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8118         * gst/gstregistryxml.c: (load_feature),
8119         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8120         * gst/gstminiobject.c: (gst_mini_object_unref),
8121         (gst_mini_object_replace), (gst_value_mini_object_free),
8122         (gst_value_mini_object_copy):
8123         Use _CAST macros to avoid unneeded type checking.
8124         Added some more G_UNLIKELY.
8125
8126 2006-06-12  Wim Taymans  <wim@fluendo.com>
8127
8128         * gst/gstbuffer.h:
8129         Avoid unneeded type checking.
8130         API: GST_BUFFER_IS_DISCONT
8131
8132         * gst/gstminiobject.h:
8133         Avoid type check in flag accessor.
8134
8135         * gst/gstelementfactory.h:
8136         * gst/gstplugin.h:
8137         * gst/gstpluginfeature.h:
8138         Add _CAST macros.
8139         API: GST_ELEMENT_FACTORY_CAST
8140         API: GST_PLUGIN_CAST
8141         API: GST_PLUGIN_FEATURE_CAST
8142
8143 2006-06-12  Wim Taymans  <wim@fluendo.com>
8144
8145         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8146         (gst_object_unref):
8147         Add G_UNLIKELY in type registration.
8148         Avoid type check in _ref/_unref since that is also
8149         done in glib.
8150
8151 2006-06-12  Wim Taymans  <wim@fluendo.com>
8152
8153         * gst/gsterror.c: (gst_g_error_get_type):
8154         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8155         (gst_static_pad_template_get_type):
8156         * gst/gsttaglist.c: (gst_tag_list_get_type):
8157         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8158         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8159         * gst/gsturi.c: (gst_uri_handler_get_type):
8160         * gst/gstvalue.c: (gst_date_get_type):
8161         * gst/gstxml.c: (gst_xml_get_type):
8162         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8163         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8164         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8165         Add G_UNLIKELY in type registration.
8166
8167 2006-06-12  Wim Taymans  <wim@fluendo.com>
8168
8169         * tools/gst-inspect.c: (print_signal_info):
8170         Properly print enum values.
8171
8172 2006-06-12  Wim Taymans  <wim@fluendo.com>
8173
8174         * gst/gstinfo.c: (gst_debug_set_active),
8175         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8176         * gst/gstinfo.h:
8177         Add some G_[UN]LIKELY.
8178         Maintain __gst_debug_min to avoid formatting the arguments of
8179         debug messages that will be dropped anyway to avoid a lot of 
8180         overhead from the debugging system.
8181
8182 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8183
8184         * po/POTFILES.in:
8185         * po/POTFILES.skip:
8186           add missing files containing translatable strings, tell intltool about
8187           one exception
8188
8189 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8190
8191         * tests/check/libs/.cvsignore:
8192         add test-binary to ignore list
8193
8194 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8195
8196         * docs/libs/gstreamer-libs-docs.sgml:
8197         reorder (put dp into a chapter) and indent
8198
8199 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8200
8201         * configure.ac:
8202           back to HEAD
8203
8204 === release 0.10.8 ===
8205
8206 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8207
8208         * configure.ac:
8209           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8210
8211 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8212
8213         * gst/gst.c: (init_post):
8214           move pid declaration to declaration block
8215
8216 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8217
8218         * gst/gst.c: (init_post):
8219           use _exit() instead of exit() in our forked child; this ensures
8220           that none of the registered exit handlers from whatever is using
8221           GStreamer get executed.  This fixes gnome-mixer-applet failing
8222           to load, because ORBit would shut down.
8223           Spotted by: Edward Hervey  <edward@fluendo.com>
8224           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
8225           Fixes #344474
8226
8227 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8228
8229         * configure.ac:
8230           back to TRUNK
8231
8232 === release 0.10.7 ===
8233
8234 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
8235
8236         * configure.ac:
8237           releasing 0.10.7, "Soepeke, ik zie ou"
8238
8239 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8240
8241         * configure.ac:
8242         * po/af.po:
8243         * po/az.po:
8244         * po/bg.po:
8245         * po/ca.po:
8246         * po/cs.po:
8247         * po/de.po:
8248         * po/en_GB.po:
8249         * po/fr.po:
8250         * po/it.po:
8251         * po/nb.po:
8252         * po/nl.po:
8253         * po/ru.po:
8254         * po/sq.po:
8255         * po/sr.po:
8256         * po/sv.po:
8257         * po/tr.po:
8258         * po/uk.po:
8259         * po/vi.po:
8260         * po/zh_CN.po:
8261         * po/zh_TW.po:
8262         * win32/common/config.h:
8263           0.10.6.2 prerelease
8264
8265 2006-06-07  Wim Taymans  <wim@fluendo.com>
8266
8267         * gst/gstindex.c: (gst_index_gtype_resolver):
8268         * tools/gst-xmlinspect.c: (print_plugin_info):
8269         Fix leak spotted by coverity checker. Fixes #343827
8270         Fix another other leak found by paolo borelli.
8271
8272 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8273
8274         * libs/gst/dataprotocol/dataprotocol.c:
8275         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8276         (gst_dp_version_get_type), (gst_dp_init),
8277         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8278         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8279         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8280         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8281         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8282         (gst_dp_packetizer_free):
8283         * libs/gst/dataprotocol/dataprotocol.h:
8284           API: add a GstDPPacketizer object, and create/free functions
8285           API: add GstDPVersion enum
8286           Add 1.0 event function that uses the string serialization
8287           Serialize more useful buffer flags
8288           Fixes #343988
8289
8290 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8291
8292         * tests/check/Makefile.am:
8293         * tests/check/gst/gstabi.c:
8294         * tests/check/gst/struct_ppc64.h:
8295         * tests/check/libs/libsabi.c:
8296         * tests/check/libs/struct_ppc64.h:
8297           add ppc64 structure sizes
8298
8299 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8300
8301         * tests/check/Makefile.am:
8302         * tests/check/gst/gstabi.c:
8303         * tests/check/gst/struct_x86_64.h:
8304         * tests/check/libs/libsabi.c:
8305         * tests/check/libs/struct_x86_64.h:
8306           generate and add structure size lists for x86_64
8307
8308 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8309
8310         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8311         * libs/gst/check/gstcheck.h:
8312           factor out the method from tests that checks size of structures,
8313           and add code to generate the header containing these sizes
8314         * tests/check/gst/gstabi.c: (GST_START_TEST):
8315         * tests/check/gst/struct_i386.h:
8316         * tests/check/libs/libsabi.c: (GST_START_TEST):
8317         * tests/check/libs/struct_i386.h:
8318           use it
8319
8320 2006-06-06  Michael Smith  <msmith@fluendo.com>
8321
8322         * gst/gstsegment.h:
8323           Don't use c++-style comments, fixes #343929
8324
8325 2006-06-05  Edward Hervey  <edward@fluendo.com>
8326
8327         * gst/gst.c:
8328         plugin_paths is not used if we build without registry support.
8329
8330         * gst/gstsegment.c: (gst_segment_copy): 
8331         _copy() was always returning NULL...
8332
8333 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8334
8335         * libs/gst/dataprotocol/dataprotocol.c:
8336         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8337         (gst_dp_packet_from_event):
8338           factor out CRC code
8339
8340 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8341
8342         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8343           make sure we unset caps
8344
8345 2006-06-02  Michael Smith  <msmith@fluendo.com>
8346
8347         * libs/gst/check/gstcheck.c: (gst_check_init),
8348         (gst_check_chain_func):
8349         * libs/gst/check/gstcheck.h:
8350           Add a cond/mutex to the check support lib, signal this whenever we
8351           add to the buffers list. This will allow tests to not busy-wait on
8352           the buffer-list.
8353
8354 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8355
8356         * libs/gst/dataprotocol/dataprotocol.c:
8357         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8358         (gst_dp_packet_from_event):
8359           factor out some common header init code
8360
8361 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8362
8363         * docs/libs/gstreamer-libs-sections.txt:
8364         * docs/libs/tmpl/gstdataprotocol.sgml:
8365         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8366         * libs/gst/dataprotocol/dataprotocol.h:
8367           API: make gst_dp_crc() public
8368
8369 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8370
8371         * plugins/indexers/gstindexers.c: (plugin_init):
8372         conditionally register fileindexer (fixes #343598)
8373
8374 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8375
8376         * gst/gsttagsetter.h:
8377         Can't cast ifaces to a class
8378
8379         * libs/gst/net/gstnetclientclock.h:
8380         * libs/gst/net/gstnettimeprovider.h:
8381         * plugins/elements/gstfakesink.h:
8382         * plugins/elements/gstfakesrc.h:
8383         * plugins/elements/gstfdsink.h:
8384         * plugins/elements/gstfdsrc.h:
8385         * plugins/elements/gstfilesink.h:
8386         * plugins/elements/gstfilesrc.h:
8387         * plugins/elements/gstidentity.h:
8388         * plugins/elements/gstqueue.h:
8389         * plugins/elements/gsttee.h:
8390         * plugins/indexers/gstfileindex.c:
8391         * plugins/indexers/gstmemindex.c:
8392         * tests/old/examples/plugins/example.h:
8393         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8394
8395 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8396
8397         * libs/gst/dataprotocol/dataprotocol.c:
8398         (gst_dp_header_from_buffer):
8399           make sure we zero the whole ABI-compatible area
8400
8401 2006-06-01  Wim Taymans  <wim@fluendo.com>
8402
8403         Patch by: Alessandro Decina <alessandro at nnva dot org>
8404
8405         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8406         Make sure the EOS flag is cleared from pads after a flush
8407         or stop. Fixes #343538.
8408
8409         * tests/check/libs/collectpads.c: (GST_START_TEST),
8410         (gst_collect_pads_suite):
8411         Added test for collectpads reusage after EOS.
8412
8413 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
8414
8415         * gst/gst.c:
8416          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8417         * win32/common/libgstbase.def:
8418          export gst_collect_pads_set_flushing
8419         * win32/common/libgstreamer.def:
8420          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8421          gst_value_fraction_multiply
8422         * win32/vs6/gst_inspect.dsp:
8423          add a link to intl.lib
8424
8425 2006-05-30  Wim Taymans  <wim@fluendo.com>
8426
8427         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8428         (gst_collect_pads_chain):
8429         Handle the case where a pad is removed from the collection
8430         that could cause the other pads to become collectable.
8431
8432 2006-05-30  Wim Taymans  <wim@fluendo.com>
8433
8434         * gst/gstelement.c:
8435         Clarify the use of _release_request_pad() and
8436         _get_request_pad() a bit better.
8437
8438         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8439         (gst_adapter_take_buffer):
8440         Fix some doc and comment typos.
8441
8442 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8443
8444         * docs/gst/gstreamer-sections.txt:
8445         * docs/libs/gstreamer-libs-sections.txt:
8446           add declared symbols
8447
8448 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
8449
8450         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8451         Add debug that can be enabled using a #define at the top of the file,
8452         for dumping stats about how late/early we were when waking up from
8453         waiting on the clock.
8454
8455 2006-05-30  Wim Taymans  <wim@fluendo.com>
8456
8457         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8458         When rebuilding the pad list, don't leak the previous list.
8459
8460 2006-05-30  Wim Taymans  <wim@fluendo.com>
8461
8462         Patch by: Lutz Mueller <lutz at topfrose dot de>
8463
8464         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8465         (gst_base_src_get_query_types), (gst_base_src_update_length):
8466         Publish supported query types.
8467         Update last_stop field in get_range mode so the position
8468         query works. Fixes #342321.
8469
8470 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
8471
8472         * docs/gst/gstreamer-sections.txt:
8473         * gst/gsttaglist.c: (_gst_tag_initialize):
8474         * gst/gsttaglist.h:
8475           API: add GST_TAG_PREVIEW_IMAGE (#343341).
8476
8477 2006-05-30  Wim Taymans  <wim@fluendo.com>
8478
8479         Patch by: Alessandro Decina <alessandro at nnva dot org>
8480
8481         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8482         Unlock mutex when removing an unknown pad.
8483         Fixes #343334.
8484
8485         * tests/check/Makefile.am:
8486         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8487         (push_event), (setup), (teardown), (GST_START_TEST),
8488         (gst_collect_pads_suite), (main):
8489         Added collecpads check, disabled for now as check crashes for
8490         some reason.
8491
8492 2006-05-29  Wim Taymans  <wim@fluendo.com>
8493
8494         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8495         Don't leak pads lists.
8496
8497 2006-05-29  Wim Taymans  <wim@fluendo.com>
8498
8499         * docs/libs/gstreamer-libs-sections.txt:
8500         * libs/gst/base/gstcollectpads.c:
8501         (gst_collect_pads_set_flushing_unlocked),
8502         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8503         (gst_collect_pads_stop):
8504         * libs/gst/base/gstcollectpads.h:
8505         API: gst_collect_pads_set_flushing()
8506         Added api to set the pads to flushing, useful for seeking
8507         code in elements using collectpads.
8508         Clear segment when receiving a flush.
8509
8510 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
8511
8512         * gst/gst.c: (add_path_func), (init_post):
8513           Don't scan registry paths passed via --gst-plugin-path immediately
8514           (will crash, because absolutely nothing is set up and no types are
8515           registered etc.); do this later in init_post(). Fixes #343057.
8516
8517 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8518
8519         * gst/gst.c: (init_post):
8520           if we have fork, fork while reading/rebuilding the registry
8521           so the parent doesn't take the hit of having all plugins loaded
8522           in memory.  Fixes #342777.
8523         * configure.ac:
8524           Check if we have fork()
8525         * win32/common/config.h.in:
8526           no fork() on win32
8527
8528 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
8529
8530         * plugins/elements/gstelements.c:
8531         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8532         (gst_file_src_init), (gst_file_src_set_property),
8533         (gst_file_src_get_property), (gst_file_src_start):
8534         * plugins/elements/gstfilesrc.h:
8535           API: GstFileSrc::use-mmap
8536
8537         Add a use-mmap property to enable easier testing of all code paths.
8538         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8539         in the absence of gnomevfssrc. (Closes #340501)
8540
8541 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8542
8543         * tools/gst-inspect.c:
8544         Add missing include, removes warning of ngettext not being defined on
8545         some arches.
8546
8547 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
8548
8549         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8550         Handle NULL input and output pointers silently as a failed conversion,
8551         rather than g_warnings.
8552
8553 2006-05-25  Wim Taymans  <wim@fluendo.com>
8554
8555         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8556         Initialize variable before using. Fixes #342820.
8557
8558 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8559
8560         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8561           Fix off-by-one bug that would only allow peeks of N-1 bytes
8562           from the start even if the buffer to typefind on contains
8563           in fact N bytes of data (makes vorbis typefinding from a
8564           vorbis identification header buffer work).
8565
8566         * tests/check/Makefile.am:
8567         * tests/check/libs/.cvsignore:
8568         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8569         (gst_typefindhelper_suite), (main), (foobar_typefind),
8570         (plugin_init):
8571           Add very basic unit test for gst_type_find_helper_for_buffer()
8572           that checks for the problem fixed above.
8573
8574 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8575
8576         * tools/gst-inspect.c: (print_interfaces),
8577         (print_element_properties_info), (print_element_list), (main):
8578           add more translatable strings
8579
8580 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
8581
8582         Patch by: Julien Moutte  <julien at moutte net>
8583
8584         * docs/gst/gstreamer-sections.txt:
8585           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8586           
8587         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8588         (gst_fake_sink_preroll):
8589         * plugins/elements/gstfakesink.h:
8590           API: Add new GstFakeSink::preroll-handoff signal (#337100).
8591
8592 2006-05-23  Wim Taymans  <wim@fluendo.com>
8593
8594         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8595         * gst/gstpad.h:
8596         Added _CUSTOM error and success GstFlowReturn that can be
8597         used be elements internally. 
8598         Added macro to check for SUCCESS flowreturns.
8599         API: GST_FLOW_CUSTOM_SUCCESS
8600         API: GST_FLOW_CUSTOM_ERROR
8601         API: GST_FLOW_IS_SUCCESS
8602
8603         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8604         Added check for GstFlowReturn sanity.
8605
8606 2006-05-23  Wim Taymans  <wim@fluendo.com>
8607
8608         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8609
8610         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8611         (gst_collect_pads_event):
8612         clear/reset segment info in FLUSH_STOP.
8613         Fixes #336929.
8614
8615 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
8616
8617         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8618         (gst_collect_pads_check_collected):
8619         Flush queued buffer on _stop(), fixes playing again (#342454)
8620
8621 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8622
8623         * tests/check/gst/gststructure.c: (GST_START_TEST),
8624         (gst_structure_suite):
8625           add a test for a complete structure
8626
8627 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8628
8629         * docs/faq/developing.xml:
8630         * docs/faq/faq.xml:
8631         * docs/faq/troubleshooting.xml:
8632         * docs/faq/using.xml:
8633           Some minor FAQ updates that won't change the fact that
8634           our FAQ is badly structured, full of information hardly
8635           anyone new to GStreamer needs to know and lacking lots
8636           of information people constantly ask for.
8637           
8638 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
8639
8640         * gst/gstpad.c: (gst_pad_set_caps):
8641           Short-circuit gst_pad_set_caps if setting the existing
8642           caps pointer again, and avoid printing debug and 
8643           reffing/unreffing the caps.
8644
8645         * plugins/elements/gstqueue.c: (gst_queue_push_one):
8646           There's actually no need to set the caps before pushing -
8647           the acceptcaps method will handle it anyway.
8648
8649 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8650
8651         * docs/gst/gstreamer-sections.txt:
8652         * win32/common/libgstreamer.def:
8653         * gst/gstutils.c: (gst_element_seek_simple):
8654         * gst/gstutils.h:
8655           API: add gst_element_seek_simple() (#342238).
8656
8657 2006-05-18  Edward Hervey  <edward@fluendo.com>
8658
8659         * gst/gsttypefind.c: (gst_type_find_get_type):
8660         * gst/gsttypefind.h:
8661         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8662         registered for GstTypeFind pointers. This allows wrapping the structure
8663         in bindings (i.e. gst-python).
8664
8665 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
8666
8667         * gst/gsttagsetter.c:
8668           Docs additions and fixes (see #339918).
8669
8670 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
8671
8672         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8673         The caps intersection algorithm can produce multiple copies of the
8674         caps. Until that is fixed, we need to simplify the result to be
8675         sure whether the allowed caps are fixed or not.
8676
8677         * plugins/elements/gstqueue.c: (gst_queue_init),
8678         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
8679         (gst_queue_push_one):
8680         Proxied buffer alloc should not set the caps on the source pad.
8681         When pushing buffers, we always accept the caps change that triggers.
8682         This prevents negotiation errors caused by caps changing mid-stream 
8683         and then being refused on our source pad (because upstream is now
8684         refusing those caps).
8685
8686 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
8687
8688         * tests/examples/helloworld/helloworld.c: (main):
8689           Must plug audioconvert and audioresample between decoder
8690           and audio sink.
8691
8692 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
8693
8694         * gst/gstregistryxml.c: (read_string), (load_pad_template),
8695         (load_feature), (load_plugin):
8696         Allow empty strings for some of the plugin fields so we don't 
8697         drop valid plugin entries that were written out correctly
8698         (Fixes #341479)
8699
8700 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
8701         
8702         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8703           Use g_remove and g_rename instead of remove and rename that don't 
8704           handle utf8 characters. rename was failing for users who had specific
8705           characters in their name then the registry was built at each 
8706           gstreamer init.
8707         * win32/vs6/gst_inspect.dsp:
8708         * win32/vs6/gst_launch.dsp:
8709         * win32/vs6/libgstbase.dsp:
8710         * win32/vs6/libgstcoreelements.dsp:
8711         * win32/vs6/libgstreamer.dsp:
8712           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
8713           build of libgstreamer and clean unused libraries in projects link 
8714           settings.
8715
8716 2006-05-17  Edward Hervey  <edward@fluendo.com>
8717
8718         * plugins/elements/gstqueue.c: (gst_queue_push_one):
8719         The queue is not responsible for pushing an EOS when receiving a fatal
8720         flow error. It's up to the real element driving the pipeline to do that.
8721
8722 2006-05-16  Edward Hervey  <edward@fluendo.com>
8723
8724         * plugins/elements/gstqueue.c: (gst_queue_push_one):
8725         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
8726         buffer returned a fatal error. It should just send an EOS and stop
8727         its task.
8728         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
8729         when pushing buffers on the queue and will be able to handle the event.
8730
8731 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8732
8733         * docs/manual/basics-bins.xml:
8734         * docs/manual/basics-init.xml:
8735           Fix typos and minor errors in sample code (#341856).
8736
8737 2006-05-16  Wim Taymans  <wim@fluendo.com>
8738
8739         * docs/design/part-qos.txt:
8740         Fix indexes in formulas to make more sense.
8741
8742 2006-05-15  Wim Taymans  <wim@fluendo.com>
8743
8744         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8745         Don't report POSITION based on clock time if sync is
8746         disabled in a sink.
8747
8748 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
8749
8750         * gst/gstobject.h:
8751           Add cast to make compiler happy - refcount variable was a gint
8752           in GstObject but is a guint in GObject and g_atomic_int_get()
8753           wants a gint *.
8754
8755 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8756
8757         * gst/parse/Makefile.am:
8758           chain commands using &&, which also makes parallel make work
8759
8760 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
8761
8762         * docs/gst/gstreamer-sections.txt:
8763         * gst/gstevent.c:
8764         * gst/gstevent.h:
8765         * gst/gstmessage.h:
8766           Minor docs fixes.
8767
8768 === release 0.10.6 ===
8769
8770 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
8771
8772         * configure.ac:
8773           releasing 0.10.6, "Take the cannoli"
8774
8775 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
8776
8777         * tools/gst-launch.c: (print_tag):
8778           Fix use of uninitialized variable in the hypothetical
8779           case that some broken plugin creates a GST_TAG_IMAGE
8780           tag containing a NULL buffer (#341667).
8781
8782 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
8783
8784         * tools/gst-launch.c: (print_tag):
8785           Print something more intelligible for image tags when
8786           using the -t switch (#341556).
8787
8788 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8789
8790         * Makefile.am:
8791           updates for win32
8792         * configure.ac:
8793           define GST_MAJORMINOR so we have it available in win32/common/config.h
8794           Possibly remove it from our Makefile.am files later
8795         * win32/common/config.h:
8796         * win32/common/config.h.in:
8797           added GST_MAJORMINOR
8798         * win32/common/gstenumtypes.c: (register_gst_resource_error):
8799         * win32/common/gstversion.h:
8800           updated
8801
8802 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
8803
8804         * win32/MANIFEST:
8805           Update win32 files listing.
8806         * win32/common/gstversion.h:
8807           Add GST_MAJORMINOR definition.
8808         * win32/common/libgstreamer.def:
8809           Add new exported functions.
8810           
8811 2006-05-12  Michael Smith  <msmith@fluendo.com>
8812
8813         * gst/gstplugin.c: (gst_plugin_load_file):
8814           If an so file has no plugin entry point, unload the module.
8815
8816 2006-05-11  Wim Taymans  <wim@fluendo.com>
8817
8818         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8819         (gst_queue_set_property):
8820         Don't forget to signal the _chain or _loop function 
8821         when the queue size or thresholds change since that might
8822         cause them to make progres again.
8823
8824 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
8825
8826         * gst/gstclock.c: (gst_clock_class_init):
8827         * gst/gstindex.c: (gst_index_class_init):
8828         * gst/gstobject.c: (gst_object_class_init):
8829         * gst/gstpad.c: (gst_pad_class_init):
8830         * gst/gstpipeline.c: (gst_pipeline_class_init):
8831         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8832         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8833         * libs/gst/base/gstbasetransform.c:
8834         (gst_base_transform_class_init):
8835         * libs/gst/net/gstnetclientclock.c:
8836         (gst_net_client_clock_class_init):
8837         * libs/gst/net/gstnettimeprovider.c:
8838         (gst_net_time_provider_class_init):
8839         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8840         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8841         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8842         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8843         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8844         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8845         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8846         * plugins/elements/gstidentity.c: (gst_identity_class_init):
8847         * plugins/elements/gsttee.c: (gst_tee_class_init):
8848         * tests/old/examples/plugins/example.c: (gst_example_class_init):
8849         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8850           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8851
8852 2006-05-11  Wim Taymans  <wim@fluendo.com>
8853
8854         * gst/gstbuffer.c: (_gst_buffer_initialize):
8855         Register subbufer along with the buffer type so that
8856         it does not accidentally gets registered from N
8857         different streaming threads in a non threadsafe way.
8858
8859 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
8860
8861         * gst/gstbuffer.h:
8862         * gst/gstevent.h:
8863         * gst/gstmessage.h:
8864           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8865           gst_event_ref() and gst_message_ref() functions again
8866           (ugly hack, please do fix if there's a better way besides
8867           overrides.txt, which doesn't seem to work).
8868
8869 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8870
8871         * libs/gst/check/gstcheck.h:
8872           add an assert for setting state to avoid lots of repetitive code
8873           in the future
8874
8875 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8876
8877         * gst/gstvalue.c: (gst_value_serialize_flags):
8878           fix a leak if no flags are set
8879         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8880           fix leak in tests
8881
8882 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
8883
8884         * docs/manual/basics-pads.xml:
8885           Expand a bit on caps and filtered links and update
8886           examples that were still using the no longer existing
8887           gst_pad_link_filtered() (#338206).
8888
8889 2006-05-10  Wim Taymans  <wim@fluendo.com>
8890
8891         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8892         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8893         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8894         (gst_collect_pads_stop):
8895         * libs/gst/base/gstcollectpads.h:
8896         No need to call _stop in _finalize.
8897         Iterate the main pad list in _finalize.
8898         Added some more debug.
8899         Free lists and data in the right order.
8900         Also free data whem doing _remove_pad when stopped for
8901         backward compatibility protect ::started with PAD_LOCK as
8902         well.
8903
8904 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8905
8906         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8907         (gst_structure_parse_value):
8908           add some comments
8909           rename a method so that it actually says what it does better
8910
8911 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8912
8913         * gst/gstevent.c: (_gst_event_initialize):
8914         * gst/gstformat.c: (_gst_format_initialize):
8915           make sure some essential types used by events are registered
8916           as part of gst_init()
8917         * gst/gstvalue.c: (gst_value_serialize_flags):
8918           if no flags are set, serialize them to a value that represents NONE
8919           so that deserializing them works
8920         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8921           add tests for serialization and deserialization of flags
8922
8923 2006-05-10  Wim Taymans  <wim@fluendo.com>
8924
8925         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8926         (gst_collect_pads_collect_range), (gst_collect_pads_available),
8927         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8928         (gst_collect_pads_event), (gst_collect_pads_chain):
8929         Update docs.
8930         Better debug info.
8931         Catch and return errors from the collect function
8932         Refuse data on eos pads.
8933
8934 2006-05-10  Edward Hervey  <edward@fluendo.com>
8935
8936         * gst/gstinterface.h:
8937         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8938         GInterface type checking.
8939         They were previously using non-defined macros.
8940
8941 2006-05-09  Wim Taymans  <wim@fluendo.com>
8942
8943         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8944         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8945         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8946         (gst_collect_pads_start), (gst_collect_pads_stop),
8947         (gst_collect_pads_peek), (gst_collect_pads_pop),
8948         (gst_collect_pads_available), (gst_collect_pads_read),
8949         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8950         (gst_collect_pads_is_collected), (gst_collect_pads_event),
8951         (gst_collect_pads_chain):
8952         * libs/gst/base/gstcollectpads.h:
8953         Clean up the mess that is collectpads, add comments and
8954         FIXMEs where needed.
8955         Maintain a separate pad list so we can add pads while
8956         collecting the other ones. For this we need a new separate 
8957         lock (see comics).
8958         Fix memory leak in finalize.
8959         Refactor some weird code to set/unset pad flushing flags, mark
8960         with comments.
8961         Don't crash in _available, _read, _flush when we're EOS.
8962
8963         * tests/check/libs/.cvsignore:
8964         Ignore adapter check binary.
8965
8966 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8967
8968         * gst/gstindex.c: (gst_index_resolver_get_type):
8969         * plugins/elements/gstfakesink.c:
8970         (gst_fake_sink_state_error_get_type):
8971         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8972         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8973         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8974           Const-ify GEnumValue arrays.
8975
8976 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8977
8978         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8979           Add test case for flags + gst_buffer_make_metadata_writable().
8980
8981 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8982
8983         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8984           gst_buffer_make_metadata_writable() should maintain the
8985           buffer flags (those that make sense at least) (see #340859).
8986
8987 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8988
8989         * tools/gst-inspect.c:
8990         * tools/gst-launch.c:
8991         * tools/gst-typefind.c:
8992         * tools/gst-xmlinspect.c:
8993         * tools/tools.h:
8994           Fix up includes: need to include stdlib.h in tools.h for exit().
8995
8996 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8997
8998         * gst/gsttaglist.c: (_gst_tag_initialize):
8999         * gst/gsttaglist.h:
9000           API: add GST_TAG_IMAGE tag (#340721).
9001
9002 2006-05-08  Wim Taymans  <wim@fluendo.com>
9003
9004         * gst/gstquery.c:
9005         Added some docs for the segment query.
9006
9007 2006-05-08  Wim Taymans  <wim@fluendo.com>
9008
9009         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9010         (gst_base_src_loop), (gst_base_src_change_state):
9011         Always push non-flushing serialized events in the streaming 
9012         thread.
9013
9014 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9015
9016         * gst/gsterror.c: (_gst_stream_errors_init):
9017           Add a missing error string.
9018
9019 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9020
9021         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9022         Add applied_rate to the debug
9023
9024         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9025         Copy applied_rate into the outgoing NEWSEGMENT event
9026
9027 2006-05-08  Wim Taymans  <wim@fluendo.com>
9028
9029         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9030
9031         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9032         (gst_base_sink_change_state):
9033         call ::unlock before taking the PREROLL_LOCK so we can safely
9034         handle elements that lock in ::render.
9035         Fixes #340174.
9036
9037 2006-05-08  Edward Hervey  <edward@fluendo.com>
9038
9039         * autogen.sh: (CONFIGURE_DEF_OPT): 
9040         Darwin's libtoolize is in fact called glibtoolize.
9041         Adding glibtoolize to the list of accepted names for libtoolize.
9042
9043 2006-05-08  Wim Taymans  <wim@fluendo.com>
9044
9045         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9046         Unify error handling, don't post an error message
9047         when a push() returns EOS but perform our normal EOS
9048         handling code. Fixes #340772.
9049
9050 2006-05-08  Wim Taymans  <wim@fluendo.com>
9051
9052         * docs/design/part-overview.txt:
9053         Make upsteam/downstream concepts more clear.
9054         Give an example of serialized/non-serialized events.
9055
9056         * docs/design/part-events.txt:
9057         * docs/design/part-streams.txt:
9058         Mention applied_rate.
9059
9060         * docs/design/part-trickmodes.txt:
9061         Mention applied rate, flesh out some more use cases.
9062
9063         * gst/gstevent.c: (gst_event_new_new_segment),
9064         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9065         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9066         (gst_event_parse_tag), (gst_event_new_buffer_size),
9067         (gst_event_parse_buffer_size), (gst_event_new_qos),
9068         (gst_event_parse_qos), (gst_event_parse_seek),
9069         (gst_event_new_navigation):
9070         * gst/gstevent.h:
9071         Add applied_rate field to NEWSEGMENT event.
9072         API: gst_event_new_new_segment_full()
9073         API: gst_event_parse_new_segment_full()
9074
9075         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9076         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9077         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9078         * gst/gstsegment.h:
9079         Add applied_rate to GstSegment structure.
9080         Make calculation of stream_time and running_time more correct
9081         wrt rate/applied_rate.
9082         Add some more docs.
9083         API: GstSegment::applied_rate field
9084         API: gst_segment_set_newsegment_full();
9085
9086         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9087         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9088         * libs/gst/base/gstbasetransform.c:
9089         (gst_base_transform_sink_eventfunc),
9090         (gst_base_transform_handle_buffer):
9091         Parse and use applied_rate in the GstSegment field.
9092
9093         * tests/check/gst/gstevent.c: (GST_START_TEST):
9094         Add check for applied_rate field.
9095
9096         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9097         (gstsegments_suite):
9098         Add more checks for various GstSegment operations.
9099
9100 2006-05-08  Wim Taymans  <wim@fluendo.com>
9101
9102         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9103         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9104         (gst_base_sink_get_position), (gst_base_sink_change_state):
9105         Store the sync time of the buffer end position separatly in a
9106         new variable eos_rtime so we can properly sync the EOS event.
9107         Fixes #340697.
9108         Fix the docs for gst_base_sink_set_qos_enabled().
9109         Don't set segment start to invalid value when we receive a 
9110         non TIME newsegment.
9111         get closer to handling position reporting for negative rates 
9112         correctly.
9113
9114 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9115
9116         * gst/gstcaps.c:
9117         Docs about how to print caps for debug purposes.
9118
9119         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9120         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9121
9122 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9123
9124         * gst/gstelement.c:
9125           use full enum names and preprend a '%' in docs strings to make recent 
9126           gtk-doc turn that into a link
9127
9128 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9129
9130         * docs/manual/basics-bins.xml:
9131         * docs/manual/basics-bus.xml:
9132         * docs/manual/basics-pads.xml:
9133           Some typo fixes, some additions, some clarifications. 
9134
9135 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9136
9137         * tools/gst-inspect.c: (main):
9138         * tools/gst-launch.c: (main):
9139         * tools/gst-run.c: (main):
9140         * tools/gst-typefind.c: (main):
9141         * tools/gst-xmlinspect.c: (main):
9142           Use the string passed to g_option_context_new() for
9143           what it's intended for - the program name is already
9144           printed elsewhere.
9145
9146 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9147
9148         * tools/Makefile.am:
9149         * tools/gst-inspect.c: (main):
9150         * tools/gst-launch.c: (main):
9151         * tools/gst-xmlinspect.c: (main):
9152         * tools/tools.h:
9153           Add back --version command line option (#340460).
9154
9155         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9156           Add --version option and use GOption for argument parsing; refactor a
9157           bit; accept directories as arguments and recurse into them; lastly,
9158           print a decent error message when things go wrong.
9159
9160 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9161
9162         * docs/manual/basics-bins.xml:
9163         Don't mention GstThread (#340611)
9164         * docs/manual/basics-elements.xml:
9165         Update link to GObject tutorial (#340607)
9166         
9167 2006-05-05  Wim Taymans  <wim@fluendo.com>
9168
9169         * gst/gstbuffer.h:
9170         * gst/gstminiobject.c:
9171         Add note about refcounting and miniobject/buffer writeability
9172         to docs. Fixes #340604
9173
9174         * gst/gstelementfactory.h:
9175         Added some explanation about @klass.
9176
9177 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9178
9179         * docs/manual/intro-motivation.xml:
9180         * docs/manual/manual.xml:
9181         Avoid CORBA & Bonobo references (#340598)
9182
9183 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9184
9185         * docs/manual/basics-bus.xml:
9186         * docs/manual/basics-pads.xml:
9187         Fix up some inaccuracies and omissions (#340609)
9188         
9189 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9190
9191         * gst/gstghostpad.c:
9192           Small typo in docs (#340625)
9193
9194 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9195
9196         * gst/parse/Makefile.am:
9197           Make 'make -j' proof (see #340698).
9198
9199 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9200
9201         * configure.ac:
9202           Require GLib-2.8 here as well.
9203
9204 2006-05-05  Wim Taymans  <wim@fluendo.com>
9205
9206         * gst/glib-compat.c:
9207         * gst/gst.c: (init_pre):
9208         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9209         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9210         (gst_object_dispatch_properties_changed):
9211         * gst/gstobject.h:
9212         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9213         * gst/gststructure.c: (gst_structure_set_valist):
9214         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9215         Remove pre glib2.8 compatibility, fixes #340508
9216
9217 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9218
9219         * gst/gsttaglist.h:
9220           Mention type of tags in doc blurbs.
9221
9222 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
9223
9224         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9225         (gst_pad_configure_src), (gst_pad_push):
9226         Restore acceptcaps checking behaviour now that good plugins have
9227         been released.
9228
9229 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9230
9231         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9232
9233         * gst/gst.c:
9234         * gst/gstbus.c:
9235         * gst/gstclock.c:
9236         * gst/gstevent.c:
9237         * gst/gstformat.c:
9238         * gst/gstmessage.c:
9239         * gst/gstparse.c:
9240         * gst/gstquery.c:
9241         * gst/gstutils.c:
9242         * gst/parse/Makefile.am:
9243         * libs/gst/base/gstadapter.c:
9244         * libs/gst/base/gstbasesrc.c:
9245         * libs/gst/base/gstpushsrc.c:
9246         * libs/gst/base/gsttypefindhelper.c:
9247         * plugins/elements/gstfakesrc.c:
9248         * plugins/elements/gstidentity.c:
9249           Make sure gstprivate.h and/or config.h are
9250           always included first, otherwise some of our
9251           defines (like _FILE_OFFSET_BITS) might be
9252           redefined in the system headers. Fixes build
9253           on opensolaris (#340016).
9254
9255 2006-05-04  Wim Taymans  <wim@fluendo.com>
9256
9257         * docs/libs/gstreamer-libs-sections.txt:
9258         API: addition: gst_adapter_take_buffer()
9259         
9260         * libs/gst/base/gstadapter.c: (gst_adapter_push),
9261         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9262         (gst_adapter_available_fast):
9263         * libs/gst/base/gstadapter.h:
9264         Prepare for optimizing the hell out of this hugely inefficient
9265         piece of code. 
9266         Added gst_adapter_take_buffer() so we can at least start thinking
9267         about subbuffering and merging.
9268         Added some comments.
9269
9270         * tests/check/Makefile.am:
9271         * tests/check/libs/adapter.c: (GST_START_TEST),
9272         (gst_adapter_suite), (main):
9273         Added GstAdapter check.
9274
9275 2006-05-04  Wim Taymans  <wim@fluendo.com>
9276
9277         * docs/design/part-overview.txt:
9278         Fix some typos, add blurb about buffer flags.
9279
9280 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9281
9282         * docs/libs/gstreamer-libs-sections.txt:
9283           make sure GstBaseTransformClass shows up in the docs
9284         * libs/gst/base/gstbasetransform.c:
9285         * libs/gst/base/gstbasetransform.h:
9286           move docs so gtk-doc picks it up now
9287
9288 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9289
9290         * docs/libs/gstreamer-libs-sections.txt:
9291           add missing symbols to docs
9292
9293 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9294
9295         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9296           back out the newsegment handling change, see #340060 for ongoing
9297           discussion
9298
9299 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
9300
9301         * tools/gst-run.c: (get_candidates), (main):
9302           Fix wrong g_file_test() usage (see glib docs for why it doesn't
9303           work); fix typo in error message. Fixes #340079.
9304
9305 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9306
9307         * common/Makefile.am:
9308         * docs/Makefile.am:
9309         * docs/faq/Makefile.am:
9310         * docs/gst/Makefile.am:
9311         * docs/libs/Makefile.am:
9312         * docs/manual/Makefile.am:
9313         * docs/plugins/Makefile.am:
9314         * docs/pwg/Makefile.am:
9315         * docs/slides/Makefile.am:
9316         * docs/upload.mak:
9317         * common/upload.mak:
9318           move upload.mak to common
9319
9320 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9321
9322         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9323           add more asserts on refcounts
9324           do more cleanup at end of tests
9325           fix test leaks showing in FC5
9326
9327 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
9328
9329         * plugins/elements/gsttypefindelement.c:
9330         (gst_type_find_element_handle_event):
9331         reverted wrong change and reflowed code to avoid others falling into
9332         this trap
9333
9334 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9335
9336         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9337           fix changelog entry about last collectpads change,
9338           add notes about proper fix
9339
9340 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9341
9342         * gst/gst.c:
9343         * gst/gstregistry.c: (gst_registry_scan_path_level),
9344         (gst_registry_scan_path):
9345         * gst/gstregistry.h:
9346           only write out registry if it has changed, fixes #338339
9347
9348 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9349
9350         * gst/gstbin.c:
9351         * gst/gstpipeline.c:
9352         * plugins/elements/gstcapsfilter.c:
9353         * plugins/elements/gstfakesink.c:
9354         * plugins/elements/gstfakesrc.c:
9355         * plugins/elements/gstfdsink.c:
9356         * plugins/elements/gstfdsrc.c:
9357         * plugins/elements/gstfilesink.c:
9358         * plugins/elements/gstfilesrc.c:
9359         * plugins/elements/gstidentity.c:
9360         * plugins/elements/gstqueue.c:
9361         * plugins/elements/gsttee.c:
9362         * plugins/elements/gsttypefindelement.c:
9363         (gst_type_find_element_handle_event):
9364           make GstElementDetails const
9365
9366 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9367
9368         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9369         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9370         (gst_collect_pads_is_collected), (gst_collect_pads_event):
9371           more detailed debug and formatting cleanup,
9372           forward newsegments to src-pad (so that e.g. adder not eats them)
9373
9374 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9375
9376         * gst/gstutils.c: (gst_element_link_pads):
9377           cleanup double code
9378
9379 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9380
9381         * libs/gst/controller/gstcontroller.c:
9382         (gst_controller_sync_values):
9383           some little tuning
9384         * tests/check/libs/controller.c: (GST_START_TEST),
9385         (gst_controller_suite):
9386           a new test for live value handling
9387
9388 2006-04-28  Wim Taymans  <wim@fluendo.com>
9389
9390         * gst/gstutils.c: (push_and_ref):
9391         Added some more docs.
9392         Fix refcount issue whith gst_element_found_tags() helper 
9393         function. Fixes #338335
9394
9395         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9396         Added testsuite for gst_element_found_tags().
9397
9398 2006-04-28  Michael Smith  <msmith@fluendo.com>
9399
9400         * gst/gstvalue.c: (gst_value_serialize_flags):
9401           Avoid NULL dereference when trying to serialize flags containing
9402           invalid values.
9403
9404 2006-04-28  Michael Smith  <msmith@fluendo.com>
9405
9406         * plugins/elements/gsttypefindelement.c:
9407         (gst_type_find_element_handle_event):
9408           If we get EOS before any data is accumulated, don't use
9409           uninitialised local variables.
9410
9411 2006-04-28  Michael Smith  <msmith@fluendo.com>
9412
9413         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9414         (gst_dp_event_from_packet):
9415           Fixes in reading/writing events over GDP (not currently used?) - 
9416           dereferencing NULL events for unknown/invalid event types, memory
9417           leak, and change g_warning to GST_WARNING.
9418
9419 2006-04-28  Wim Taymans  <wim@fluendo.com>
9420
9421         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9422         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9423         (gst_base_sink_get_position), (gst_base_sink_change_state):
9424         When frame dropping is enabled, we should not ignore frames
9425         without a duration.
9426         Update some documentation.
9427
9428 2006-04-28  Wim Taymans  <wim@fluendo.com>
9429
9430         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9431         (gst_base_src_send_event), (gst_base_src_change_state):
9432         Documentation updates.
9433
9434 2006-04-28  Wim Taymans  <wim@fluendo.com>
9435
9436         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9437         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9438         handle EAGAIN, EINTR and short writes correctly. Also clean
9439         up some error cases, avoid a deadlock on bad file descriptors and
9440         use GST_DEBUG_OBJECT.
9441         Fixes #339843
9442
9443 2006-04-28  Wim Taymans  <wim@fluendo.com>
9444
9445         * gst/gstvalue.c: (gst_value_serialize_buffer),
9446         (gst_value_deserialize_buffer):
9447         Don't try to serialize a GValue with a NULL buffer. 
9448         Fixes #339821.
9449
9450         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9451         Added check for serialisation of NULL buffers.
9452
9453 2006-04-28  Wim Taymans  <wim@fluendo.com>
9454
9455         * gst/gstminiobject.c: (gst_value_take_mini_object):
9456         Taking a NULL miniobject is valid, fix the case where
9457         we try to unref the NULL miniobject.
9458
9459 2006-04-28  Wim Taymans  <wim@fluendo.com>
9460
9461         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9462
9463         * gst/gstbin.c: (gst_bin_handle_message_func):
9464         Update docs.
9465         Don't leak bin refcount when a state recalc is
9466         in progress and we delay another one #339808.
9467
9468 2006-04-28  Wim Taymans  <wim@fluendo.com>
9469
9470         * docs/design/part-TODO.txt:
9471         Mention QoS as an ongoing work item.
9472
9473         * docs/design/part-buffering.txt:
9474         New doc about buffering that needs to be fleshed out
9475         at some point.
9476
9477         * docs/design/part-qos.txt:
9478         More QoS policy for decoders/demuxers/transforms
9479
9480         * docs/design/part-trickmodes.txt:
9481         Small update.
9482
9483 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9484
9485         * configure.ac:
9486           back to HEAD
9487
9488 === release 0.10.5 ===
9489
9490 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
9491
9492         * configure.ac:
9493           releasing 0.10.5, "Fogo"
9494
9495 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9496
9497         patch by: Wim Taymans
9498
9499         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9500         (gst_pad_configure_src), (gst_pad_push):
9501         * gst/gstpipeline.c: (gst_pipeline_init):
9502           Fix internal data flow errors.  Fixes #338711.
9503
9504 2006-04-12  Wim Taymans  <wim@fluendo.com>
9505
9506         * tests/check/gst/gstelement.c: (GST_START_TEST):
9507         Don't leak the factory.
9508
9509 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9510
9511         * configure.ac:
9512         * win32/common/config.h:
9513           prerelease
9514
9515 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9516
9517         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9518         (gst_controller_unset_all):
9519           Free allocated GstTimedValues when freeing list nodes.
9520           Should fix leaks 'make check-valgrind' complains about.
9521
9522         * win32/common/libgstcontroller.def:
9523           Add gst_controller_unset_all.
9524
9525 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
9526
9527         * docs/libs/gstreamer-libs-sections.txt:
9528         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9529         (gst_controller_unset_all):
9530         * libs/gst/controller/gstcontroller.h:
9531         API: Added new method gst_controller_unset_all()
9532         fixed gst_controller_unset()
9533         * tests/check/libs/controller.c: (GST_START_TEST),
9534         (gst_controller_suite):
9535         Added two testcases for new and fixed method
9536
9537 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
9538
9539         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9540           MSG_DONTWAIT is not defined on Cygwin, so work
9541           around that (fixes #317048).
9542           
9543 2006-04-11  Wim Taymans  <wim@fluendo.com>
9544
9545         * gst/gstelementfactory.c: (gst_element_register),
9546         (gst_element_factory_create), (gst_element_factory_make):
9547         Some cleanups.
9548         Fixed a FIXME.
9549         Updated docs (Fixes #131079)
9550
9551         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9552         Small cleanups.
9553
9554         * tests/check/gst/gstelement.c: (GST_START_TEST),
9555         (gst_element_suite):
9556         Added testcase for elementfactory class field.
9557
9558 2006-04-10  Wim Taymans  <wim@fluendo.com>
9559
9560         * gst/gstsegment.c:
9561         Added some more docs.
9562
9563         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9564         (gst_base_sink_reset_qos):
9565         Calculate more accurate rate values.
9566
9567 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
9568
9569         * gst/gst_private.h:
9570           add a new #ifdef to use __declspec(dllimport) only for
9571           other modules and not for gstreamer core
9572         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9573           use gst_guint64_to_gdouble for conversion
9574         * win32/common/libgstreamer.def:
9575           add new exported functions
9576         * win32/vs6/gst_inspect.dsp:
9577         * win32/vs6/gst_launch.dsp:
9578         * win32/vs6/libgstbase.dsp:
9579         * win32/vs6/libgstcontroller.dsp:
9580         * win32/vs6/libgstcoreelements.dsp:
9581         * win32/vs6/libgstdataprotocol.dsp:
9582         * win32/vs6/libgstnet.dsp:
9583           update project files
9584
9585 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
9586
9587         * gst/gstbuffer.c: (gst_subbuffer_class_init):
9588         * gst/gstclock.c: (gst_clock_class_init):
9589         * gst/gstelement.c: (gst_element_class_init):
9590         * gst/gstindex.c: (gst_index_class_init):
9591         * gst/gstindexfactory.c: (gst_index_factory_class_init):
9592         * gst/gstobject.c: (gst_object_class_init),
9593         (gst_signal_object_class_init):
9594         * gst/gstpad.c: (gst_pad_class_init):
9595         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9596         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9597         * gst/gstregistry.c: (gst_registry_class_init):
9598         * gst/gstsystemclock.c: (gst_system_clock_class_init):
9599         * gst/gsttask.c: (gst_task_class_init):
9600         * gst/gstxml.c: (gst_xml_class_init):
9601         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9602         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9603         (gst_base_src_loop):
9604         * libs/gst/controller/gstcontroller.c:/
9605         (_gst_controller_class_init):
9606         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9607         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9608         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9609         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9610         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9611         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9612
9613 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
9614
9615         * gst/gstpad.c: (gst_pad_link):
9616           Must set peer pads before calling the link function, otherwise
9617           a task started from a link function might get a flow-not-linked
9618           result when trying to push because the other thread where the
9619           linking happens hasn't had a chance to set the peers yet. This
9620           might happen for example when a queue gets linked to a downstream
9621           element, as queue starts a streaming task when its source pad
9622           gets linked. Happens in real life when playing back flac/musepack
9623           files in playbin (#332390).
9624           
9625 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
9626
9627         * gst/gstindex.h:
9628         * gst/gstxml.h:
9629         * libs/gst/base/gstadapter.h:
9630         * libs/gst/base/gstbasesink.h:
9631         * libs/gst/base/gstbasesrc.h:
9632         * libs/gst/base/gstbasetransform.h:
9633         * libs/gst/base/gstcollectpads.h:
9634         * libs/gst/base/gstpushsrc.h:
9635         Fix broken GObject macros
9636
9637 2006-04-07  Wim Taymans  <wim@fluendo.com>
9638
9639         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9640         Initialize start and stop times, thanks valgrind.
9641
9642 2006-04-07  Wim Taymans  <wim@fluendo.com>
9643
9644         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9645         Be a bit nicer to badly behaving upstream elements that expect
9646         us to deal with non TIME segments and timestamps (such as fakesrc
9647         in the testsuite).
9648
9649 2006-04-07  Wim Taymans  <wim@fluendo.com>
9650
9651         * gst/gstbus.c:
9652         Small documentation clarification about the signal watch.
9653
9654         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9655         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9656         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9657         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9658         (gst_base_sink_get_position_last),
9659         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9660         Convert and store timestamps in stream time and running time, the
9661         raw timestamps are not useful, also document this better.
9662         Use different window sizes for good and bad QoS observations so
9663         we react to badness a little quicker.
9664         Keep track of the amount of rendered and dropped buffers.
9665         Send QoS timestamps in running time.
9666
9667         * libs/gst/base/gstbasetransform.c:
9668         (gst_base_transform_sink_eventfunc),
9669         (gst_base_transform_handle_buffer):
9670         Compare QoS timestamps against running time.
9671
9672 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
9673
9674         * gst/gstpad.c:
9675           Typo fixes in docs.
9676
9677 2006-04-06  Michael Smith  <msmith@fluendo.com>
9678
9679         * gst/gstpad.c: (gst_pad_set_property):
9680           Use g_value_get_object() instead of g_value_dup_gst_object(),
9681           to avoid double-reffing the pad template (which we then sink,
9682           so this worked previously if (and only if) the pad template
9683           was floating.
9684
9685         * gst/gstpadtemplate.c: (gst_pad_template_init),
9686         (gst_pad_template_pad_created):
9687           Never return floating references to pad templates, create
9688           them as initially-sunken.
9689
9690           Document an extra function (and make this stop sinking our
9691           pad template, since that is now guaranteed to do nothing,
9692           since we created it sunken).
9693
9694         * gst/gstghostpad.c:
9695           Fix docs typo.
9696
9697 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
9698
9699         * gst/gstinfo.c: (__gst_in_valgrind):
9700           Add some newlines.
9701
9702         * plugins/elements/gsttypefindelement.c:
9703         (gst_type_find_element_chain):
9704           Don't leak buffer caps.
9705
9706 2006-04-06  Michael Smith  <msmith@fluendo.com>
9707
9708         * gst/parse/grammar.y:
9709           Fix a leak in parse-launch for any source-or-sink named element 
9710           references used.
9711
9712         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9713           Unref the pipeline if it exists after we've failed parsing.
9714
9715 2006-04-05  Michael Smith  <msmith@fluendo.com>
9716
9717         * gst/gstpipeline.c: (gst_pipeline_init):
9718           When we create a pipeline bus, initially create it in flushing mode.
9719           Fixes leaks in at least one test, and makes a new pipeline work the
9720           same as one that has gone to READY and then back to NULL.
9721
9722         * gst/gstelement.c:
9723           Typo fix in docs.
9724
9725 2006-04-05  Michael Smith  <msmith@fluendo.com>
9726
9727         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9728           Unref a pad we reffed.
9729         * tests/check/gst/gstutils.c: (GST_START_TEST):
9730           Unref bins
9731
9732 2006-04-05  Michael Smith  <msmith@fluendo.com>
9733
9734         * gst/gstquery.c: (gst_query_set_formats),
9735         (gst_query_set_formatsv):
9736           Fix leaking GValues in queries, as shown by valgrind/testsuite.
9737
9738 2006-04-05  Michael Smith  <msmith@fluendo.com>
9739
9740         * tests/check/generic/sinks.c: (GST_START_TEST):
9741           Fix a variety of memleaks in sinks check, which are only sometimes 
9742           shown by running the tests under valgrind (weird?).
9743
9744 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
9745
9746         * docs/version.entities.in:
9747           Fix the substituted entity name after thomas' changes on the
9748           weekend.
9749
9750 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9751
9752         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
9753         VALGRIND_PRINTF
9754         
9755 2006-04-05  Andy Wingo  <wingo@pobox.com>
9756
9757         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
9758
9759         * libs/gst/base/gstbasetransform.c
9760         (gst_base_transform_sink_eventfunc): When resetting our segment on
9761         FLUSH_STOP, also update the flag saying we haven't seen a
9762         newsegment.
9763
9764 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
9765
9766         Patch by: Paolo Borelli  <pborelli at katamail dot com>
9767
9768         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
9769         (gst_plugin_check_license):
9770           minor clean-ups: G_DEFINE_TYPE already takes care of the
9771           parent_class stuff, no need to do it twice. Mark array of
9772           license strings as constant. (#337103)
9773           
9774 2006-04-04  Michael Smith  <msmith@fluendo.com>
9775
9776         * tools/gst-inspect.c: (print_element_list):
9777           Free the right plugin list; fixes a memory leak.
9778
9779 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
9780
9781         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
9782
9783         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9784           Don't error out on empty buffers (#336945).
9785           
9786 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
9787
9788         * docs/libs/gstreamer-libs-sections.txt:
9789         * gst/gsttaglist.c:
9790         * libs/gst/base/gstbasesink.c:
9791         * libs/gst/base/gstbasesink.h:
9792         * libs/gst/base/gstbasesrc.c:
9793         * libs/gst/base/gstbasesrc.h:
9794           Documentation updates. Make BaseSink and BaseSrc docs contain the
9795           class structure so that people can actually see the prototypes for
9796           virtual functions they're supposed to be overriding.
9797
9798 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
9799
9800         * plugins/elements/gsttypefindelement.c:
9801         (gst_type_find_element_chain):
9802           More debug info; when skipping typefinding, send cached
9803           events in all cases.
9804
9805 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9806
9807         * configure.ac:
9808           use new AS_VERSION and AS_NANO macros
9809         * gst/gst-i18n-lib.h:
9810         * gst/gst.c:
9811         * gst/gsterror.c:
9812         * gst/gstversion.h.in:
9813         * win32/common/config.h:
9814         * win32/common/config.h.in:
9815           update accordingly
9816
9817 2006-03-31  Michael Smith  <msmith@fluendo.com>
9818
9819         * plugins/elements/gsttypefindelement.c:
9820         (gst_type_find_element_chain):
9821           Do not typefind content if the buffers already have caps.
9822           Neccesary for icydemux (#333657), and the right thing to do anyway.
9823
9824 2006-03-30  Wim Taymans  <wim@fluendo.com>
9825
9826         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9827         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9828         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9829         (gst_base_sink_record_qos_observation),
9830         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9831         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9832         (gst_base_sink_change_state):
9833         More QoS measurements as described in the design doc.
9834         Get rid of ringbuffer with observations, running average is
9835         more simple and equally good.
9836         Calculates valid proportion now.
9837         Added beginning of flood measurement.
9838
9839 2006-03-29  Wim Taymans  <wim@fluendo.com>
9840
9841         * docs/design/part-qos.txt:
9842         * gst/gstclock.c:
9843         Small documentation updates and additions.
9844
9845 2006-03-29  Wim Taymans  <wim@fluendo.com>
9846
9847         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9848         (gst_base_src_send_event), (gst_base_src_loop),
9849         (gst_base_src_change_state):
9850         Perform the EOS logic when we reach the segment stop position.
9851         Fix compilation on gcc4.1
9852
9853 2006-03-29  Wim Taymans  <wim@fluendo.com>
9854
9855         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9856
9857         * plugins/elements/gstqueue.c: (gst_queue_init),
9858         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9859         (gst_queue_set_property):
9860         * plugins/elements/gstqueue.h:
9861         In queue, when EOS is received, if minimum threshold > max_size -
9862         current_level, there is chance that queue blocks forever in conditional
9863         item del wait. This is because the queue is not emptied completely due
9864         to minimum threshold.  Here is another approach. Instead of setting
9865         cur_levels to max in EOS, just zero all minimum threshold levels. This
9866         should make sure that queue gives out all data. When going to READY
9867         (stop) state, just reset the original minimum threshold levels.
9868         Fixes #336336.
9869
9870 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
9871
9872         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9873         (gst_type_find_element_handle_event),
9874         (gst_type_find_element_send_cached_events),
9875         (gst_type_find_element_change_state):
9876         * plugins/elements/gsttypefindelement.h:
9877           When typefinding is done in push mode, we should cache
9878           events we receive during typefinding instead of just
9879           dropping them (e.g. newsegment, custom events from
9880           dvdreadsrc etc.) and then send them out once we've
9881           determined the type of the stream (and decodebin
9882           has had a chance to plug in a decoder/demuxer).
9883           
9884 2006-03-27  Wim Taymans  <wim@fluendo.com>
9885
9886         * docs/design/part-qos.txt:
9887         First QoS ideas.
9888
9889 2006-03-27  Wim Taymans  <wim@fluendo.com>
9890
9891         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9892
9893         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9894         (gst_base_src_send_event), (gst_base_src_change_state):
9895         Handle element seek correctly when we are streaming.
9896         Fixes #326998.
9897
9898 2006-03-24  Michael Smith  <msmith@fluendo.com>
9899
9900         * docs/faq/gst-uninstalled:
9901           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9902           allow you to correctly run intalled applications built against old 
9903           core, using plugins that require updated core (e.g. running
9904           installed totem against a full uninstalled gstreamer stack)
9905
9906 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
9907
9908         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9909         more debug details
9910
9911 2006-03-24  Wim Taymans  <wim@fluendo.com>
9912
9913         * docs/gst/gstreamer-sections.txt:
9914         Rearrange the order of the methods so that related methods
9915         are grouped together in sections.
9916
9917 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
9918
9919         * gst/gstelement.c:
9920           Little clarification in the docs
9921
9922 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
9923
9924         * docs/README:
9925         formatting fix
9926         * plugins/elements/gstidentity.c:
9927         * plugins/elements/gstqueue.c:
9928         * plugins/elements/gsttee.c:
9929         * plugins/elements/gsttypefindelement.c:
9930         GST_ELEMENT_DETAILS formatting
9931
9932 2006-03-24  Wim Taymans  <wim@fluendo.com>
9933
9934         * libs/gst/base/gstbasesink.h:
9935         Only add fields, not insert or we break ABI.
9936
9937 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
9938
9939         * win32/common/libgstbase.def:
9940         * win32/common/libgstreamer.def:
9941           Update, add recently added functions.
9942
9943 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
9944
9945         * docs/gst/gstreamer-sections.txt:
9946         * gst/gstutils.c: (gst_pad_query_peer_position),
9947         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9948         * gst/gstutils.h:
9949           API: add some new utility functions:
9950            - gst_pad_query_peer_position()
9951            - gst_pad_query_peer_duration()
9952            - gst_pad_query_peer_convert()
9953           
9954 2006-03-23  Wim Taymans  <wim@fluendo.com>
9955
9956         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9957         (gst_base_sink_init), (gst_base_sink_finalize),
9958         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9959         (gst_base_sink_set_property), (gst_base_sink_get_property),
9960         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9961         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9962         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9963         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9964         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9965         (gst_base_sink_preroll_object), (gst_base_sink_event),
9966         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9967         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9968         (gst_base_sink_query), (gst_base_sink_change_state):
9969         Decouple max-lateness and the fact that QoS messages are generated
9970         with a new property (qos).
9971         added API: GstBaseSink::async_play()
9972         Add vmethod so subclasses can be notified of ASYNC playing
9973         state changes.
9974         Collect timestamp start and stop to report better current
9975         position in EOS/PLAYING/PAUSED/READY/NULL.
9976         Refactor QoS/frame dropping and other measurements.
9977         API: GstBaseSrc::qos
9978         Fixes #326311
9979
9980         * libs/gst/base/gstbasesink.h:
9981         Added Private struct.
9982         API: gst_base_sink_set_qos_enabled()
9983         API: gst_base_sink_is_qos_enabled()
9984
9985 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
9986
9987         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9988           If compiling against GLib-2.8 or newer, try to read the
9989           registry file using GMappedFile first before falling back
9990           to fopen() + fread() (#332151).
9991
9992 2006-03-22  Wim Taymans  <wim@fluendo.com>
9993
9994         * gst/gstinfo.c: (gst_debug_set_active),
9995         (gst_debug_category_set_threshold):
9996         Disable debugging unless explicitly activated.
9997         Fixes #335480.
9998
9999 2006-03-22  Wim Taymans  <wim@fluendo.com>
10000
10001         * gst/gstelement.c: (gst_element_set_locked_state),
10002         (gst_element_dispose):
10003         Cleanup the error case.
10004
10005         * gst/gstobject.c: (gst_object_dispose):
10006         print a critical when some object was disposed with
10007         a parent, also revive the object since it might
10008         crash the parent.
10009
10010 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10011
10012         * tools/gst-launch.1.in:
10013           Fix another typo.
10014
10015 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10016
10017         * configure.ac:
10018         * tests/check/Makefile.am:
10019           disable some tests when we don't have a registry
10020         * tests/check/gst/gstutils.c: (gst_utils_suite):
10021           don't build the part that needs parsing
10022
10023 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10024
10025         * gst/Makefile.am
10026         * tests/examples/Makefile.am:
10027           fix --disable-parse build
10028
10029 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10030
10031         * tools/gst-feedback.1.in:
10032           Fix typo: s/feeback/feedback/ (#133494).
10033
10034 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10035
10036         * tools/Makefile.am:
10037         * tools/gst-launch.1.in:
10038           Add FILES section and correct entry about GST_REGISTRY_PATH
10039           environment variable (#133495; #133494).
10040
10041 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10042
10043         * tools/Makefile.am:
10044         * tools/gst-md5sum.1.in:
10045         * tools/gst-md5sum.c:
10046           Remove gst-md5sum and man page (the md5sink element
10047           required was removed ages ago)
10048
10049 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10050
10051         * gst/gststructure.c: (gst_structure_id_set_value):
10052           Make sure that string fields in structures/taglists
10053           contain valid UTF-8 - we don't want to pass rubbish to
10054           applications because of a buggy plugin (cp. #334167).
10055
10056 2006-03-21  Edward Hervey  <edward@fluendo.com>
10057
10058         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10059         (gst_bin_handle_message_func):
10060         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10061         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10062         (gst_element_set_bus_func):
10063         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10064         * gst/gstminiobject.c: (gst_value_set_mini_object),
10065         (gst_value_take_mini_object):
10066         * gst/gstpad.c: (gst_pad_set_pad_template):
10067         * gst/gstpipeline.c: (gst_pipeline_dispose),
10068         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10069         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10070         (gst_collect_pads_chain):
10071         * libs/gst/net/gstnettimeprovider.c:
10072         (gst_net_time_provider_set_property):
10073         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10074         It's in fact all issues with gst_*object_replace().
10075
10076 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10077
10078         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10079         
10080         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10081         * pkgconfig/gstreamer-check.pc.in:
10082           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10083
10084 2006-03-21  Edward Hervey  <edward@fluendo.com>
10085
10086         * gst/gstbuffer.h:
10087         * gst/gstevent.h:
10088         * gst/gstmessage.h:
10089         gst_[buffer|event|message]_ref() macros are replaced by a static
10090         inline functions because gcc-4.1 will about if the return value
10091         isn't used.
10092         * tests/check/gst/gstevent.c: (event_probe):
10093         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10094
10095 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10096
10097         * gst/gstutils.h:
10098         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10099         the type' case. (Closes: #335195 for now). In the future, when we
10100         depend on GLib 2.10, we could also intern the type name using
10101         g_intern_static_string()
10102
10103 2006-03-20  Wim Taymans  <wim@fluendo.com>
10104
10105         * gst/gstbin.c: (gst_bin_handle_message_func),
10106         (bin_query_max_init), (bin_query_position_fold),
10107         (bin_query_position_done), (gst_bin_query):
10108         Position query should also take max of all streams.
10109
10110 2006-03-20  Wim Taymans  <wim@fluendo.com>
10111
10112         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10113         (gst_fake_src_finalize):
10114         Fix leaks in fakesrc.
10115
10116         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10117         Fix leaks in the testcase.
10118
10119 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10120
10121         * gst/gst_private.h:
10122           add win32 specific import decoration(__declspec(dllimport)) 
10123           for all extern GstDebugCategory * variables
10124         * win32/common/libgstbase.def:
10125         * win32/common/libgstcontroller.def:
10126         * win32/common/libgstreamer.def:
10127           Add some exports, remove empty lines
10128         * win32/common/libgstdataprotocol.def:
10129         * win32/common/libgstdataprotocol.dsp:
10130         * win32/common/libgstnet.def:
10131         * win32/common/libgstnet.dsp:
10132           new project files and exportation files added
10133         
10134 2006-03-19  Wim Taymans  <wim@fluendo.com>
10135
10136         * tests/check/libs/basesrc.c: (eos_event_counter):
10137         Use proper return value for probe.
10138
10139 2006-03-17  Wim Taymans  <wim@fluendo.com>
10140
10141         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10142         (gst_pad_push):
10143         Don't leak buffers, caps and pads on negotiation errors.
10144
10145 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10146
10147         * docs/faq/cvs.xml:
10148         * docs/faq/dependencies.xml:
10149         * docs/faq/developing.xml:
10150         * docs/faq/faq.xml:
10151         * docs/faq/general.xml:
10152         * docs/faq/getting.xml:
10153         * docs/faq/legal.xml:
10154         * docs/faq/troubleshooting.xml:
10155         * docs/faq/using.xml:
10156         Faq review and update.
10157
10158 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10159
10160         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10161         (gst_pad_push):
10162         Don't pound the cpu to pieces by checking get_caps when accept_caps
10163         is called with the same caps as the pad already has.
10164         Use GST_DEBUG_OBJECT when outputting caps change information.
10165
10166 2006-03-15  Wim Taymans  <wim@fluendo.com>
10167
10168         * gst/gstclock.c: (gst_clock_class_init):
10169         Fix docs.
10170
10171 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10172
10173         * gst/gstbuffer.h:
10174         Documentation fix.
10175
10176         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10177         (gst_pad_accept_caps), (gst_pad_configure_sink),
10178         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10179         Make the default acceptcaps behaviour be to check the requested 
10180         caps against the gst_pad_get_caps output. 
10181
10182         Ensure that gst_pad_accept_caps is used to check caps when a pad
10183         doesn't have a setcaps function, so that pads automatically refuse 
10184         caps that they don't allow in their pad template. (Fixes #332986)
10185
10186         When a buffer with attached caps is pushed, ensure that the source 
10187         pad receives those caps even if the element didn't call
10188         gst_pad_set_caps first.
10189
10190 2006-03-15  Wim Taymans  <wim@fluendo.com>
10191
10192         * libs/gst/base/gstadapter.c:
10193         Add some docs.
10194
10195 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10196
10197         * win32/common/libgstbase.def:
10198         * win32/common/libgstcontroller.def:
10199         * win32/common/libgstreamer.def:
10200           Add a whole bunch of missing functions (#334434).
10201
10202 2006-03-14  Wim Taymans  <wim@fluendo.com>
10203
10204         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10205         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10206         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10207         Better debug info when we receive a segment event.
10208         Reorganize a bit so we can pass the get_times() results around.
10209         Use the segment format when calculating the running time.
10210         Don't do QoS is sync is disabled or we have no clock or the
10211         element does not want us to sync to the clock.
10212         Don't drop buffers if QoS is disabled for now.
10213
10214 2006-03-14  Wim Taymans  <wim@fluendo.com>
10215
10216         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10217         Marked the stats property as unimplemented so people don't get
10218         wild ideas.
10219         Add debug message when regression goes wrong.
10220         Added some more docs.
10221
10222 2006-03-14  Wim Taymans  <wim@fluendo.com>
10223
10224         * gst/gstsegment.c: (gst_segment_to_stream_time):
10225         Return correct return type in case of errors.
10226
10227 2006-03-14  Wim Taymans  <wim@fluendo.com>
10228
10229         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10230           Don't segfault on invalid formats.
10231
10232 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10233
10234         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10235           Can't use gst_segment_to_running_time() when the segment
10236           is not in GST_TIME_FORMAT (like with filesink, for example).
10237           Stops flac encoding pipelines from spewing critical warnings
10238           at EOS (#331248).
10239           
10240 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10241
10242         * gst/gstpipeline.c: (gst_pipeline_class_init):
10243           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10244
10245         * plugins/elements/gsttypefindelement.c:
10246         (gst_type_find_element_handle_event):
10247           Don't try to typefind empty streams.
10248
10249 2006-03-14  Wim Taymans  <wim@fluendo.com>
10250
10251         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10252         (gst_base_sink_do_qos):
10253         Separate QoS calculation.
10254         Only drop buffers when lateness is bigger than the 
10255         duration of the buffer.
10256
10257 2006-03-13  Wim Taymans  <wim@fluendo.com>
10258
10259         * gst/gstpipeline.c: (gst_pipeline_set_property),
10260         (gst_pipeline_get_property), (do_pipeline_seek),
10261         (gst_pipeline_change_state), (gst_pipeline_set_delay),
10262         (gst_pipeline_get_delay):
10263         Don't deadlock when reading properties.
10264
10265 2006-03-13  Wim Taymans  <wim@fluendo.com>
10266
10267         * libs/gst/base/gstbasetransform.c:
10268         (gst_base_transform_class_init), (gst_base_transform_init),
10269         (gst_base_transform_sink_event),
10270         (gst_base_transform_sink_eventfunc),
10271         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10272         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10273         (gst_base_transform_set_property),
10274         (gst_base_transform_get_property),
10275         (gst_base_transform_change_state), (gst_base_transform_update_qos),
10276         (gst_base_transform_set_qos_enabled),
10277         (gst_base_transform_is_qos_enabled):
10278         * libs/gst/base/gstbasetransform.h:
10279         Make basetransform virtual method for src events too.
10280         Handle QOS in basetransform.
10281         API: gst_base_transform_update_qos()
10282         API: gst_base_transform_set_qos_enabled()
10283         API: gst_base_transform_is_qos_enabled()
10284
10285 2006-03-13  Wim Taymans  <wim@fluendo.com>
10286
10287         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10288         (gst_base_sink_do_sync):
10289         Small cleanups.
10290         Use QOS debug category.
10291
10292 2006-03-13  Wim Taymans  <wim@fluendo.com>
10293
10294         * plugins/elements/gstqueue.c:
10295         Very small doc update.
10296
10297 2006-03-13  Wim Taymans  <wim@fluendo.com>
10298
10299         * gst/gst_private.h:
10300         * gst/gstinfo.c: (_gst_debug_init):
10301         Added QOS debug category
10302
10303 2006-03-13  Wim Taymans  <wim@fluendo.com>
10304
10305         * docs/gst/gstreamer-sections.txt:
10306         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10307         * gst/gstbin.h:
10308         * gst/gstbus.c: (gst_bus_class_init):
10309         * gst/gstbus.h:
10310         * gst/gstclock.c:
10311         * gst/gstelement.c: (gst_element_set_locked_state):
10312         * gst/gstsegment.c:
10313         Documentation updates.
10314
10315         * gst/gstpipeline.c: (gst_pipeline_get_type),
10316         (gst_pipeline_class_init), (gst_pipeline_init),
10317         (gst_pipeline_dispose), (gst_pipeline_set_property),
10318         (gst_pipeline_get_property), (do_pipeline_seek),
10319         (gst_pipeline_send_event), (gst_pipeline_change_state),
10320         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10321         (gst_pipeline_get_delay):
10322         * gst/gstpipeline.h:
10323         Added methods for setting the delay.
10324         API: gst_pipeline_set_delay()
10325         API: gst_pipeline_get_delay()
10326         Add pipeline debug category
10327         Various cleanups.
10328         Updated docs.
10329         Don't reset stream time when seek failed.
10330
10331 2006-03-13  Wim Taymans  <wim@fluendo.com>
10332
10333         * docs/design/draft-klass.txt:
10334         * docs/design/part-clocks.txt:
10335         * docs/design/part-events.txt:
10336         * docs/design/part-gstbin.txt:
10337         * docs/design/part-gstpipeline.txt:
10338         * docs/design/part-messages.txt:
10339         * docs/design/part-negotiation.txt:
10340         * docs/design/part-overview.txt:
10341         * docs/design/part-preroll.txt:
10342         * docs/design/part-seeking.txt:
10343         * docs/design/part-states.txt:
10344         * docs/design/part-streams.txt:
10345         Documentation updates.
10346
10347 2006-03-12  Julien MOUTTE  <julien@moutte.net>
10348
10349         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10350         us to leak strings...
10351
10352 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10353
10354         * libs/gst/net/gstnettimeprovider.c:
10355           fix docs
10356         * win32/common/config.h:
10357           update
10358
10359 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
10360
10361         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10362
10363         * configure.ac:
10364           Don't check for libgnomeui (leftover from old examples
10365           that aren't built or disted any longer) (#334303).
10366           
10367 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
10368
10369         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10370         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10371           Emit RESOURCE_NO_SPACE_LEFT error here as well when
10372           there's no space left on the device.
10373
10374 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
10375
10376         * gst/gstclock.h:
10377           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10378           to cast the input to GstClockTime before comparing with
10379           another GstClockTime value.
10380
10381 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10382
10383         * configure.ac:
10384           back to trunk
10385
10386 === release 0.10.4 ===
10387
10388 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
10389
10390         * configure.ac:
10391           releasing 0.10.4, "Light"
10392
10393 2006-03-10  Michael Smith  <msmith@fluendo.com>
10394
10395         * libs/gst/dataprotocol/dataprotocol.c:
10396           Fix docs for dataprocotol to not get the return types completely
10397           wrong for a few functions.
10398
10399 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10400
10401         * docs/gst/gstreamer-sections.txt:
10402         * gst/gstpipeline.c: (gst_pipeline_class_init),
10403         (gst_pipeline_init), (gst_pipeline_set_property),
10404         (gst_pipeline_get_property), (gst_pipeline_change_state),
10405         (gst_pipeline_set_auto_flush_bus),
10406         (gst_pipeline_get_auto_flush_bus):
10407         * gst/gstpipeline.h:
10408           Add new API: gst_pipeline_set_auto_flush_bus() and
10409           gst_pipeline_get_auto_flush_bus() to disable automatic
10410           flushing of the pipeline's GstBus when going from READY
10411           to NULL state (#332045).
10412
10413 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10414
10415         * docs/gst/gstreamer-sections.txt:
10416         * gst/gsturi.c: (gst_uri_has_protocol):
10417         * gst/gsturi.h:
10418            Add new API: gst_uri_has_protocol() (#333779).
10419
10420 2006-03-09  Wim Taymans  <wim@fluendo.com>
10421
10422         * gst/gstclock.c: (gst_clock_entry_new),
10423         (gst_clock_id_compare_func), (gst_clock_id_wait),
10424         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10425         (gst_clock_init), (gst_clock_get_internal_time),
10426         (gst_clock_set_master), (do_linear_regression),
10427         (gst_clock_add_observation), (gst_clock_set_property):
10428         * gst/gstclock.h:
10429         Review docs.
10430         Small cleanups.
10431         Fix a possible segfault when the window-size is made smaller.
10432         Calculate jitter before performing the clock wait. Ideally
10433         the clock implementation should calculate jitter but we need
10434         API breakage for that.
10435
10436         * gst/gstsystemclock.c: (gst_system_clock_init):
10437         Docs review.
10438         
10439         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10440         Remove leftover else
10441
10442         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10443         (gst_systemclock_suite):
10444         Added check to test GST_CLOCK_DIFF.
10445
10446 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10447
10448         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10449         (gst_type_find_helper_get_range):
10450           If we are provided with the size, we should implement
10451           GstTypeFind::get_length, so that typefind functions who
10452           want to can actually peek at the middle of a file.
10453
10454 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
10455
10456         * docs/manual/advanced-dataaccess.xml:
10457           Add some very very basic error checking.
10458
10459         * docs/pwg/appendix-checklist.xml:
10460           Some updates to the list of things to check when writing an element.
10461
10462 2006-03-08  Wim Taymans  <wim@fluendo.com>
10463
10464         * docs/design/part-element-transform.txt:
10465         Added some docs about the design of tranform elements.
10466
10467         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10468         (gst_base_src_loop), (gst_base_src_change_state):
10469         Mark buffers with the DISCONT flag.
10470
10471 2006-03-08  Michael Smith  <msmith@fluendo.com>
10472
10473         * gst/gstregistry.h:
10474         * gst/gstregistryxml.c: (gst_registry_save),
10475         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10476         (gst_registry_xml_save_pad_template),
10477         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10478         (gst_registry_xml_write_cache):
10479           Rewrite registry-saving to avoid race conditions and check for
10480           failed writes.
10481
10482 2006-03-08  Wim Taymans  <wim@fluendo.com>
10483
10484         * libs/gst/base/gstbasetransform.c:
10485         (gst_base_transform_transform_caps),
10486         (gst_base_transform_transform_size),
10487         (gst_base_transform_prepare_output_buffer),
10488         (gst_base_transform_get_unit_size),
10489         (gst_base_transform_buffer_alloc),
10490         (gst_base_transform_handle_buffer),
10491         (gst_base_transform_change_state):
10492         Cleanups, separate normal flow from errors, add sensible
10493         DEBUG lines.
10494         Don't try to renegotiate when allocating an output buffer.
10495         Also copy DISCONT buffer flag when copying a buffer.
10496         Reset the transform after we finish streaming, not during.
10497
10498 2006-03-08  Wim Taymans  <wim@fluendo.com>
10499
10500         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10501         Use last buffer timestamp in qos message.
10502
10503 2006-03-07  Wim Taymans  <wim@fluendo.com>
10504
10505         Patch by: Christophe Fergeau
10506
10507         * docs/pwg/advanced-tagging.xml:
10508         * docs/pwg/building-pads.xml:
10509           fixes #333416
10510
10511 2006-03-07  Wim Taymans  <wim@fluendo.com>
10512
10513         * docs/libs/gstreamer-libs-sections.txt:
10514         Added basesink new methods.
10515
10516         * gst/gstevent.c:
10517         * gst/gstevent.h:
10518         Docs updates. Flesh out the QoS docs.
10519
10520         * libs/gst/base/gstadapter.c:
10521         Small doc clarification about ownership and flushing.
10522
10523         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10524         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10525         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10526         (gst_base_sink_get_property), (gst_base_sink_do_sync):
10527         * libs/gst/base/gstbasesink.h:
10528         API additions: 
10529         Added new methods to allow subclass to control max-lateness 
10530         and sync.
10531         Generate very basic QoS events based on last sync observation.
10532         Updated docs, fix typo, added some QoS blurb.
10533
10534         * libs/gst/base/gstbasesrc.c:
10535         Remove obsolete _get_state() calls from docs.
10536
10537 2006-03-07  Wim Taymans  <wim@fluendo.com>
10538
10539         * docs/libs/gstreamer-libs-sections.txt:
10540         * libs/gst/base/gstbasetransform.h:
10541         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10542         Fix docs for GstBaseSrc.
10543
10544 2006-03-07  Wim Taymans  <wim@fluendo.com>
10545
10546         * docs/gst/gstreamer-sections.txt:
10547         * gst/gstbuffer.h:
10548         * gst/gstvalue.c:
10549         * libs/gst/base/gstbasetransform.h:
10550         Small documentation fixes.
10551
10552 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10553
10554         * gst/gstvalue.c:
10555           Document thread-unsafety of gst_value_register_foo_func()
10556           when used at the same time as gst_value_foo() (#322628).
10557
10558 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10559
10560         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10561         (gst_push_src_check_get_range):
10562           Push sources don't support pull mode by default.
10563
10564 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
10565
10566         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10567         (gst_base_src_init), (gst_base_src_pad_check_get_range),
10568         (gst_base_src_default_check_get_range):
10569         * libs/gst/base/gstbasesrc.h:
10570           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10571           provide default implementation, and rename
10572           gst_base_src_check_get_range() to
10573           gst_base_src_pad_check_get_range() for clarity.
10574
10575 2006-03-06  Wim Taymans  <wim@fluendo.com>
10576
10577         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10578         Make property overridable.
10579
10580 2006-03-06  Wim Taymans  <wim@fluendo.com>
10581
10582         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10583         (gst_base_sink_init), (gst_base_sink_set_property),
10584         (gst_base_sink_get_property), (gst_base_sink_do_sync):
10585         * libs/gst/base/gstbasesink.h:
10586         API addition: Make max-lateness a property.
10587
10588 2006-03-06  Wim Taymans  <wim@fluendo.com>
10589
10590         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10591         (gst_base_sink_do_sync), (gst_base_sink_render_object):
10592         Don't ever draw a frame that is >10ms late.
10593
10594 2006-03-06  Michael Smith  <msmith@fluendo.com>
10595
10596         * gst/gstmessage.c: (_gst_message_copy):
10597           When copying a message, set the parent_refcount of the enclosed
10598           structure to point at the copy, not the original message.
10599
10600 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
10601
10602         Patch by: Christophe Fergeau
10603
10604         * gst/gstutils.h:
10605           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10606           usable in c++ code (#333417)
10607
10608 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10609
10610         * gst/gstclock.h:
10611           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10612
10613 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
10614
10615         * libs/gst/base/gstbasetransform.c:
10616         (gst_base_transform_transform_caps):
10617           Make sure caps are writable before passing them to
10618           gst_caps_append().
10619
10620 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
10621
10622         * gst/gsterror.h:
10623           Fix some minor docs errors.
10624
10625 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
10626
10627           Patch by: Ross Burton <ross at burtonini dot com>
10628
10629         * gst/gsterror.c: (_gst_resource_errors_init):
10630         * gst/gsterror.h:
10631           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10632
10633 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
10634
10635         * gst/gst.c:
10636         Add a check and output a g_warning when GStreamer is built
10637         against GLib 2.6 but running against 2.8 or higher, and vice 
10638         versa. (Closes: #323542)
10639
10640 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
10641
10642         * gst/parse/parse.l:
10643           Commit patch for parse_launch syntax from #331255. Removes 
10644           support for quoted strings and mimetypes when writing filtered 
10645           caps. See the bug report for more details - I'm pretty sure this
10646           obscure feature is not in use by _anyone_ anywhere.
10647
10648           With this simple change, the size of the gstreamer.so here 
10649           drops from 2193KB to 1565KB.
10650
10651 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
10652
10653         * plugins/elements/gsttypefindelement.h:
10654         * plugins/elements/gsttypefindelement.c:
10655         (gst_type_find_element_src_event), (start_typefinding),
10656         (stop_typefinding), (gst_type_find_element_handle_event),
10657         (gst_type_find_element_chain),
10658         (gst_type_find_element_chain_do_typefinding):
10659           Use gst_type_find_helper_for_buffer() for chain-based
10660           typefinding.
10661
10662 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
10663
10664         * plugins/elements/gsttypefindelement.c:
10665         (gst_type_find_element_class_init),
10666         (gst_type_find_element_set_property),
10667         (gst_type_find_element_get_property):
10668           Deprecate "maximum" property (not only was it only taken into
10669           account for typefinding in push-mode anyway, it also was never
10670           actually possible to set it in the first place because the
10671           property was registered with the numeric property ID for the
10672           "minimum" property). Register "maximum" property correctly,
10673           for the sake of future copy'n'pasters. Remove some cruft
10674           from property get/set functions.
10675
10676 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
10677
10678         * plugins/elements/gsttypefindelement.c:
10679         (gst_type_find_element_activate):
10680           Use gst_type_find_helper_get_range() here, so we
10681           can honour the "minimum" property and also emit
10682           the signal with the correct probability of the found caps.
10683
10684 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
10685
10686         * docs/libs/gstreamer-libs-sections.txt:
10687         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
10688         (helper_find_suggest), (gst_type_find_helper_get_range),
10689         (gst_type_find_helper):
10690         * libs/gst/base/gsttypefindhelper.h:
10691           New API: gst_type_find_helper_get_range() (#333042).
10692
10693 2006-03-02  Michael Smith  <msmith@fluendo.com>
10694
10695         * gst/gstregistryxml.c: (load_feature):
10696           Asserting on a failure to read part of the registry is Not Cool.
10697           Just log a warning and return NULL (which is already handled)
10698
10699 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
10700
10701         * win32/common/libgstbase.def:
10702           added export of gst_type_find_helper_for_buffer
10703         * win32/common/libgstbase.def:
10704           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
10705           gst_ghost_pad_get_target
10706
10707 2006-02-28  Wim Taymans  <wim@fluendo.com>
10708
10709         * docs/design/draft-klass.txt:
10710         We use Filter now.
10711         Added Connector to mark elements that are only used to
10712         allow pipeline connections.
10713         Moved Debug to extra feature since most of them are 
10714         functionally something else.
10715
10716 2006-02-28  Wim Taymans  <wim@fluendo.com>
10717
10718         * docs/design/draft-klass.txt:
10719         Some updates and clarifications.
10720
10721 2006-02-28  Wim Taymans  <wim@fluendo.com>
10722
10723         * docs/design/draft-klass.txt:
10724         Proposal for klass field values.
10725
10726         * docs/design/part-streams.txt:
10727         Start of a doc describing stream anatomy.
10728
10729 2006-02-28  Wim Taymans  <wim@fluendo.com>
10730
10731         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
10732         Help the compiler a bit with type registration.
10733         Use existing forward cod path instead of duplicating it when 
10734         handling a message.
10735         
10736         * gst/gstbus.c: (gst_bus_get_type):
10737         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
10738         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
10739         * gst/gstclock.c: (gst_clock_get_type):
10740         * gst/gstelement.c: (gst_element_get_type),
10741         * gst/gstelementfactory.c: (gst_element_factory_get_type):
10742         * gst/gstindexfactory.c: (gst_index_factory_get_type):
10743         * gst/gstminiobject.c: (gst_mini_object_get_type):
10744         * gst/gstpad.c: (gst_pad_get_type):
10745         * gst/gstsegment.c: (gst_segment_get_type):
10746         * gst/gststructure.c: (gst_structure_get_type):
10747         * gst/gstsystemclock.c: (gst_system_clock_get_type):
10748         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
10749         * gst/gstvalue.c:
10750         Help compiler with type registration.
10751
10752         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
10753         Small doc update.
10754
10755 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10756
10757         * plugins/elements/gsttypefindelement.c:
10758         (gst_type_find_element_handle_event):
10759           When we get an EOS event and have not found a type yet
10760           (most likely because we had not yet accumulated
10761           TYPE_FIND_MIN_SIZE of data yet), try to determine the
10762           type given the data we have so far. Fixes typefinding
10763           for very short streams again, most notably quicktime
10764           redirections as used on Apple's trailer site (#331701).
10765
10766 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10767
10768         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
10769         (gst_type_find_helper):
10770           Try typefinding factories with the highest rank first.
10771
10772 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10773
10774         * docs/libs/gstreamer-libs-docs.sgml:
10775         * docs/libs/gstreamer-libs-sections.txt:
10776         * libs/gst/base/gsttypefindhelper.c:
10777           Add section for typefind helper and add documentation
10778           for the old and the new function.
10779
10780 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10781
10782         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
10783         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
10784         (gst_type_find_helper_for_buffer):
10785         * libs/gst/base/gsttypefindhelper.h:
10786           New API: gst_type_find_helper_for_buffer() (#332723).
10787           
10788 2006-02-27  Michael Smith  <msmith@fluendo.com>
10789
10790         Patch by: Loïc Minier
10791
10792         * configure.ac:
10793         * docs/Makefile.am:
10794         * docs/slides/Makefile.am:
10795           prevent CVS directories getting disted.
10796
10797 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10798
10799         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10800           Use the REFCOUNTING category for caps refcounting.
10801           
10802 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
10803
10804         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10805           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10806
10807 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
10808
10809         * plugins/elements/gsttypefindelement.c:
10810         (gst_type_find_element_activate):
10811           Use gst_pad_check_pull_range() before _activate_pull()
10812           to avoid unnecessary open/close (see #331690).
10813
10814 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
10815
10816         * gst/gstutils.c:
10817           Docs enhancement: make it crystal clear what the
10818           gst_pad_add_*_probe() callbacks should look like.
10819
10820 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
10821
10822         * libs/gst/base/gstbasesrc.c:
10823           Document how applications can stop recording from
10824           live sources (see #330996).
10825
10826 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10827
10828         * tests/check/Makefile.am:
10829         * tests/check/libs/basesrc.c: (eos_event_counter),
10830         (basesrc_eos_events_pull), (basesrc_eos_events_push),
10831         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10832         (gst_basesrc_suite), (main):
10833           ... and add some tests for the base source EOS stuff.
10834
10835 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10836
10837         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10838           Test case originally showed the problem fixed below,
10839           but was then amended. Add checks back at the place
10840           where they used to be.
10841
10842 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10843
10844         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10845         (gst_base_src_init), (gst_base_src_loop),
10846         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10847         (gst_base_src_change_state):
10848         * libs/gst/base/gstbasesrc.h:
10849           Don't unconditionally send EOS when going from PAUSED to
10850           READY state, esp. make sure we don't send two EOS events
10851           in some cases (e.g. one when reaching EOS and one when
10852           going from PAUSED to READY). Also, we don't want to send
10853           EOS events when operating in pull mode. However, we do
10854           want to send an EOS event when shutting down a live
10855           source explicitly, for example (fixes #330996).
10856           
10857 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10858
10859         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10860           Update src->read_position after a seek when not using mmap.
10861           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10862
10863 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
10864
10865         * gst/Makefile.am:
10866         * gst/gstparse.h:
10867         * gst/gstutils.c:
10868         * gst/gstutils.h:
10869         Make things work with --disable-parse as they do with 
10870         --disable-load-save - the symbols involved disappear, but the
10871         header is still installed and GST_DISABLE_PARSE is included via
10872         gstconfig.h
10873
10874 2006-02-20  Julien MOUTTE  <julien@moutte.net>
10875
10876         * libs/gst/base/gstbasetransform.c:
10877         (gst_base_transform_change_state): Fix a stupid bug. I was 
10878         sure I compiled that.
10879
10880 2006-02-20  Julien MOUTTE  <julien@moutte.net>
10881
10882         * gst/gstpad.c: (gst_pad_set_blocked_async):
10883         * gst/gstutils.c: (gst_pad_add_data_probe),
10884         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10885         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10886         (gst_pad_remove_buffer_probe): Make those function act on the
10887         ghostpad target when it's a ghostpad. (Closes #331727)
10888
10889 2006-02-20  Julien MOUTTE  <julien@moutte.net>
10890
10891         * libs/gst/base/gstbasetransform.c:
10892         (gst_base_transform_change_state): Make basetransform reusable.
10893         (Closes #331898)
10894
10895 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
10896
10897         * docs/random/release:
10898         Move the current documentation of how to do a release to the top
10899         of the file.
10900
10901         * gst/gstbin.c: (gst_bin_class_init),
10902         (gst_bin_handle_message_func):
10903         Allow multiple state-recalculation threads. (Closes #328873)
10904
10905 2006-02-19  Julien MOUTTE  <julien@moutte.net>
10906
10907         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10908         * gst/gstpad.c: (gst_pad_set_event_function),
10909         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10910         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10911         2 strings. You can't use the STR_NULL macro on that.
10912
10913 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
10914
10915         * gst/gstpad.c: (gst_pad_set_event_function),
10916         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10917         (gst_pad_set_getcaps_function)
10918         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10919           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10920           So now, we can use --gst-debug-level=5 on Windows
10921         * win32/common/libgstcontroller.def:
10922           Added export of gst_controller_init
10923         * win32/vs6/libgstcontroller.dsp:
10924           Fixed Release post build configuration
10925
10926 2006-02-17  Wim Taymans  <wim@fluendo.com>
10927
10928         * tests/check/gst/gstquery.c: (GST_START_TEST):
10929         Added another check.
10930
10931 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
10932
10933         * plugins/elements/gsttypefindelement.c: (find_peek):
10934           We can do peeks at non-zero offsets, as long as they
10935           fall within the buffer we have.
10936
10937 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
10938
10939         * tests/check/Makefile.am:
10940         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10941         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10942         (parse_suite), (main):
10943           Add testsuite for parse launch syntax
10944
10945 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
10946
10947         * plugins/elements/gsttypefindelement.c:
10948         (gst_type_find_element_chain):
10949           When typefinding is unsuccessful in the chain function, don't
10950           error out immediately. Only error out with NO_CAPS_FOUND if
10951           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10952           otherwise simply wait for more data so we can try typefinding
10953           again with more data later. Also, don't attempt to typefind
10954           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10955           this should improve typefinding from network sources where the
10956           size of the first buffer can be somewhat random.
10957
10958 2006-02-14  Wim Taymans  <wim@fluendo.com>
10959
10960         * docs/gst/gstreamer-sections.txt:
10961         * gst/gstpadtemplate.c:
10962         * gst/gstpadtemplate.h:
10963         Fix padtemplate docs, fixes #328805.
10964
10965 2006-02-14  Wim Taymans  <wim@fluendo.com>
10966
10967         * tools/gst-launch.c: (main):
10968         NO_PREROLL is not an ERROR so don't send confusing messages
10969         to the user.
10970
10971 2006-02-14  Wim Taymans  <wim@fluendo.com>
10972
10973         Patch by: Torsten Schoenfeld
10974
10975         * gst/gstregistry.c: (gst_registry_get_default),
10976         (_gst_registry_cleanup):
10977         Protect default registry with lock and ref/sink it.
10978         Fixes #324818
10979
10980 2006-02-14  Wim Taymans  <wim@fluendo.com>
10981
10982         * gst/gstbuffer.c:
10983         * gst/gstquery.c: (gst_query_list_add_format),
10984         (gst_query_set_formatsv), (gst_query_parse_formats_length),
10985         (gst_query_parse_formats_nth):
10986         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10987         Docs fixes.
10988
10989 2006-02-14  Wim Taymans  <wim@fluendo.com>
10990
10991         * docs/gst/gstreamer-sections.txt:
10992         Reworked query docs.
10993
10994         * gst/gstquery.c: (gst_query_new_formats),
10995         (gst_query_list_add_format), (gst_query_set_formats),
10996         (gst_query_set_formatsv), (gst_query_parse_formats_length),
10997         (gst_query_parse_formats_nth):
10998         * gst/gstquery.h:
10999         Flesh out formats query, added some new methods.
11000         Fix part of #324398.
11001
11002         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11003         Added query creation tests.
11004
11005 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11006
11007         * gst/gstpad.c: (fixate_value):
11008         Add a default fixation for fraction lists.
11009
11010 2006-02-13  Wim Taymans  <wim@fluendo.com>
11011
11012         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11013         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11014         (gst_task_join):
11015         * gst/gsttask.h:
11016         Detect and warn for obvious deadlocks. fixes #320340
11017         Fix error case where lock was not released.
11018
11019         * tests/check/Makefile.am:
11020         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11021         (task_func), (gst_element_suite), (main):
11022         Add task check.
11023
11024 2006-02-13  Wim Taymans  <wim@fluendo.com>
11025
11026         * docs/gst/gstreamer-sections.txt:
11027         * gst/gstbus.c:
11028         Add new functions to docs.
11029
11030 2006-02-13  Wim Taymans  <wim@fluendo.com>
11031
11032         * docs/design/part-TODO.txt:
11033         Updated TODO list, basesrc supports seeking to non-bytes
11034         formats.
11035
11036         * docs/design/part-element-sink.txt:
11037         Update docs.
11038
11039         * gst/gstbin.c: (bin_replace_message),
11040         (gst_bin_handle_message_func):
11041         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11042         * gst/gstevent.c: (gst_event_finalize):
11043         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11044         (gst_pad_send_event):
11045         Use shiny new _TYPE_NAME macros.
11046
11047         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11048         Move debug statement up.
11049
11050         * gst/gstelement.c: (gst_element_set_locked_state):
11051         Add some debugging.
11052
11053 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11054
11055         * docs/gst/gstreamer-sections.txt:
11056         * gst/gstmessage.h:
11057         * gst/gstquery.h:
11058           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11059           macros (#330906). Also, document the already existing
11060           GST_QUERY_TYPE macro.
11061
11062 2006-02-13  Wim Taymans  <wim@fluendo.com>
11063
11064         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11065         (event_probe), (GST_START_TEST):
11066         Only events up to the pipeline EOS are counted, there are
11067         some more when going to NULL currently which we don't care
11068         about for now.
11069
11070 2006-02-13  Wim Taymans  <wim@fluendo.com>
11071
11072         * gst/gstpad.c: (gst_pad_send_event):
11073         Correctly check flushing and emit probes. fixes #330125
11074
11075 2006-02-10  Andy Wingo  <wingo@pobox.com>
11076
11077         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11078         structure.
11079         (gst_bus_init): Cache the location of the private data in the
11080         instance structure.
11081         (gst_bus_enable_sync_message_emission) 
11082         (gst_bus_disable_sync_message_emission): Implement new public
11083         functions.
11084         (gst_bus_post): Emit the sync-message signal if the user asked for
11085         it. Fixes #330684.
11086
11087         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11088         location of the bus-private structure.
11089         (gst_bus_enable_sync_message_emission)
11090         (gst_bus_disable_sync_message_emission): API addition
11091
11092 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11093
11094         Patch by: Vincent Torri
11095
11096         * docs/pwg/building-boiler.xml:
11097         PWG patch from #326800
11098
11099 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11100
11101         * configure.ac:
11102         * docs/Makefile.am:
11103         * docs/design/Makefile.am:
11104           Dist design docs.
11105
11106 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11107
11108         * configure.ac:
11109           back to CVS
11110
11111 === release 0.10.3 ===
11112
11113 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11114
11115         * configure.ac:
11116           releasing 0.10.3, "Like a virgin"
11117
11118 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11119
11120         * configure.ac:
11121           2nd prerelease of 0.10.3
11122           Bump libtool versioning.
11123
11124 2006-02-07  Andy Wingo  <wingo@pobox.com>
11125
11126         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11127         update last_stop if we're in TIME format and the timestamp is
11128         valid.
11129
11130         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11131         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11132         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11133         If we get a new newsegment with a different format, adapt
11134         accordingly.
11135
11136         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11137         of 0. Not a problem, really.
11138
11139         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11140         warn if sync=true.
11141
11142 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11143
11144         * configure.ac:
11145           Prelease of 0.10.3
11146
11147 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11148
11149         * win32/vs7:
11150           project files updated to the default vs7 configuration
11151         * win32/common/libgstbase.def:
11152         * win32/common/libgstreamer.def:
11153           added new symbols,
11154           removed empty lines,
11155           sorted all exported symbols alphabetically
11156         * win32/common/dirent.c:
11157         * win32/common/dirent.h:
11158         * win32/common/gchar.h:
11159           use windows line end.
11160           
11161 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11162
11163         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11164           Send EOS event when stopping.
11165
11166 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11167
11168         * docs/README:
11169           Tell folks what to do if the plugin-foobar.xml file
11170           hasn't been generated for a newly-added plugin.
11171
11172 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11173
11174         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11175         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11176         (gst_collect_pads_start), (gst_collect_pads_stop),
11177         (gst_collect_pads_event): Collectpads now holds a reference
11178         to the GstPad that was added. Indeed we don't want to look
11179         at pads that might just go away with no warning...
11180
11181 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11182
11183         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11184         (gst_collect_pads_start), (gst_collect_pads_stop),
11185         (gst_collect_pads_event), (gst_collect_pads_chain):
11186         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11187         Mark Nauwelaerts's patch on bug #328491.
11188
11189 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11190
11191         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11192         (gst_utils_suite):
11193           Add some simple tests for gst_parse_bin_from_description() and
11194           gst_bin_find_unconnected_pad() (#329069).
11195
11196 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11197
11198         * tools/gst-launch.c: (event_loop), (main):
11199           Catch errors during preroll (#320084).
11200
11201 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11202
11203         * plugins/elements/gsttypefindelement.c:
11204         (gst_type_find_element_activate):
11205           Post TYPE_NOT_FOUND error message when typefinding
11206           is unsuccessful in the activate function as well.
11207
11208 2006-02-02  Wim Taymans  <wim@fluendo.com>
11209
11210         * docs/design/part-element-sink.txt:
11211         Updated doc.
11212
11213 2006-02-02  Wim Taymans  <wim@fluendo.com>
11214
11215         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11216         (gst_base_sink_render_object),
11217         (gst_base_sink_queue_object_unlocked):
11218         Only keep track of prerollable items when we are 
11219         prerolling.
11220         Before rendering after preroll, always check if we
11221         have queued items.
11222         Added some more debugging.
11223
11224 2006-02-02  Wim Taymans  <wim@fluendo.com>
11225
11226         * gst/gstelement.c: (gst_element_continue_state),
11227         (gst_element_set_state_func), (gst_element_change_state):
11228         Fixed #326576, been running this for quite some time with
11229         no regressions at all.
11230
11231 2006-02-02  Wim Taymans  <wim@fluendo.com>
11232
11233         * common/gst.supp:
11234         Added more suppressions
11235
11236 2006-02-02  Wim Taymans  <wim@fluendo.com>
11237
11238         * docs/design/part-element-sink.txt:
11239         Updated document.
11240
11241         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11242         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11243         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11244         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11245         (gst_base_sink_do_sync), (gst_base_sink_render_object),
11246         (gst_base_sink_preroll_object),
11247         (gst_base_sink_queue_object_unlocked),
11248         (gst_base_sink_queue_object), (gst_base_sink_event),
11249         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11250         (gst_base_sink_loop), (gst_base_sink_activate_pull),
11251         (gst_base_sink_get_position), (gst_base_sink_change_state):
11252         * libs/gst/base/gstbasesink.h:
11253         Totally refactored matching the design doc.
11254         Use two segments, one to clip incomming buffers and another to
11255         perform sync.
11256         Handle queueing correctly, bypass the queue when playing.
11257         Make EOS cancelable.
11258         Handle errors correctly when operating in pull based mode.
11259
11260         * tests/check/elements/fakesink.c: (GST_START_TEST),
11261         (fakesink_suite):
11262         Added new check for sinks.
11263
11264 2006-02-02  Wim Taymans  <wim@fluendo.com>
11265
11266         * gst/gstsegment.c: (gst_segment_clip):
11267         No reason to refuse to clip when start == -1
11268
11269 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
11270
11271         * docs/README:
11272         * docs/manual/intro-basics.xml:
11273         * docs/manual/intro-preface.xml:
11274         * docs/manual/manual.xml:
11275         * docs/pwg/advanced-dparams.xml:
11276         * docs/pwg/intro-basics.xml:
11277         * docs/pwg/intro-preface.xml:
11278         * docs/pwg/pwg.xml:
11279           describe dparams (controller) for plugins
11280           unify docs a little more
11281
11282 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
11283
11284         * docs/gst/gstreamer-sections.txt:
11285         * gst/gstutils.c: (element_find_unconnected_pad),
11286         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11287         * gst/gstutils.h:
11288           Add new API: gst_parse_bin_from_description() and
11289           gst_bin_find_unconnected_pad() (#329069).
11290
11291 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
11292
11293         * docs/manual/README:
11294           uncover a nasty detail of the docs build
11295
11296 2006-01-31  Wim Taymans  <wim@fluendo.com>
11297
11298         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11299         Don't cache duration messages if we're not going to use or
11300         free them.
11301
11302 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
11303
11304         * docs/manual/advanced-dparams.xml:
11305         * docs/pwg/advanced-dparams.xml:
11306           more dparam docs
11307         * gst/gstindex.c:
11308           fix docs
11309         * libs/gst/controller/lib.c: (gst_controller_init):
11310           init just once
11311
11312 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11313
11314         * gst/gstelement.c: (gst_element_message_full):
11315           also show file/line/func if no additional debug was given
11316
11317 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
11318         
11319         * win32/vs7/grammar.vcproj:
11320           activate copy of autogenerated files for Release mode
11321
11322 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11323         
11324         * win32/common/libgstreamer.def:
11325           export gst_value_compare
11326
11327 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
11328
11329         * plugins/elements/Makefile.am:
11330         * plugins/elements/gstelements.c:
11331         * plugins/elements/gstfdsink.c: (_do_init),
11332         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11333         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11334         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11335         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11336         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11337         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11338         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11339         * plugins/elements/gstfdsink.h:
11340         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11341
11342 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
11343
11344         * docs/manual/advanced-dparams.xml:
11345           describe controller
11346         * docs/manual/advanced-position.xml:
11347         * docs/manual/basics-init.xml:
11348         * docs/manual/manual.xml:
11349         * docs/manual/titlepage.xml:
11350         * docs/pwg/pwg.xml:
11351         * docs/pwg/titlepage.xml:
11352           cleanup xml (more to come)
11353         * libs/gst/controller/gstcontroller.c:
11354           fix typo
11355
11356 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11357         
11358         * win32/vs6/grammar.dsp:
11359           add autogen of gstmarshal.c,h for Release mode
11360                 
11361 2006-01-30  Wim Taymans  <wim@fluendo.com>
11362
11363         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11364         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11365         (gst_base_sink_handle_object), (gst_base_sink_event),
11366         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11367         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11368         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11369         (gst_base_sink_deactivate), (gst_base_sink_activate),
11370         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11371         (gst_base_sink_query), (gst_base_sink_change_state):
11372         Basesink cleanups, remove some old code.
11373         Handle the case where a subclass can preroll in the render
11374         method (mostly audiosinks).
11375         Handle more events.
11376         Remove some locks around variables that are now protected
11377         with the PREROLL_LOCK (clock_id, flushing, ..).
11378         Optimize position query some more, do correct locking.
11379         Remove old code to push queue in state change, this is not
11380         needed anymore since preroll blocks on all prerollable items 
11381         now.
11382         Almost implemented as described in design doc.
11383
11384 2006-01-30  Wim Taymans  <wim@fluendo.com>
11385
11386         * tests/check/gst/gstbin.c: (GST_START_TEST):
11387         Wait for refcount to settle down before checking.
11388
11389 2006-01-30  Wim Taymans  <wim@fluendo.com>
11390
11391         * docs/design/part-element-sink.txt:
11392         Pseudo code overview of desired sink behaviour regarding
11393         preroll.
11394
11395 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11396         * win32/vs6/grammar.dsp:
11397           fix some bugs in Release mode for autogenerated files
11398                 
11399 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11400         * win32/common/libgstbase.def:
11401         * win32/common/libgstreamer.def:
11402           export some new symbols: gst_base_src_set_format,
11403           gst_iterator_next, gst_structure_set_valist
11404
11405 2006-01-29  Julien MOUTTE  <julien@moutte.net>
11406
11407         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11408         Set pad functions unconditionally. Fixes #329105.
11409
11410 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11411         * win32/vs8:
11412           add vs8 project files created by Sergey Scobich
11413
11414 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
11415
11416         * gst/gstutils.c: (gst_element_unlink_pads):
11417         Don't leak pad references.
11418
11419         * tests/check/elements/fakesink.c: (GST_START_TEST):
11420         * tests/check/generic/sinks.c: (GST_START_TEST):
11421         * tests/check/generic/states.c: (GST_START_TEST):
11422         * tests/check/gst/gstbin.c: (GST_START_TEST):
11423         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11424         * tests/check/gst/gstelement.c: (GST_START_TEST):
11425         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11426         * tests/check/gst/gstiterator.c: (GST_START_TEST):
11427         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11428         Fix a bunch of leaks. Make generic/sinks.c
11429         use a bit less cpu by slowing the buffer rate
11430         between fakesrc and fakesink.
11431         
11432 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
11433         * gst/gstcaps.c:
11434         * gst/gstelement.c: (gst_element_send_event):
11435         * gst/gstevent.c:
11436         * gst/gstinfo.c:
11437         * gst/gstiterator.c:
11438         * gst/gstiterator.h:
11439         * gst/gstpad.c: (gst_pad_send_event):
11440         * gst/gststructure.c:
11441         * gst/gsturi.c:
11442         * gst/gstutils.c:
11443         * gst/gstvalue.c:
11444         * libs/gst/base/gstadapter.c:
11445           doc fixes, to link to function, just write gst_cool_function(), don't
11446           prefix with '#'
11447
11448 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11449
11450         * plugins/elements/gsttee.c: (gst_tee_do_push),
11451         (gst_tee_handle_buffer):
11452         Always prefer an actual return value from a src
11453         pad in place of NOT_LINKED. This means we return
11454         WRONG_STATE when all src pads are WRONG_STATE
11455         instead of NOT_LINKED.
11456
11457         Lock when replacing the last message to prevent
11458         racing with the get_property method.
11459
11460         Add debug output
11461
11462 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11463
11464         * tests/check/Makefile.am:
11465         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11466         (main):
11467         Add a very simple check that should have caught the memleak I fixed
11468         last night (if not for the slice allocator hiding it)
11469
11470 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11471
11472         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11473         (gst_bin_remove_func), (gst_bin_handle_message_func),
11474         (bin_query_duration_fold), (bin_query_generic_fold):
11475         Clean up references to the clock provider when disposed or when
11476         handling a clock-lost message from it.
11477
11478         Unref sinks when performing a query via gst_iterator_fold, as the
11479         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11480
11481         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11482         (gst_clock_set_master):
11483         Drop our reference to the master clock, if any, when we are disposed.
11484
11485         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11486         Chain up in dispose. 
11487
11488 2006-01-26  Wim Taymans  <wim@fluendo.com>
11489
11490         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11491         Add some debugging.
11492
11493 2006-01-26  Julien MOUTTE  <julien@moutte.net>
11494
11495         * plugins/elements/gsttee.c: (gst_tee_do_push),
11496         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11497         handles pad being NOT_LINKED or in WRONG_STATE.
11498
11499 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11500
11501         * win32/MANIFEST:
11502           more updating
11503
11504 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11505
11506         * win32/MANIFEST:
11507           remove obsolete entry
11508
11509 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11510
11511         * docs/gst/gstreamer-sections.txt:
11512         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11513         (gst_bin_iterate_sources), (gst_bin_send_event):
11514         * gst/gstbin.h:
11515         * gst/gstelement.c: (gst_element_send_event):
11516         * gst/gstevent.c:
11517         * gst/gstpad.c: (gst_pad_send_event):
11518           added code for downstream events, reviewed docs in gstevent.c
11519
11520 2006-01-25  Julien MOUTTE  <julien@moutte.net>
11521
11522         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11523         We only query position using the clock in the playing state.
11524         Query peer in the other cases.
11525         * win32/common/config.h: Updates.
11526
11527 2006-01-24  Wim Taymans  <wim@fluendo.com>
11528
11529         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11530         A clock entry that is scheduled for the exact time of the
11531         clock is still in time.
11532
11533         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11534         (gst_base_sink_do_sync):
11535         Add some more debug info.
11536
11537 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
11538
11539         * win32/vs7:
11540           Add new vs7 project files and solution.
11541
11542 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
11543
11544         * win32/vs7:
11545           all files removed as they were out-dated.
11546
11547 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11548
11549         * docs/random/release:
11550           update notes
11551         * gst/gstbin.c: (gst_bin_init):
11552         * gst/gstbus.c: (gst_bus_new):
11553         * gst/gstbus.h:
11554         * gst/gstpipeline.c: (gst_pipeline_init):
11555           use gst_bus_new(), improve logging, fix docs
11556         * win32/common/config.h:
11557           update for cvs build
11558
11559 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11560
11561         * autogen.sh:
11562           up required version of automake to 1.7
11563
11564 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
11565
11566         * win32/common/libgstreamer.def:
11567           export gst_buffer_is_metadata_writable
11568
11569 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
11570
11571         * docs/gst/gstreamer-sections.txt:
11572         * gst/gstevent.h:
11573           Add gst_event_replace() (#327001)
11574
11575 2006-01-20  Wim Taymans  <wim@fluendo.com>
11576
11577         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11578         Make it actually compile too..
11579
11580 2006-01-20  Wim Taymans  <wim@fluendo.com>
11581
11582         * gst/gstcaps.c:
11583         Clarify behaviour of _is_equal() when passing NULL parameters.
11584
11585         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11586         (gst_pad_set_caps):
11587         Cleanups. Don't unref NULL caps.
11588         When setting the same caps, protect caps of the pad with
11589         proper lock.
11590         Use full functionality of _is_equal() when comparing caps.
11591
11592 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
11593
11594         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11595         Don't loop infinitely if there are no buffers to present. Partially
11596         fixes #327197, but collectpads is just broken for reusing elements
11597         to do multiple encodes atm.
11598
11599 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
11600
11601         * tools/gst-inspect.c: (print_element_features):
11602         * tools/gst-xmlinspect.c: (main):
11603         URL_HANDLER is not a plugin feature we can search for in
11604         the registry.
11605
11606 2006-01-19  Edward Hervey  <edward@fluendo.com>
11607
11608         * gst/gstelement.c: (gst_element_pads_activate): 
11609         When activating, do src pads first, then sink pads.
11610         When de-activating, do sink pads first, then src pads.
11611
11612 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11613
11614         * docs/gst/gstreamer-sections.txt:
11615         Add gst_index_add_associationv to the docs
11616
11617 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11618
11619         * gst/gstevent.c:
11620           Fix docs typo
11621
11622         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11623         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11624           Do some refactoring. Doesn't actually change functionality,
11625           but makes landing the DRAIN event easier later.
11626
11627 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
11628
11629         * docs/pwg/advanced-scheduling.xml:
11630           Update from 0.9.x to 0.10 API and make example a bit
11631           clearer.
11632
11633 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11634
11635         * docs/gst/gstreamer-sections.txt:
11636         Add gst_buffer_(is|make)_metadata_writable methods.
11637
11638 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11639
11640         * docs/design/part-sparsestreams.txt:
11641         Update sparse streams doc, hopefully for greater clarity
11642
11643 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
11644
11645         * docs/design/part-events.txt:
11646         Remove mention of FILLER events.
11647         Add DRAIN event.
11648
11649         * docs/design/part-sparsestreams.txt:
11650         Write some things about using NEWSEGMENT to keep sparse streams
11651         flowing.
11652
11653 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
11654
11655         * gst/gstbin.c: (gst_bin_dispose):
11656           Guard gst_object_unref call against a NULL object (dispose
11657           can theoretically be called multiple times).
11658           
11659 2006-01-18  Wim Taymans  <wim@fluendo.com>
11660
11661         * gst/gstbin.c: (gst_bin_element_set_state):
11662         * gst/gstclock.c: (gst_clock_id_wait):
11663         Added some more debug info.
11664
11665         * libs/gst/base/gstadapter.c:
11666         Added more docs.
11667
11668         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11669         (gst_base_sink_do_sync), (gst_base_sink_chain):
11670         Added some comments.
11671
11672 2006-01-18  Wim Taymans  <wim@fluendo.com>
11673
11674         * tests/check/Makefile.am:
11675         * tests/check/elements/fakesink.c: (chain_async_buffer),
11676         (chain_async), (chain_async_return), (GST_START_TEST),
11677         (fakesink_suite), (main):
11678         Added fakesink test that checks prerolling and clipping
11679         behaviour.
11680
11681         * tests/check/gst/gstutils.c: (GST_START_TEST):
11682         Make check run faster so that buildbots don't timeout.
11683
11684 2006-01-18  Wim Taymans  <wim@fluendo.com>
11685
11686         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11687         (gst_base_sink_do_sync):
11688         Some cleanups.
11689         When the sink finishes blocking on the preroll buffer, it can
11690         immediatly render it instead of rendering when the next buffer
11691         arrives.
11692
11693 2006-01-18  Wim Taymans  <wim@fluendo.com>
11694
11695         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
11696         (gst_base_sink_get_property), (gst_base_sink_do_sync),
11697         (gst_base_sink_chain):
11698         Small cleanups.
11699         GST_ELEMENT_CLOCK and sync are protected with LOCK.
11700         Don't store _last_stop if the buffer is dropped.
11701
11702 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
11703
11704         * plugins/elements/gsttypefindelement.c:
11705         (gst_type_find_element_class_init):
11706           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
11707           object method handler that sets the caps on the pad and we want
11708           that to happen before we emit the signal (fixes e.g. feeding a
11709           plain text file to decodebin).
11710
11711 2006-01-18  Christian Schaller  <Christian@fluendo.com>
11712
11713         * gst/gstplugin.c: Add MPL and Proprietary as license options
11714
11715 2006-01-18  Andy Wingo  <wingo@pobox.com>
11716
11717         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
11718         symbol was exported before, it appears this was just an oversight.
11719         Fixes #168703.
11720         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
11721
11722         * gst/gstindex.c (gst_index_add_associationv): Changed int in
11723         prototype to gint. OK since this prototype was not in the header.
11724
11725 2006-01-17  Andy Wingo  <wingo@pobox.com>
11726
11727         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
11728         registry while we remove plugins.
11729
11730         * tools/gst-inspect.c (print_element_info): Don't unref the
11731         factory arg, that should be the responsibility of whatever code
11732         received the ref. Fixes a double-free when called from
11733         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
11734         (main): Unref the factory if we have one.
11735         (print_element_list): No change -- relies on the
11736         plugin_feature_list_free to free the list of features.
11737
11738 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
11739
11740         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11741         (gst_buffer_make_metadata_writable):
11742         * gst/gstbuffer.h:
11743         * libs/gst/base/gstbasetransform.c:
11744         (gst_base_transform_prepare_output_buf):
11745         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11746         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11747           Replace gst_buffer_(make|is)_metadata_writable patch now
11748           that the release is out.
11749
11750 2006-01-17  Andy Wingo  <wingo@pobox.com>
11751
11752         * gst/gstregistry.c: Reflow design comment. Update so as to speak
11753         in the present tense without reference to versions.
11754
11755         * gst/gstregistry.c (gst_registry_add_plugin)
11756         (gst_registry_remove_plugin, gst_registry_remove_feature)
11757         (gst_registry_find_feature, gst_registry_get_feature_list)
11758         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
11759         (gst_registry_lookup, gst_registry_scan_path)
11760         (_gst_registry_remove_cache_plugins)
11761         (gst_registry_get_feature_list_by_plugin): Add argument
11762         validation.
11763
11764 === release 0.10.2 ===
11765
11766 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
11767
11768         * configure.ac:
11769           releasing 0.10.2, "If man is five"
11770
11771 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
11772
11773         * gst/gstbuffer.c:
11774         * gst/gstbuffer.h:
11775         * libs/gst/base/gstbasetransform.c:
11776         (gst_base_transform_prepare_output_buf):
11777         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11778         * tests/check/gst/gstbuffer.c: (gst_test_suite):
11779           Back out patch until after the release.
11780
11781 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
11782
11783         * gst/gstminiobject.c:
11784           Spelling fix in docs.
11785         * ChangeLog - remove conflict indicator
11786
11787 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
11788
11789         Reviewed By: Andy Wingo
11790
11791         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11792         (gst_buffer_make_metadata_writable):
11793         * gst/gstbuffer.h:
11794           Add gst_buffer_(is|make)_metadata_writable as analogues of
11795           gst_buffer_(is|make)_writable.
11796
11797         * libs/gst/base/gstbasetransform.c:
11798         (gst_base_transform_prepare_output_buf):
11799         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11800           Use name gst_buffer_(is|make)_metadata_writable functions.
11801
11802         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11803           Test gst_buffer_(is|make)_metadata_writable
11804         
11805           (Closes: #324162)
11806
11807 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11808
11809         * docs/manual/Makefile.am:
11810           don't do parallel make
11811         * configure.ac:
11812           AC_SUBST HOST_CPU
11813         * win32/common/config.h.in:
11814           add generations for HOST_CPU and GST_MAJORMINOR
11815         * win32/common/config.h:
11816           commit generated result
11817
11818 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
11819
11820         * docs/manual/appendix-integration.xml:
11821           Update GNOME integration section to use gst_init_get_option_group()
11822           instead of the old popt stuff (#322911). Also, GNOME applications
11823           should  now use gconf*sink and gconf*src instead of the old gconf
11824           helper lib we had.
11825
11826 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
11827
11828
11829         * docs/gst/gstreamer-docs.sgml:
11830         * docs/gst/gstreamer-sections.txt:
11831         * docs/libs/gstreamer-libs-sections.txt:
11832           add new API entries to the docs
11833         * libs/gst/controller/Makefile.am:
11834         * libs/gst/controller/gstcontroller.c:
11835         * libs/gst/controller/gstcontroller.h:
11836         * libs/gst/controller/gstcontrollerprivate.h:
11837         * libs/gst/controller/gsthelper.c:
11838         * libs/gst/controller/gstinterpolation.c:
11839           move private structs to private header
11840         * po/README:
11841           gstreamer-0.7 -> gstreamer-0.10
11842         * tests/check/libs/struct_i386.h:
11843           remove private structs
11844
11845 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11846
11847         * plugins/indexers/Makefile.am:
11848           Fixes as part of #317048
11849
11850 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11851
11852         * plugins/indexers/Makefile.am:
11853           fix #316086 - compilation when mmap is missing
11854
11855 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
11856
11857         * libs/gst/base/gstbasesink.c:
11858           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
11859           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11860         * win32/common/config.h:
11861           added some defines GST_MAJORMINOR and HOST_CPU
11862         * win32/common/libgstbase.def:
11863         * win32/common/libgstreamer.def:
11864           added some exported functions.
11865
11866 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
11867
11868         * libs/gst/controller/gstcontroller.c:
11869         (gst_controlled_property_set_interpolation_mode),
11870         (gst_controlled_property_new):
11871         * libs/gst/controller/gstcontroller.h:
11872         * libs/gst/controller/gstinterpolation.c:
11873         (interpolate_none_get_string_value_array):
11874           make G_TYPE_STRING controlable
11875
11876 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
11877
11878         * tools/README:
11879         * tools/gst-feedback.1.in:
11880         * tools/gst-inspect.1.in:
11881         * tools/gst-launch.1.in:
11882         * tools/gst-md5sum.1.in:
11883         * tools/gst-typefind.1.in:
11884         * tools/gst-xmlinspect.1.in:
11885         * tools/gst-xmllaunch.1.in:
11886           cleanup man-pages, remove reference to gst-register, document env-vars
11887
11888 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
11889
11890         * gst/gstbuffer.c: (gst_buffer_span):
11891           gst_buffer_span should copy the timestamp of the first buffer
11892           if they were both originally overlapping subbuffers of the 
11893           same parent, using the same logic as the 'slow copy' case.
11894
11895 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
11896
11897         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11898           Need to awaken ALL the pads when we pop a buffer, otherwise
11899           collectpads only works when there is 2 input streams.
11900
11901 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
11902
11903         * docs/random/ensonic/media-device-daemon.txt:
11904           more ideas (dbus)
11905         * gst/gstbuffer.c:
11906           fix doc example, add clarification
11907         * tools/gst-launch.1.in:
11908           add initial info about GST_PLUGIN_PATH, needs more work
11909
11910 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11911
11912         * docs/manual/basics-bins.xml:
11913         * docs/manual/basics-elements.xml:
11914         * docs/manual/intro-basics.xml:
11915           Some more minor docs additions and updates.
11916
11917 2006-01-11  Wim Taymans  <wim@fluendo.com>
11918
11919         * docs/manual/basics-bins.xml:
11920         * docs/manual/basics-elements.xml:
11921         Some small fixes as pointed out by Ser-ver on IRC.
11922
11923 2006-01-10  Edward Hervey  <edward@fluendo.com>
11924
11925         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11926         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11927         the single-segment mode.
11928
11929 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
11930
11931         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11932
11933         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11934         (gst_base_src_perform_seek), (gst_base_src_send_event),
11935         (gst_base_src_set_property), (gst_base_src_get_property),
11936         (gst_base_src_loop), (gst_base_src_start),
11937         (gst_base_src_activate_push):
11938         * libs/gst/base/gstbasesrc.h:
11939           Name (private) union; makes Sun's Forte compiler happy (#324900).
11940
11941 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
11942
11943         * README:
11944           gst-register is gone.
11945
11946 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11947
11948         * gst/gstvalue.c: (_gst_value_initialize):
11949           make the G_TYPE_DATE instantiation work if debug is disabled
11950
11951 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
11952
11953         * gst/gstmessage.c: (gst_message_parse_tag),
11954         (gst_message_parse_error), (gst_message_parse_warning):
11955           Don't crash when return location for error/warning debug
11956           string is NULL; add fact that return locations can be
11957           NULL to docs where appropriate.
11958
11959 2006-01-05  Wim Taymans  <wim@fluendo.com>
11960
11961         * gst/gstplugin.c: (gst_plugin_load_file):
11962         Replace strdup by g_strdup.
11963
11964 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11965
11966         * docs/pwg/advanced-types.xml:
11967           fix doc borkage
11968
11969 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11970
11971         submitted by: Abel Cheung
11972
11973         * po/LINGUAS:
11974         * po/zh_TW.po:
11975           Added Chinese (traditional) translation
11976
11977 2006-01-04  Wim Taymans  <wim@fluendo.com>
11978
11979         * docs/manual/basics-pads.xml:
11980         * docs/plugins/Makefile.am:
11981         * docs/plugins/gstreamer-plugins-docs.sgml:
11982         * docs/plugins/gstreamer-plugins-sections.txt:
11983         * docs/pwg/advanced-clock.xml:
11984         * docs/pwg/advanced-scheduling.xml:
11985         * docs/pwg/advanced-types.xml:
11986         * plugins/elements/gstfdsink.c:
11987         * plugins/elements/gstfdsrc.c:
11988         * plugins/elements/gstfdsrc.h:
11989         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11990         * plugins/elements/gstidentity.h:
11991         * plugins/elements/gstqueue.h:
11992         * plugins/elements/gsttee.c:
11993         * plugins/elements/gsttee.h:
11994         * plugins/elements/gsttypefindelement.c:
11995         (gst_type_find_element_class_init):
11996         * plugins/elements/gsttypefindelement.h:
11997         Small updates to various docs.
11998         Added core plugins to docs.
11999
12000 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12001
12002         * common/gst.supp:
12003           add a suppression for liboil's uninitialized variable
12004
12005 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12006
12007         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12008
12009         * gst/gstutils.h:
12010           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12011           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12012           compiler switch is being used (#325429).
12013
12014 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12015
12016         * gst/gstbin.c: (gst_bin_query):
12017           Disable duration query caching in bins until it gets
12018           fixed (see #324807).
12019
12020 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12021
12022         * tools/gst-inspect.c: (print_element_properties_info):
12023           Handle properties of POINTER and BOXED type.
12024
12025 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12026
12027         * gst/gst.c: (init_post):
12028           Init tags stuff and some other things before loading
12029           any static plugins (there may be other static plugins
12030           than just the GStreamer ones, and they may want to
12031           register their own tags or formats or whatever, and
12032           preferably without segfaulting).
12033
12034         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12035           Print at least a warning in the debug logs if we drop a
12036           query just because we don't know how to adjust the value
12037           in the particular format.
12038
12039 2005-12-24  David Schleef  <ds@schleef.org>
12040
12041         * tools/gstreamer-completion:
12042           Replacement for gst-complete written in sh and sed.  Only
12043           completes names of features, but that's 90% of what I want
12044           it for.  Properties are not available in registry.xml.  (Maybe
12045           they should be...)
12046
12047 === release 0.10.1 ===
12048
12049 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12050
12051         * configure.ac:
12052           releasing 0.10.1, "Nollaig chridheil"
12053
12054 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12055
12056         * docs/faq/cvs.xml:
12057           Add missing quote, should be make ERROR_CFLAGS="".
12058
12059 2005-12-20  Wim Taymans  <wim@fluendo.com>
12060
12061         * docs/design/part-trickmodes.txt:
12062         More documentation on trickmodes.
12063
12064 2005-12-20  Edward Hervey  <edward@fluendo.com>
12065
12066         * gst/gstcaps.c: (gst_static_caps_get_type):
12067         * gst/gstcaps.h:
12068           API addition: GST_TYPE_STATIC_CAPS
12069         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12070         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12071         * gst/gstpadtemplate.h:
12072           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12073         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12074         bindings.
12075
12076 2005-12-18  Wim Taymans  <wim@fluendo.com>
12077
12078         * libs/gst/base/gstadapter.c:
12079         * libs/gst/base/gstadapter.h:
12080         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12081         (gst_base_sink_get_position):
12082         * libs/gst/base/gstbasesink.h:
12083         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12084         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12085         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12086         (gst_base_src_send_event), (gst_base_src_update_length),
12087         (gst_base_src_get_range), (gst_base_src_loop),
12088         (gst_base_src_start):
12089         * libs/gst/base/gstbasesrc.h:
12090         * libs/gst/base/gstbasetransform.h:
12091         * libs/gst/base/gstcollectpads.h:
12092         * libs/gst/base/gstpushsrc.c:
12093         * libs/gst/base/gstpushsrc.h:
12094         * libs/gst/dataprotocol/dataprotocol.c:
12095         * libs/gst/dataprotocol/dataprotocol.h:
12096         * libs/gst/net/gstnetclientclock.h:
12097         * libs/gst/net/gstnettimeprovider.h:
12098         Documentation updates.
12099
12100 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12101
12102         * docs/manual/basics-helloworld.xml:
12103           Remove superfluous closing bracket in helloworld example.
12104
12105 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12106
12107         * tools/gst-launch.1.in:
12108           Update gst-launch man page; add a section with useful
12109           environment variables. Fixes #323882.
12110
12111 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12112
12113         * gst/gst.c:
12114         * gst/gst_private.h:
12115           change some char* into char[]
12116
12117 2005-12-16  Wim Taymans  <wim@fluendo.com>
12118
12119         * gst/gstregistryxml.c: (load_feature):
12120         Cleanups.
12121         Don't use g_object_unref on GstObjects so that we avoid
12122         leaks on unsafe glibs.
12123
12124 2005-12-16  Wim Taymans  <wim@fluendo.com>
12125
12126         * gst/gstbin.c: (gst_bin_recalc_state):
12127         Small doc updates.
12128
12129 2005-12-16  Wim Taymans  <wim@fluendo.com>
12130
12131         * common/check.mak:
12132         Added make forever target for check.
12133
12134 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12135
12136         * gst/gst.c: (init_post):
12137           make the registry cache file HOST_CPU-dependent
12138
12139 2005-12-16  Andy Wingo  <wingo@pobox.com>
12140
12141         * plugins/elements/gstbufferstore.c
12142         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12143         return value.
12144
12145         * tests/check/gst/gstobject.c
12146         (test_fake_object_name_threaded_unique): Pay attention to
12147         g_list_sort return value.
12148
12149 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12150
12151         * tools/gst-feedback-m.m:
12152           Update for 0.9/0.10 (fixes #323870).
12153
12154 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12155
12156         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12157           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12158           
12159         * tests/check/gst/gstminiobject.c: (my_foo_init),
12160         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12161         (test_value_collection), (gst_mini_object_suite):
12162           Add test to ensure refcounts end up as expected when passing
12163           GstMiniObjects through g_object_get() and g_object_set().
12164
12165 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12166
12167         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12168         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12169         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12170         of collectpads. This version removes a lot of races without
12171         touching API/ABI. Yay !
12172
12173 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12174
12175         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12176           Don't allow activation of a srcpad in pull_range if it has no
12177           getrange function.
12178           Change some debug statements to be a little clearer
12179
12180         * plugins/elements/gsttypefindelement.c:
12181         (gst_type_find_handle_src_query):
12182           Check that we have a peer before executing queries thereupon.
12183
12184         * tests/examples/metadata/read-metadata.c: (message_loop):
12185           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12186           immediately return us any available message with 0 timeout.
12187
12188 2005-12-12  Michael Smith  <msmith@fluendo.com>
12189
12190         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12191           Don't unref factories after calling them.
12192         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12193         * plugins/elements/gsttypefindelement.c:
12194         (gst_type_find_element_chain):
12195           Free lists of factories after using them. Fixing typefinding memory
12196           leaks.
12197
12198 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12199
12200         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12201         (gst_plugin_feature_load):
12202           more meaningful debug output
12203         * configure.ac:
12204         * tests/Makefile.am:
12205         * tests/old/examples/Makefile.am:
12206           make make distcheck happy again
12207
12208 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12209
12210         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12211           Catch the special case where we are operating chain-based,
12212           but the downstream peer pad has no chain function. Emit a
12213           custom error message in this case instead of letting the
12214           core generate one implying that this is some sort of core
12215           bug. It's not, it just means that whatever got plugged
12216           into the pipeline downstream when we announced the type
12217           can only operate pull-based, while our source can only
12218           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12219           Error string has not been marked for translation yet, as
12220           it probably needs some more work first.
12221
12222         (gst_type_find_element_get_best_possibility):
12223           Add helper function to find the best of all available
12224           found possibilities that qualify given the min. threshold.
12225
12226         (gst_type_find_element_handle_event):
12227           Fix the case where we get an EOS while still in TYPEFIND
12228           mode (we want to chose the best of all possible types,
12229           not just the first type that happens to be in our unsorted
12230           list of possible types).
12231
12232         (gst_type_find_element_chain):
12233           Make sure we return GST_FLOW_ERROR when we errored out
12234           in stop_typefinding(); also, don't just find the best of
12235           all found type entries and then use the last examined
12236           type entry, but actually use the best entry.
12237
12238 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12239
12240         * tests/examples/typefind/typefind.c: (type_found):
12241         * tests/examples/xml/runxml.c: (xml_loaded):
12242           More gcc4 fixes and a mem leak fix.
12243
12244 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12245
12246         * tests/examples/xml/createxml.c: (object_saved):
12247           gcc 4 fixes
12248
12249 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12250
12251         * tests/Makefile.am:
12252           enable the examples even more
12253
12254 2005-12-12  Andy Wingo  <wingo@pobox.com>
12255
12256         * libs/gst/net/gstnettimeprovider.c
12257         (gst_net_time_provider_class_init, gst_net_time_provider_init)
12258         (gst_net_time_provider_set_property)
12259         (gst_net_time_provider_get_property):
12260         API addition: Export "active" as a GObject property.
12261         (gst_net_time_provider_thread): Only respond to time queries if
12262         the time provider is active.
12263
12264         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12265         NetTimeProvider, preserving binary compat.
12266
12267 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12268
12269         * tests/examples/controller/audio-example.c: (main):
12270         * tests/examples/launch/Makefile.am:
12271           convert comments again
12272
12273 2005-12-12  Wim Taymans  <wim@fluendo.com>
12274
12275         * libs/gst/base/gstpushsrc.c:
12276         Fix typo.
12277
12278 2005-12-12  Wim Taymans  <wim@fluendo.com>
12279
12280         * docs/libs/gstreamer-libs-sections.txt:
12281         Added new symbol to docs.
12282
12283         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12284         (gst_base_src_init), (gst_base_src_set_format),
12285         (gst_base_src_default_query), (gst_base_src_query),
12286         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12287         (gst_base_src_perform_seek), (gst_base_src_send_event),
12288         (gst_base_src_default_event), (gst_base_src_event_handler),
12289         (gst_base_src_set_property), (gst_base_src_get_property),
12290         (gst_base_src_wait), (gst_base_src_do_sync),
12291         (gst_base_src_update_length), (gst_base_src_get_range),
12292         (gst_base_src_check_get_range), (gst_base_src_loop),
12293         (gst_base_src_default_negotiate), (gst_base_src_start),
12294         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12295         (gst_base_src_change_state):
12296         * libs/gst/base/gstbasesrc.h:
12297         Implement seeking to other formats than _BYTES.
12298         Implement more seeking methods correctly.
12299         Doc updates.
12300         Added query vmethod.
12301         Added do_seek vmethod to make life easier for subclasses
12302         when seeking.
12303         API addition: gst_base_src_set_format()
12304
12305 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12306
12307         * tests/examples/Makefile.am:
12308           added that too
12309
12310 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12311
12312         * configure.ac:
12313         * docs/random/ensonic/media-device-daemon.txt:
12314         * tests/examples/controller/.cvsignore:
12315         * tests/examples/controller/Makefile.am:
12316         * tests/examples/controller/audio-example.c: (main):
12317         * tests/examples/helloworld/.cvsignore:
12318         * tests/examples/helloworld/Makefile.am:
12319         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12320         * tests/examples/launch/.cvsignore:
12321         * tests/examples/launch/Makefile.am:
12322         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12323         * tests/examples/metadata/.cvsignore:
12324         * tests/examples/metadata/Makefile.am:
12325         * tests/examples/metadata/read-metadata.c: (message_loop),
12326         (make_pipeline), (print_tag), (main):
12327         * tests/examples/queue/.cvsignore:
12328         * tests/examples/queue/Makefile.am:
12329         * tests/examples/queue/queue.c: (event_loop), (main):
12330         * tests/examples/typefind/.cvsignore:
12331         * tests/examples/typefind/Makefile.am:
12332         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12333         (main):
12334         * tests/examples/xml/.cvsignore:
12335         * tests/examples/xml/Makefile.am:
12336         * tests/examples/xml/createxml.c: (object_saved), (main):
12337         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12338         * tests/old/examples/Makefile.am:
12339         * tests/old/examples/TODO:
12340         * tests/old/examples/controller/.cvsignore:
12341         * tests/old/examples/controller/Makefile.am:
12342         * tests/old/examples/controller/audio-example.c:
12343         * tests/old/examples/helloworld/.cvsignore:
12344         * tests/old/examples/helloworld/Makefile.am:
12345         * tests/old/examples/helloworld/helloworld.c:
12346         * tests/old/examples/launch/.cvsignore:
12347         * tests/old/examples/launch/Makefile.am:
12348         * tests/old/examples/launch/mp3parselaunch.c:
12349         * tests/old/examples/launch/mp3play:
12350         * tests/old/examples/manual/Makefile.am:
12351         * tests/old/examples/metadata/Makefile.am:
12352         * tests/old/examples/metadata/read-metadata.c:
12353         * tests/old/examples/queue/.cvsignore:
12354         * tests/old/examples/queue/Makefile.am:
12355         * tests/old/examples/queue/queue.c:
12356         * tests/old/examples/typefind/.cvsignore:
12357         * tests/old/examples/typefind/Makefile.am:
12358         * tests/old/examples/typefind/typefind.c:
12359         * tests/old/examples/xml/.cvsignore:
12360         * tests/old/examples/xml/Makefile.am:
12361         * tests/old/examples/xml/createxml.c:
12362         * tests/old/examples/xml/runxml.c:
12363           applied some simple fixing to some examples
12364           re-enabled the working examples
12365
12366 2005-12-12  Wim Taymans  <wim@fluendo.com>
12367
12368         * gst/gstsegment.c: (gst_segment_init),
12369         (gst_segment_set_last_stop), (gst_segment_set_seek),
12370         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12371         (gst_segment_to_running_time):
12372         Added more documentation.
12373         Make sure the last_pos value is updated properly.
12374         Make sure to_stream_time and to_running_time don't
12375         operate on wrong values.
12376
12377         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12378         Update check.
12379
12380 2005-12-12  Michael Smith  <msmith@fluendo.com>
12381
12382         * plugins/elements/gsttypefindelement.c: (free_entry),
12383         (gst_type_find_element_chain):
12384           Now that we're not leaking factories, make sure we keep references
12385           to them while we need them.
12386
12387 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12388
12389         * tests/check/gst/struct_i386.h:
12390           ifdef out the XML structs
12391
12392 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12393
12394         * gst/gstvalue.c: (gst_value_transform_double_fraction):
12395           floor is not needed, F is always positive; this obviates the
12396           need for adding -lm when building without libxml
12397
12398 2005-12-12  Wim Taymans  <wim@fluendo.com>
12399
12400         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12401         Take current playback rate into account when reporting
12402         the position.
12403
12404 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12405
12406         * docs/manual/mime-world.fig:
12407           Let's try this again, this time with a file that is
12408           actually in XFig format.
12409
12410 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12411
12412         * docs/manual/mime-world.fig:
12413           Add audioconvert element to diagram so that it
12414           matches the text and the code (fixes #319526).
12415
12416 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12417
12418         * docs/pwg/building-chainfn.xml:
12419         * docs/pwg/building-pads.xml:
12420         * docs/pwg/building-state.xml:
12421         * docs/pwg/other-source.xml:
12422           Update state change stuff for 0.10 (fixes #322969).
12423
12424 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12425
12426         * docs/manual/advanced-dataaccess.xml:
12427         * docs/manual/appendix-checklist.xml:
12428         * docs/manual/appendix-programs.xml:
12429         * docs/manual/basics-pads.xml:
12430         * docs/manual/highlevel-components.xml:
12431         * docs/manual/manual.xml:
12432           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12433           add converters in front of pipelines; remove curly
12434           brackets for threads stuff, they no longer exist; use
12435           GST_TYPE_FRACTION for framerates; update some pieces of
12436           code to 0.10, but there's plenty more to do.
12437
12438         * docs/manual/appendix-porting.xml:
12439           Expand on asynchroneous state changes; s/0.9/0.10/;
12440           mention disappearance of gst_init_get_popt_table()
12441           (fixes #322916).
12442
12443 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12444
12445         * docs/faq/using.xml:
12446           Spider no longer exists, and neither does gst-launch-ext.
12447           Update examples to use decodebin and playbin and put
12448           converters in front of sinks (fixes #323726).
12449
12450 2005-12-09  Michael Smith  <msmith@fluendo.com>
12451
12452         * plugins/elements/gsttypefindelement.c: (find_peek),
12453         (gst_type_find_element_chain):
12454           Fix leaking element factories in typefinding.
12455           Fix problem where we forgot about a probable type on non-seekable
12456           files, and thus later mis-typefound it.
12457
12458 2005-12-09  Michael Smith  <msmith@fluendo.com>
12459
12460         * common/m4/gst-makecontext.m4:
12461         * common/m4/gst-mcsc.m4:
12462         * configure.ac:
12463         * win32/common/config.h:
12464         * win32/common/config.h.in:
12465           Remove makecontext stuff; not used in 0.10 and causes problems on
12466           HPUX according to bug #322441
12467
12468 2005-12-07  Wim Taymans  <wim@fluendo.com>
12469
12470         * tests/check/Makefile.am:
12471         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12472         (main):
12473         * tests/check/libs/struct_i386.h:
12474         Added ABI check for libs
12475
12476 2005-12-07  Wim Taymans  <wim@fluendo.com>
12477
12478         * tests/check/Makefile.am:
12479         And add the struct_i386.h to dist.
12480
12481 2005-12-07  Wim Taymans  <wim@fluendo.com>
12482
12483         * tests/check/Makefile.am:
12484         * tests/check/gst/.cvsignore:
12485         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12486         (main):
12487         * tests/check/gst/struct_i386.h:
12488         Added check for ABI compatibility.
12489
12490 2005-12-07  Wim Taymans  <wim@fluendo.com>
12491
12492         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12493         (gst_fake_src_get_times), (gst_fake_src_create):
12494         Fix broken sync option, fixes #323259
12495
12496 2005-12-07  Wim Taymans  <wim@fluendo.com>
12497
12498         * gst/gstbuffer.c:
12499         Small docs update.
12500
12501         * gst/gstcaps.c: (gst_caps_is_equal):
12502         Don't assert on NULL <--> X. Fixes #323260
12503
12504         * gst/gstminiobject.c: (gst_mini_object_replace):
12505         If we're doing atomic operations, we might just as well use
12506         the proper way to get an atomic pointer.
12507
12508         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12509         Clean up debugging.
12510
12511 2005-12-07  Michael Smith  <msmith@fluendo.com>
12512
12513         * gst/parse/grammar.y:
12514           Remove handling of { } for threads.
12515
12516 2005-12-06  David Schleef  <ds@schleef.org>
12517
12518         * libs/gst/base/gstbasetransform.c: speling fix.
12519
12520 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12521
12522         * docs/libs/tmpl/gstdataprotocol.sgml:
12523         * docs/random/omega/testing/gstobject.c:
12524         * gst/gst.c:
12525         * gst/gstclock.c:
12526         * gst/gstelement.c:
12527         * gst/gstelementfactory.c:
12528         * gst/gsterror.c:
12529         * gst/gstevent.c:
12530         * gst/gstghostpad.c:
12531         * gst/gstinfo.c:
12532         * gst/gstpadtemplate.c:
12533         * gst/gstregistryxml.c:
12534         * gst/gsttaglist.c:
12535         * gst/gsttagsetter.c:
12536         * gst/gsttypefind.c:
12537         * gst/gstvalue.c:
12538         * libs/gst/base/gstbasesrc.c:
12539         * libs/gst/net/gstnetclientclock.c:
12540         * libs/gst/net/gstnettimeprovider.c:
12541         * plugins/elements/gstfakesrc.c:
12542         * plugins/elements/gstfdsrc.c:
12543         * plugins/elements/gstfilesrc.c:
12544         * plugins/elements/gstidentity.c:
12545         * plugins/elements/gstqueue.c:
12546         * plugins/elements/gsttypefindelement.c:
12547         * plugins/indexers/gstfileindex.c:
12548         * plugins/indexers/gstmemindex.c:
12549         * tests/check/gst/gsttag.c:
12550         * tests/old/examples/cutter/cutter.c:
12551         * tests/old/examples/mixer/mixer.c:
12552         * tests/old/examples/xml/runxml.c: (main):
12553         * tests/old/testsuite/caps/normalisation.c:
12554         * tests/old/testsuite/debug/global.c:
12555         * tests/old/testsuite/parse/parse1.c:
12556         * tools/gst-xmlinspect.c:
12557         * win32/common/dirent.c:
12558           expand tabs
12559
12560 === release 0.10.0 ===
12561
12562 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12563
12564         * configure.ac:
12565           releasing 0.10.0, "Maroilles"
12566
12567 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12568
12569         submitted by: Funda Wang <fundawang@linux.net.cn>
12570
12571         * po/LINGUAS:
12572         * po/zh_CN.po:
12573           added Chinese (Traditional) translation
12574
12575 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12576
12577         * docs/gst/gstreamer-sections.txt:
12578         * docs/libs/tmpl/gstdataprotocol.sgml:
12579         * docs/random/thomasvs/TODO:
12580         * gst/gstutils.c:
12581         * gst/gstutils.h:
12582           fix docs
12583
12584 2005-12-05  Andy Wingo  <wingo@pobox.com>
12585
12586         patch by: Wim Taymans <wim@fluendo.com>
12587
12588         * libs/gst/base/gstbasetransform.c
12589         (gst_base_transform_prepare_output_buf)
12590         (gst_base_transform_buffer_alloc):
12591         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12592         alloc_buffer_and_set_caps.
12593
12594         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12595         set_caps on the source pad.
12596         (gst_pad_alloc_buffer_and_set_caps): New function, does what
12597         alloc_buffer used to do. Fixes #322874.
12598
12599         * docs/gst/gstreamer-sections.txt: 
12600         * docs/design/part-negotiation.txt: 
12601         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12602         changes.
12603
12604 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12605
12606         patch by: Sebastien Moutte
12607
12608         * win32/MANIFEST:
12609         * win32/common/config.h.in:
12610         * win32/vs6/libgstcontroller.dsp:
12611           win32 build fixes
12612
12613 2005-12-05  Wim Taymans  <wim@fluendo.com>
12614
12615         * gst/gstcaps.c: (gst_caps_is_equal):
12616         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12617         (gst_fake_src_create):
12618         Back out previous code changes, leave doc updates, file bugs 
12619         instead. 
12620
12621 2005-12-05  Wim Taymans  <wim@fluendo.com>
12622
12623         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12624         (gst_fake_src_get_times), (gst_fake_src_create):
12625         * plugins/elements/gstfakesrc.h:
12626         Fix broken sync code.
12627
12628 2005-12-05  Wim Taymans  <wim@fluendo.com>
12629
12630         * gst/gstcaps.c: (gst_caps_is_equal):
12631         Comparing NULL against !NULL yields different caps, not a
12632         failure.
12633
12634 2005-12-05  Wim Taymans  <wim@fluendo.com>
12635
12636         * gst/gstpipeline.c:
12637         Fix small typo in docs.
12638
12639 2005-12-05  Andy Wingo  <wingo@pobox.com>
12640
12641         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
12642
12643         * gst/gst.c (init_post): remove hard-coded 0.9 location for
12644         registries/plugins with a MAJORMINOR one.
12645         (plugin_desc): Rename library from gstcoreleements to
12646         staticelements. Fixes #323222.
12647
12648 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
12649
12650         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12651           Change debug category to 'collectpads' from 'collect_pads'
12652           (fixes #323250).
12653
12654 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
12655
12656         patch by: Sebastien Moutte
12657
12658         * libs/gst/controller/gstinterpolation.c:
12659           use convert function for uint64/double
12660         * win32/vs6/libgstcontroller.dsp:
12661           link to GLib
12662
12663 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
12664
12665         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12666         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12667         * gst/gstutils.h:
12668         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12669           add tests that seem to show that the guint64/gdouble conversions
12670           are correct.
12671
12672 2005-12-02  Wim Taymans  <wim@fluendo.com>
12673
12674         * gst/gstregistry.c: (gst_registry_add_path):
12675         * gst/gstregistry.h:
12676         * gst/gstregistryxml.c:
12677         Fix docs again.
12678
12679 2005-12-02  Wim Taymans  <wim@fluendo.com>
12680
12681         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12682         (gst_util_uint64_scale_int):
12683         Small cleanup.
12684
12685         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12686         Add debug log line.
12687
12688         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
12689         Add FIXME.
12690
12691 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12692
12693         * win32/MANIFEST:
12694         * win32/common/config.h:
12695         * win32/vs6/gstreamer.dsw:
12696         * win32/vs6/libgstcoreelements.dsp:
12697         * win32/vs6/libgstelements.dsp:
12698           renamed core elements plugin
12699
12700 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12701
12702         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
12703         (get_candidates):
12704           do piece-wise major/minor comparison so 0.9 < 0.10
12705           also allow .exe extensions for tools
12706
12707 2005-12-02  Michael Smith  <msmith@fluendo.com>
12708
12709         * gst/gst.c:
12710           Escape a % to make gtkdoc happier; bug 322958.
12711
12712 === release 0.9.7 ===
12713
12714 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12715
12716         * configure.ac:
12717           releasing 0.9.7, "My Dog Has No Nose"
12718
12719 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12720
12721         * common/gst-xmlinspect.py:
12722         * configure.ac:
12723         * docs/libs/tmpl/gstdataprotocol.sgml:
12724         * docs/random/release:
12725         * po/af.po:
12726         * po/az.po:
12727         * po/bg.po:
12728         * po/ca.po:
12729         * po/cs.po:
12730         * po/de.po:
12731         * po/en_GB.po:
12732         * po/fr.po:
12733         * po/it.po:
12734         * po/nb.po:
12735         * po/nl.po:
12736         * po/ru.po:
12737         * po/sq.po:
12738         * po/sr.po:
12739         * po/sv.po:
12740         * po/tr.po:
12741         * po/uk.po:
12742         * po/vi.po:
12743         * win32/common/config.h:
12744         * win32/common/config.h.in:
12745         * win32/vs6/gst_inspect.dsp:
12746         * win32/vs6/gst_launch.dsp:
12747         * win32/vs6/libgstbase.dsp:
12748         * win32/vs6/libgstelements.dsp:
12749         * win32/vs6/libgstreamer.dsp:
12750         * win32/vs7/GStreamer.vcproj:
12751         * win32/vs7/gst-inspect.vcproj:
12752         * win32/vs7/gst-launch.vcproj:
12753         * win32/vs7/libgstbase.vcproj:
12754           bump GST_MAJORMINOR to 0.10
12755           reset libtool version
12756
12757 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12758
12759         * po/LINGUAS:
12760         * po/bg.po:
12761           Added Bulgarian translation by (Alexander Shopov)
12762
12763 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12764
12765         * tests/check/gst/gstplugin.c:
12766           fix test
12767
12768 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12769
12770         * common/gst-xmlinspect.py:
12771         * common/gtk-doc-plugins.mak:
12772         * configure.ac:
12773         * docs/Makefile.am:
12774         * docs/gst/Makefile.am:
12775         * docs/gst/gstreamer-docs.sgml:
12776         * docs/gst/gstreamer-sections.txt:
12777         * docs/gst/gstreamer.types:
12778         * docs/gst/gstreamer.types.in:
12779         * docs/plugins/Makefile.am:
12780         * docs/plugins/gstreamer-plugins-docs.sgml:
12781         * docs/plugins/gstreamer-plugins-sections.txt:
12782         * docs/plugins/gstreamer-plugins.types:
12783         * docs/plugins/inspect.stamp:
12784         * docs/plugins/inspect/plugin-coreelements.xml:
12785         * docs/plugins/inspect/plugin-coreindexers.xml:
12786         * docs/plugins/scanobj-build.stamp:
12787         * gstreamer.spec.in:
12788         * plugins/elements/Makefile.am:
12789         * plugins/elements/gstelements.c:
12790         * plugins/elements/gstfakesink.c:
12791         * plugins/elements/gstfakesrc.c:
12792         * plugins/elements/gstfilesink.c:
12793         * plugins/elements/gstfilesrc.c:
12794         * plugins/elements/gstqueue.c:
12795         * plugins/indexers/Makefile.am:
12796         * plugins/indexers/gstindexers.c:
12797           document core plugins in a separate document just like all the
12798           others
12799           rename these plugins to something starting with core
12800
12801 2005-12-01  Andy Wingo  <wingo@pobox.com>
12802
12803         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12804         padding here before, but it missed the commit.
12805
12806 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12807
12808         * libs/gst/controller/gstinterpolation.c:
12809           whitespace prices have crashed, we should feel free to use some now
12810           use gst_guint64_to_gdouble
12811
12812 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12813
12814         * libs/gst/controller/gstcontroller.c:
12815         * libs/gst/controller/gsthelper.c:
12816         * libs/gst/controller/gstinterpolation.c:
12817         * libs/gst/controller/lib.c:
12818           wrap config.h include
12819
12820 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12821
12822         * docs/gst/gstreamer-sections.txt:
12823           update docs
12824
12825 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12826
12827         * plugins/elements/gstelements.c:
12828         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12829         (gst_fd_sink__class_init), (gst_fd_sink__init),
12830         (gst_fd_sink__chain), (gst_fd_sink__set_property),
12831         (gst_fd_sink__get_property):
12832         * plugins/elements/gstfdsink.h:
12833         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12834         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12835         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12836         (gst_fd_src_unlock), (gst_fd_src_set_property),
12837         (gst_fd_src_get_property), (gst_fd_src_create),
12838         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12839         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12840         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12841         (gst_fd_src_uri_handler_init):
12842         * plugins/elements/gstfdsrc.h:
12843         * plugins/elements/gstqueue.c: (gst_queue_get_type):
12844           more anal cleanup
12845
12846 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12847
12848         * docs/gst/Makefile.am:
12849         * docs/gst/gstreamer.types.in:
12850         * gst/Makefile.am:
12851           fix the docs build
12852
12853 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12854
12855         * configure.ac:
12856         * gst/Makefile.am:
12857         * gst/gst.c:
12858         * gst/gstplugin.h:
12859         * gst/gstregistry.h:
12860         * tests/benchmarks/complexity.c:
12861         * tests/benchmarks/mass-elements.c:
12862         * tests/check/Makefile.am:
12863         * tools/Makefile.am:
12864         * tools/gst-inspect.c:
12865         * tools/gst-xmlinspect.c:
12866           various fixes to make
12867           --disable-nls --disable-registry --disable-loadsave
12868           --disable-parse --disable-gst-debug
12869           work and get the core .so down to 360444 bytes after stripping
12870
12871 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12872
12873         * Makefile.am:
12874         * configure.ac:
12875           descend into tests
12876         * docs/random/thomasvs/TODO:
12877         * tests/Makefile.am:
12878         * tests/README:
12879           add a README
12880
12881 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12882
12883         * win32/GStreamer.vcproj:
12884         * win32/MANIFEST:
12885         * win32/Makefile:
12886         * win32/Makefile.inspect:
12887         * win32/Makefile.launch:
12888         * win32/Makefile.register:
12889         * win32/README.txt:
12890         * win32/gst-inspect.vcproj:
12891         * win32/gst-launch.vcproj:
12892         * win32/gst-register.vcproj:
12893         * win32/gstelements.vcproj:
12894         * win32/gstgetbits.def:
12895         * win32/gstgetbits.vcproj:
12896         * win32/gstreamer-dbg.def:
12897         * win32/gstreamer.def:
12898         * win32/libgstbase.def:
12899         * win32/libgstbase.vcproj:
12900         * win32/link_oldruntime.c:
12901         * win32/mman.c:
12902         * win32/mman.h:
12903         * win32/mman.inl:
12904         * win32/msvc71.sln:
12905           move even more stuff, win32/ is nice and clean now
12906
12907 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12908
12909         * libs/gst/control/.cvsignore:
12910         * win32/MANIFEST:
12911         * win32/config.h:
12912         * win32/dirent.c:
12913         * win32/dirent.h:
12914         * win32/gstbytestream.def:
12915         * win32/gstbytestream.vcproj:
12916         * win32/gstconfig.h:
12917         * win32/gstenumtypes.c:
12918         * win32/gstenumtypes.h:
12919         * win32/gstoptimalscheduler.vcproj:
12920         * win32/gstversion.h:
12921         * win32/gtchar.h:
12922         * win32/testsuite/bins.vcproj:
12923         * win32/testsuite/bytestream.vcproj:
12924         * win32/testsuite/caps.vcproj:
12925         * win32/testsuite/cleanup.vcproj:
12926         * win32/testsuite/clock.vcproj:
12927         * win32/testsuite/debug.vcproj:
12928         * win32/testsuite/dlopen.vcproj:
12929         * win32/testsuite/dynparams.vcproj:
12930         * win32/testsuite/elements.vcproj:
12931         * win32/testsuite/ghostpads.vcproj:
12932         * win32/testsuite/indexers.vcproj:
12933         * win32/testsuite/negotiation.vcproj:
12934         * win32/testsuite/parse.vcproj:
12935         * win32/testsuite/plugin.vcproj:
12936         * win32/testsuite/refcounting.vcproj:
12937         * win32/testsuite/schedulers.vcproj:
12938         * win32/testsuite/states.vcproj:
12939         * win32/testsuite/tags.vcproj:
12940         * win32/testsuite/threads.vcproj:
12941           remove old win32 stuff that isn't maintained and should be
12942           reorganized
12943
12944 2005-11-30  Andy Wingo  <wingo@pobox.com>
12945
12946         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12947         loading the gst.interfaces python module bork.
12948
12949         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12950         available since GLib 2.2. Fixes #318031.
12951
12952 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12953
12954         * Makefile.am:
12955         * check/.cvsignore:
12956         * check/Makefile.am:
12957         * check/elements/.cvsignore:
12958         * check/elements/fakesrc.c:
12959         * check/elements/fdsrc.c:
12960         * check/elements/identity.c:
12961         * check/generic/.cvsignore:
12962         * check/generic/states.c:
12963         * check/gst-libs/.cvsignore:
12964         * check/gst-libs/controller.c:
12965         * check/gst-libs/gdp.c:
12966         * check/gst/.cvsignore:
12967         * check/gst/capslist.h:
12968         * check/gst/gst.c:
12969         * check/gst/gstbin.c:
12970         * check/gst/gstbuffer.c:
12971         * check/gst/gstbus.c:
12972         * check/gst/gstcaps.c:
12973         * check/gst/gstelement.c:
12974         * check/gst/gstevent.c:
12975         * check/gst/gstghostpad.c:
12976         * check/gst/gstiterator.c:
12977         * check/gst/gstmessage.c:
12978         * check/gst/gstminiobject.c:
12979         * check/gst/gstobject.c:
12980         * check/gst/gstpad.c:
12981         * check/gst/gstpipeline.c:
12982         * check/gst/gstplugin.c:
12983         * check/gst/gstsegment.c:
12984         * check/gst/gststructure.c:
12985         * check/gst/gstsystemclock.c:
12986         * check/gst/gsttag.c:
12987         * check/gst/gstutils.c:
12988         * check/gst/gstvalue.c:
12989         * check/net/.cvsignore:
12990         * check/net/gstnetclientclock.c:
12991         * check/net/gstnettimeprovider.c:
12992         * check/pipelines/.cvsignore:
12993         * check/pipelines/cleanup.c:
12994         * check/pipelines/simple_launch_lines.c:
12995         * check/pipelines/stress.c:
12996         * check/states/.cvsignore:
12997         * check/states/sinks.c:
12998         * configure.ac:
12999         * examples/Makefile.am:
13000         * examples/appreader/.cvsignore:
13001         * examples/appreader/Makefile.am:
13002         * examples/appreader/appreader.c:
13003         * examples/controller/.cvsignore:
13004         * examples/controller/Makefile.am:
13005         * examples/controller/audio-example.c:
13006         * examples/cutter/.cvsignore:
13007         * examples/cutter/Makefile.am:
13008         * examples/cutter/cutter.c:
13009         * examples/cutter/cutter.h:
13010         * examples/events/Makefile.am:
13011         * examples/events/seek.c:
13012         * examples/helloworld/.cvsignore:
13013         * examples/helloworld/Makefile.am:
13014         * examples/helloworld/helloworld.c:
13015         * examples/helloworld2/.cvsignore:
13016         * examples/helloworld2/Makefile.am:
13017         * examples/helloworld2/helloworld2.c:
13018         * examples/launch/.cvsignore:
13019         * examples/launch/Makefile.am:
13020         * examples/launch/mp3parselaunch.c:
13021         * examples/launch/mp3play:
13022         * examples/manual/.cvsignore:
13023         * examples/manual/Makefile.am:
13024         * examples/manual/extract.pl:
13025         * examples/metadata/Makefile.am:
13026         * examples/metadata/read-metadata.c:
13027         * examples/mixer/.cvsignore:
13028         * examples/mixer/Makefile.am:
13029         * examples/mixer/mixer.c:
13030         * examples/mixer/mixer.h:
13031         * examples/pingpong/.cvsignore:
13032         * examples/pingpong/Makefile.am:
13033         * examples/pingpong/pingpong.c:
13034         * examples/plugins/.cvsignore:
13035         * examples/plugins/Makefile.am:
13036         * examples/plugins/example.c:
13037         * examples/plugins/example.h:
13038         * examples/pwg/.cvsignore:
13039         * examples/pwg/Makefile.am:
13040         * examples/pwg/extract.pl:
13041         * examples/queue/.cvsignore:
13042         * examples/queue/Makefile.am:
13043         * examples/queue/queue.c:
13044         * examples/queue2/.cvsignore:
13045         * examples/queue2/Makefile.am:
13046         * examples/queue2/queue2.c:
13047         * examples/queue3/.cvsignore:
13048         * examples/queue3/Makefile.am:
13049         * examples/queue3/queue3.c:
13050         * examples/queue4/.cvsignore:
13051         * examples/queue4/Makefile.am:
13052         * examples/queue4/queue4.c:
13053         * examples/retag/.cvsignore:
13054         * examples/retag/Makefile.am:
13055         * examples/retag/retag.c:
13056         * examples/retag/transcode.c:
13057         * examples/thread/.cvsignore:
13058         * examples/thread/Makefile.am:
13059         * examples/thread/thread.c:
13060         * examples/typefind/.cvsignore:
13061         * examples/typefind/Makefile.am:
13062         * examples/typefind/typefind.c:
13063         * examples/xml/.cvsignore:
13064         * examples/xml/Makefile.am:
13065         * examples/xml/createxml.c:
13066         * examples/xml/runxml.c:
13067         * tests/Makefile.am:
13068         * tests/check/Makefile.am:
13069         * testsuite/.cvsignore:
13070         * testsuite/Makefile.am:
13071         * testsuite/Rules:
13072         * testsuite/caps/.cvsignore:
13073         * testsuite/caps/Makefile.am:
13074         * testsuite/caps/app_fixate.c:
13075         * testsuite/caps/audioscale.c:
13076         * testsuite/caps/caps.c:
13077         * testsuite/caps/caps.h:
13078         * testsuite/caps/caps_strings:
13079         * testsuite/caps/compatibility.c:
13080         * testsuite/caps/deserialize.c:
13081         * testsuite/caps/enumcaps.c:
13082         * testsuite/caps/eratosthenes.c:
13083         * testsuite/caps/filtercaps.c:
13084         * testsuite/caps/fixed.c:
13085         * testsuite/caps/fraction-convert.c:
13086         * testsuite/caps/fraction-multiply-and-zero.c:
13087         * testsuite/caps/intersect2.c:
13088         * testsuite/caps/intersection.c:
13089         * testsuite/caps/normalisation.c:
13090         * testsuite/caps/random.c:
13091         * testsuite/caps/renegotiate.c:
13092         * testsuite/caps/sets.c:
13093         * testsuite/caps/simplify.c:
13094         * testsuite/caps/string-conversions.c:
13095         * testsuite/caps/structure.c:
13096         * testsuite/caps/subtract.c:
13097         * testsuite/caps/union.c:
13098         * testsuite/debug/.cvsignore:
13099         * testsuite/debug/Makefile.am:
13100         * testsuite/debug/category.c:
13101         * testsuite/debug/commandline.c:
13102         * testsuite/debug/global.c:
13103         * testsuite/debug/output.c:
13104         * testsuite/debug/printf_extension.c:
13105         * testsuite/dlopen/.cvsignore:
13106         * testsuite/dlopen/Makefile.am:
13107         * testsuite/dlopen/dlopen_gst.c:
13108         * testsuite/dlopen/loadgst.c:
13109         * testsuite/elements/.cvsignore:
13110         * testsuite/elements/Makefile.am:
13111         * testsuite/elements/gst-inspect-check.in:
13112         * testsuite/elements/struct_i386.h:
13113         * testsuite/elements/struct_size.c:
13114         * testsuite/indexers/.cvsignore:
13115         * testsuite/indexers/Makefile.am:
13116         * testsuite/indexers/cache1.c:
13117         * testsuite/indexers/indexdump.c:
13118         * testsuite/parse/.cvsignore:
13119         * testsuite/parse/Makefile.am:
13120         * testsuite/parse/parse1.c:
13121         * testsuite/parse/parse2.c:
13122         * testsuite/plugin/.cvsignore:
13123         * testsuite/plugin/Makefile.am:
13124         * testsuite/plugin/README:
13125         * testsuite/plugin/dynamic.c:
13126         * testsuite/plugin/linked.c:
13127         * testsuite/plugin/loading.c:
13128         * testsuite/plugin/registry.c:
13129         * testsuite/plugin/static.c:
13130         * testsuite/plugin/static2.c:
13131         * testsuite/plugin/testplugin.c:
13132         * testsuite/plugin/testplugin2.c:
13133         * testsuite/plugin/testplugin2_s.c:
13134         * testsuite/plugin/testplugin_s.c:
13135         * testsuite/refcounting/.cvsignore:
13136         * testsuite/refcounting/Makefile.am:
13137         * testsuite/refcounting/bin.c:
13138         * testsuite/refcounting/element.c:
13139         * testsuite/refcounting/element_pad.c:
13140         * testsuite/refcounting/mainloop.c:
13141         * testsuite/refcounting/mem.c:
13142         * testsuite/refcounting/mem.h:
13143         * testsuite/refcounting/object.c:
13144         * testsuite/refcounting/pad.c:
13145         * testsuite/refcounting/sched.c:
13146         * testsuite/refcounting/thread.c:
13147         * testsuite/states/.cvsignore:
13148         * testsuite/states/Makefile.am:
13149         * testsuite/states/bin.c:
13150         * testsuite/states/locked.c:
13151         * testsuite/states/parent.c:
13152         * testsuite/threads/.cvsignore:
13153         * testsuite/threads/159566.c:
13154         * testsuite/threads/159852.c:
13155         * testsuite/threads/Makefile.am:
13156         * testsuite/threads/queue.c:
13157         * testsuite/threads/signals.c:
13158         * testsuite/threads/staticrec.c:
13159         * testsuite/threads/thread.c:
13160         * testsuite/threads/threadb.c:
13161         * testsuite/threads/threadc.c:
13162         * testsuite/threads/threadd.c:
13163         * testsuite/threads/threade.c:
13164         * testsuite/threads/threadf.c:
13165         * testsuite/threads/threadg.c:
13166         * testsuite/threads/threadh.c:
13167         * testsuite/threads/threadi.c:
13168           move all of these under tests
13169
13170 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13171
13172         * configure.ac:
13173         * tests/Makefile.am:
13174           fix distcheck
13175
13176 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13177
13178         * docs/gst/gstreamer-sections.txt:
13179         * tests/sched/.cvsignore:
13180         * tests/sched/Makefile.am:
13181         * tests/sched/cases/(fs-fs).xml:
13182         * tests/sched/cases/(fs-i-fs).xml:
13183         * tests/sched/cases/(fs-i-i-fs).xml:
13184         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13185         * tests/sched/dynamic-pipeline.c:
13186         * tests/sched/interrupt1.c:
13187         * tests/sched/interrupt2.c:
13188         * tests/sched/interrupt3.c:
13189         * tests/sched/runtestcases:
13190         * tests/sched/runxml.c:
13191         * tests/sched/sched-stress.c:
13192         * tests/sched/sort.c:
13193         * tests/sched/testcases:
13194         * tests/sched/testcases1.tc:
13195         * tests/seeking/.cvsignore:
13196         * tests/seeking/Makefile.am:
13197         * tests/seeking/seeking1.c:
13198         * tests/threadstate/.cvsignore:
13199         * tests/threadstate/Makefile.am:
13200         * tests/threadstate/test1.c:
13201         * tests/threadstate/test2.c:
13202         * tests/threadstate/threadstate1.c:
13203         * tests/threadstate/threadstate2.c:
13204         * tests/threadstate/threadstate3.c:
13205         * tests/threadstate/threadstate4.c:
13206         * tests/threadstate/threadstate5.c:
13207           remove obsolete tests
13208         * configure.ac:
13209         * tests/bench-complexity.scm:
13210         * tests/bench-mass_elements.scm:
13211         * tests/complexity.c:
13212         * tests/complexity.gnuplot:
13213         * tests/instantiate/.cvsignore:
13214         * tests/instantiate/Makefile.am:
13215         * tests/instantiate/caps.c:
13216         * tests/mass_elements.c:
13217         * tests/network-clock-utils.scm:
13218         * tests/network-clock.scm:
13219         * tests/plot-data:
13220         First pass at cleaning up tests/ dir before moving the rest
13221         Combined with CVS surgery
13222
13223 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13224
13225         * po/POTFILES.in:
13226           queue has moved, update
13227
13228 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13229
13230         * docs/gst/gstreamer-sections.txt:
13231           remove double entries from the docs
13232         * gst/gst_private.h:
13233         * gst/gstinfo.c: (_gst_debug_init):
13234           remove the THREAD debug category
13235         * gst/Makefile.am:
13236         * gst/gstqueue.c:
13237         * gst/gstqueue.h:
13238         * docs/gst/gstreamer.types:
13239         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13240         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13241           completely move queue and fix up debugging categories
13242
13243 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13244
13245         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13246           make initialization portable, using LL is not
13247
13248 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13249
13250         * win32/common/gstconfig.h:
13251           add large padding
13252
13253 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13254
13255         * win32/common/libgstreamer.def:
13256           rename symbols; sort base section
13257
13258 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13259
13260         * gst/gstclock.c: (do_linear_regression):
13261           remove crack non-portable handrolled DEBUG macro
13262
13263 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13264
13265         * docs/random/release:
13266           update notes
13267         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13268         (gst_object_flags_get_type), (register_gst_bin_flags),
13269         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13270         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13271         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13272         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13273         (gst_caps_flags_get_type), (register_gst_clock_return),
13274         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13275         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13276         (gst_clock_flags_get_type), (register_gst_state),
13277         (gst_state_get_type), (register_gst_state_change_return),
13278         (gst_state_change_return_get_type), (register_gst_state_change),
13279         (gst_state_change_get_type), (register_gst_element_flags),
13280         (gst_element_flags_get_type), (register_gst_core_error),
13281         (gst_core_error_get_type), (register_gst_library_error),
13282         (gst_library_error_get_type), (register_gst_resource_error),
13283         (gst_resource_error_get_type), (register_gst_stream_error),
13284         (gst_stream_error_get_type), (register_gst_event_type_flags),
13285         (gst_event_type_flags_get_type), (register_gst_event_type),
13286         (gst_event_type_get_type), (register_gst_seek_type),
13287         (gst_seek_type_get_type), (register_gst_seek_flags),
13288         (gst_seek_flags_get_type), (register_gst_format),
13289         (gst_format_get_type), (register_gst_index_certainty),
13290         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13291         (gst_index_entry_type_get_type),
13292         (register_gst_index_lookup_method),
13293         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13294         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13295         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13296         (gst_index_flags_get_type), (register_gst_debug_level),
13297         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13298         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13299         (gst_iterator_result_get_type), (register_gst_iterator_item),
13300         (gst_iterator_item_get_type), (register_gst_message_type),
13301         (gst_message_type_get_type), (register_gst_mini_object_flags),
13302         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13303         (gst_pad_link_return_get_type), (register_gst_flow_return),
13304         (gst_flow_return_get_type), (register_gst_activate_mode),
13305         (gst_activate_mode_get_type), (register_gst_pad_direction),
13306         (gst_pad_direction_get_type), (register_gst_pad_flags),
13307         (gst_pad_flags_get_type), (register_gst_pad_presence),
13308         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13309         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13310         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13311         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13312         (gst_plugin_flags_get_type), (register_gst_rank),
13313         (gst_rank_get_type), (register_gst_query_type),
13314         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13315         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13316         (gst_tag_flag_get_type), (register_gst_task_state),
13317         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13318         (gst_alloc_trace_flags_get_type),
13319         (register_gst_type_find_probability),
13320         (gst_type_find_probability_get_type), (register_gst_uri_type),
13321         (gst_uri_type_get_type), (register_gst_parse_error),
13322         (gst_parse_error_get_type):
13323         * win32/common/gstenumtypes.h:
13324         * win32/common/gstversion.h:
13325           update visual studio generated files
13326
13327 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13328
13329         * win32/vs6/libgstbase.dsp:
13330         * win32/vs6/libgstelements.dsp:
13331           update project files for new locations
13332
13333 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13334
13335         * Makefile.am:
13336           remove some files
13337         * README:
13338           reinstate and update
13339         * DEVEL:
13340         * REQUIREMENTS:
13341           removed
13342         * LICENSE:
13343         * docs/random/LICENSE:
13344           moved to random
13345
13346 2005-11-30  Edward Hervey  <edward@fluendo.com>
13347
13348         * gst/gsttypefind.c: (gst_type_find_register):
13349         * gst/gsttypefind.h:
13350         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13351         (gst_type_find_factory_dispose):
13352         * gst/gsttypefindfactory.h:
13353         Fix memory leak in GstTypeFindFactory.
13354
13355 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13356
13357         * gst/gst.c:
13358         * plugins/elements/Makefile.am:
13359         * plugins/elements/gstelements.c:
13360         * plugins/elements/gstqueue.c:
13361           move queue from core to the elements plugin
13362
13363 2005-11-29  Andy Wingo  <wingo@pobox.com>
13364
13365         * libs/gst/base/gstbasetransform.h: 
13366         * libs/gst/base/gstbasesrc.h: 
13367         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13368
13369         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13370         of pointers by which to pad very extensible base classes (like the
13371         ones in libs/gst/base).
13372
13373 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13374
13375         * docs/gst/gstreamer-docs.sgml:
13376         * docs/gst/gstreamer-sections.txt:
13377         * docs/libs/gstreamer-libs-docs.sgml:
13378         * docs/libs/gstreamer-libs-sections.txt:
13379           moving documentation from core to lib
13380
13381 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13382
13383         * check/Makefile.am:
13384         * configure.ac:
13385         * docs/gst/Makefile.am:
13386         * gst/Makefile.am:
13387         * gst/base/.cvsignore:
13388         * gst/base/Makefile.am:
13389         * gst/base/README:
13390         * gst/base/gstadapter.c:
13391         * gst/base/gstadapter.h:
13392         * gst/base/gstbasesink.c:
13393         * gst/base/gstbasesink.h:
13394         * gst/base/gstbasesrc.c:
13395         * gst/base/gstbasesrc.h:
13396         * gst/base/gstbasetransform.c:
13397         * gst/base/gstbasetransform.h:
13398         * gst/base/gstcollectpads.c:
13399         * gst/base/gstcollectpads.h:
13400         * gst/base/gstpushsrc.c:
13401         * gst/base/gstpushsrc.h:
13402         * gst/base/gsttypefindhelper.c:
13403         * gst/base/gsttypefindhelper.h:
13404         * gst/check/Makefile.am:
13405         * gst/check/gstcheck.c:
13406         * gst/check/gstcheck.h:
13407         * gst/net/Makefile.am:
13408         * gst/net/gstnet.h:
13409         * gst/net/gstnetclientclock.c:
13410         * gst/net/gstnetclientclock.h:
13411         * gst/net/gstnettimepacket.c:
13412         * gst/net/gstnettimepacket.h:
13413         * gst/net/gstnettimeprovider.c:
13414         * gst/net/gstnettimeprovider.h:
13415         * libs/gst/Makefile.am:
13416         * libs/gst/base/Makefile.am:
13417         * libs/gst/base/gstbasetransform.c:
13418         * libs/gst/check/Makefile.am:
13419         * plugins/elements/Makefile.am:
13420         * po/POTFILES.in:
13421           CVS surgery + support to move base, check, and net out of gst
13422           and into libs/gst
13423
13424 2005-11-29  Andy Wingo  <wingo@pobox.com>
13425
13426         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13427
13428         * gst/gststructure.h (struct _GstStructure): Only one pointer of
13429         padding.
13430
13431         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13432
13433         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13434
13435         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13436
13437         * gst/gstobject.h: (struct _GstObject): Only one pointer of
13438         padding; reduces object size by about 30%. We don't expect
13439         anything else to go into gstobject.
13440
13441         * gst/gstminiobject.h (struct _GstMiniObject)
13442         (struct _GstMiniObjectClass): Only one pointer of padding; the
13443         payload is only a pointer and two ints anyway. For the class there
13444         are only two methods as well.
13445         
13446         * gst/gstelement.h (struct _GstElementClass): Removed
13447         the state_changed signal callback, it is not used.
13448
13449 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13450
13451         * docs/gst/gstreamer.types:
13452           fix includes, though they are a little dinky
13453
13454 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13455
13456         * check/Makefile.am:
13457           look in the right place for elements, a lot more chance of
13458           success
13459         * gst/Makefile.am:
13460           remove indexers and elements subdirs
13461         * plugins/Makefile.am:
13462           make indexers conditional
13463
13464 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13465
13466         * Makefile.am:
13467         * configure.ac:
13468         * plugins/elements/Makefile.am:
13469         * plugins/elements/gstcapsfilter.c:
13470         * plugins/elements/gstfilesink.c:
13471         * plugins/elements/gstfilesrc.c:
13472         * plugins/elements/gstidentity.c:
13473         * plugins/indexers/Makefile.am:
13474           do CVS surgery and related build fixery to move elements
13475           and indexers in a new gstreamer/plugins directory, out of the
13476           gst/ directory
13477
13478 2005-11-29  Andy Wingo  <wingo@pobox.com>
13479
13480         * check/Makefile.am:
13481         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13482         * pkgconfig/gstreamer-net.pc.in:
13483         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13484         #322257.
13485
13486 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13487
13488         * tools/Makefile.am:
13489         * tools/gst-complete.1.in:
13490         * tools/gst-complete.c:
13491         * tools/gst-compprep.1.in:
13492         * tools/gst-compprep.c:
13493           removing -compprep and -complete
13494
13495 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13496
13497         * gst/gstevent.c: (gst_event_new_new_segment),
13498         (gst_event_parse_new_segment):
13499         * gst/gstevent.h:
13500           fix #320529 - clean up new_segment API and structure.
13501           Let's hope everyone was using the methods, and not the structure.
13502
13503 2005-11-29  Edward Hervey  <edward@fluendo.com>
13504
13505         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13506         (gst_base_sink_event), (gst_base_sink_do_sync),
13507         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13508         Properly handle non GST_FORMAT_TIME segment
13509         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13510         Properly handle non GST_FORMAT_TIME segment
13511         * gst/gstsegment.c:
13512         This function is valid if the accumulator is 0 and the format
13513         is different from the requested format.
13514         
13515 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
13516
13517         * docs/gst/gstreamer-sections.txt:
13518         Add gst_query_new_seeking and gst_query_parse_seeking to the
13519         docs.
13520
13521 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
13522
13523         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13524           Treat a pad alloc with new caps the same as if we were not
13525           negotiated, in order to allow a changing upstream output
13526           to produce a new format of data.
13527
13528 2005-11-29  Edward Hervey  <edward@fluendo.com>
13529
13530         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13531         (gst_base_transform_event), (gst_base_transform_eventfunc):
13532         The event virtual method is now properly implemented, with a default
13533         handler
13534         Sub classes should call the parent_class event method. They should
13535         return FALSE if they had a problem handling the given event, or don't
13536         want GstBaseTransform to send that even downstream
13537         * gst/elements/gstidentity.c: (gst_identity_class_init),
13538         (gst_identity_init), (gst_identity_event),
13539         (gst_identity_transform_ip), (gst_identity_set_property),
13540         (gst_identity_get_property):
13541         * gst/elements/gstidentity.h:
13542         Added the single-segment boolean property.
13543         If set to TRUE, it will output a single segment of data, starting from
13544         0, will eat up all incoming newsegment, and modify the timestamp of the
13545         buffers accordingly
13546
13547 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
13548
13549         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13550           Don't ref NULL target pad (#322751). Improve docs.
13551
13552 2005-11-29  Michael Smith  <msmith@fluendo.com>
13553
13554         * gst/gstregistryxml.c: (load_plugin):
13555           Don't crash if we failed to load a feature from a plugin. 
13556
13557 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13558
13559         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13560         (GST_START_TEST):
13561           use more check API and less GLib API
13562
13563 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13564
13565         * Makefile.am:
13566           don't run checks if we don't have check
13567         * common/check.mak:
13568           remove the registry when running make torture
13569         * docs/gst/gstreamer-sections.txt:
13570           remove second multiply
13571         * gst/gstqueue.c: (gst_queue_loop):
13572           fix a compile warning when disabling debug
13573
13574 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
13575
13576         * gst/gstinfo.h:
13577         Hey! Let's print the pad name if the pointer != NULL instead
13578         of when it == NULL :-)
13579
13580 2005-11-28  Wim Taymans  <wim@fluendo.com>
13581
13582         * check/gst/gstutils.c: (GST_START_TEST):
13583         Updated check, add some scaling accuracy checking code.
13584
13585         * gst/gstutils.c: (gst_util_div128_64),
13586         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13587         (gst_util_uint64_scale_int):
13588         Fix 6 times faster division code. Optimize for common 
13589         1/1 and less common X/1 cases.
13590
13591 2005-11-28  Wim Taymans  <wim@fluendo.com>
13592
13593         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13594         More checks.
13595
13596         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13597         (do_linear_regression), (gst_clock_add_observation):
13598         Cleanups.
13599         Release lock when the clock cannot be slaved.
13600         Catch the case where the regression returned an invalid denominator.
13601
13602         * gst/gstutils.c: (gst_util_div128_64_iterate),
13603         (gst_util_div128_64), (gst_util_uint64_scale_int64),
13604         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13605         Add protentially more performant non-iterative 128/64 divide function
13606         that unfortunatly does not work yet.
13607         Shortcut the trivial 0/X = 0 case.
13608         Remove the warnings on overflow.
13609
13610 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13611
13612         * gst/gstplugin.c: (gst_plugin_register_func):
13613           everything causing a plugin not to load should be at least a WARNING
13614
13615 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
13616
13617         * docs/random/ensonic/dparams.txt:
13618           some TODOs for the next dev cycle
13619         * libs/gst/controller/gstcontroller.c:
13620         (gst_controlled_property_set_interpolation_mode),
13621         (gst_controlled_property_new):
13622         * libs/gst/controller/gstcontroller.h:
13623           use base type to assign acccessor functions
13624
13625 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
13626
13627         * check/Makefile.am:
13628         Oops, that should have been top_srcdir
13629
13630 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
13631
13632         * check/Makefile.am:
13633         * check/elements/fdsrc.c: (GST_START_TEST):
13634         Use a cmdline define to specify the location of a file to use for
13635         testing, to avoid breaking distcheck.
13636
13637 2005-11-28  Andy Wingo  <wingo@pobox.com>
13638
13639         * gst/gstpad.c (fixate_value): Use array functions for arrays.
13640
13641 2005-11-28  Edward Hervey  <edward@fluendo.com>
13642
13643         * tools/gst-launch.c: (main):
13644         Clarify the output strings, makes it easier to translate.
13645         Fixes #322626
13646
13647 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13648
13649         * gst/Makefile.am:
13650           don't try and build net if we don't even have <sys/socket.h>
13651
13652 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
13653
13654         * check/Makefile.am:
13655         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13656         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13657           Add tests for fdsrc seekability
13658
13659         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13660         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13661         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13662         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13663         * gst/elements/gstfdsrc.h:
13664           fdsrc should not be a 'live' source.
13665           Implement seeking on seekable fd's.
13666
13667         * gst/gstquery.c: (gst_query_new_seeking),
13668         (gst_query_parse_seeking):
13669         * gst/gstquery.h:
13670           Implement SEEKING query functions: 
13671             *_new_seeking and *_parse_seeking
13672
13673 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
13674
13675         * gst/gstelement.c: (gst_element_dispose):
13676           don't loop forever
13677
13678         * gst/gstiterator.c:
13679         * gst/gststructure.c:
13680           doc fixes
13681
13682         * libs/gst/controller/gstcontroller.c:
13683         (gst_controlled_property_set_interpolation_mode):
13684         * libs/gst/controller/gstcontroller.h:
13685         * libs/gst/controller/gstinterpolation.c:
13686         (interpolate_none_get_enum_value_array):
13687           support controlling enums
13688
13689 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
13690
13691         * gst/gstvalue.c:
13692           Improve documentation for gst_value_union().
13693
13694         * gst/gstvalue.h:
13695           Change return value for union, intersect and subtract functions
13696           from gint to gboolean.
13697
13698 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
13699
13700         * gst/gstvalue.c: (gst_value_serialize_any_list),
13701         (gst_value_transform_any_list_string),
13702         (gst_value_deserialize_list), (gst_value_deserialize_array),
13703         (gst_value_set_int_range), (gst_value_deserialize_int_range),
13704         (gst_value_set_double_range), (gst_value_deserialize_double_range),
13705         (gst_value_set_fraction_range_full),
13706         (gst_value_deserialize_fraction_range),
13707         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
13708         (gst_value_deserialize_boolean),
13709         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
13710         (gst_value_serialize_float), (gst_value_deserialize_float),
13711         (gst_string_wrap), (gst_value_deserialize_string),
13712         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
13713         (gst_value_union_int_range_int_range),
13714         (gst_value_intersect_int_range_int_range),
13715         (gst_value_intersect_double_range_double_range),
13716         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
13717         (gst_value_subtract_int_range_int_range),
13718         (gst_value_subtract_double_double_range),
13719         (gst_value_subtract_double_range_double_range),
13720         (gst_value_deserialize_fraction):
13721         * gst/gstvalue.h:
13722           Use gint, gdouble and gchar in our API instead of int, double and
13723           char (and make usage in gstvalue.c more consistent).
13724
13725 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
13726
13727         * check/Makefile.am:
13728         * libs/gst/controller/Makefile.am:
13729         * libs/gst/dataprotocol/Makefile.am:
13730           fix up Makefile.am and remove GST_ENABLE_NEW
13731
13732 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
13733
13734         * configure.ac:
13735         * gst/Makefile.am:
13736         * gst/base/Makefile.am:
13737         * gst/check/Makefile.am:
13738         * gst/elements/Makefile.am:
13739         * gst/net/Makefile.am:
13740           update LDFLAGS use some more
13741
13742 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
13743
13744         * common/m4/gst-doc.m4:
13745           Fixes #312589
13746
13747 2005-11-26  Edward Hervey  <edward@fluendo.com>
13748
13749         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13750         This shouldn't issue a g_warning since it returns NULL if it
13751         couldn't find the plugin, and all functions using this behave
13752         properly on a NULL return. Switching to a GST_WARNING.
13753
13754 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
13755
13756         * gst/gstbin.c: (gst_bin_handle_message_func):
13757         Don't leak clock messages.
13758
13759 2005-11-25  Wim Taymans  <wim@fluendo.com>
13760
13761         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13762         (gst_util_uint64_scale_int):
13763         Optimisations, remove unneeded vars.
13764
13765 2005-11-25  Wim Taymans  <wim@fluendo.com>
13766
13767         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13768         Added more checks for the high precision uint64 cases.
13769
13770         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13771         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13772         Implement high precision (guint64 * guint64) / guint64.
13773
13774 2005-11-24  Wim Taymans  <wim@fluendo.com>
13775
13776         * gst/base/gstbasesrc.c: (gst_base_src_query):
13777         Fix wrong percentage query.
13778
13779         * gst/gstutils.c: (gst_util_uint64_scale),
13780         (gst_util_uint64_scale_int):
13781         Add some more common cases that can be handled 
13782         efficiently to _scale.
13783
13784 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13785
13786         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
13787         (gst_mini_object_suite):
13788           don't use check calls from threads; check probably isn't
13789           threadsafe and using a lock to make it threadsafe would
13790           defeat the purpose of this check
13791         * gst/check/gstcheck.c:
13792         * gst/check/gstcheck.h:
13793           use GST_DEBUG some more
13794
13795 2005-11-24  Wim Taymans  <wim@fluendo.com>
13796
13797         * gst/gstutils.c: (gst_util_uint64_scale),
13798         (gst_util_uint64_scale_int):
13799         Chain trivial case to _scale_int.
13800
13801 2005-11-24  Wim Taymans  <wim@fluendo.com>
13802
13803         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13804         Added test for scaling.
13805
13806         * gst/gstclock.h:
13807         Small doc fix.
13808
13809         * gst/gstutils.c: (gst_util_uint64_scale_int):
13810         Implemented high precision scaling code.
13811
13812 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
13813
13814         * gst/gstinfo.h:
13815           do not crash on pad==NULL
13816
13817 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13818
13819         Patch by: Stefan Kost
13820
13821         * common/gtk-doc.mak:
13822         * docs/gst/Makefile.am:
13823         * docs/libs/Makefile.am:
13824           Fix distcheck issues for the libraries docs build
13825           Closes #319599.
13826
13827 2005-11-24  Michael Smith <msmith@fluendo.com>
13828
13829         * docs/manual/basics-helloworld.xml:
13830           Fix bug #315027: memory leak in example code in docs.
13831
13832 2005-11-24  Michael Smith <msmith@fluendo.com>
13833
13834         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13835           Unlock the PREROLL_LOCK in a failure case.
13836
13837 2005-11-24  Wim Taymans  <wim@fluendo.com>
13838
13839         * docs/gst/gstreamer-sections.txt:
13840         * gst/base/gstadapter.h:
13841         * gst/base/gstbasesink.h:
13842         * gst/base/gstbasesrc.h:
13843         * gst/base/gstbasetransform.h:
13844         * gst/base/gstpushsrc.h:
13845         * gst/elements/gstfakesink.h:
13846         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13847         * gst/elements/gstfakesrc.h:
13848         * gst/elements/gstfilesink.h:
13849         * gst/elements/gstfilesrc.h:
13850         * gst/gst.c:
13851         * gst/gstbin.c:
13852         * gst/gstbuffer.c: (_gst_buffer_copy):
13853         * gst/gstbus.h:
13854         * gst/gstcaps.c:
13855         * gst/gstchildproxy.c:
13856         * gst/gstclock.c:
13857         * gst/gstelement.c:
13858         * gst/gstelementfactory.c:
13859         * gst/gstelementfactory.h:
13860         * gst/gstevent.c:
13861         * gst/gstghostpad.h:
13862         * gst/gstindex.h:
13863         * gst/gstinterface.h:
13864         * gst/gstminiobject.c:
13865         * gst/gstminiobject.h:
13866         * gst/gstpad.c:
13867         * gst/gstpad.h:
13868         * gst/gstpadtemplate.h:
13869         * gst/gstpipeline.h:
13870         * gst/gstpluginfeature.h:
13871         * gst/gstquery.h:
13872         * gst/gstqueue.h:
13873         * gst/gsttaglist.c:
13874         * gst/gsttaglist.h:
13875         * gst/gsttagsetter.c:
13876         * gst/gsttagsetter.h:
13877         * gst/gsttrace.c:
13878         * gst/gsttrace.h:
13879         * gst/gsttypefind.h:
13880         * gst/gsturi.h:
13881         * gst/gstvalue.c:
13882         * gst/net/gstnetclientclock.c:
13883         * gst/net/gstnetclientclock.h:
13884         * gst/net/gstnettimepacket.c:
13885         * gst/net/gstnettimeprovider.c:
13886         * gst/net/gstnettimeprovider.h:
13887         Doc fixes.
13888
13889 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13890
13891         * configure.ac: back to HEAD
13892
13893 === release 0.9.6 ===
13894
13895 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
13896
13897         * configure.ac:
13898           releasing 0.9.6, "Always On Time"
13899
13900 2005-11-23  Wim Taymans  <wim@fluendo.com>
13901
13902         * docs/gst/gstreamer-sections.txt:
13903         * gst/glib-compat.c:
13904         * gst/gsttagsetter.c:
13905         * gst/gstvalue.c:
13906         * gst/net/gstnetclientclock.c:
13907         * gst/net/gstnettimepacket.h:
13908         Doc updates.
13909
13910 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13911
13912         * docs/faq/using.xml:
13913         * docs/libs/tmpl/gstcontrol.sgml:
13914         * docs/manual/advanced-dparams.xml:
13915         * docs/manual/appendix-checklist.xml:
13916         * docs/manual/basics-elements.xml:
13917         * docs/pwg/other-source.xml:
13918         * docs/random/moving-plugins:
13919         * gst/gstpad.c:
13920         * tools/gst-launch.1.in:
13921           remove mentions of sinesrc
13922
13923 2005-11-23  Michael Smith <msmith@fluendo.com>
13924
13925         * docs/gst/gstreamer-sections.txt:
13926           Update for new API and API changes.
13927         * gst/gstobject.h:
13928           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13929         * gst/gstvalue.c:
13930           Documentation typo fix.
13931         * gst/net/gstnettimepacket.c:
13932           Documentation fixes for arguments.
13933
13934 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
13935
13936         * gst/gststructure.c: (gst_structure_get_fraction),
13937         (gst_structure_parse_value),
13938         (gst_structure_fixate_field_nearest_fraction):
13939         * gst/gststructure.h:
13940         * gst/gstutils.c: (gst_util_uint64_scale_int):
13941         * gst/gstutils.h:
13942         * scripts/update-funcnames:
13943         API Changes. 
13944         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13945         Make gst_structure_fixate_field_nearest_fraction take a numerator
13946         and denominator argument instead of a GValue
13947         add gst_structure_get_fraction helper function.
13948
13949 2005-11-23  Wim Taymans  <wim@fluendo.com>
13950
13951         * docs/design/part-TODO.txt:
13952         Update TODO.
13953
13954         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13955         * gst/net/gstnetclientclock.h:
13956         Use parent fields for timeout and window_size.
13957
13958 2005-11-23  Andy Wingo  <wingo@pobox.com>
13959
13960         * check/net/gstnetclientclock.c (test_functioning): Adjust to
13961         rate_num/rate_denom change.
13962
13963         * gst/net/gstnetclientclock.c
13964         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13965         OBJECT_LOCK. Don't call add_observation with the lock.
13966
13967         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13968         fraction.
13969         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13970         rate fraction.
13971         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13972         deal with rate as a fraction whose numerator and denominator are
13973         GstClockTime values.
13974         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13975         master; the other fields are protected by the SLAVE_LOCK.
13976         (do_linear_regression): Note that this must be called with the
13977         SLAVE_LOCK.
13978         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13979         OBJECT_LOCK. Call set_calibration instead of touching the
13980         variables directly.
13981         (gst_clock_set_property, gst_clock_get_property): Protect
13982         master/slave parameters with the SLAVE_LOCK.
13983
13984         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13985         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13986         note that all of the instance variables that add_observation and
13987         the set_master functions use are protected by that lock and not
13988         the OBJECT_LOCK.
13989         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13990
13991         * gst/gstclock.c (gst_clock_add_observation): No longer requires
13992         the caller to take the object lock.
13993
13994 2005-11-23  Wim Taymans  <wim@fluendo.com>
13995
13996         * gst/gsterror.c: (_gst_core_errors_init):
13997         * gst/gsterror.h:
13998         Add error for clock stuff.
13999
14000         * gst/gstpipeline.c: (gst_pipeline_change_state),
14001         (gst_pipeline_set_clock):
14002         Post clock error when clock cannot be used in a pipeline.
14003
14004 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14005
14006         * docs/gst/gstreamer-sections.txt:
14007           make two symbols from gstinfo private for the docs
14008         * gst/base/gstcollectpads.h:
14009         * gst/gstutils.c:
14010           fix doc typos, update docs
14011
14012 2005-11-22  Wim Taymans  <wim@fluendo.com>
14013
14014         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14015         (gst_base_sink_wait), (gst_base_sink_do_sync),
14016         (gst_base_sink_handle_event):
14017         * gst/base/gstbasesink.h:
14018         No need to store the clock, the parent element class already
14019         has it.
14020
14021         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14022         Updates for clock_set returning a gboolean
14023
14024         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14025         (gst_clock_id_wait_async), (gst_clock_class_init),
14026         (gst_clock_init), (gst_clock_finalize),
14027         (gst_clock_get_internal_time), (gst_clock_get_time),
14028         (gst_clock_slave_callback), (gst_clock_set_master),
14029         (gst_clock_get_master), (do_linear_regression),
14030         (gst_clock_add_observation), (gst_clock_set_property),
14031         (gst_clock_get_property):
14032         * gst/gstclock.h:
14033         Implement master/slave. When setting a clock as a slave, a
14034         periodic timeout is scheduled to sample master and slave times.
14035         Then the slave clock is recalibrated to match offset and rate
14036         of the master clock.
14037         Update logging a bit.
14038         Add flag so that a clock can state that is cannot be slaved to
14039         another clock.
14040
14041         * gst/gstelement.c: (gst_element_set_clock):
14042         * gst/gstelement.h:
14043         The set clock returns a gboolean for when an element cannot
14044         deal with the selected clock in the pipeline. 
14045
14046         * gst/gstpipeline.c: (gst_pipeline_change_state),
14047         (gst_pipeline_set_clock):
14048         * gst/gstpipeline.h:
14049         Handle the case where the selected clock cannot be set on
14050         the pipeline.
14051
14052         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14053         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14054         (gst_net_client_clock_set_property),
14055         (gst_net_client_clock_get_property),
14056         (gst_net_client_clock_observe_times):
14057         * gst/net/gstnetclientclock.h:
14058         Use regression code in GstClock parent, remove duplicated
14059         functionality.
14060
14061 2005-11-22  Michael Smith <msmith@fluendo.com>
14062
14063         * gst/gstutils.c: (gst_util_clock_time_scale):
14064         * gst/gstutils.h:
14065         * docs/gst/gstreamer-sections.txt:
14066           Rename method to have extra underscore.
14067
14068 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14069
14070         * gst/elements/Makefile.am:
14071         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14072         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14073         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14074         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14075         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14076         * gst/elements/gstfakesrc.h:
14077         * gst/gstqueue.c: (queue_leaky_get_type):
14078           correctly fix GEnumValues so that nick is the short lowercase
14079           dashed tag
14080         * tools/gst-inspect.c: (print_element_properties_info):
14081           also show the nick, since it's useful to use from parse_launch
14082           syntax
14083           Fixes #322139
14084
14085 2005-11-22  Michael Smith <msmith@fluendo.com>
14086
14087         * gst/gstutils.c: (gst_util_clocktime_scale):
14088         * gst/gstutils.h:
14089         * docs/gst/gstreamer-sections.txt:
14090           Add util method for scaling a clocktime by a fraction. Useful 
14091           implementation is left as an exercise for the reader.
14092
14093 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14094
14095         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14096         If needed, allocate storage in the destination value during
14097         collection.
14098
14099 2005-11-22  Edward Hervey  <edward@fluendo.com>
14100
14101         * docs/gst/gstreamer-sections.txt:
14102         * gst/Makefile.am:
14103         * gst/gst.h:
14104         * gst/gsturitype.c:
14105         * gst/gsturitype.h:
14106         * gst/gstutils.c: (gst_util_set_object_arg):
14107         * tools/gst-compprep.c: (main):
14108         * tools/gst-inspect.c: (print_element_properties_info):
14109         Removed GstURI, closes bug #321061
14110
14111 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14112
14113         * check/gst/gststructure.c: (GST_START_TEST):
14114         * gst/gststructure.c: (gst_structure_parse_value):
14115           Oops, broke automatic string type parsing.
14116           Add a test to catch it in future.
14117
14118 2005-11-22  Andy Wingo  <wingo@pobox.com>
14119
14120         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14121         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14122         Actually rename the function implementations. Grr.
14123
14124 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14125
14126         * check/gst/capslist.h:
14127           Comment test cases
14128         * check/gst/gststructure.c: (GST_START_TEST),
14129         (gst_structure_suite):
14130           Test automatic value type detection in gst_structure_from_string.
14131         * gst/gststructure.c: (gst_structure_parse_value):
14132           Add fraction as a type we try and guess automatically in
14133           caps/structure strings.
14134
14135 2005-11-22  Andy Wingo  <wingo@pobox.com>
14136
14137         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14138
14139         * gst/gsttagsetter.h:
14140         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14141         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14142         (gst_tag_setter_add_tag_valist)
14143         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14144         _add_values, _add_valist, and _add_valist_values. Since this is an
14145         interface the function suffixes should be more explicit so
14146         language binding don't end up with element.add_valist ->
14147         gst_tag_setter_add_valist, for example. Fixes #322069.
14148
14149 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14150
14151         * check/gst/gstcaps.c: (GST_START_TEST):
14152           Extend caps string tests to check that a caps to string
14153           conversion is reversible and produces the same caps.
14154
14155         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14156           Output "fraction" as the generic type fraction range, so caps
14157           serialisation and deserialisation works.
14158         * check/gst/capslist.h:
14159         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14160           Support 'MIN' and 'MAX' for deserialising fractions.
14161
14162 2005-11-22  Andy Wingo  <wingo@pobox.com>
14163
14164         * gst/gstevent.h (gst_event_new_new_segment)
14165         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14166         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14167         Renamed from *_newsegment, *_buffersize, *_notarget.
14168
14169         * scripts/update-funcnames: New script, performs the changes
14170         listed above.
14171
14172 2005-11-22  Wim Taymans  <wim@fluendo.com>
14173
14174         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14175         Make sure the GstFlowReturn is returned.
14176
14177         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14178         (gst_bus_add_signal_watch):
14179         * gst/gstbus.h:
14180         add gst_bus_add_signal_watch_full.
14181
14182         * gst/gstplugin.c: (gst_plugin_load_file):
14183         Small style cleanup.
14184
14185 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14186
14187         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14188           Block the fakesrc srcpad when we send an event, to avoid
14189           contention on the stream_lock causing random test failures.
14190
14191 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14192
14193         * check/gst/gstvalue.c: (GST_START_TEST):
14194         * gst/gstvalue.c: (gst_value_fraction_subtract):
14195           Fix subtraction.
14196
14197 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14198
14199         * gst/gst.h:
14200           include "gstchildproxy.h"
14201         * gst/gstchildproxy.h:
14202         * libs/gst/controller/gstcontroller.h:
14203           use G_GNUC_NULL_TERMINATED
14204
14205 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14206
14207         * check/gst/capslist.h:
14208         * check/gst/gstcaps.c: (GST_START_TEST):
14209         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14210         * gst/gststructure.c: (gst_structure_parse_range),
14211         (gst_structure_fixate_field_nearest_fraction):
14212         * gst/gststructure.h:
14213         * gst/gstvalue.c: (gst_value_init_fraction_range),
14214         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14215         (gst_value_collect_fraction_range),
14216         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14217         (gst_value_set_fraction_range_full),
14218         (gst_value_get_fraction_range_min),
14219         (gst_value_get_fraction_range_max),
14220         (gst_value_serialize_fraction_range),
14221         (gst_value_transform_fraction_range_string),
14222         (gst_value_compare_fraction_range),
14223         (gst_value_deserialize_fraction_range),
14224         (gst_value_intersect_fraction_fraction_range),
14225         (gst_value_intersect_fraction_range_fraction_range),
14226         (gst_value_subtract_fraction_fraction_range),
14227         (gst_value_subtract_fraction_range_fraction),
14228         (gst_value_subtract_fraction_range_fraction_range),
14229         (gst_value_collect_fraction), (gst_value_fraction_multiply),
14230         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14231         (gst_value_transform_string_fraction), (_gst_value_initialize):
14232         * gst/gstvalue.h:
14233           Implement fraction ranges and extend GstFraction to support
14234           arithmetic subtraction, as well as deserialization from integer
14235           strings such as "100"
14236           Add a testsuite as for int and double range set operations
14237
14238 2005-11-21  Andy Wingo  <wingo@pobox.com>
14239
14240         * gst/gsttaglist.h: 
14241         * gst/gstcaps.h: 
14242         * gst/gststructure.h: Add glib-compat.h.
14243
14244 2005-11-21  Wim Taymans  <wim@fluendo.com>
14245
14246         * gst/gstbin.c: (gst_bin_change_state_func):
14247         Fix for #321595
14248
14249 2005-11-21  Wim Taymans  <wim@fluendo.com>
14250
14251         * gst/gstsegment.h:
14252         And add a nice define too.
14253
14254 2005-11-21  Wim Taymans  <wim@fluendo.com>
14255
14256         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14257         (gst_segment_new), (gst_segment_free), (gst_segment_init),
14258         (gst_segment_set_duration), (gst_segment_set_last_stop),
14259         (gst_segment_set_seek), (gst_segment_set_newsegment),
14260         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14261         (gst_segment_clip):
14262         * gst/gstsegment.h:
14263         Make binding friendly.
14264
14265 2005-11-21  Andy Wingo  <wingo@pobox.com>
14266
14267         * gst/gsttagsetter.h: 
14268         * gst/gsttaglist.h: 
14269         * gst/gststructure.h: 
14270         * gst/gstcaps.h: 
14271         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14272         #319940.
14273
14274         * gst/gsterror.c (_gst_core_errors_init):
14275         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14276         category.
14277
14278         * gst/Makefile.am (gst_headers): Add glib-compat.h.
14279         (noinst_HEADERS): noinst the -private.
14280
14281 2005-11-21  Michael Smith <msmith@fluendo.com>
14282
14283         * gst/gstplugin.h:
14284         * gst/gstregistry.h:
14285           Remove unimplemented declarations for which we can see no sensible
14286           use.
14287
14288 2005-11-21  Andy Wingo  <wingo@pobox.com>
14289
14290         * gst/gst.h: Include glib-compat.h.
14291
14292         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14293
14294         * gst/glib-compat.c: Include the public and the private header.
14295
14296         * gst/glib-compat-private.h: Copied here from glib-compat.h.
14297
14298         * gst/gstvalue.c: 
14299         * gst/gstpad.c: 
14300         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14301
14302         * check/gst/gstevent.c (create_custom_events): Check that
14303         FLUSH_STOP is serialized.
14304
14305         * check/elements/identity.c (event_func): 
14306         * check/elements/fakesrc.c (event_func): No stream lock, the core
14307         takes it.
14308
14309         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14310         stream lock taking, yay.
14311
14312         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14313         ensure that core takes the stream lock.
14314
14315         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14316         lock name change.
14317
14318         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14319         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14320         it already. For the flush start we do take it though so we get the
14321         right preroll state change messages.
14322
14323         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14324         the stream lock here, the core does it for us.
14325
14326         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14327         GST_STREAM_GET_LOCK.
14328         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
14329         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
14330         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14331         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14332         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
14333         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14334
14335         * gst/gstpad.c: Update for stream lock name change.
14336
14337         * gst/base/gstbasesink.c: Update for preroll lock name change.
14338
14339 2005-11-21  Wim Taymans  <wim@fluendo.com>
14340
14341         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14342         (gst_clock_get_master):
14343         * gst/gstclock.h:
14344         * gst/gstsystemclock.c: (gst_system_clock_init):
14345         Convert Clock flags to object flags.
14346         Added methods to manage master/slave clocks.
14347
14348 2005-11-21  Wim Taymans  <wim@fluendo.com>
14349
14350         * check/gst/gstsegment.c: (GST_START_TEST):
14351         * docs/design/part-TODO.txt:
14352         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14353         (gst_base_sink_event), (gst_base_sink_do_sync),
14354         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14355         (gst_base_sink_query), (gst_base_sink_change_state):
14356         * gst/base/gstbasesink.h:
14357         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14358         (gst_base_src_default_newsegment),
14359         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14360         (gst_base_src_get_range), (gst_base_src_loop),
14361         (gst_base_src_change_state):
14362         * gst/base/gstbasesrc.h:
14363         * gst/base/gstbasetransform.c:
14364         (gst_base_transform_prepare_output_buf),
14365         (gst_base_transform_event), (gst_base_transform_change_state):
14366         * gst/base/gstbasetransform.h:
14367         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14368         (gst_collect_pads_event):
14369         * gst/base/gstcollectpads.h:
14370         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14371         (gst_fake_src_create):
14372         * gst/elements/gstfakesrc.h:
14373         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14374         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14375         (gst_segment_set_last_stop), (gst_segment_set_seek),
14376         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14377         (gst_segment_to_running_time), (gst_segment_clip):
14378         * gst/gstsegment.h:
14379         More segment updates, replace code in plugins with segment
14380         helper functions.
14381
14382 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14383
14384         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14385         Don't ignore sscanf results
14386
14387 2005-11-21  Andy Wingo  <wingo@pobox.com>
14388
14389         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14390
14391         * *.h:
14392         * *.c: Ran scripts/update-macros. Oh yes.
14393
14394         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14395         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14396         GST_GET_LOCK, etc.
14397
14398         * scripts/update-macros: New script. Run it on your files to
14399         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14400         well.
14401
14402 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14403
14404         * docs/gst/Makefile.am:
14405         * docs/gst/gstreamer-docs.sgml:
14406         * docs/gst/gstreamer-sections.txt:
14407         * docs/gst/gstreamer.types:
14408         * gst/gstinfo.h:
14409           more docs fixes, add new api to the docs
14410
14411 2005-11-21  Andy Wingo  <wingo@pobox.com>
14412
14413         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14414         state_broadcast call.
14415
14416         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14417
14418 2005-11-21  Julien MOUTTE  <julien@moutte.net>
14419
14420         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14421         function calls for arrays.
14422
14423 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14424
14425         * docs/random/ensonic/media-device-daemon.txt:
14426           wild idea, can this be done?
14427         * docs/gst/gstreamer-sections.txt:
14428         * gst/gsterror.h:
14429         * gst/gstfilter.c:
14430         * gst/gstfilter.h:
14431         * gst/gstplugin.h:
14432         * gst/gstpluginfeature.c:
14433         * gst/gsttrace.c:
14434         * gst/gstvalue.c:
14435         * gst/gstvalue.h:
14436           doc fixes and additions
14437
14438 2005-11-21  Andy Wingo  <wingo@pobox.com>
14439
14440         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
14441         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
14442         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
14443         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14444         private to the basesrc implementation.
14445
14446         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14447         behalf of event function if necessary. It should no longer be
14448         necessary to take the stream lock in pad's event functions. Fixes
14449         #320299.
14450
14451 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14452         * docs/gst/gstreamer-sections.txt:
14453         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14454         (gst_structure_fixate_field_nearest_double),
14455         (gst_structure_fixate_field_boolean):
14456         * gst/gststructure.h:
14457         * win32/common/libgstreamer.def:
14458         * win32/gstreamer.def:
14459
14460         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14461         (#322027)
14462
14463 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14464
14465         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14466         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14467         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14468         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14469         (gst_fdsrc_uri_handler_init):
14470         * gst/elements/gstfdsrc.h:
14471           Port fd:// URI handler from 0.8 to fdsrc
14472
14473 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14474
14475         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14476         (gst_value_serialize_fourcc):
14477         * gst/gstvalue.h:
14478           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14479           consistent with our other format defines (#320324).
14480
14481 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14482
14483         * gst/gstvalue.c: (gst_value_is_fixed):
14484           Revert previous commit. Value lists are by definition
14485           not fixed, as they are a list of possible values.
14486
14487 2005-11-21  Andy Wingo  <wingo@pobox.com>
14488
14489         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14490         during the stable series if we need it. Fixes #319178.
14491
14492         * gst/gstevent.c (gst_event_new_filler): Removed.
14493
14494         * check/gst/gstevent.c: Update comment about filler events.
14495
14496 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14497
14498         * gst/gstvalue.c: (gst_value_is_fixed):
14499           Should handle both value arrays and value lists.
14500
14501 2005-11-21  Andy Wingo  <wingo@pobox.com>
14502
14503         patch by: Alessandro Dessina <alessandro nnva org>
14504
14505         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14506         functions to access arrays. Fixes #321962.
14507
14508 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14509
14510         * docs/gst/gstreamer.types:
14511           gst_collectpads_get_type => gst_collect_pads_get_type.
14512           
14513         * gst/base/gstbasetransform.c:
14514           Remove unused SIGNAL_HANDOFF enum.
14515
14516 2005-11-21  Andy Wingo  <wingo@pobox.com>
14517
14518         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14519         the event type (upstream, downstream, serialized). Renamed
14520         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14521         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14522         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14523
14524         * gst/gstevent.c: Update for new CUSTOM event names.
14525
14526         * check/gst/gstevent.c: Update check for new CUSTOM event names.
14527
14528         * gst/gstevent.h:
14529         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14530         bug #319392.
14531
14532 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14533
14534         * docs/gst/gstreamer-sections.txt:
14535         * win32/common/libgstbase.def:
14536         * win32/libgstbase.def:
14537         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14538         (gst_collect_pads_class_init), (gst_collect_pads_init),
14539         (gst_collect_pads_finalize), (gst_collect_pads_new),
14540         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14541         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14542         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14543         (gst_collect_pads_start), (gst_collect_pads_stop),
14544         (gst_collect_pads_peek), (gst_collect_pads_pop),
14545         (gst_collect_pads_available), (gst_collect_pads_read),
14546         (gst_collect_pads_flush), (gst_collect_pads_event),
14547         (gst_collect_pads_chain):
14548         * gst/base/gstcollectpads.h:
14549           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14550           unimplemented functions as unimplemented. Add padding to
14551           GstCollectData. (#320766, #320423)
14552
14553 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14554
14555         * gst/gstmessage.c:
14556           Improve docs for DURATION message (usage of duration parameter)
14557           (#320113)
14558
14559 2005-11-20  Wim Taymans  <wim@fluendo.com>
14560
14561         * check/Makefile.am:
14562         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14563         (main):
14564         * gst/Makefile.am:
14565         * gst/gst.h:
14566         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14567         (gst_segment_set_seek), (gst_segment_set_newsegment),
14568         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14569         (gst_segment_clip):
14570         * gst/gstsegment.h:
14571         Added segment helper structure and methods. Not fully implemented
14572         yet.
14573         Added segment check.
14574
14575 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
14576
14577         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14578           Add a deserialisation test for fractions
14579         * examples/metadata/read-metadata.c: (message_loop),
14580         (make_pipeline), (main):
14581           Fix up metadata reading sample.
14582         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14583           Debug format fix
14584         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14585           Don't try and fixate empty caps
14586         * gst/gst_private.h:
14587           Wrap in G_BEGIN_DECLS/G_END_DECLS
14588         * gst/gstvalue.c: (gst_value_collect_fraction),
14589         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14590         (gst_value_transform_string_fraction),
14591         (gst_value_compare_fraction):
14592           Add some extra guards to ensure that we don't end up 
14593           with an invalid denominator of 0 in a gstfraction and
14594           that fractions always get reduced.
14595
14596 2005-11-20  Wim Taymans  <wim@fluendo.com>
14597
14598         * docs/gst/gstreamer-sections.txt:
14599         * gst/gstbuffer.h:
14600         * gst/gstelement.c:
14601         * gst/gstformat.c:
14602         * gst/gstformat.h:
14603         * gst/gstindex.h:
14604         * gst/gstquery.c:
14605         * gst/gstquery.h:
14606         * gst/gstvalue.c:
14607         Doc fixes.
14608
14609 2005-11-20  Wim Taymans  <wim@fluendo.com>
14610
14611         * docs/design/part-TODO.txt:
14612         * gst/gstcaps.h:
14613         Make a proper enum of the flag.
14614
14615 2005-11-19  Wim Taymans  <wim@fluendo.com>
14616
14617         * docs/design/part-TODO.txt:
14618         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14619         (gst_format_to_quark), (gst_format_register):
14620         * gst/gstformat.h:
14621         * gst/gstquery.c: (_gst_query_initialize),
14622         (gst_query_type_get_name), (gst_query_type_to_quark),
14623         (gst_query_type_register):
14624         * gst/gstquery.h:
14625         Add type to quark and type to string conversions.
14626
14627 2005-11-19  Andy Wingo  <wingo@pobox.com>
14628
14629         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14630         #320097.
14631
14632 2005-11-19  Wim Taymans  <wim@fluendo.com>
14633
14634         * docs/design/part-TODO.txt:
14635         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14636         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14637         (gst_bin_handle_message_func):
14638         * gst/gstbin.h:
14639         Make message handling overridable.
14640
14641 2005-11-19  Andy Wingo  <wingo@pobox.com>
14642
14643         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14644
14645         * gst/gstclock.h:
14646         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14647         be a GstClockTime.
14648         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14649         is a GstClockTime. Fixes #321710.
14650
14651         * gst/gstclock.h (GstClock): Remove offset property. Add
14652         internal_calibration and external_calibration. Fix padding. Pad
14653         also by GstClockTime so we don't run into problems.
14654
14655         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14656         (gst_clock_get_rate_offset): Remove.
14657         (gst_clock_set_time_adjust): Remove. Fixes #321712.
14658
14659         * gst/gstutils.h:
14660         * gst/gstutils.c (g_static_rec_cond_wait)
14661         (g_static_rec_cond_timed_wait): Removed, no longer needed.
14662
14663         * gst/gstbin.c: Remove terrible continue_state prototype.
14664
14665         * gst/gstelement.h (gst_element_continue_state): Make public.
14666
14667         * gst/gstelement.h:
14668         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14669         by continue_state. Fixes #319389.
14670
14671         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14672         Really fixes #168438. However I don't see anywhere where the
14673         filter function is called... stupid GStreamer...
14674         
14675         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
14676         don't have a dispose function, so it won't get called when the
14677         object is unreffed, but oh well!
14678
14679         * gst/gstindex.c (gst_index_set_filter_full): New API function,
14680         allows a destroy function to be set so user_data can be freed.
14681         Fixes #168438.
14682         (gst_index_set_filter): Call gst_index_set_filter_full.
14683
14684         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
14685
14686         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
14687         string should produce an error, given the lack of a way to
14688         represent NULL strings. Fixes #165650.
14689         
14690         * gst/gstvalue.h: 
14691         * gst/gstvalue.c (gst_value_array_append_value) 
14692         (gst_value_array_prepend_value, gst_value_array_get_size) 
14693         (gst_value_array_get_value): New API, copied from
14694         gst_value_list_*, only operates on arrays.
14695         (gst_value_list_append_value, gst_value_list_prepend_value) 
14696         (gst_value_list_concat, gst_value_list_get_size) 
14697         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
14698
14699         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
14700         init_list, because it works on both.
14701         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
14702         (gst_value_copy_list_or_array): Renamed from copy_list.
14703         (gst_value_free_list_or_array): Renamed from free_list.
14704         (gst_value_collect_list_or_array): Renamed from collect_list.
14705         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
14706         (gst_value_list_or_array_peek_pointer): Renamed from
14707         list_peek_pointer.
14708         (_gst_value_array_value_table, _gst_value_list_value_table):
14709         Update value table functions.
14710         (gst_value_compare_list_or_array): Renamed from compare_list.
14711
14712         * gsttaglist.h: Whoops, foreach function returns void. Also fix
14713         some constness.
14714
14715         * gst/gsttaglist.c:
14716         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
14717         GstTagList*. Fixes #143472.
14718
14719         * gst/gststructure.h: Clarify what the foreach/map functions can
14720         or can't do to their arguments.
14721
14722 2005-11-18  Wim Taymans  <wim@fluendo.com>
14723
14724         * gst/gstclock.c: (gst_clock_set_calibration),
14725         (gst_clock_get_calibration):
14726         Doc and API fixes.
14727         Calibration can be set with internal time equal to current
14728         internal time too.
14729
14730 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
14731
14732         * gst/gsterror.c:
14733         * gst/gsterror.h:
14734           document
14735
14736 2005-11-18  Andy Wingo  <wingo@pobox.com>
14737
14738         * configure.ac: 
14739         * pkgconfig/gstreamer-net.pc.in:
14740         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14741         * pkgconfig/Makefile.am: Add net pkgconfig files.
14742
14743 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
14744
14745         * gst/gstcaps.c:
14746         * gst/gstghostpad.c:
14747         * gst/gsttrace.c:
14748         * gst/gstvalue.c:
14749         * gst/gstvalue.h:
14750           docs fixes
14751
14752 2005-11-18  Andy Wingo  <wingo@pobox.com>
14753
14754         * gst/net/gstnetclientclock.c: Turn off debugging.
14755
14756         * check/net/gstnetclientclock.c (test_functioning): Assert that the
14757         times connverge somewhat. Can't make a real test.
14758
14759         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
14760         integer arithmetic. Return the minimum of the domain, which can be
14761         set as "internal" for gst_clock_set_calibration.
14762         (gst_net_client_clock_observe_times): Call _set_calibration.
14763         (gst_net_client_clock_new): Call _set_calibration instead of
14764         rate_offset.
14765
14766         * check/net/gstnetclientclock.c (test_functioning): Use the right
14767         adjustment api.
14768
14769         * gst/gstclock.h:
14770         * gst/gstclock.c (gst_clock_get_calibration) 
14771         (gst_clock_set_calibration): New functions, obsolete the ones I
14772         added yesterday. Doh. Precision issues mean we have to extrapolate
14773         from a point in the more recent past than 1970.
14774         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
14775         obsolete.
14776         (gst_clock_adjust_unlocked): Use the right calibration data.
14777
14778 2005-11-18  Edward Hervey  <edward@fluendo.com>
14779
14780         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
14781         Also reset the ->current_* values in READY->PAUSED
14782
14783 2005-11-18  Andy Wingo  <wingo@pobox.com>
14784
14785         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
14786         Whoops, check the right fd. Also add some debugging.
14787         (gst_net_client_clock_observe_times): Adjust for int64 offset.
14788         (do_linear_regression): Add a crapload of debugging. Subtract off
14789         the minimum values from the input series to discard unneeded bits.
14790         Use only int arithmetic. There is still double arithmetic when
14791         calculating the intercept that needs fixing. Return boolean to
14792         indicate success; FALSE would mean the domain or range is too
14793         great. Still needs fixes.
14794
14795 2005-11-18  Wim Taymans  <wim@fluendo.com>
14796
14797         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14798         For the current position in stream time, we need to subtract
14799         accumulated time.
14800         
14801         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14802         Release lock before calling the callback function of async
14803         entries.
14804
14805 2005-11-18  Andy Wingo  <wingo@pobox.com>
14806
14807         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14808         Port goes all the way to MAXUINT16.
14809
14810         * gst/net/gstnettimeprovider.c: Make the port range the same as
14811         for the kernel: 0 assigns, otherwise ports are less than
14812         MAXUINT16.
14813
14814         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14815         port change.
14816
14817         * check/net/gstnetclientclock.c (test_functioning): Add the start
14818         of another test. 
14819
14820 2005-11-18  Wim Taymans  <wim@fluendo.com>
14821
14822         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14823         (gst_bin_remove_func), (bin_bus_handler):
14824         * gst/gstbin.h:
14825         Removing a clock provider from a bin, triggers a clock lost message
14826         so that a new clock will be selected.
14827         Adding a clock to a bin triggers a clock provider message.
14828         Make sure we reselect a clock when we received a clock lost message.
14829         Keep a reference to the element that provided the clock.
14830
14831 2005-11-18  Andy Wingo  <wingo@pobox.com>
14832
14833         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14834         the clock initially so it produces values around the base time.
14835         (gst_net_client_clock_class_init): Typo fix.
14836         (gst_net_client_clock_thread): Add note on when the socket gets
14837         closed.
14838
14839 2005-11-17  Wim Taymans  <wim@fluendo.com>
14840
14841         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14842         Free remote and local time arrays.
14843
14844 2005-11-17  Wim Taymans  <wim@fluendo.com>
14845
14846         * gst/net/gstnetclientclock.c: (do_linear_regression),
14847         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14848         Fix compilation, uninitialized vars and a forgotten continue.
14849
14850 2005-11-17  Andy Wingo  <wingo@pobox.com>
14851
14852         * check/Makefile.am (check_PROGRAMS): 
14853         * check/net/gstnetclientclock.c: Add a most minimal test for the
14854         net client clock. More to come later.
14855
14856         * gst/net/gstnet.h: 
14857         * gst/net/Makefile.am: Add netclientclock.
14858
14859         * gst/net/gstnetclientclock.h:
14860         * gst/net/gstnetclientclock.c: New files, implement an untested
14861         GstClock that takes its time from a network time provider.
14862         Implements the algorithm in network-clock.scm.
14863
14864         * tests/network-clock.scm (*window-size*): Rename from
14865         *queue-length*.
14866         * tests/network-clock.scm (network-time): 
14867         * tests/network-clock-utils.scm (q-push): Update callers.
14868
14869 2005-11-17  Wim Taymans  <wim@fluendo.com>
14870
14871         * gst/gstbin.c: (gst_bin_provide_clock_func),
14872         (gst_bin_sort_iterator_new):
14873         And unref the child too..
14874
14875 2005-11-17  Wim Taymans  <wim@fluendo.com>
14876
14877         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14878         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14879         Refactor the sort iterator so it can be used while holding the
14880         LOCK too.
14881         Make clock selection select a clock closest to the source.
14882
14883 2005-11-17  Michael Smith <msmith@fluendo.com>
14884
14885         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14886         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14887         * gst/gstclock.h:
14888           Anonymous structs are a gcc (and some other compilers) extension, so
14889           don't use them. Since this is only for ABI-compatibility, and our
14890           API/ABI freeze is over in a few days, this whole thing will only
14891           last a few days, so don't bother trying to think up a meaningful
14892           name for the struct.
14893
14894 2005-11-17  Andy Wingo  <wingo@pobox.com>
14895
14896         * gst/gstclock.h (GstClock): Add rate and offset properties,
14897         preserving ABI stability. Add rate/offset accessors. Will file bug
14898         for the freeze break.
14899
14900         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14901         and offset, trying to keep precision and avoiding
14902         underflow/overflow.
14903         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14904         functions. Make gst_clock_set_time_adjust obsolete.
14905         (gst_clock_set_time_adjust): Note that this function is obsolete.
14906         Will file bug soon.
14907
14908         * gst/base/gstbasetransform.h: Make the ABI-stability hack
14909         greppable by using GST_PADDING-1+1.
14910
14911 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
14912
14913         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14914
14915         * gst/gstmessage.c: (gst_message_parse_clock_lost):
14916           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14917
14918         * gst/gstpadtemplate.h:
14919         * gst/gstpluginfeature.h:
14920           Don't use c++ style comments in headers (#321638).
14921
14922 2005-11-16  Andy Wingo  <wingo@pobox.com>
14923
14924         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14925         buffer.
14926
14927         * check/net/gstnettimeprovider.c: Check to see that the time
14928         provider actually provides times. Works, yo!
14929
14930 2005-11-16  Wim Taymans  <wim@fluendo.com>
14931
14932         * check/Makefile.am:
14933         Enable more tests.
14934
14935         * check/elements/fakesrc.c: (GST_START_TEST):
14936         Set element to NULL before disposing it.
14937
14938 2005-11-16  Andy Wingo  <wingo@pobox.com>
14939
14940         * gst/net/Makefile.am:
14941         * gst/net/gstnet.h:
14942         * gst/net/gstnettimeprovider.c: 
14943         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14944         provider, include it from gstnet.h, and add it to the build.
14945
14946         * gst/net/gstnettimepacket.h: 
14947         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14948         sending and receiving.
14949
14950 2005-11-16  Wim Taymans  <wim@fluendo.com>
14951
14952         * check/Makefile.am:
14953         Enable valgrind check.
14954
14955         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14956         (gst_fake_src_alloc_buffer):
14957         Fix memleak.
14958
14959 2005-11-16  Wim Taymans  <wim@fluendo.com>
14960
14961         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14962         Call parent finalize too.
14963
14964 2005-11-16  Wim Taymans  <wim@fluendo.com>
14965
14966         * check/Makefile.am:
14967         Enable valgrind check that should work fine now.
14968
14969         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14970         * gst/gstqueue.c: (gst_queue_init):
14971         Fix memleaks in pad allocation.
14972
14973 2005-11-16  Andy Wingo  <wingo@pobox.com>
14974
14975         * gst/net/Makefile.am:
14976         * gst/net/gstnet.h: New part of core to hold network elements and
14977         objects. Put in core because it exposes API that applications want
14978         to use. The library is named libgstnet-tempname right now because
14979         of the existing libgstnet in gst-plugins-base. Solution is
14980         probably to rename the one in plugins-base; will file a bug for
14981         the freeze break.
14982
14983         * gst/net/gstnettimeprovider.c: 
14984         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14985         get_time call over the network.
14986
14987         * configure.ac: 
14988         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14989
14990         * check/Makefile.am:
14991         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14992         get additions shortly.
14993
14994 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14995
14996         * gst/gstpad.c: (gst_pad_new_from_static_template):
14997         * gst/gstpad.h:
14998           add gst_pad_new_from_static_template functions
14999         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15000         (gst_check_setup_sink_pad):
15001         * gst/elements/gsttee.c: (gst_tee_init):
15002           and use them
15003
15004 2005-11-16  Wim Taymans  <wim@fluendo.com>
15005
15006         * gst/gstpad.c: (gst_pad_pause_task):
15007         Removed warning, it's not really an error either.
15008
15009 2005-11-16  Wim Taymans  <wim@fluendo.com>
15010
15011         * gst/base/gstbasetransform.c:
15012         (gst_base_transform_prepare_output_buf),
15013         (gst_base_transform_event):
15014         Check if the caps are NULL, this can happen if the element
15015         is shutting down and the pad caps are set to NULL.
15016
15017 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15018
15019         * gst/elements/gsttee.c: (gst_tee_init):
15020           fix pad template leak in tee
15021
15022 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15023
15024         * gst/glib-compat.c: (g_value_dup_gst_object):
15025         * gst/glib-compat.h:
15026         * gst/gstpad.c: (gst_pad_set_property):
15027           use gst_object_ref when setting the pad template; this will
15028           trigger the pad template leaks on GLib 2.6 and the slaves
15029
15030 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15031
15032         * gst/glib-compat.c: (gst_flags_get_first_value):
15033         * gst/glib-compat.h:
15034         * gst/gstregistryxml.c:
15035           remove functions copied from GLib 2.6
15036
15037 2005-11-16  Michael Smith <msmith@fluendo.com>
15038
15039         * gst/Makefile.am:
15040           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15041           do, but only breaks with newer valgrind versions. We're not a
15042           valgrind tool, we have no link-time dependencies on libcoregrind.
15043
15044 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15045
15046         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15047           some debug changes
15048         * gst/gstmessage.h:
15049           typo fixes
15050
15051 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15052
15053         * gst/base/gstbasesrc.c: (gst_base_src_init):
15054         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15055         * gst/gstqueue.c: (gst_queue_init):
15056         * gst/gstregistryxml.c: (load_feature):
15057           Revert all these unrefs, they don't even pass make check !
15058
15059 2005-11-15  Johan Dahlin  <johan@gnome.org>
15060
15061         * gst/base/gstbasesrc.c: (gst_base_src_init):
15062         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15063         * gst/gstqueue.c: (gst_queue_init): 
15064         Free pad templates, fixes a couple of leaks.
15065
15066 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15067
15068         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15069
15070         * gst/gstpad.c: (gst_pad_get_property):
15071           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15072           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15073           (#321452)
15074
15075 2005-11-15  Wim Taymans  <wim@fluendo.com>
15076
15077         * gst/gstevent.c:
15078         Small doc update.
15079
15080 2005-11-15  Andy Wingo  <wingo@pobox.com>
15081
15082         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15083
15084         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15085         using GST_CLOCK_TIME_NONE to disable base time management.
15086         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15087         time if it was NONE before.
15088         (gst_pipeline_change_state): Only munge the base time if
15089         stream_time != GST_CLOCK_TIME_NONE.
15090
15091         * check/gst/gstpipeline.c (test_base_time): Punt around the
15092         problem of the probe not being called, because that's not the
15093         issue I'm looking at. Add a check that setting stream_time to NONE
15094         disables base time management.
15095         
15096 2005-11-15  Wim Taymans  <wim@fluendo.com>
15097
15098         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15099         segment_stop == -1 at startup.
15100
15101         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15102         (gst_base_transform_change_state):
15103         Init segment values at start.
15104
15105 2005-11-15  Wim Taymans  <wim@fluendo.com>
15106
15107         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15108         0 segment values are 0 in any format.
15109
15110         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15111         * gst/base/gstbasetransform.h:
15112         Parse newsegment correctly in basetransform
15113
15114         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15115         Sync to clock using updated segment values.
15116
15117 2005-11-15  Andy Wingo  <wingo@pobox.com>
15118
15119         * check/gst/gstpipeline.c (test_base_time): Add check that the
15120         base time and stream time are reset correctly.
15121
15122 2005-11-15  Wim Taymans  <wim@fluendo.com>
15123
15124         * docs/design/part-TODO.txt:
15125         Some more TODO items.
15126
15127 2005-11-15  Andy Wingo  <wingo@pobox.com>
15128
15129         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15130         error if the user selected "no clock" as the clocking method.
15131
15132         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15133         timestamps with live capture.
15134
15135         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15136         is 0 but we are a live source, timestamp the buffers using the
15137         element's clock.
15138
15139 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15140
15141         * docs/gst/gstreamer-sections.txt:
15142         * gst/gsterror.c:
15143         * gst/gstghostpad.c:
15144         * gst/gstobject.h:
15145         * gst/gstxml.c:
15146           more section docs
15147
15148 2005-11-14  Wim Taymans  <wim@fluendo.com>
15149
15150         * common/gst.supp:
15151           add suppressions from Wim's Debian machine
15152
15153 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15154
15155         * common/gst.supp:
15156           add suppressions from Andy's AMD64 Ubuntu machine
15157
15158 2005-11-14  Andy Wingo  <wingo@pobox.com>
15159
15160         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15161         STATE_LOCK not necessary. Fixes #311489.
15162
15163         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15164         #305291.
15165
15166         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15167         this function is not implemented.
15168
15169 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15170
15171         * gst/base/gstbasetransform.c:
15172         (gst_base_transform_prepare_output_buf):
15173         Ref the source pad caps while we need them.
15174         Fixes (#321386)
15175
15176 2005-11-11  Wim Taymans  <wim@fluendo.com>
15177
15178         * docs/gst/gstreamer-sections.txt:
15179         Added some docs for GstCollectData.
15180
15181         * gst/base/gstadapter.c:
15182         Some small code example fix.
15183
15184         * gst/base/gstcollectpads.c:
15185         * gst/base/gstcollectpads.h:
15186         Document some more.
15187
15188 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15189
15190         * configure.ac: back to HEAD
15191
15192 === release 0.9.5 ===
15193
15194 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15195
15196         * configure.ac:
15197           releasing 0.9.5, "Bike Lunch Day"
15198
15199 2005-11-11  Wim Taymans  <wim@fluendo.com>
15200
15201         * gst/gstbuffer.c: (_gst_buffer_copy):
15202         Copy more flags.
15203
15204         * gst/gstcaps.c: (gst_caps_is_equal):
15205         Fix some docs.
15206         Make _is_equal fast in the trivial cases.
15207
15208         * gst/gstminiobject.c:
15209         * gst/gstminiobject.h:
15210         More docs. Spifify .h file.
15211
15212         * gst/gstutils.c:
15213         Small doc update.
15214
15215 2005-11-11  Wim Taymans  <wim@fluendo.com>
15216
15217         * gst/base/gstbasetransform.c:
15218         (gst_base_transform_prepare_output_buf),
15219         (gst_base_transform_handle_buffer):
15220         Small cleanups.
15221         If we're processing a buffer and need to allocate an output
15222         buffer, we cannot accept a format change. If we did get a 
15223         format change, we have to alloc a buffer ourselves of the 
15224         right size.
15225
15226 2005-11-11  Wim Taymans  <wim@fluendo.com>
15227
15228         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15229         While checking the flag for reentrancy in the gstcaps function
15230         is nice to detect recursive invocations, it also makes it 
15231         impossible to call getcaps from multiple threads, which must be
15232         possible. So, checking for recursive calls has to go.
15233
15234 2005-11-11  Michael Smith <msmith@fluendo.com>
15235
15236         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15237           Don't sync on buffers that fall partially outside our current
15238           segment. Prevents an assertion failure/abort playing some files.
15239
15240 2005-11-10  Andy Wingo  <wingo@pobox.com>
15241
15242         * check/gst/gstbin.c (test_message_state_changed_children): Style
15243         fix..
15244
15245         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15246         gst_bus_poll with the signal watch. Ensures that poll and a signal
15247         watch see the same messages.
15248
15249         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15250         a poll and a watch at the same time get the same messages.
15251
15252 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15253
15254         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15255         * gst/gstcaps.c: (gst_caps_intersect):
15256           Don't call gst_caps_do_simplify - it doesn't respect order of caps
15257           and it's not needed.
15258
15259 2005-11-10  Wim Taymans  <wim@fluendo.com>
15260
15261         * docs/design/part-TODO.txt:
15262         Updated todo.
15263
15264 2005-11-10  Wim Taymans  <wim@fluendo.com>
15265
15266         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15267         * gst/base/gstbasesrc.c: (gst_base_src_wait),
15268         (gst_base_src_do_sync), (gst_base_src_get_range):
15269         Implement clock sync in base class.
15270
15271 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15272
15273         patch by: Tim-Philipp Müller <tim at centricular dot net>
15274
15275         * gst/gststructure.c: (gst_structure_parse_field),
15276         (gst_structure_from_string):
15277           Forward-port a 0.8 patch to handle escaped spaces in structure string,
15278           so that gst_parse_launch() can deal with spaces in filtered link
15279           caps (fixes #164479)
15280         * check/gst/capslist.h:
15281         * check/gst/gststructure.c: (GST_START_TEST):
15282           add unit tests for this change
15283
15284 2005-11-10  Wim Taymans  <wim@fluendo.com>
15285
15286         * docs/gst/gstreamer-sections.txt:
15287         * gst/gstelement.c:
15288         * gst/gstelement.h:
15289         Fix docs, move some STATE macros to private.
15290
15291 2005-11-10  Wim Taymans  <wim@fluendo.com>
15292
15293         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15294         Added check for bug #317341
15295
15296         * gst/gstbuffer.c:
15297         * gst/gstbuffer.h:
15298         Some more spiffifying.
15299
15300         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15301         Call peer linkfunction if we are a source pad. Totally fixes
15302         #317341
15303
15304         * gst/gstpad.c:
15305         Update docs, source pads should call the peer linkfunction
15306         so they can atomically perform the pad link.
15307
15308 2005-11-09  Wim Taymans  <wim@fluendo.com>
15309
15310         * gst/gstbuffer.c:
15311         * gst/gstbuffer.h:
15312         Uber-spiffy-spiffify some more.
15313
15314 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
15315
15316         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15317         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15318         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15319         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15320         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15321         * gst/gstpad.c: (gst_pad_init):
15322           Use GST_DEBUG_FUNCPTR() more extensively.
15323
15324 2005-11-09  Wim Taymans  <wim@fluendo.com>
15325
15326         * gst/gstobject.c: (gst_object_class_init):
15327         * gst/gstobject.h:
15328         Documentation fixes.
15329
15330 2005-11-09  Edward Hervey  <edward@fluendo.com>
15331
15332         * gst/gsttypefindfactory.c:
15333         Fix docs.
15334         
15335 2005-11-09  Edward Hervey  <edward@fluendo.com>
15336
15337         * gst/base/gsttypefindhelper.c:
15338         * gst/gsttypefind.c:
15339         * gst/gsttypefind.h:
15340         Fix docs.
15341
15342 2005-11-09  Wim Taymans  <wim@fluendo.com>
15343
15344         * gst/gstiterator.c:
15345         Fix revision data.
15346
15347         * gst/gsttask.c:
15348         * gst/gsttask.h:
15349         Fix docs.
15350
15351 2005-11-09  Wim Taymans  <wim@fluendo.com>
15352
15353         * gst/gstevent.h:
15354         * gst/gsturi.h:
15355         Fix docs.
15356
15357 2005-11-09  Wim Taymans  <wim@fluendo.com>
15358
15359         * docs/gst/gstreamer-sections.txt:
15360         Moved the message async delivery private lock and cond
15361         to the private section.
15362
15363         * gst/gstmessage.c:
15364         * gst/gstmessage.h:
15365         Fixed docs.
15366
15367 2005-11-09  Edward Hervey  <edward@fluendo.com>
15368
15369         * docs/gst/gstreamer-sections.txt:
15370         * gst/gsturi.c:
15371         * gst/gsturi.h:
15372         Document GstURIHandler
15373
15374 2005-11-09  Wim Taymans  <wim@fluendo.com>
15375
15376         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15377         (gst_iterator_find_custom):
15378         * gst/gstiterator.h:
15379         Fix iterator docs.
15380
15381 2005-11-09  Wim Taymans  <wim@fluendo.com>
15382
15383         * gst/gstbin.h:
15384         Document another field.
15385
15386         * gst/gststructure.c:
15387         * gst/gststructure.h:
15388         Document.
15389
15390 2005-11-09  Wim Taymans  <wim@fluendo.com>
15391
15392         * gst/gstbin.h:
15393         Documented structs.
15394
15395 2005-11-09  Wim Taymans  <wim@fluendo.com>
15396
15397         * docs/gst/gstreamer-sections.txt:
15398         Added some new macros.
15399
15400         * gst/gstclock.c:
15401         * gst/gstclock.h:
15402         * gst/gstobject.h:
15403         Docs updates.
15404
15405 2005-11-09  Wim Taymans  <wim@fluendo.com>
15406
15407         * docs/design/part-TODO.txt:
15408         Some more items for the TODO
15409
15410         * gst/gstcaps.c:
15411         * gst/gstcaps.h:
15412         Document GstCaps.
15413
15414 2005-11-09  Andy Wingo  <wingo@pobox.com>
15415
15416         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15417         to work on something else now tho...
15418
15419         * gst/base/gstadapter.c: More adapter docs.
15420
15421         * gst/elements/gstfilesink.c (gst_file_sink_start) 
15422         (gst_file_sink_stop): New functions, replace the state change
15423         handler.
15424         (gst_file_sink_class_init): Hook up the start and stop functions.
15425         (gst_file_sink_base_init): Don't set the state change handler any
15426         more. It was a bit ugly too, being set from here...
15427         (gst_file_sink_get_property, gst_file_sink_set_property):
15428         Cleanups...
15429         (gst_file_sink_set_location): More robust check that doesn't call
15430         GST_STATE. Ugggggg.
15431
15432 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
15433
15434         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15435           Hold STREAM_LOCK while pushing newsegment or tag events as well.
15436
15437 2005-11-08  Wim Taymans  <wim@fluendo.com>
15438
15439         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15440         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15441         (gst_base_sink_chain), (gst_base_sink_change_state):
15442         * gst/base/gstbasesink.h:
15443         * gst/base/gstbasesrc.h:
15444         * gst/gstelement.h:
15445         * gst/gstevent.h:
15446         Avoid excessive typechecking in macros.
15447
15448         * gst/gstminiobject.c: (gst_mini_object_get_type),
15449         (gst_mini_object_init), (gst_mini_object_new),
15450         (gst_mini_object_free):
15451         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15452         (gst_object_finalize):
15453         Remove cruft code, optimize alloc_trace.
15454
15455 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15456
15457         * docs/faq/gst-uninstalled:
15458           fix up PS1 for systems that try to reset it
15459
15460 2005-11-07  Wim Taymans  <wim@fluendo.com>
15461
15462         * gst/base/gstbasesrc.c: (gst_base_src_init),
15463         (gst_base_src_get_range):
15464         Set the segment_end to -1 initially. Fixed typefind.
15465
15466 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
15467
15468         * gst/base/gstadapter.c:
15469           Debug category should be 'adapter', not 'GstAdapter'.
15470           
15471         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15472         (gst_collectpads_class_init), (gst_collectpads_init),
15473         (gst_collectpads_peek), (gst_collectpads_pop),
15474         (gst_collectpads_event), (gst_collectpads_chain):
15475           Add debug category and some debugging output. Use boilerplate
15476           macros. Remove some extraneous words from docs.
15477
15478 2005-11-05  Andy Wingo  <wingo@pobox.com>
15479
15480         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15481         macro.
15482
15483 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15484
15485         * docs/gst/gstreamer-sections.txt:
15486         * gst/gstcaps.h:
15487         * gst/gstinfo.c:
15488         * gst/gstminiobject.h:
15489         * gst/gstobject.h:
15490         * gst/gstutils.h:
15491           more docs added
15492
15493 2005-11-04  Wim Taymans  <wim@fluendo.com>
15494
15495         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15496         Small update to stop at the configured segment_end
15497         position.
15498
15499 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15500
15501         * gst/gstregistry.c:
15502         * gst/gstregistry.h:
15503           added missing docs
15504
15505 2005-11-04  Edward Hervey  <edward@fluendo.com>
15506
15507         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15508         Check if we are doing a segment seek and have arrived at the
15509         end of that segment.
15510
15511 2005-11-04  Wim Taymans  <wim@fluendo.com>
15512
15513         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15514         Don't leak a mutex unlock in case of an error.
15515
15516         * gst/gstbus.h:
15517         Doc fixes.
15518
15519 2005-11-04  Wim Taymans  <wim@fluendo.com>
15520
15521         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15522         (gst_bus_post):
15523         Get the context to wake up only once.
15524
15525 2005-11-03  Wim Taymans  <wim@fluendo.com>
15526
15527         * check/states/sinks.c: (GST_START_TEST):
15528         Uncomment fixed check.
15529
15530         * docs/design/part-TODO.txt:
15531         Updated TODO.
15532
15533         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15534         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15535         (gst_base_sink_get_position):
15536         If we are going to PLAYING, post the right pending state
15537         when we post the intermediate paused message.
15538
15539         * gst/gstelement.c: (gst_element_continue_state),
15540         (gst_element_set_state_func), (gst_element_change_state):
15541         Don't post state changes that were between the same state
15542         and were not ASYNC.
15543
15544 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
15545
15546         * docs/gst/gstreamer-sections.txt:
15547         * gst/gstcaps.h:
15548         * gst/gstinfo.c:
15549         * gst/gstminiobject.h:
15550         * gst/gstobject.h:
15551         * gst/gstutils.h:
15552           more docs and doc style fixes
15553
15554 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
15555
15556         * docs/gst/gstreamer-sections.txt:
15557         * gst/gstelement.c:
15558         * gst/gstminiobject.c:
15559         doc fixes
15560
15561 2005-11-03  Andy Wingo  <wingo@pobox.com>
15562
15563         * check/states/sinks.c (test_livesrc_sink): Add checks that the
15564         state-changed messages actually have the right order and the right
15565         values.
15566
15567 2005-11-03  Wim Taymans  <wim@fluendo.com>
15568
15569         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15570         Added some more checks. Specifically the case where NO_PREROLL
15571         elements are in the pipeline.
15572
15573         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15574         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15575         (gst_base_sink_get_position):
15576         Post READY->PAUSED state change messages too.
15577         Fix bug where VOID was posted as pending state...
15578
15579         * gst/gstbin.c: (gst_bin_recalc_state):
15580         use _element_continue_state() to continue the state change.
15581
15582         * gst/gstelement.c: (gst_element_continue_state),
15583         (gst_element_commit_state), (gst_element_set_state_func),
15584         (gst_element_change_state), (gst_element_change_state_func):
15585         Lots of state change cleanups, assign the STATE_RETURN in
15586         a new continue_state() function that also propagates the
15587         last return value from a state change to the app.
15588         Update some debug statements with proper category.
15589
15590 2005-11-03  Wim Taymans  <wim@fluendo.com>
15591
15592         * docs/design/part-events.txt:
15593         * docs/design/part-gstpipeline.txt:
15594         * docs/design/part-messages.txt:
15595         * docs/design/part-overview.txt:
15596         * docs/design/part-seeking.txt:
15597         * docs/design/part-states.txt:
15598         * docs/design/part-trickmodes.txt:
15599         * docs/manual/advanced-position.xml:
15600         Small docs updates.
15601
15602         * gst/gstobject.h:
15603         People think !! is ugly, this looks better.
15604
15605         * gst/gstpad.c: (gst_pad_set_blocked_async):
15606         Remove !! since it's fixed elsewhere now.
15607
15608 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
15609
15610         * gst/gstminiobject.h:
15611         * gst/gstobject.h:
15612           Add !! to _FLAG_IS_SET macros to make the result boolean.
15613
15614 2005-11-03  Edward Hervey  <edward@fluendo.com>
15615
15616         * gst/gstpad.c: (gst_pad_set_blocked_async):
15617         comparing a flag and a gboolean rarely returns coherent results...
15618         Added two characters (!!) to make that work correctly.
15619         
15620 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
15621
15622         * gst/gstbus.c: (gst_bus_class_init):
15623           Fix some typos.
15624           
15625         * gst/gstqueue.c: (gst_queue_loop):
15626           Don't assume a miniobject that isn't a buffer is an
15627           event (it could be that there is a refcounting
15628           problem somewhere and the pointer is stale and
15629           refers to an already destroyed miniobject).
15630
15631 2005-11-03  Julien MOUTTE  <julien@moutte.net>
15632
15633         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15634
15635 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
15636
15637         * docs/manual/advanced-position.xml:
15638           Update seek example and explanations to current 0.9 API.
15639
15640         * gst/elements/gsttypefindelement.c:
15641         (gst_type_find_element_activate):
15642           Remove FIXME comment now that the found caps
15643           are unreffed.
15644
15645 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15646
15647         * gst/gstregistryxml.c: (load_feature):
15648           Add another GST_STR_NULL instance
15649
15650 2005-11-02  Edward Hervey  <edward@fluendo.com>
15651
15652         * gst/gstpad.c: (handle_pad_block):
15653         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15654         
15655 2005-11-02  Wim Taymans  <wim@fluendo.com>
15656
15657         * gst/gstbin.c:
15658         Fix typo in docs.
15659
15660         * gst/gstelement.c: (gst_element_commit_state):
15661         Remove unused value.
15662
15663         * gst/gstiterator.c:
15664         Mention that the returned element is reffed in the docs.
15665
15666 2005-11-02  Wim Taymans  <wim@fluendo.com>
15667
15668         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15669         (gst_pad_push), (gst_pad_push_event):
15670         Unlock blocked pads when they are flushed.
15671
15672 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15673
15674         * docs/README:
15675         * docs/gst/gstreamer-sections.txt:
15676         * gst/gstbin.c:
15677           doc updates
15678         * gst/gstregistry.c: (gst_registry_scan_path_level):
15679           fix for a nasty little missed situation where an installed plug-in
15680           which was in the cache did not get overridden by an uninstalled one
15681           which was earlier in the plugin path because the newly created plugin
15682           for the uninstalled one (not in the registry) didn't get its
15683           ->registered set to TRUE
15684
15685 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
15686
15687         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
15688         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
15689         (gst_collectpads_is_active), (gst_collectpads_collect),
15690         (gst_collectpads_collect_range), (gst_collectpads_start),
15691         (gst_collectpads_stop), (gst_collectpads_peek),
15692         (gst_collectpads_pop), (gst_collectpads_available),
15693         (gst_collectpads_read), (gst_collectpads_flush):
15694           Guard public API with assertions.
15695         
15696         * gst/gstpad.c:
15697           Fix docs for gst_pad_set_link_function().
15698
15699 2005-11-02  Johan Dahlin  <johan@gnome.org>
15700
15701         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
15702         Unref found_caps after we used it.
15703
15704 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
15705
15706         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
15707           Don't try to ref NULL.
15708
15709 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15710
15711         * win32/common/config.h.in:
15712           provide a GST_FUNCTION that just gives a string for now
15713
15714 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15715
15716         * win32/common/gstenumtypes.c: (register_gst_object_flags),
15717         (gst_object_flags_get_type), (register_gst_bin_flags),
15718         (gst_bin_flags_get_type), (register_gst_buffer_flag),
15719         (gst_buffer_flag_get_type), (register_gst_bus_flags),
15720         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15721         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
15722         (gst_clock_return_get_type), (register_gst_clock_entry_type),
15723         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15724         (gst_clock_flags_get_type), (register_gst_state),
15725         (gst_state_get_type), (register_gst_state_change_return),
15726         (gst_state_change_return_get_type), (register_gst_state_change),
15727         (gst_state_change_get_type), (register_gst_element_flags),
15728         (gst_element_flags_get_type), (register_gst_core_error),
15729         (gst_core_error_get_type), (register_gst_library_error),
15730         (gst_library_error_get_type), (register_gst_resource_error),
15731         (gst_resource_error_get_type), (register_gst_stream_error),
15732         (gst_stream_error_get_type), (register_gst_event_type),
15733         (gst_event_type_get_type), (register_gst_seek_type),
15734         (gst_seek_type_get_type), (register_gst_seek_flags),
15735         (gst_seek_flags_get_type), (register_gst_format),
15736         (gst_format_get_type), (register_gst_index_certainty),
15737         (gst_index_certainty_get_type), (register_gst_index_entry_type),
15738         (gst_index_entry_type_get_type),
15739         (register_gst_index_lookup_method),
15740         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15741         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15742         (gst_index_resolver_method_get_type), (register_gst_index_flags),
15743         (gst_index_flags_get_type), (register_gst_debug_level),
15744         (gst_debug_level_get_type), (register_gst_debug_color_flags),
15745         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15746         (gst_iterator_result_get_type), (register_gst_iterator_item),
15747         (gst_iterator_item_get_type), (register_gst_message_type),
15748         (gst_message_type_get_type), (register_gst_mini_object_flags),
15749         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15750         (gst_pad_link_return_get_type), (register_gst_flow_return),
15751         (gst_flow_return_get_type), (register_gst_activate_mode),
15752         (gst_activate_mode_get_type), (register_gst_pad_direction),
15753         (gst_pad_direction_get_type), (register_gst_pad_flags),
15754         (gst_pad_flags_get_type), (register_gst_pad_presence),
15755         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15756         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15757         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15758         (gst_plugin_error_get_type), (register_gst_plugin_flags),
15759         (gst_plugin_flags_get_type), (register_gst_rank),
15760         (gst_rank_get_type), (register_gst_query_type),
15761         (gst_query_type_get_type), (register_gst_tag_merge_mode),
15762         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15763         (gst_tag_flag_get_type), (register_gst_task_state),
15764         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15765         (gst_alloc_trace_flags_get_type),
15766         (register_gst_type_find_probability),
15767         (gst_type_find_probability_get_type), (register_gst_uri_type),
15768         (gst_uri_type_get_type), (register_gst_parse_error),
15769         (gst_parse_error_get_type):
15770         * win32/common/gstversion.h:
15771           update win32 copies
15772
15773 2005-11-01  Luca Ognibene  <luogni@tin.it>
15774
15775         * gst/gst.c:
15776           fix docs. popt is dead, long live GOption.
15777
15778 2005-10-31  Wim Taymans  <wim@fluendo.com>
15779
15780         * gst/gstbuffer.h:
15781         Small doc fix.
15782
15783 2005-10-31  Andy Wingo  <wingo@pobox.com>
15784
15785         * Boo!
15786
15787         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
15788
15789         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
15790         need to serialize property notifications on GLib 2.8. GLib 2.6 has
15791         the possibility of deadlocks here if code calling notify() or
15792         set() has a lock that can be taken in another notify handler (ABBA
15793         with class lock and e.g. python GIL state lock).
15794
15795 2005-10-28  Julien MOUTTE  <julien@moutte.net>
15796
15797         * gst/gstbus.c: Doc updates.
15798
15799 2005-10-28  Wim Taymans  <wim@fluendo.com>
15800
15801         * docs/design/part-TODO.txt:
15802         * gst/gstiterator.c:
15803         * gst/gstsystemclock.c:
15804         * gst/gstsystemclock.h:
15805         Doc updates.
15806
15807 2005-10-28  Edward Hervey  <edward@fluendo.com>
15808
15809         * docs/gst/gstreamer-docs.sgml:
15810         * docs/gst/gstreamer-sections.txt:
15811         the GstURIType documentation page is private, it only defines GstURIType
15812         which should be defined in the GstURIHandler page
15813         
15814 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15815
15816         * gst/gstbin.c: (gst_bin_class_init):
15817         * gst/gstbin.h:
15818         * gst/gstutils.c:
15819         Documentation updates.
15820
15821 2005-10-28  Wim Taymans  <wim@fluendo.com>
15822
15823         * docs/gst/gstreamer-sections.txt:
15824         * gst/gstclock.c:
15825         * gst/gstclock.h:
15826         Documented the clocks.
15827
15828 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
15829
15830         * docs/gst/gstreamer-sections.txt:
15831           move some macros to private sections
15832         * gst/gstminiobject.c:
15833         * gst/gstminiobject.h:
15834           add descriptions provided by ds and some more
15835         * gst/gstpad.h:
15836           mark macro as to be removed
15837
15838 2005-10-28  Wim Taymans  <wim@fluendo.com>
15839
15840         * docs/design/part-TODO.txt:
15841         Add an item to TODO.
15842
15843         * gst/gstiterator.c: (gst_iterator_fold),
15844         (gst_iterator_find_custom):
15845         * gst/gstiterator.h:
15846         Add iterator docs.
15847
15848 2005-10-28  Wim Taymans  <wim@fluendo.com>
15849
15850         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15851         (gst_base_transform_init):
15852         Don't leak class.
15853
15854         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15855         An EOS event marks the queue as completely filled.
15856
15857 2005-10-27  Wim Taymans  <wim@fluendo.com>
15858
15859         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15860         (gst_base_sink_do_sync), (gst_base_sink_get_position):
15861         Some more debugging.
15862
15863         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15864         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15865         (gst_base_transform_event), (gst_base_transform_getrange),
15866         (gst_base_transform_chain):
15867         * gst/base/gstbasetransform.h:
15868         Fix debugging,
15869         Protect transform and concurrent buffer alloc with a new lock.
15870         Try not to break ABI/API.
15871
15872 2005-10-27  Wim Taymans  <wim@fluendo.com>
15873
15874         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15875         (gst_base_src_init), (gst_base_src_query),
15876         (gst_base_src_default_newsegment),
15877         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15878         (gst_base_src_send_event), (gst_base_src_event_handler),
15879         (gst_base_src_pad_get_range), (gst_base_src_loop),
15880         (gst_base_src_unlock), (gst_base_src_default_negotiate),
15881         (gst_base_src_start), (gst_base_src_deactivate),
15882         (gst_base_src_activate_push), (gst_base_src_change_state):
15883         Move some stuff around and cleanup things.
15884
15885 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
15886
15887         * gst/base/gstbasesrc.c: (gst_base_src_query):
15888           Add missing break statements.
15889
15890 2005-10-27  Wim Taymans  <wim@fluendo.com>
15891
15892         * check/gst/gstbin.c: (GST_START_TEST):
15893         An extra refcount is taken in basesrc.
15894
15895         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15896         (gst_base_src_get_range), (gst_base_src_pad_get_range),
15897         (gst_base_src_loop):
15898         Small cleanups, check for flushing after being unlocked from the 
15899         LIVE_LOCK. take refcounts correctly (not yet everywhere).
15900         Don't send out EOS when going to READY.
15901
15902 2005-10-27  Wim Taymans  <wim@fluendo.com>
15903
15904         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15905         (gst_base_sink_get_position):
15906         Some more debug.
15907
15908         * gst/gstbin.c: (message_check), (bin_replace_message),
15909         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15910         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15911         (bin_query_duration_init), (bin_query_duration_fold),
15912         (bin_query_duration_done), (bin_query_generic_fold),
15913         (gst_bin_query):
15914         * tools/gst-launch.c: (main):
15915         Remove old option.
15916
15917 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
15918
15919         * examples/controller/audio-example.c: (main):
15920         * examples/queue/queue.c: (event_loop):
15921         * gst/base/gstbasetransform.h:
15922         * gst/gstelement.c: (gst_element_send_event):
15923         * gst/gstevent.h:
15924         * gst/gstpad.c: (gst_pad_send_event):
15925           fixing examples
15926           fixing docs typos
15927           changing log priority in error situations
15928
15929 2005-10-25  Wim Taymans  <wim@fluendo.com>
15930
15931         * gst/gstbin.c: (message_check), (bin_replace_message),
15932         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15933         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15934         (bin_query_duration_init), (bin_query_duration_fold),
15935         (bin_query_duration_done), (bin_query_generic_fold),
15936         (gst_bin_query):
15937         Some doc and debug updates.
15938         Cache previously requested query DURATION for speed. invalidate
15939         cached duration if element posts a DURATION message.
15940
15941 2005-10-25  Wim Taymans  <wim@fluendo.com>
15942
15943         * docs/design/part-TODO.txt:
15944         Update TODO.
15945
15946         * gst/gstbin.c: (message_check), (bin_replace_message),
15947         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15948         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15949         (bin_query_duration_init), (bin_query_duration_fold),
15950         (bin_query_duration_done), (bin_query_generic_fold),
15951         (gst_bin_query):
15952         Handle SEGMENT_START/DONE messages correctly.
15953         More evolved query algorithm that handles duration queries
15954         correctly.
15955
15956         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15957         (gst_element_get_state_func), (gst_element_abort_state),
15958         (gst_element_commit_state), (gst_element_lost_state):
15959         Some more debugging.
15960
15961         * gst/gstmessage.h:
15962         Added doc.
15963
15964 2005-10-25  Wim Taymans  <wim@fluendo.com>
15965
15966         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15967         Don't use invalid stream_time.
15968
15969         * gst/gstevent.c: (gst_event_new_newsegment):
15970         stream_time in newsegment cannot be undefined.
15971
15972 2005-10-24  Wim Taymans  <wim@fluendo.com>
15973
15974         * gst/gstbus.c:
15975         Doc fix.
15976
15977         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15978         (gst_queue_loop):
15979         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15980
15981 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
15982
15983         * docs/libs/tmpl/gstdparam.sgml:
15984         * docs/libs/tmpl/gstdplinint.sgml:
15985         * docs/libs/tmpl/gstdpman.sgml:
15986         * docs/libs/tmpl/gstdpsmooth.sgml:
15987         * docs/libs/tmpl/gstunitconvert.sgml:
15988           these are obsolete
15989
15990 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15991
15992         * configure.ac:
15993           back to HEAD
15994
15995 === release 0.9.4 ===
15996
15997 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15998
15999         * configure.ac:
16000           releasing 0.9.4, "Tyrannosaurus Rex"
16001
16002 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16003
16004         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16005         (gst_file_sink_get_current_offset):
16006           Use fseeko() and ftello() if available. When falling back on
16007           lseek() to get the current offset, fflush() first to make sure
16008           everything is up-to-date and we get the right offset.
16009
16010 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16011
16012         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16013         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16014         * gst/gsterror.c: (_gst_stream_errors_init):
16015         * gst/gsterror.h:
16016         * gst/gstqueue.c: (gst_queue_loop):
16017         * po/POTFILES.in:
16018           remove prematurely added error category and clean up the instances
16019
16020 2005-10-21  Wim Taymans  <wim@fluendo.com>
16021
16022         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16023         (gst_base_sink_get_position), (gst_base_sink_query),
16024         (gst_base_sink_change_state):
16025         Simply set the right flag when going to playing, that's all
16026         we need to do instead of calling a function inside the object
16027         lock (that could take the lock as well and deadlock)
16028
16029 2005-10-21  Wim Taymans  <wim@fluendo.com>
16030
16031         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16032         (gst_base_src_loop):
16033         Don't warn, the peer element knows what to do best when
16034         the seek failed, it might try something else.
16035
16036 2005-10-21  Wim Taymans  <wim@fluendo.com>
16037
16038         * gst/base/gstbasesrc.c: (gst_base_src_init),
16039         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16040         Fix seeking.
16041
16042 2005-10-21  Wim Taymans  <wim@fluendo.com>
16043
16044         * docs/design/part-segments.txt:
16045         More docs.
16046
16047         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16048         Correctly set caps, even on the subbufer.
16049
16050 2005-10-21  Wim Taymans  <wim@fluendo.com>
16051
16052         * docs/gst/gstreamer-docs.sgml:
16053         * docs/gst/gstreamer-sections.txt:
16054         * gst/gstelement.h:
16055         * gst/gstevent.c:
16056         * gst/gstevent.h:
16057         * gst/gstmessage.h:
16058         * gst/gstpad.h:
16059         * gst/gstparse.h:
16060         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16061         * gst/gsttask.h:
16062         * gst/gstutils.c:
16063         * gst/gstutils.h:
16064         And 2% more doc coverage.
16065
16066 2005-10-21  Andy Wingo  <wingo@pobox.com>
16067
16068         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16069         position reporting.
16070
16071 2005-10-20  Wim Taymans  <wim@fluendo.com>
16072
16073         * gst/gsterror.c: (gst_error_get_message):
16074         * gst/gstparse.h:
16075         * gst/gstquery.h:
16076         * gst/gststructure.c:
16077         * gst/gsttrace.c:
16078         * gst/gstutils.c:
16079         More docs.
16080
16081 2005-10-20  Wim Taymans  <wim@fluendo.com>
16082
16083         * gst/gstbuffer.h:
16084         * gst/gstpad.c:
16085         * gst/gstparse.c:
16086         Another 1% more coverage.
16087
16088 2005-10-20  Wim Taymans  <wim@fluendo.com>
16089
16090         * docs/gst/gstreamer-sections.txt:
16091         * gst/gstelement.c: (gst_element_get_state_func),
16092         (gst_element_abort_state), (gst_element_commit_state),
16093         (gst_element_lost_state):
16094         * gst/gstevent.h:
16095         * gst/gstquery.c: (gst_query_set_position),
16096         (gst_query_parse_position), (gst_query_set_duration),
16097         (gst_query_parse_duration), (gst_query_new_convert):
16098         * gst/gstutils.c:
16099         Yay! 1% more docs coverage.
16100
16101 2005-10-20  Wim Taymans  <wim@fluendo.com>
16102
16103         * gst/gstpad.h:
16104         * gst/gstquery.c: (gst_query_set_position),
16105         (gst_query_parse_position), (gst_query_set_duration),
16106         (gst_query_parse_duration), (gst_query_new_convert):
16107         * gst/gstquery.h:
16108         * gst/gstutils.c: (gst_element_query_convert):
16109         * gst/gstutils.h:
16110         Docs and consistency fixes.
16111
16112 2005-10-20  Wim Taymans  <wim@fluendo.com>
16113
16114         * gst/gsttask.c:
16115         * gst/gsttask.h:
16116         More docs.
16117
16118 2005-10-20  Wim Taymans  <wim@fluendo.com>
16119
16120         * gst/gstbin.c: (message_check), (bin_replace_message),
16121         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16122         (update_degree), (gst_bin_sort_iterator_next),
16123         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16124         Reworked the message handling a bit, cache the messages instead of
16125         only the senders. alows us to do more in the future.
16126
16127 2005-10-20  Wim Taymans  <wim@fluendo.com>
16128
16129         * docs/design/part-TODO.txt:
16130         Update TODO
16131
16132         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16133         (gst_base_sink_query):
16134         Don't use clock time to report position when in EOS.
16135
16136 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16137
16138         * tools/gst-inspect.c: (print_interfaces),
16139         (print_element_properties_info), (print_element_info):
16140           Fix interface output with gst-inspect -a; don't print
16141           newlines after double/float properties.
16142
16143 2005-10-20  Wim Taymans  <wim@fluendo.com>
16144
16145         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16146         (gst_base_sink_query):
16147         Speed up current position calculation.
16148
16149         * gst/base/gstbasesrc.c: (gst_base_src_query),
16150         (gst_base_src_default_newsegment):
16151         Correctly set stream position in newsegment.
16152
16153         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16154         (update_degree), (gst_bin_sort_iterator_next),
16155         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16156         * gst/gstmessage.c: (gst_message_new_custom):
16157         Clean up debugging info
16158
16159         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16160         (gst_queue_loop), (gst_queue_handle_src_query):
16161         Pause task faster.
16162
16163 2005-10-19  Wim Taymans  <wim@fluendo.com>
16164
16165         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16166         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16167         Fix query handling again.
16168
16169 2005-10-19  Wim Taymans  <wim@fluendo.com>
16170
16171         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16172         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16173         * gst/base/gstbasesrc.c: (gst_base_src_query):
16174         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16175         * gst/elements/gsttypefindelement.c:
16176         (gst_type_find_handle_src_query), (find_element_get_length),
16177         (gst_type_find_element_activate):
16178         API change fix.
16179
16180         * gst/gstquery.c: (gst_query_new_position),
16181         (gst_query_set_position), (gst_query_parse_position),
16182         (gst_query_new_duration), (gst_query_set_duration),
16183         (gst_query_parse_duration), (gst_query_set_segment),
16184         (gst_query_parse_segment):
16185         * gst/gstquery.h:
16186         Bundling query position/duration is not a good idea since duration
16187         does not change much and we don't want to recalculate it for every
16188         position query, so they are separated again..
16189         Base value in segment query is not needed.
16190
16191         * gst/gstqueue.c: (gst_queue_handle_src_query):
16192         * gst/gstutils.c: (gst_element_query_position),
16193         (gst_element_query_duration), (gst_pad_query_position),
16194         (gst_pad_query_duration):
16195         * gst/gstutils.h:
16196         Updates for query API change.
16197         Added some docs here and there.
16198
16199 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16200
16201         * check/gst/gstbin.c: (GST_START_TEST):
16202         * check/gst/gstghostpad.c: (GST_START_TEST):
16203         * check/pipelines/cleanup.c: (GST_START_TEST):
16204           wait on thread to die so we can check refcount correctly
16205
16206 2005-10-18  Wim Taymans  <wim@fluendo.com>
16207
16208         * check/pipelines/stress.c: (GST_START_TEST):
16209         Make check a little more time consuming.
16210
16211 2005-10-18  Wim Taymans  <wim@fluendo.com>
16212
16213         * check/Makefile.am:
16214         * check/pipelines/stress.c: (GST_START_TEST),
16215         (simple_launch_lines_suite), (main):
16216         Small state change torture test.
16217
16218         * docs/design/part-states.txt:
16219         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16220         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16221         (gst_base_sink_change_state):
16222         Never take state lock from streaming thread, clean up ugly
16223         hacks. Unfortunatly core does not yet support nice ways to
16224         async commit state.
16225         
16226         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16227         (bin_bus_handler):
16228         Start state recalc if a STATE_DIRTY message is posted, but only
16229         on the toplevel bin.
16230
16231         * gst/gstelement.c: (gst_element_sync_state_with_parent),
16232         (gst_element_get_state_func), (gst_element_abort_state),
16233         (gst_element_commit_state), (gst_element_lost_state),
16234         (gst_element_set_state_func), (gst_element_change_state):
16235         * gst/gstelement.h:
16236         State variables are now protected with the LOCK, the state
16237         lock is only used to serialize _set_state().
16238
16239 2005-10-18  Wim Taymans  <wim@fluendo.com>
16240
16241         * check/gst/gstbin.c: (GST_START_TEST):
16242         * check/gst/gstmessage.c: (GST_START_TEST):
16243         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16244         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16245         (bin_bus_handler):
16246         * gst/gstelement.c: (gst_element_abort_state),
16247         (gst_element_commit_state), (gst_element_lost_state):
16248         * gst/gstmessage.c: (gst_message_new_state_changed),
16249         (gst_message_new_state_dirty), (gst_message_new_segment_start),
16250         (gst_message_new_segment_done), (gst_message_new_duration),
16251         (gst_message_parse_state_changed),
16252         (gst_message_parse_segment_start),
16253         (gst_message_parse_segment_done), (gst_message_parse_duration):
16254         * gst/gstmessage.h:
16255         * tools/gst-launch.c: (event_loop):
16256         Seriously, this is better than a previous commit as we only need
16257         to notify the fact that an element changed state in a streaming
16258         thread, marking the state of the parents dirty, hence the 
16259         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16260         message.
16261
16262 2005-10-18  Wim Taymans  <wim@fluendo.com>
16263
16264         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16265         (gst_bin_recalc_func):
16266         * gst/gstelement.c: (gst_element_set_clock),
16267         (gst_element_abort_state), (gst_element_lost_state):
16268         Cleanups, prepare for state change fixes.
16269
16270 2005-10-18  Wim Taymans  <wim@fluendo.com>
16271
16272         * gst/gstbin.h:
16273         * gst/gstelement.c: (gst_element_class_init),
16274         (gst_element_set_state), (gst_element_set_state_func):
16275         * gst/gstelement.h:
16276         Pending ABI changes.
16277         GThreadPool in GstBinClass to monitor async state changes.
16278         state_cookie in GstElement to detect concurrent gst/set state.
16279         set_state is now virtual too in case a very complicated element
16280         has to be constructed.
16281
16282 2005-10-18  Wim Taymans  <wim@fluendo.com>
16283
16284         * check/gst/gstbin.c: (GST_START_TEST):
16285         * check/gst/gstmessage.c: (GST_START_TEST):
16286         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16287         * gst/gstbin.c: (bin_bus_handler):
16288         * gst/gstelement.c: (gst_element_commit_state),
16289         (gst_element_lost_state):
16290         * gst/gstmessage.c: (gst_message_new_state_changed),
16291         (gst_message_new_segment_start), (gst_message_new_segment_done),
16292         (gst_message_new_duration), (gst_message_parse_state_changed),
16293         (gst_message_parse_segment_start),
16294         (gst_message_parse_segment_done), (gst_message_parse_duration):
16295         * gst/gstmessage.h:
16296         * tools/gst-launch.c: (event_loop):
16297         Make messages future proof.
16298         state-change gets a flag if it was a message comming from the
16299         streaming thread.
16300         segment-start/stop can also be specified in other formats.
16301         A message to notify an app that a pipeline changed playback 
16302         duration.
16303         Also fix a GstMessage leak in -launch
16304
16305 2005-10-18  Andy Wingo  <wingo@pobox.com>
16306
16307         * gst/gstelement.c (gst_element_dispose): More helpful message.
16308
16309 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16310
16311         reviewed by: <delete if not using a buddy>
16312
16313         * common/gtk-doc.mak:
16314
16315 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16316
16317         * gst/gstregistry.c: (gst_registry_scan_path_level):
16318           unref a plug-in we get that was already initialized
16319
16320 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
16321
16322         * docs/gst/gstreamer-sections.txt:
16323         * docs/libs/gstreamer-libs-sections.txt:
16324         * gst/gstelement.h:
16325           add new api entries
16326           hide internal macro
16327
16328 2005-10-17  Andy Wingo  <wingo@pobox.com>
16329
16330         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16331         cleanup.
16332
16333         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16334
16335         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16336
16337         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16338         (gst_element_get_state_func): Better debug message.
16339         (gst_element_commit_state): s/INFO/DEBUG/.
16340         (gst_element_lost_state, gst_element_change_state): 
16341
16342         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16343         (gst_message_new_custom): s/INFO/LOG/.
16344
16345 2005-10-17  Michael Smith <msmith@fluendo.com>
16346
16347         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16348           Check if end time is valid using end time, not start time.
16349
16350 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
16351
16352         * check/gst-libs/controller.c: (GST_START_TEST),
16353         (gst_controller_suite):
16354         * libs/gst/controller/gstcontroller.c:
16355         (gst_controlled_property_set_interpolation_mode):
16356         * libs/gst/controller/gstcontroller.h:
16357         * libs/gst/controller/gstinterpolation.c:
16358         * testsuite/controller/.cvsignore:
16359         * testsuite/controller/Makefile.am:
16360         * testsuite/controller/interpolator.c:
16361           merge controller testsuites
16362           fix broken tests
16363           remove mem-chunk from docs
16364
16365 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16366
16367         * gst/gstmemchunk.c:
16368         * gst/gstmemchunk.h:
16369         * gst/gsttrashstack.c:
16370         * gst/gsttrashstack.h:
16371           out.  get out.  you're fired.  to the Attic !
16372
16373 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16374
16375         * gst/gstcaps.c: (gst_caps_intersect):
16376           fix signedness issues in a (hopefully) correct way
16377         * gst/gstelement.c: (gst_element_pads_activate):
16378           some debugging
16379         * gst/gstobject.c: (gst_object_set_parent):
16380           some debugging
16381
16382 2005-10-17  Julien MOUTTE  <julien@moutte.net>
16383
16384         * gst/gstvalue.h: Fix prototypes.
16385
16386 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16387
16388         * docs/gst/gstreamer-sections.txt:
16389         * gst/gst.c: (gst_version_string):
16390         * gst/gst.h:
16391         * gst/gstversion.h.in:
16392         * win32/common/libgstreamer.def:
16393           add gst_version_string ()
16394
16395 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16396
16397         * configure.ac:
16398           clean up further
16399         * gst/gst.c: (init_post):
16400         * win32/common/config.h.in:
16401           it's PLUGINDIR now
16402         * gst/gstcaps.c: (gst_caps_intersect):
16403           use gint64, the range could be bigger than a guint
16404
16405 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16406
16407         * gst/gstclock.h:
16408           document potential problem in 2038
16409
16410 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16411
16412         * gst/gstcaps.c: (gst_caps_intersect):
16413           Fix guint j diving under 0
16414
16415 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16416
16417         * configure.ac:
16418         * win32/common/config.h:
16419         * win32/common/config.h.in:
16420           check for process.h, declares getpid() on Windows
16421         * gst/gstinfo.c:
16422           include process.h if we have it
16423         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16424         * gst/gstmemchunk.h:
16425           fix signedness issues
16426         * win32/common/libgstreamer.def:
16427           fix get_type's
16428
16429 2005-10-16  Julien MOUTTE  <julien@moutte.net>
16430
16431         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16432         fix. Because of unsigned ints, caps intersection was going nuts and
16433         trying to access structures with G_MAXUINT index. That fixes
16434         videotestsrc ! ffmpegcolorspace ! fakesink
16435         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16436         consistency.
16437
16438 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16439
16440         * configure.ac:
16441           use the gettext macro
16442         * gst/elements/gstelements.c:
16443         * gst/gst.c:
16444         * gst/indexers/gstindexers.c:
16445           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16446         * win32/common/config.h:
16447           updated config.h
16448         * win32/common/config.h.in:
16449           add the template to generate config.h
16450         * win32/common/gstenumtypes.c:
16451         * win32/common/gstversion.h:
16452           updated copies
16453
16454 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16455
16456         * gst/gst.c: (gst_version):
16457         * gst/gstversion.h.in:
16458           add the nano
16459
16460 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16461
16462         * gst/gstevent.h:
16463           Oops, add missing closing bracket.
16464
16465 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16466
16467         * configure.ac:
16468           use common m4's for argument checking
16469
16470 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16471
16472         * docs/gst/gstreamer-sections.txt:
16473         * gst/gstevent.h:
16474           Add GST_EVENT_TYPE_NAME() macro.
16475
16476 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16477
16478         * gst/gstinfo.c:
16479         * gst/gstpluginfeature.c:
16480         * gst/gsttask.c:
16481           privatize more symbols
16482
16483 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16484
16485         * configure.ac:
16486           add srcdir, builddir includes to GST_ALL_CFLAGS, since
16487           everything that uses GStreamer API should have the includes
16488
16489 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16490
16491         * docs/gst/gstreamer-sections.txt:
16492         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16493         * gst/gstvalue.h:
16494           give each value a _get_type, removes the DATA exports
16495
16496 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16497
16498         * gst/gst.c:
16499         * gst/gst.h:
16500           remove _gst_registry_auto_load, not used anymore
16501         * gst/gstbin.c: (gst_bin_get_type):
16502         * gst/gstbin.h:
16503         * gst/gstelement.c: (gst_element_get_type):
16504         * gst/gstelement.h:
16505         * gst/gstobject.c: (gst_object_get_type):
16506         * gst/gstobject.h:
16507         * gst/gstpad.c: (gst_pad_get_type):
16508         * gst/gstpad.h:
16509           make _get_type functions similar, fixes data export from library
16510
16511 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16512
16513         * configure.ac:
16514           correctly make conditionals
16515         * gst/elements/Makefile.am:
16516         * gst/elements/gstelements.c:
16517           fix typo causing fdsrc not to build
16518
16519 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16520
16521         * testsuite/Makefile.am:
16522         * testsuite/bytestream/.cvsignore:
16523         * testsuite/bytestream/Makefile.am:
16524         * testsuite/bytestream/filepadsink.c:
16525         * testsuite/bytestream/gstbstest.c:
16526         * testsuite/bytestream/test1.c:
16527         * testsuite/bytestream/testfile1:
16528         * testsuite/caps/normalisation.c:
16529         * testsuite/caps/random.c: (main):
16530         * testsuite/cleanup/.cvsignore:
16531         * testsuite/cleanup/Makefile.am:
16532         * testsuite/cleanup/cleanup1.c:
16533         * testsuite/cleanup/cleanup2.c:
16534         * testsuite/cleanup/cleanup3.c:
16535         * testsuite/cleanup/cleanup4.c:
16536         * testsuite/cleanup/cleanup5.c:
16537         * testsuite/controller/interpolator.c:
16538         * testsuite/debug/printf_extension.c: (main):
16539         * testsuite/elements/tee.c:
16540         * testsuite/negotiation/.cvsignore:
16541         * testsuite/negotiation/Makefile.am:
16542         * testsuite/negotiation/pad_link.c:
16543         * testsuite/pad/Makefile.am:
16544         * testsuite/pad/chainnopull.c:
16545         * testsuite/pad/getnopush.c:
16546         * testsuite/pad/link.c:
16547         * testsuite/refcounting/sched.c: (create_pipeline):
16548         * testsuite/registry/Makefile.am:
16549         * testsuite/registry/gst-print-formats.c:
16550         * testsuite/schedulers/.cvsignore:
16551         * testsuite/schedulers/142183-2.c:
16552         * testsuite/schedulers/142183.c:
16553         * testsuite/schedulers/143777-2.c:
16554         * testsuite/schedulers/143777.c:
16555         * testsuite/schedulers/147713.c:
16556         * testsuite/schedulers/147819.c:
16557         * testsuite/schedulers/147894-2.c:
16558         * testsuite/schedulers/147894.c:
16559         * testsuite/schedulers/Makefile.am:
16560         * testsuite/schedulers/group_link.c:
16561         * testsuite/schedulers/queue_link.c:
16562         * testsuite/schedulers/relink.c:
16563         * testsuite/schedulers/unlink.c:
16564         * testsuite/schedulers/unref.c:
16565         * testsuite/schedulers/useless_iteration.c:
16566         * testsuite/states/bin.c:
16567           clean out/remove some stuff from the testsuite directories
16568
16569 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16570
16571         * configure.ac:
16572           check for some headers
16573         * gst/elements/Makefile.am:
16574         * gst/elements/gstelements.c:
16575           don't compile fdsrc without sys/socket.h
16576         * gst/indexers/Makefile.am:
16577         * gst/indexers/gstindexers.c: (plugin_init):
16578           don't compile fileindex without mmap
16579
16580 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16581
16582         * configure.ac:
16583           reorganize
16584           clean up
16585           document more
16586           remove cruft
16587         * check/Makefile.am:
16588         * docs/gst/Makefile.am:
16589         * examples/helloworld/Makefile.am:
16590         * gst/Makefile.am:
16591         * gst/base/Makefile.am:
16592         * gst/check/Makefile.am:
16593         * gst/elements/Makefile.am:
16594         * gst/indexers/Makefile.am:
16595         * gst/parse/Makefile.am:
16596         * libs/gst/controller/Makefile.am:
16597         * libs/gst/dataprotocol/Makefile.am:
16598         * examples/helloworld/helloworld.c: (event_loop):
16599           compile fixes, though it's not being compiled currently
16600
16601 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
16602
16603         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16604           Add some simple tests for the new taglist date API.
16605
16606 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
16607
16608         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16609         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16610           Beautify 'last-message' output: print 'none' for buffer timestamps
16611           and durations if none is set; improve alignment with next messages.
16612
16613 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
16614
16615         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16616         * gst/gstpluginfeature.h:
16617         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16618         * gst/gstregistry.h:
16619         * docs/gst/gstreamer-sections.txt:
16620           Add new API to check plugin feature version requirements.
16621
16622         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16623           Some basic tests for the above.         
16624
16625 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16626
16627         * gst/gststructure.c: (gst_structure_to_string):
16628           guard against NULL printf - happens when for example
16629           a message structure with GstClock gets serialized
16630
16631 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
16632
16633         * gst/base/gstcollectpads.c: (gst_collectpads_event):
16634           Fix presumable copy'n'pasto.
16635
16636 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16637
16638         * gst/elements/gstfakesrc.h:
16639         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16640         * gst/elements/gsttypefindelement.c:
16641           fix some signedness
16642         * gst/elements/gstfilesink.c: (gst_file_sink_render):
16643           I wonder if this could actually write +2GB files before
16644
16645 2005-10-13  Andy Wingo  <wingo@pobox.com>
16646
16647         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16648         Fix Timmeke Waymans bug.
16649         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16650         string of the proper length to gst_caps_from_string. There's a
16651         potential for, before this fix, that this could cause someone
16652         connecting over the network to cause a segfault if the payload is
16653         not NUL-terminated.
16654
16655 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
16656
16657         * docs/design/draft-push-pull.txt:
16658         * docs/design/part-overview.txt:
16659         * docs/random/TODO-pre-0.9:
16660         * docs/random/old/ChangeLog.gstreamer:
16661         * gst/base/gstpushsrc.c:
16662         * gst/gstclock.c:
16663           fixed typos
16664
16665 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16666
16667         * gst/glib-compat.c: (gst_flags_get_first_value):
16668         * gst/glib-compat.h:
16669         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16670         (gst_value_compare_double), (gst_value_serialize_flags):
16671           GLib 2.6 g_flags_get_first_value has a bug that triggers an
16672           infinite loop
16673
16674 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16675
16676         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16677         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16678           fix up debugging
16679         * tools/gst-launch.c: (event_loop):
16680           print out clock nicely
16681
16682 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
16683
16684         * docs/gst/gstreamer-sections.txt:
16685         * gst/gsttaglist.h:
16686         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
16687         (gst_tag_list_get_date_index):
16688           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
16689           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
16690
16691 2005-10-13  Julien MOUTTE  <julien@moutte.net>
16692
16693         * gst/base/gstcollectpads.c: (gst_collectpads_event),
16694         (gst_collectpads_chain):
16695         * gst/base/gstcollectpads.h: Handle newsegment and store informations
16696         in CollectData.
16697
16698 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
16699
16700         * docs/gst/gstreamer-sections.txt:
16701         * gst/gst.c:
16702         * gst/gsterror.h:
16703         * tools/gst-inspect.c: (main):
16704         * tools/gst-launch.c: (main):
16705         * tools/gst-run.c: (main):
16706         * tools/gst-xmlinspect.c: (main):
16707           fix GOption context leaks
16708           doc fixes
16709
16710 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16711
16712         * gst/gstbus.c:
16713           use HAVE_UNISTD_H
16714         * win32/common/config.h:
16715           update config
16716         * win32/vs6/grammar.dsp:
16717         * win32/vs6/libgstelements.dsp:
16718         * win32/vs6/libgstreamer.dsp:
16719           update vs6 files
16720
16721 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16722
16723         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16724         * gst/base/gstbasesrc.c: (gst_base_src_query):
16725           fix more guint64<->gdouble conversions
16726
16727 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16728
16729         * Makefile.am:
16730           add win32-update target
16731         * win32/common/gstconfig.h:
16732         * win32/common/gstenumtypes.c:
16733         * win32/common/gstenumtypes.h:
16734         * win32/common/gstversion.h:
16735           add files that visual studio can't generate
16736
16737 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16738
16739         * Makefile.am:
16740           add a win32-update target
16741         * configure.ac:
16742
16743 2005-10-12  Wim Taymans  <wim@fluendo.com>
16744
16745         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16746         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
16747         * gst/gstelement.c: (gst_element_commit_state),
16748         (gst_element_set_state):
16749         Protect flags with proper lock.
16750         unref provided cached clock in dispose.
16751
16752 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
16753
16754         * gst/gst.c:
16755         * gst/gstminiobject.h:
16756         * gst/gstpad.h:
16757         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
16758           removed unused flags from miniobject
16759           doc fixes
16760
16761 2005-10-12  Wim Taymans  <wim@fluendo.com>
16762
16763         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16764         (gst_file_sink_event), (gst_file_sink_render):
16765         Flush before seeking.
16766
16767 2005-10-12  Andy Wingo  <wingo@pobox.com>
16768
16769         * gst/gst.c (gst_init_check): Ignore unknown options, as has
16770         always been the case.
16771
16772 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
16773
16774         * check/gst/gstbin.c: (GST_START_TEST):
16775         * docs/gst/gstreamer-sections.txt:
16776         * gst/base/gstbasesink.c: (gst_base_sink_init):
16777         * gst/base/gstbasesrc.c: (gst_base_src_init),
16778         (gst_base_src_get_range), (gst_base_src_check_get_range),
16779         (gst_base_src_start), (gst_base_src_stop):
16780         * gst/base/gstbasesrc.h:
16781         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
16782         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16783         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
16784         (bin_bus_handler):
16785         * gst/gstbin.h:
16786         * gst/gstbuffer.h:
16787         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
16788         * gst/gstbus.h:
16789         * gst/gstelement.c: (gst_element_is_locked_state),
16790         (gst_element_set_locked_state), (gst_element_commit_state),
16791         (gst_element_set_state):
16792         * gst/gstelement.h:
16793         * gst/gstindex.c: (gst_index_init):
16794         * gst/gstindex.h:
16795         * gst/gstminiobject.h:
16796         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16797         (gst_object_set_parent):
16798         * gst/gstobject.h:
16799         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16800         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16801         * gst/gstpad.h:
16802         * gst/gstpadtemplate.h:
16803         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16804         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16805         * gst/gstpipeline.h:
16806         * gst/indexers/gstfileindex.c: (gst_file_index_load),
16807         (gst_file_index_commit):
16808         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16809         * testsuite/pad/link.c: (gst_test_src_init),
16810         (gst_test_filter_init), (gst_test_sink_init):
16811         * testsuite/states/locked.c: (main):
16812           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16813           moved bitshift from macro to enum definition
16814
16815 2005-10-12  Wim Taymans  <wim@fluendo.com>
16816
16817         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16818         * gst/elements/gstfilesink.c: (gst_file_sink_event),
16819         (gst_file_sink_render):
16820         Some more debugging info.
16821
16822 2005-10-12  Wim Taymans  <wim@fluendo.com>
16823
16824         * docs/design/part-states.txt:
16825         * tools/gst-launch.c: (main):
16826         Some doc updates.
16827         Revert non-intentional change.
16828
16829 2005-10-12  Wim Taymans  <wim@fluendo.com>
16830
16831         * check/gst/gstbin.c: (GST_START_TEST):
16832         * check/gst/gstelement.c: (GST_START_TEST):
16833         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16834         * check/gst/gstghostpad.c: (GST_START_TEST):
16835         * check/gst/gstpipeline.c: (GST_START_TEST):
16836         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16837         * check/states/sinks.c: (GST_START_TEST):
16838         * gst/elements/gsttypefindelement.c: (stop_typefinding):
16839         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16840         (gst_bin_remove_func), (gst_bin_get_state_func),
16841         (gst_bin_recalc_state), (gst_bin_change_state_func),
16842         (bin_bus_handler):
16843         * gst/gstelement.c: (gst_element_get_state_func),
16844         (gst_element_get_state), (gst_element_abort_state),
16845         (gst_element_commit_state), (gst_element_set_state),
16846         (gst_element_change_state), (gst_element_change_state_func):
16847         * gst/gstelement.h:
16848         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16849         (gst_pipeline_provide_clock_func):
16850         * gst/gstutils.c: (gst_element_link_pads_filtered):
16851         * tools/gst-launch.c: (main):
16852         * tools/gst-typefind.c: (main):
16853         Use GstClockTime in _get_state() instead of GTimeVal.
16854         Remove old code in gstutils.c
16855
16856 2005-10-12  Andy Wingo  <wingo@pobox.com>
16857
16858         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16859         removed.
16860
16861         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16862         there is no task. Shouldn't affect any code, as nothing in our
16863         plugins checks this return value.
16864         (gst_pad_stop_task): Also take the stream lock if the pad has no
16865         task. Docs updated.
16866
16867 2005-10-12  Wim Taymans  <wim@fluendo.com>
16868
16869         * gst/gstpad.c: (pre_activate), (post_activate),
16870         (gst_pad_activate_pull), (gst_pad_activate_push):
16871         Cleanup activation code. Reset old state if
16872         activation failed.
16873
16874 2005-10-12  Wim Taymans  <wim@fluendo.com>
16875
16876         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16877         (gst_base_sink_change_state):
16878         No need to prerol after receiving EOS.
16879
16880         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16881         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16882         * gst/elements/gstidentity.c: (gst_identity_event):
16883         Print events more verbosely.
16884
16885 2005-10-12  Wim Taymans  <wim@fluendo.com>
16886
16887         * check/Makefile.am:
16888         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16889         * check/states/sinks2.c:
16890         Moved sinks2 testcode in sinks check.
16891
16892         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16893         (gst_bin_remove_func), (gst_bin_recalc_state),
16894         (gst_bin_change_state_func), (bin_bus_handler):
16895         Fix potential race condition when _get_state() iterated over an
16896         ASYNC element right before it posted a state completion.
16897
16898         * gst/gstclock.h:
16899         Do proper cast here.
16900
16901         * gst/gstevent.c: (gst_event_new_newsegment),
16902         (gst_event_parse_newsegment):
16903         A playback rate of 0.0 is not allowed.
16904
16905 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16906
16907         * win32/common/config.h:
16908         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16909         (_trewinddir), (_ttelldir), (_tseekdir):
16910         * win32/common/dirent.h:
16911         * win32/common/gtchar.h:
16912         * win32/common/libgstbase.def:
16913         * win32/common/libgstreamer.def:
16914         * win32/vs6/grammar.dsp:
16915         * win32/vs6/gst_inspect.dsp:
16916         * win32/vs6/gst_launch.dsp:
16917         * win32/vs6/gstreamer.dsw:
16918         * win32/vs6/libgstbase.dsp:
16919         * win32/vs6/libgstelements.dsp:
16920         * win32/vs6/libgstreamer.dsp:
16921           Visual Studio 6 project files, and a new common directory.
16922           Phear.
16923
16924 2005-10-11  Wim Taymans  <wim@fluendo.com>
16925
16926         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16927         (gst_base_sink_do_sync), (gst_base_sink_query),
16928         (gst_base_sink_change_state):
16929         * gst/base/gstbasesink.h:
16930         Correctly parse newsegment info.
16931
16932 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16933
16934         * gst/gst.c: (init_post):
16935           split plugin paths correctly
16936
16937 2005-10-11  Wim Taymans  <wim@fluendo.com>
16938
16939         * check/gst/gstevent.c: (GST_START_TEST):
16940         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16941         (gst_base_sink_change_state):
16942         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16943         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16944         * gst/elements/gstfilesink.c: (gst_file_sink_event):
16945         * gst/gstevent.c: (gst_event_new_newsegment),
16946         (gst_event_parse_newsegment):
16947         * gst/gstevent.h:
16948         Added extra flag to newsegment for future API freeze.
16949         Updated check and base elements.
16950
16951 2005-10-11  Julien MOUTTE  <julien@moutte.net>
16952
16953         * gst/base/gstcollectpads.c: (gst_collectpads_init),
16954         (gst_collectpads_add_pad), (gst_collectpads_pop),
16955         (gst_collectpads_event), (gst_collectpads_chain):
16956         * gst/base/gstcollectpads.h: Handle EOS correctly.
16957
16958 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16959
16960         * tools/gst-launch.c: (main):
16961           more null protecting
16962
16963 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16964
16965         * gst/gst-i18n-lib.h:
16966           check for ENABLE_NLS, not GETTEXT_PACKAGE
16967         * gst/gstregistry.c: (gst_registry_add_plugin),
16968         (gst_registry_scan_path_level),
16969         (_gst_registry_remove_cache_plugins):
16970           protect possibly NULL strings
16971         * gst/parse/types.h:
16972           config.h already included before
16973         * tools/gst-inspect.c: (main):
16974           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16975           check for ENABLE_NLS, not GETTEXT_PACKAGE
16976         * tools/gst-launch.c: (main):
16977           check for ENABLE_NLS, not GETTEXT_PACKAGE
16978
16979 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16980
16981         * configure.ac:
16982           if we don't have glib, fail before testing 2.8
16983         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16984           fix a leak, should fix plugins-base testsuite
16985
16986 2005-10-11  Andy Wingo  <wingo@pobox.com>
16987
16988         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16989         take the mode we're going to as an arg. Go head and set the mode
16990         and flushing flags now, so that if the activate function starts a
16991         thread all the flags will be in the right state.
16992         (post_activate): Renamed also. Just handle making sure streaming
16993         finishes for the deactivation case, and setting the deactivated
16994         mode.
16995         (gst_pad_set_active): Complain loudly if deactivation fails.
16996         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16997         (gst_pad_activate_push): Adapt to pre/post_activate changes,
16998         remove the terrible hack.
16999
17000 2005-10-11  Wim Taymans  <wim@fluendo.com>
17001
17002         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17003         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17004         (gst_bin_recalc_state), (gst_bin_change_state_func),
17005         (gst_bin_dispose), (bin_bus_handler):
17006         * gst/gstbin.h:
17007         Prepare to make current EOS message queue more generic.
17008         Fix some typos.
17009
17010         * gst/gstevent.c: (gst_event_new_newsegment),
17011         (gst_event_parse_newsegment):
17012         * gst/gstevent.h:
17013         Rename base to stream_time.
17014
17015         * gst/gstmessage.h:
17016         Fix typo in docs.
17017
17018 2005-10-11  Wim Taymans  <wim@fluendo.com>
17019
17020         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17021         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17022         (gst_bin_change_state_func), (bin_bus_handler):
17023         * gst/gstbin.h:
17024         Work on proper clock selection.
17025
17026 2005-10-11  Edward Hervey  <edward@fluendo.com>
17027
17028         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17029         * libs/gst/controller/gstcontroller.h:
17030         Added GList* version of _remove_properties() in order to be able to wrap
17031         it in bindings.
17032
17033 2005-10-11  Wim Taymans  <wim@fluendo.com>
17034
17035         * docs/design/part-states.txt:
17036         Some more docs.
17037
17038         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17039         (gst_bin_change_state_func), (bin_bus_handler):
17040         Doc updates. Don't distribute the same clock over and over again.
17041
17042         * gst/gstclock.c:
17043         * gst/gstclock.h:
17044         Doc updates.
17045
17046         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17047         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17048         (gst_pad_send_event):
17049         * gst/gstpad.h:
17050         Make probe emission threadsafe again.
17051         Register quarks and move _get_name() from utils.
17052         Doc updates.
17053
17054         * gst/gstpipeline.c: (gst_pipeline_class_init),
17055         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17056         Only redistribute the clock of it changed.
17057
17058         * gst/gstsystemclock.h:
17059         Doc updates. 
17060
17061         * gst/gstutils.c:
17062         * gst/gstutils.h:
17063         Moved the _flow_get_name() to GstPad.
17064
17065 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17066
17067         * check/gst-libs/gdp.c: (GST_START_TEST):
17068         * check/gst/gstcaps.c: (GST_START_TEST):
17069         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17070         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17071         (gst_dp_packet_from_caps):
17072           fix more valgrind warnings before turning up the heat
17073
17074 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17075
17076         * gst/parse/grammar.y:
17077           some cleanup before the hacking
17078
17079 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17080
17081         * gst/base/gstbasesrc.c: (gst_base_src_query):
17082           use conversions
17083         * gst/gstutils.c: (gst_guint64_to_gdouble),
17084         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17085         * gst/gstutils.h:
17086           externalize, basesrc uses it
17087           obviously the implementation needs testing
17088
17089 2005-10-10  Wim Taymans  <wim@fluendo.com>
17090
17091         * tests/sched/Makefile.am:
17092         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17093         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17094
17095 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17096
17097         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17098           apparently converting from guint64 to double is not implemented
17099           on MSVC
17100
17101 2005-10-10  Wim Taymans  <wim@fluendo.com>
17102
17103         * check/Makefile.am:
17104         * check/generic/states.c: (GST_START_TEST):
17105         * check/gst/gstbin.c: (GST_START_TEST):
17106         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17107         * check/states/sinks.c: (GST_START_TEST):
17108         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17109         (main):
17110         Check fixes, use API as stated in design docs, remove hacks.
17111
17112         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17113         (gst_base_sink_change_state):
17114         Catch stopping our task while we're shutting down.
17115
17116         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17117         (gst_bin_remove_func), (gst_bin_get_state_func),
17118         (gst_bin_recalc_state), (gst_bin_change_state_func),
17119         (bin_bus_handler):
17120         * gst/gstbin.h:
17121         * gst/gstelement.c: (gst_element_init),
17122         (gst_element_get_state_func), (gst_element_abort_state),
17123         (gst_element_commit_state), (gst_element_lost_state),
17124         (gst_element_set_state), (gst_element_change_state),
17125         (gst_element_change_state_func):
17126         * gst/gstelement.h:
17127         New state change algorithm (see #318116)
17128
17129         * gst/gstpipeline.c: (gst_pipeline_class_init),
17130         (gst_pipeline_init), (gst_pipeline_set_property),
17131         (gst_pipeline_get_property), (do_pipeline_seek),
17132         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17133         * gst/gstpipeline.h:
17134         Remove crude state change hacks.
17135
17136         * gst/gstutils.h:
17137         Remove crude hacks.
17138
17139         * tools/gst-launch.c: (main):
17140         Fixes for state change. Needs some more work to fully use the
17141         new stuff.
17142
17143 2005-10-10  Andy Wingo  <wingo@pobox.com>
17144
17145         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17146
17147         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17148         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17149         issue.
17150
17151 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17152
17153         * gst/gstiterator.c: (gst_iterator_new):
17154           Fix my previous commit: GTypes passed to gst_iterator_new()
17155           can be fundamental types.
17156
17157 2005-10-10  Wim Taymans  <wim@fluendo.com>
17158
17159         * gst/gstelement.c: (gst_element_iterate_pad_list),
17160         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17161         (gst_element_iterate_sink_pads):
17162         Use src/sink pads lists for the respective iterators instead
17163         of filtering.
17164
17165 2005-10-10  Andy Wingo  <wingo@pobox.com>
17166
17167         Merged in popt removal + GOption addition patch from Ronald, bug
17168         #169772.
17169
17170         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17171         GstElement macros around, remove popt-related symbols, add goption
17172         stuff.
17173
17174         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17175         
17176         * docs/gst/Makefile.am:
17177         * docs/libs/Makefile.am: No POPT_CFLAGS.
17178         
17179         * examples/manual/Makefile.am:
17180         * docs/manual/basics-init.xml: Doc updates with an example.
17181         
17182         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17183         (gst_init), (parse_one_option), (parse_goption_arg):
17184         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17185         bit of hand merging and debugging to get the GOption stuff working
17186         tho.
17187         
17188         * tests/Makefile.am:
17189         * tools/Makefile.am:
17190         * tools/gst-inspect.c: (main):
17191         * tools/gst-launch.c: (main):
17192         * tools/gst-run.c: (main):
17193         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17194
17195 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17196
17197         * gst/gstiterator.c: (gst_iterator_new):
17198           Add assertions to make sure passed GType is likely to really
17199           be a GType (as the compiler won't catch it if the size and
17200           GType arguments get mixed up, see #318447).
17201
17202 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17203
17204         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17205
17206         * gst/gstbin.c: (gst_bin_iterate_sorted):
17207           Pass GType and size arguments to gst_iterator_new() in the right
17208           order (maybe we should make _new() take the GType as first argument
17209           just like _new_list()?) (#318447).
17210           
17211
17212 2005-10-10  Wim Taymans  <wim@fluendo.com>
17213
17214         * gst/gstelement.c: (gst_element_finalize):
17215         And free the GStaticRecMutex too
17216
17217 2005-10-10  Andy Wingo  <wingo@pobox.com>
17218
17219         * gst/gstelement.c (gst_element_init, gst_element_finalize):
17220         Allocate and free the mutex properly.
17221
17222         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17223         New macros.
17224         (GstElement): The state_lock is now recursive. Rebuild your
17225         plugins, suckers. Old macros adapted.
17226
17227         * docs/gst/gstreamer-sections.txt: Doc updates.
17228
17229         * gst/gstutils.h:
17230         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
17231         (g_static_rec_cond_wait): Ported from state changes patch, while
17232         we wait on bug #317802 to be solved in a well-distributed GLib.
17233
17234         * gst/gstelement.c (gst_element_change_state_func): Renamed from
17235         gst_element_change_state, variable name changes.
17236         (gst_element_change_state): Split out of gst_element_set_state in
17237         preparation for the state change merge. Doesn't pay attention to
17238         the 'transition' argument.
17239         (gst_element_set_state): Updates, hopefully purely cosmetic.
17240         (gst_element_sync_state_with_parent): MT-safety. Ported from the
17241         state change patch.
17242         (gst_element_get_state_func): Renamed from get_state, cosmetic
17243         changes.
17244
17245 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17246
17247         * gst/elements/gstelements.c:
17248         * win32/GStreamer.vcproj:
17249         * win32/config.h:
17250         * win32/dirent.c: (_tseekdir):
17251         * win32/gst-inspect.vcproj:
17252         * win32/gst-launch.vcproj:
17253         * win32/gstconfig.h:
17254         * win32/gstelements.vcproj:
17255         * win32/gstenumtypes.c: (gst_object_flags_get_type):
17256         * win32/gstreamer.def:
17257         * win32/msvc71.sln:
17258           updates for the win32 build (patch from Sebastien Moutte)
17259
17260 2005-10-10  Andy Wingo  <wingo@pobox.com>
17261
17262         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17263         gst_bin_get_state, cleaned up (but no logic changes).
17264         (bin_element_is_sink): Comment updates.
17265         (sink_iterator_filter): Remove needless cast.
17266         (gst_bin_iterate_sinks): Doc update.
17267         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17268         cleaned up (but no logic changes).
17269
17270         * check/states/sinks.c (test_src_sink): Cleanups from the state
17271         change patch.
17272         (test_livesrc_sink): Sync on the state.
17273
17274         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17275         the state change patch.
17276
17277         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17278         change patch.
17279
17280         * check/gst/gstbin.c: Merge in some style fixes and additional
17281         checks from Wim's state change patch.
17282
17283 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17284
17285         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17286         (gst_type_find_helper):
17287           Check whether we have the requested data already in our list of
17288           cached buffers before pulling a new buffer; also make the buffer
17289           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17290
17291 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17292
17293         * gst/gstcaps.c:
17294         * gst/gstevent.c:
17295           doc updates
17296         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17297           don't use long long, it's not portable.  Replacing with
17298           gint64 seems to work; let's hope no skeletons fall out of the closet.
17299
17300 2005-10-10  Andy Wingo  <wingo@pobox.com>
17301
17302         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17303
17304 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
17305
17306         * docs/gst/gstreamer-sections.txt:
17307         * gst/gstevent.c:
17308         * gst/gstevent.h:
17309         * gst/gstinfo.c:
17310         * gst/gstinfo.h:
17311         * gst/gstmessage.c: (gst_message_parse_state_changed):
17312         * gst/gstpad.c:
17313         * gst/gstpad.h:
17314           more docs, fix compilation
17315
17316 2005-10-09  Philippe Khalaf <burger@speedy.org>
17317         * gst/gstmessage.c:
17318           Fixed a few forgotten variables on previous commit
17319
17320 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
17321
17322         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17323           Fix evil typefind crasher: getrange() might return a short
17324           buffer at the end of a file, but gst_type_find_peek() must
17325           either return the full data as requested or NULL, but
17326           never a short buffer.
17327
17328 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17329
17330         * gst/gstmessage.c: (gst_message_new_state_changed),
17331         (gst_message_parse_state_changed):
17332         * gst/gstmessage.h:
17333           don't use "new", it's a C++ keyword
17334
17335 2005-10-08  Wim Taymans  <wim@fluendo.com>
17336
17337         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17338         * gst/gstelement.c: (gst_element_post_message):
17339         * gst/gstpipeline.c: (gst_pipeline_change_state):
17340         Small docs and debug updates.
17341
17342 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17343
17344         * docs/gst/gstreamer-sections.txt:
17345         * gst/gstelementfactory.c:
17346         * gst/gstevent.c:
17347         * gst/gsttaglist.c:
17348           more docs
17349
17350 2005-10-08  Wim Taymans  <wim@fluendo.com>
17351
17352         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17353         (gst_bin_dispose), (bin_bus_handler):
17354         Fix typos, add comments.
17355         Clear EOS list when going to PAUSED from any direction and do it
17356         in a threadsafe way.
17357         Get base time in a threadsafe way too.
17358         Fix confusing debug in the change_state function.
17359         Various other small cleanups.
17360         
17361         * gst/gstelement.c: (gst_element_post_message):
17362         Fix very verbose bus posting code.
17363
17364         * gst/gstpipeline.c: (gst_pipeline_class_init),
17365         (gst_pipeline_set_property), (gst_pipeline_get_property),
17366         (gst_pipeline_change_state):
17367         Small ARG_ -> PROP_ cleanup
17368
17369 2005-10-08  Wim Taymans  <wim@fluendo.com>
17370
17371         * gst/gstbin.c: (is_eos), (bin_bus_handler):
17372         Do a less CPU demanding EOS check because we can.
17373
17374 2005-10-08  Wim Taymans  <wim@fluendo.com>
17375
17376         * libs/gst/dataprotocol/dataprotocol.c:
17377         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17378         (gst_dp_packet_from_event):
17379         * libs/gst/dataprotocol/dataprotocol.h:
17380         * libs/gst/dataprotocol/dp-private.h:
17381         It's about time we bump the version number.
17382         Since event types don't fit in the guint8 anymore describing
17383         the payload type, make payload type 16 bits wide.
17384
17385 2005-10-08  Wim Taymans  <wim@fluendo.com>
17386
17387         * docs/design/part-TODO.txt:
17388         * docs/design/part-clocks.txt:
17389         * docs/design/part-events.txt:
17390         * docs/design/part-gstbin.txt:
17391         * docs/design/part-gstelement.txt:
17392         * docs/design/part-gstpipeline.txt:
17393         * docs/design/part-live-source.txt:
17394         * docs/design/part-messages.txt:
17395         * docs/design/part-overview.txt:
17396         * docs/design/part-states.txt:
17397         Many doc updates.
17398
17399 2005-10-08  Wim Taymans  <wim@fluendo.com>
17400
17401         * gst/gstevent.c:
17402         * gst/gstevent.h:
17403         Fix event quark registration.
17404         Add some space between events so we can insert them in the
17405         right groups.
17406
17407 2005-10-08  Wim Taymans  <wim@fluendo.com>
17408
17409         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17410         (gst_base_sink_handle_buffer):
17411         Better log message.
17412
17413         * gst/gstbus.h:
17414         * gst/gstelement.h:
17415         More docs.
17416
17417         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17418         (gst_queue_set_property), (gst_queue_get_property):
17419         * gst/gstqueue.h:
17420         Remove old unused properties.
17421
17422 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17423         * docs/gst/gstreamer-sections.txt:
17424         * gst/gstmessage.c:
17425         * gst/gstmessage.h:
17426         * gst/gstminiobject.c:
17427         * gst/gstminiobject.h:
17428         * gst/gstobject.h:
17429         * gst/gstpad.h:
17430         * gst/gstutils.h:
17431           lots of new docs and doc fixes
17432
17433 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17434
17435         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17436         * gst/gstplugin.h:
17437         * gst/gstregistry.c: (gst_registry_lookup_locked),
17438         (gst_registry_scan_path_level):
17439         * gst/gstregistryxml.c: (load_plugin):
17440           Only ever load one plugin for a given plugin basename.
17441           This ensures correct overriding of GST_PLUGIN_PATH over
17442           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17443           system installed plugins.
17444
17445 2005-10-08  Wim Taymans  <wim@fluendo.com>
17446
17447         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17448         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17449         Prepare for doing QOS.
17450
17451 2005-10-08  Wim Taymans  <wim@fluendo.com>
17452
17453         * check/gst/gstbin.c: (GST_START_TEST):
17454         * check/pipelines/cleanup.c: (GST_START_TEST):
17455         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17456         Allow new clock message too.
17457
17458 2005-10-08  Wim Taymans  <wim@fluendo.com>
17459
17460         * gst/gstmessage.c: (gst_message_new_error),
17461         (gst_message_new_warning), (gst_message_new_tag),
17462         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17463         (gst_message_new_clock_lost), (gst_message_new_new_clock),
17464         (gst_message_new_segment_start), (gst_message_new_segment_done),
17465         (gst_message_parse_state_changed),
17466         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17467         (gst_message_parse_new_clock):
17468         * gst/gstmessage.h:
17469         Also carry the clock in question.
17470
17471 2005-10-08  Wim Taymans  <wim@fluendo.com>
17472
17473         * gst/gstmessage.c: (gst_message_new_custom),
17474         (gst_message_new_eos), (gst_message_new_error),
17475         (gst_message_new_warning), (gst_message_new_tag),
17476         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17477         (gst_message_new_new_clock), (gst_message_new_segment_start),
17478         (gst_message_new_segment_done), (gst_message_parse_state_changed),
17479         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17480         * gst/gstmessage.h:
17481         Clean up.
17482         Added clock related messages.
17483
17484         * gst/gstpipeline.c: (gst_pipeline_change_state):
17485         Post message when the clock changed.
17486
17487         * tools/gst-launch.c: (event_loop):
17488         Print new clock.
17489
17490 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
17491
17492         * tools/gst-inspect.c: (print_element_properties_info):
17493           Can't pass NULL strings to g_print() on windows.
17494
17495 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17496
17497         * docs/Makefile.am:
17498         * docs/gst/Makefile.am:
17499         * docs/gst/gstreamer-docs.sgml:
17500         * docs/gst/running.xml:
17501         * docs/version.entities.in:
17502           add a chapter on running GStreamer.
17503           document GST_DEBUG and GST_PLUGIN* env vars
17504
17505 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17506
17507         * Makefile.am:
17508           remove include dir
17509         * configure.ac:
17510           remove PLUGINS_BUILDDIR stuff
17511         * gst/gst.c: (init_post):
17512           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17513         * idiottest.mak:
17514           remove, it was condescending and not needed
17515
17516 2005-10-08  Wim Taymans  <wim@fluendo.com>
17517
17518         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17519         (gst_base_sink_handle_object), (gst_base_sink_event),
17520         (gst_base_sink_wait), (gst_base_sink_handle_event),
17521         (gst_base_sink_change_state):
17522         * gst/base/gstbasesink.h:
17523         Repost EOS message while going to PLAYING if still EOS.
17524         Make sure that when receiving a FLUSH_START we don't attempt
17525         to sync on the clock anymore.
17526
17527 2005-10-08  Wim Taymans  <wim@fluendo.com>
17528
17529         * tools/gst-launch.c: (event_loop):
17530         Better message printout.
17531
17532 2005-10-08  Wim Taymans  <wim@fluendo.com>
17533
17534         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17535         (gst_bin_child_proxy_get_children_count):
17536         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17537         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17538         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17539         (gst_child_proxy_set_valist):
17540         * gst/parse/grammar.y:
17541         Make ChildProxy threadsafe and fix mem leaks.
17542
17543 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17544
17545         * gst/gst.c: (init_post):
17546           debug the GST_PLUGIN_ env vars
17547
17548 2005-10-08  Wim Taymans  <wim@fluendo.com>
17549
17550         * check/gst/gstbin.c: (GST_START_TEST):
17551         * check/gst/gstmessage.c: (GST_START_TEST):
17552         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17553         * gst/gstelement.c: (gst_element_commit_state),
17554         (gst_element_lost_state):
17555         * gst/gstmessage.c: (gst_message_new_state_changed),
17556         (gst_message_parse_state_changed):
17557         * gst/gstmessage.h:
17558         * tools/gst-launch.c: (event_loop):
17559         Added extra field to STATE_CHANGE message with the pending
17560         state, which will be different from the new state soon.
17561
17562 2005-10-08  Wim Taymans  <wim@fluendo.com>
17563
17564         * gst/gstbus.c: (gst_bus_pop):
17565         * gst/gstclock.c:
17566         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17567         Small cleanups and doc updates.
17568
17569 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17570
17571         * gst/gst.c: (init_pre):
17572         * gst/gstbin.c: (gst_bin_add_func):
17573           log distributing clocks and base time
17574         * gst/gstregistry.c: (gst_registry_add_plugin),
17575         (gst_registry_scan_path_level), (gst_registry_scan_path):
17576           clean up the debugging output a little
17577         * gst/gstutils.c: (gst_element_state_get_name):
17578           warn about a memleak (I've actually seen this be used, though
17579           it was probably a bug)
17580
17581 2005-10-07  Wim Taymans  <wim@fluendo.com>
17582
17583         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17584         (gst_base_src_init), (gst_base_src_default_newsegment),
17585         (gst_base_src_newsegment), (gst_base_src_do_seek),
17586         (gst_base_src_loop), (gst_base_src_start):
17587         * gst/base/gstbasesrc.h:
17588         Make the newsegment event customizable by subclasses.
17589
17590 2005-10-07  Wim Taymans  <wim@fluendo.com>
17591
17592         * gst/gstevent.c: (gst_event_new_buffersize),
17593         (gst_event_parse_buffersize):
17594         * gst/gstevent.h:
17595         New event for future idea.
17596
17597 2005-10-07  Andy Wingo  <wingo@pobox.com>
17598
17599         * gst/gstelement.c (gst_element_post_message): Doc update.
17600
17601         * docs/gst/gstreamer-sections.txt: Update.
17602
17603         * gst/gstmessage.c (gst_message_new_application): Made into a
17604         function like honest API calls.
17605         (gst_message_new_element): New message type.
17606
17607         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17608
17609         * check/elements/fakesrc.c (test_no_preroll): New check, checks
17610         that setting a live fakesrc to PAUSED returns NO_PREROLL both
17611         times.
17612
17613         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17614         NO_PREROLL from gst_element_change_state to fall through.
17615
17616 2005-10-07  Wim Taymans  <wim@fluendo.com>
17617
17618         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17619         (gst_ghost_pad_do_activate_push):
17620         Activating a ghostpad with no internal pad in push mode
17621         is ok.
17622
17623 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17624
17625         * gst/gstobject.h:
17626           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17627           Fixes compilation on Windows.
17628
17629 2005-10-07  Michael Smith <msmith@fluendo.com>
17630
17631         * tools/gst-inspect.c:
17632           Print out feature and plugin count at the end when printing out
17633           all features.
17634
17635 2005-10-04  Michael Smith <msmith@fluendo.com>
17636
17637         * gst/gsterror.c: (_gst_stream_errors_init):
17638           Add another error string used in a few existing plugins.
17639
17640         * gst/gstplugin.c:
17641         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17642         * tools/gst-inspect.c: (print_element_info):
17643           When a feature disappears from a plugin (and the feature exists in
17644           the cached registry file), things went horribly wrong. This isn't a
17645           complete fix, we should actually be removing the 'missing' features
17646           from the features list when we load the actual plugin. That's not
17647           yet implemented. 
17648
17649 2005-10-04  Johan Dahlin  <johan@gnome.org>
17650
17651         * check/gst/gstiterator.c: (GST_START_TEST):
17652         * gst/gstbin.c: (gst_bin_iterate_elements),
17653         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17654         * gst/gstelement.c: (gst_element_iterate_pads):
17655         * gst/gstformat.c: (gst_format_iterate_definitions):
17656         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17657         (gst_iterator_new_list), (gst_iterator_filter):
17658         * gst/gstiterator.h:
17659         * gst/gstquery.c: (gst_query_type_iterate_definitions):
17660         Add a GType to GstIterator, update callsites and tests.
17661
17662 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17663
17664         * gst/gstpad.c: (gst_pad_event_default_dispatch):
17665           give events a chance to be handled by event probes when the pad
17666           is not linked
17667
17668 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17669
17670         * gst/gstevent.c: (gst_event_type_get_name),
17671         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17672         * gst/gstevent.h:
17673           add string representations for event types
17674
17675 2005-10-06  Wim Taymans  <wim@fluendo.com>
17676
17677         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
17678         Don't use NULL pointers.
17679
17680 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17681
17682         * gst/gst_private.h:
17683         * gst/gstbus.c:
17684         * gst/gstelement.c:
17685         * gst/gstinfo.c:
17686         * gst/gstpluginfeature.c:
17687           widen the debug category in output to fit the biggest one we have
17688           add a bus category and use it
17689           play with the colors
17690           fix up some categories
17691
17692 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17693
17694         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
17695           add push activation of sink ghost pads.
17696           Andye, please verify
17697
17698 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17699
17700         * gst/gstutils.c: (gst_element_link_pads):
17701           fix a bug in the case where neither element has a pad
17702         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17703           add a test for that case
17704
17705 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17706
17707         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
17708           emit have-data before checking for peers.  This allows
17709           for probe handlers to connect elements.  This helps autopluggers.
17710         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
17711         (gst_pad_suite):
17712           add six checks, linked/unlinked with no/true/false probe
17713
17714 2005-10-04  Wim Taymans  <wim@fluendo.com>
17715
17716         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
17717         (gst_fake_sink_event), (gst_fake_sink_preroll),
17718         (gst_fake_sink_render), (gst_fake_sink_change_state):
17719         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
17720         (gst_fake_src_get_property), (gst_fake_src_create),
17721         (gst_fake_src_stop):
17722         * gst/elements/gstidentity.c: (gst_identity_stop):
17723         Protect last_message with lock.
17724
17725 2005-10-04  Edward Hervey  <edward@fluendo.com>
17726
17727         * gst/gstformat.h: 
17728         Added precision in the comments for GST_FORMAT_DEFAULT
17729
17730 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
17731
17732         * tools/gst-launch.c: (main):
17733           Don't try to run erroneous pipelines.
17734
17735 2005-10-04  Julien MOUTTE  <julien@moutte.net>
17736
17737         * gst/gstbus.c: We don't need this header.
17738
17739 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17740
17741         * configure.ac:
17742           back to development
17743
17744 === release 0.9.3 ===
17745
17746 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17747
17748         * README:
17749         * configure.ac:
17750           Releasing 0.9.3, "Unregistered"
17751
17752 2005-10-03  Andy Wingo  <wingo@pobox.com>
17753
17754         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
17755         whereby calling a pad's activatepush() function can start a thread
17756         that starts to push or pull before the pad gets the FLUSHING flag
17757         unset. Hack around it by holding the stream lock until the flag is
17758         set. Need to replace this with a proper solution. Together with
17759         the ghost pad fixes, this fixes mp3 playing/tagreading.
17760
17761         * docs/design/part-gstghostpad.txt: Add a note about activation of
17762         proxy pads outside of ghost pads.
17763
17764         * gst/gstghostpad.c: Implement the ghost pad activation design.
17765
17766 2005-10-02  Andy Wingo  <wingo@pobox.com>
17767
17768         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
17769         It is volatile, after all.
17770
17771         * docs/design/part-gstghostpad.txt: Flesh out activation with
17772         ghost pads.
17773
17774         * gst/base/gstbasesrc.c (gst_base_src_init): Use
17775         GST_DEBUG_FUNCPTR.
17776
17777 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
17778
17779         * configure.ac:
17780           Fix (unused) AM_CONDITIONAL tests.
17781
17782 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
17783
17784         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17785
17786         * gst/gstutils.c: (gst_pad_query_convert):
17787           Add assertion that makes sure src_val is >=0, just like
17788           gst_query_new_convert() has. (#315895)
17789
17790 2005-09-30  Edward Hervey  <edward@fluendo.com>
17791
17792         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
17793         Let's not iterate pads we're not interested in, it avoids getting 
17794         sky-high refcounts on sinkpad.
17795
17796 2005-09-30  Wim Taymans  <wim@fluendo.com>
17797
17798         * gst/gstelement.c: (gst_element_set_state),
17799         (gst_element_change_state):
17800         Small tweak, element in ASYNC remains ASYNC.
17801
17802 2005-09-30  Wim Taymans  <wim@fluendo.com>
17803
17804         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17805         Only error is an error.
17806
17807         * gst/gstbin.c: (gst_bin_change_state):
17808         Better debugging.
17809
17810         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17811         Also call pad_block in pad alloc.
17812
17813         * gst/gstutils.c: (gst_flow_get_name):
17814         Better debugging.
17815
17816 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
17817
17818         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17819         (gst_base_src_get_range):
17820           Fix documentation typos. Add some more debug info.
17821
17822 2005-09-29  David Schleef  <ds@schleef.org>
17823
17824         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17825           more end-user friendly.
17826         * tools/gst-inspect.c: (main): Check if command-line argument is
17827           a file and attempt to load that file as a plugin.
17828
17829 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17830
17831         * check/gst/gstbin.c:
17832         * check/states/sinks.c:
17833           fix tests for the new warning
17834         * check/gst/gstpipeline.c:
17835           add a test for pipeline and bus interaction
17836         * gst/gstelement.c:
17837           elements should be NULL if they get disposed; add a warning if not
17838
17839 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17840
17841         * gst/gstobject.c:
17842           for 2.6 refcounting, make debug log more correct by printing
17843           the actual refcounts at the time of swap (Wim)
17844
17845 2005-09-29  Andy Wingo  <wingo@pobox.com>
17846
17847         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17848         removes signal watches previously added via
17849         gst_bus_add_signal_watch.
17850         (gst_bus_add_signal_watch): Don't return the source id, just store
17851         it on the bus if there wasn't an id already.
17852
17853         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17854         add_signal_watch and remove_signal_watch.
17855
17856 2005-09-29  Edward Hervey  <edward@fluendo.com>
17857
17858         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
17859         Better if we actually iterate the list :)
17860
17861 2005-09-29  Wim Taymans  <wim@fluendo.com>
17862
17863         * check/gst/gstbin.c: (GST_START_TEST):
17864         Change for new bus API.
17865
17866         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17867         (send_messages), (GST_START_TEST), (gstbus_suite):
17868         Change for new bus signal API.
17869
17870         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17871         (gst_bus_source_prepare), (gst_bus_source_check),
17872         (gst_bus_create_watch), (gst_bus_add_watch_full),
17873         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17874         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17875         * gst/gstbus.h:
17876         Remove support for multiple GSources operating on different
17877         message types as it is too complex and unneeded when using
17878         signals.
17879         Added support for receiving signals from the bus.
17880
17881 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17882
17883         * docs/libs/tmpl/gstdataprotocol.sgml:
17884         * docs/manual/advanced-dataaccess.xml:
17885         * gst/elements/gstcapsfilter.c:
17886         * gst/gstutils.c:
17887           rename filter-caps to caps property
17888
17889 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
17890
17891         * gst/gstvalue.c: (gst_value_deserialize_fraction):
17892           More robust fraction string parsing.
17893
17894         * docs/pwg/appendix-porting.xml:
17895           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17896
17897 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
17898
17899         * gst/gstcaps.c: (gst_caps_do_simplify):
17900           Thou shalt not free a structure and then continue using it
17901           in the next loop iteration.
17902
17903         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17904         (gst_caps_suite):
17905           Add test case for caps simplification.
17906
17907 2005-09-29  Wim Taymans  <wim@fluendo.com>
17908
17909         * check/gst/gstbin.c: (GST_START_TEST):
17910         Oops.
17911
17912 2005-09-29  Wim Taymans  <wim@fluendo.com>
17913
17914         * check/gst/gstbin.c: (GST_START_TEST):
17915         Add bus to bin.
17916
17917         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17918         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17919         (find_element), (gst_bin_sort_iterator_next),
17920         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17921         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17922         (gst_bin_change_state), (gst_bin_dispose):
17923         A bin does not have a bus, it gets the bus from the parent.
17924
17925         * gst/gstelement.c: (gst_element_requires_clock),
17926         (gst_element_provides_clock), (gst_element_is_indexable),
17927         (gst_element_is_locked_state), (gst_element_change_state),
17928         (gst_element_set_bus_func):
17929         Small cleanups.
17930
17931         * gst/gstpipeline.c: (gst_pipeline_class_init),
17932         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17933         The pipeline provides a bus.
17934
17935 2005-09-28  Johan Dahlin  <johan@gnome.org>
17936
17937         * gst/gstmessage.c (gst_message_parse_state_changed): Use
17938         gst_structure_get_enum instead of gst_structure_get_int
17939
17940         * gst/gststructure.c (gst_structure_get_enum): Impl.
17941
17942         * gst/gststructure.h (gst_structure_get_enum): Add
17943
17944         * docs/gst/gstreamer-sections.txt: Ditto
17945
17946         * gst/gstmessage.c (gst_message_new_state_changed): Use
17947         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17948         which does introspection.
17949         Reviewed by Christian Schaller
17950
17951 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
17952
17953         * gst/gstinfo.c: (gst_debug_log_default):
17954           don't do dummy g_strdup()s
17955         * libs/gst/controller/gstcontroller.c:
17956         (on_object_controlled_property_changed),
17957         (gst_controlled_property_new), (gst_controller_new_valist),
17958         (gst_controller_new_list),
17959         (gst_controller_remove_properties_valist), (gst_controller_set),
17960         (gst_controller_get), (gst_controller_sync_values),
17961         (gst_controller_get_value_array), (_gst_controller_class_init),
17962         (gst_controller_get_type):
17963         * libs/gst/controller/gstcontroller.h:
17964         * libs/gst/controller/gstinterpolation.c:
17965         (gst_controlled_property_find_timed_value_node):
17966           convert // to /**/ comments
17967
17968 2005-09-28  Wim Taymans  <wim@fluendo.com>
17969
17970         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17971         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17972         (gst_bus_sync_signal_handler):
17973         * gst/gstbus.h:
17974         Added async-message and sync-message signals to the bus.
17975         Added helper BusFunc to emit signals for all posted messages.
17976
17977         * gst/gstmessage.c: (gst_message_type_get_name),
17978         (gst_message_type_to_quark), (gst_message_get_type):
17979         * gst/gstmessage.h:
17980         Register quarks for message names.
17981
17982 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
17983
17984         * docs/libs/gstreamer-libs-sections.txt:
17985         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17986         (gst_controller_new_list):
17987         * libs/gst/controller/gstcontroller.h:
17988           added another constructor for language bindings
17989
17990 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17991
17992         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17993           add another check
17994         * gst/gstbus.c:
17995           add some doc
17996         * gst/gstinfo.c: (_gst_debug_init):
17997           slightly more readable color for refcount debugging
17998
17999 2005-09-28  Wim Taymans  <wim@fluendo.com>
18000
18001         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18002         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18003         (find_element), (gst_bin_sort_iterator_next),
18004         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18005         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18006         (gst_bin_change_state), (gst_bin_dispose):
18007         Small doc fixes. get_clock -> provide_clock.
18008
18009         * gst/gstelement.c: (gst_element_class_init),
18010         (gst_element_provides_clock), (gst_element_provide_clock),
18011         (gst_element_get_clock), (gst_element_commit_state),
18012         (gst_element_lost_state):
18013         * gst/gstelement.h:
18014         Make get/set_clock() symetric. Add provide_clock vmethod since
18015         that is actually what this function does.
18016
18017         * gst/gstpipeline.c: (gst_pipeline_class_init),
18018         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18019         (gst_pipeline_get_clock):
18020         get_clock -> provide_clock.
18021
18022 2005-09-28  Andy Wingo  <wingo@pobox.com>
18023
18024         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18025         lieu of real docs...
18026
18027         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18028
18029 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18030
18031         * gst/elements/gstcapsfilter.c:
18032         * gst/elements/gstfakesink.c:
18033         * gst/elements/gstfakesrc.c:
18034         * gst/elements/gstfdsink.c:
18035         * gst/elements/gstfdsrc.c:
18036         * gst/elements/gstfilesink.c:
18037         * gst/elements/gstfilesrc.c:
18038         * gst/elements/gstidentity.c:
18039         * gst/elements/gsttee.c:
18040         * gst/elements/gsttypefindelement.c:
18041           Make element details static.
18042
18043 2005-09-28  Wim Taymans  <wim@fluendo.com>
18044
18045         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18046         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18047         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18048         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18049         (gst_bin_change_state), (gst_bin_dispose):
18050         Some documentation updates.
18051         Clean up dispose handlers.
18052
18053         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18054         * gst/gstpad.c: (gst_pad_dispose):
18055         Clean up dispose handler.
18056
18057         * gst/gstpipeline.c: (gst_pipeline_change_state):
18058         Removed spurious UNLOCK.
18059
18060 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18061
18062         * docs/gst/gstreamer-sections.txt:
18063         * gst/base/gstbasesrc.h:
18064         * gst/gstelement.h:
18065         * gst/gstevent.h:
18066         * gst/gstobject.h:
18067         * gst/gstpad.h:
18068         * gst/gstpipeline.c:
18069         * gst/gstpipeline.h:
18070         * gst/gstutils.h:
18071         * gst/gstxml.h:
18072           added two new functions to the docs
18073                 documents all undocumented GstXXXFlags
18074                 completed some incomplete docs 
18075
18076 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18077
18078         * gst/gstbin.c: (gst_bin_dispose):
18079         * gst/gstelement.c: (gst_element_dispose):
18080           remove now useless and leaky resurrection code in dispose
18081         * gst/base/gstbasesrc.c: (gst_base_src_init):
18082         * gst/gstelementfactory.c: (gst_element_factory_create):
18083         * gst/gstobject.c: (gst_object_set_parent):
18084           add some debugging
18085
18086 2005-09-27  Wim Taymans  <wim@fluendo.com>
18087
18088         * docs/design/part-TODO.txt:
18089         Update TODO.
18090
18091         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18092         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18093         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18094         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18095         (gst_bin_change_state):
18096         * gst/gstelement.h:
18097         Remove element variable, we keep element info in the iterator now.
18098
18099 2005-09-27  Andy Wingo  <wingo@pobox.com>
18100
18101         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18102         values.
18103
18104 2005-09-27  Wim Taymans  <wim@fluendo.com>
18105
18106         * check/gst/gstbin.c: (GST_START_TEST):
18107         Enable check that works now.
18108
18109         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18110         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18111         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18112         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18113         (gst_bin_change_state):
18114         * gst/gstbin.h:
18115         Redid the state change algorithm using a topological sort algo.
18116         Handles all cases correctly.
18117         Exposed iterator for state change order.
18118
18119         * gst/gstelement.h:
18120         Temp storage for state changes. Need to get rid of this soon.
18121
18122 2005-09-27  Wim Taymans  <wim@fluendo.com>
18123
18124         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18125         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18126         (link_fold_func), (gst_pad_proxy_setcaps):
18127         Leak fixes, the fold functions need to unref the passed object and
18128         _get_parent_*() returns ref to parent.
18129
18130 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18131
18132         * check/gst/gstbuffer.c: (test_make_writable):
18133           Plug leak in test case and fix 'make check-valgrind'
18134
18135 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18136
18137         * gst/gstbuffer.c: (gst_subbuffer_init):
18138           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18139           works correctly in all circumstances (we could have just copied
18140           the parent buffer's readonly flag, but conceptually it seems
18141           cleaner to mark all subbuffers as read-only). (based on patch
18142           by Alessandro Decina, #314710).
18143         
18144         * check/gst/gstbuffer.c: (create_read_only_buffer),
18145         (test_make_writable), (test_subbuffer_make_writable),
18146         (gst_test_suite):
18147           Add some tests for gst_buffer_make_writable().
18148
18149 2005-09-27  Wim Taymans  <wim@fluendo.com>
18150
18151         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18152         use gst_object_has_ancestor().
18153
18154         * gst/gstobject.c: (gst_object_has_ancestor):
18155         * gst/gstobject.h:
18156         gst_object_has_ancestor() copied from gstbin.c as it is a
18157         useful function.
18158
18159         * tests/instantiate/create.c: (create_all_elements):
18160         * tests/lat.c: (handoff_src), (handoff_sink):
18161         * tests/sched/runxml.c: (main):
18162         * tests/seeking/seeking1.c: (main):
18163         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18164         (main):
18165         Fix compilation of some tests.
18166
18167 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18168
18169         * gst/gsterror.h:
18170           Remove comment. GST_TYPE_G_ERROR is here to stay,
18171           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18172           (#316961, #300610).
18173
18174 2005-09-26  Wim Taymans  <wim@fluendo.com>
18175
18176         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18177         Added check that shows error in state change order.
18178
18179 2005-09-26  Wim Taymans  <wim@fluendo.com>
18180
18181         * gst/gstbin.c: (gst_bin_change_state):
18182         Make state change function use 3 queues again, we were
18183         adding elements in the wrong order.
18184
18185         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18186         Some debug info,
18187
18188         * gst/gstpad.c: (gst_pad_dispose):
18189         Added some debug info first.
18190
18191 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18192
18193         * docs/design/draft-push-pull.txt:
18194         * docs/design/part-events.txt:
18195         * docs/design/part-overview.txt:
18196         * docs/design/part-scheduling.txt:
18197           Replace all _pull_region() with _pull_range()
18198           
18199 2005-09-26  Andy Wingo  <wingo@pobox.com>
18200
18201         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18202
18203         * check/gst-libs/controller.c: Update for controller api change.
18204
18205         * configure.ac: 
18206         * tests/Makefile.am:
18207         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18208         over by GLib bug 118439.
18209         
18210         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18211         routines to a function.
18212
18213         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18214
18215         * libs/gst/controller/gsthelper.c:
18216         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18217         (gst_object_sync_values): Renamed from sink_values. Ugh.
18218
18219         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18220
18221         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18222         Renamed from controller_key, as it is exported.
18223
18224         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18225
18226 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18227
18228         * gst/Makefile.am:
18229         * gst/gst.h:
18230         * gst/gstpad.h:
18231         * gst/gstpadtemplate.h:
18232         * gst/gstquery.c:
18233         * gst/gstquery.h:
18234         * gst/gstqueryutils.c:
18235         * gst/gstqueryutils.h:
18236           remove queryutils headers after moving the two used functions
18237           to gstquery.  also fixes build problem for gstsiddec
18238
18239 2005-09-26  Michael Smith <msmith@fluendo.com>
18240
18241         * tools/gst-launch.1.in:
18242         Correct documentation in manpage of debug syntax
18243
18244 2005-09-26  Wim Taymans  <wim@fluendo.com>
18245
18246         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18247         (gst_base_src_is_seekable), (gst_base_src_change_state):
18248         Some more debugging info.
18249
18250 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18251
18252         * docs/gst/gstreamer-sections.txt:
18253         * gst/base/gstbasetransform.h:
18254         * gst/gstindex.h:
18255           added more docs
18256
18257 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18258
18259         * docs/gst/.cvsignore:
18260         * docs/gst/tmpl/.cvsignore:
18261         * docs/gst/tmpl/gstpipeline.sgml:
18262         * docs/gst/tmpl/gstplugin.sgml:
18263         * gst/gstpipeline.c:
18264         * gst/gstplugin.c:
18265         * gst/gstplugin.h:
18266           inlined the last two docs files
18267           removed the tmpl directory from cvs (no more conflicts here!)
18268
18269 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18270
18271         * docs/gst/gstreamer-sections.txt:
18272         * docs/gst/tmpl/.cvsignore:
18273         * docs/gst/tmpl/gstpad.sgml:
18274         * docs/gst/tmpl/gstpadtemplate.sgml:
18275         * gst/Makefile.am:
18276         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18277         (gst_pad_finalize), (gst_pad_set_pad_template):
18278         * gst/gstpad.h:
18279         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18280         (gst_pad_template_class_init), (gst_pad_template_init),
18281         (gst_pad_template_dispose), (name_is_valid),
18282         (gst_static_pad_template_get), (gst_pad_template_new),
18283         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18284         (gst_pad_template_pad_created):
18285         * gst/gstpadtemplate.h:
18286           inlined two more docs
18287           factored gstpadtemplate out of gstpad
18288
18289 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
18290
18291         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18292         (test_children_state_change_order_semi_sink):
18293           Fix test case: we can't rely on a fixed state change order when
18294           going from READY => PAUSED because the sink might commit its 
18295           new state first when the first buffer created by the source 
18296           reaches the sink before the source has finished its change state.
18297           (Test case still fails at times, see #316856, comment 5 onwards)
18298
18299 2005-09-24  Wim Taymans  <wim@fluendo.com>
18300
18301         * docs/design/part-events.txt:
18302         * docs/design/part-gstbus.txt:
18303         * docs/design/part-gstpipeline.txt:
18304         * docs/design/part-messages.txt:
18305         * docs/design/part-overview.txt:
18306         * docs/design/part-segments.txt:
18307         * gst/gstbin.c:
18308         * gst/gstbuffer.c:
18309         * gst/gstclock.c:
18310         * gst/gstelement.c:
18311         * gst/gstevent.c:
18312         * gst/gstfilter.c:
18313         * gst/gstiterator.c:
18314         Various documentation updates.
18315
18316 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18317
18318         * gst/gstclock.h:
18319           Well, that's embarassing.  Luckily we weren't using
18320           GST_CLOCK_DIFF anywhere.
18321
18322 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18323
18324         * common/gtk-doc.mak:
18325           don't fail on building XML, FC4 slave shows a bunch of doc
18326           missing bits that I don't get
18327         * gst/gstpad.c:
18328         * gst/gstpipeline.c:
18329         * gst/gststructure.c:
18330           some doc updates
18331
18332 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18333
18334         * docs/design/part-gstbin.txt:
18335         * docs/design/part-gstbus.txt:
18336         * gst/gstbus.c:
18337           Add blurb about how the bus goes into flushing mode and
18338           drops all messages when its bin goes from READY into NULL 
18339           state.
18340
18341 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18342
18343         * docs/gst/gstreamer-sections.txt:
18344         * gst/gststructure.c: (gst_structure_get_clock_time):
18345         * gst/gststructure.h:
18346           add a method to get a GstClockTime out of a structure
18347
18348 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18349
18350         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18351         (test_children_state_change_order_semi_sink), (gst_bin_suite):
18352           Added test to check state change order in bins (can still be made
18353           to fail here under heavy disk load; bails out with 'Push on pad
18354           fakesink:sink0, but it was not activated in push mode').
18355
18356         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18357           Fix state change order when there is only a semi sink (#316856)
18358
18359         * gst/gstbus.c: (gst_bus_class_init):
18360           Use _class_peek_parent(), not _class_ref(); fix docs to say
18361           'default main context' instead of 'mainloop' where that is
18362           what's meant.
18363
18364         * gst/gstelement.c: (gst_element_commit_state),
18365         (gst_element_set_state):
18366           Fix typos in debug messages
18367
18368 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18369
18370         * docs/README:
18371         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18372         * gst/gstpluginfeature.c:
18373         * gst/gstutils.c:
18374           various doc updates
18375         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18376           change an assert into an error until it gets fixed properly
18377
18378 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
18379
18380         * docs/gst/gstreamer-sections.txt:
18381         * docs/gst/tmpl/.cvsignore:
18382         * docs/gst/tmpl/gstelement.sgml:
18383         * docs/gst/tmpl/gstinfo.sgml:
18384         * docs/gst/tmpl/gstobject.sgml:
18385         * gst/gstelement.c:
18386         * gst/gstelement.h:
18387         * gst/gstinfo.c:
18388         * gst/gstinfo.h:
18389         * gst/gstobject.c: (gst_object_class_init):
18390         * gst/gstobject.h:
18391           inlined 3 more biiiig doc files and added some missing docs on the fly
18392
18393 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18394
18395         * check/gst/.cvsignore:
18396         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18397         * gst/gstregistryxml.c: (load_plugin),
18398         (gst_registry_xml_save_plugin):
18399           put back source in registry.  add checks for find_plugin.
18400         * testsuite/states/bin.c: (assert_state), (empty_bin),
18401         (test_adding_one_element), (main):
18402         * testsuite/states/locked.c: (main):
18403           some compile/run fixes
18404
18405 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18406
18407         * check/gst/gstvalue.c: (GST_START_TEST):
18408           fix leaks in the test itself
18409
18410 2005-09-22  Wim Taymans  <wim@fluendo.com>
18411
18412         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18413         (gst_base_sink_send_event), (gst_base_sink_peer_query),
18414         (gst_base_sink_query):
18415         Prepare for more accurate position reporting and query
18416         handling.
18417
18418         * gst/gstelement.c: (gst_element_send_event),
18419         (gst_element_set_state):
18420         Add some comment.
18421
18422 2005-09-22  Wim Taymans  <wim@fluendo.com>
18423
18424         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18425         (gst_query_parse_segment):
18426         * gst/gstquery.h:
18427         More documentation.
18428         Add segment query for future use.
18429
18430 2005-09-22  Wim Taymans  <wim@fluendo.com>
18431
18432         * gst/gstbin.c: (gst_bin_add_func):
18433         Some more debug info.
18434
18435         * gst/gstelement.c: (gst_element_send_event):
18436         Simplify send_event
18437
18438         * gst/gstelement.h:
18439         Don't know how flags got broken.
18440
18441         * gst/gstquery.h:
18442         Added new query.
18443
18444 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18445
18446         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18447           Add simplistic test suite for GST_TYPE_DATE serialisation and
18448           deserialisation.
18449
18450 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18451
18452         * docs/gst/gstreamer-sections.txt:
18453         * gst/gststructure.c: (gst_structure_set_valist),
18454         (gst_structure_get_date):
18455         * gst/gststructure.h:
18456         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18457         (gst_date_copy), (gst_value_compare_date),
18458         (gst_value_serialize_date), (gst_value_deserialize_date),
18459         (gst_value_transform_date_string),
18460         (gst_value_transform_string_date), (_gst_value_initialize):
18461         * gst/gstvalue.h:
18462           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18463           bunch of utility functions along with a hack that checks that
18464           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18465           is required. Part of the grand scheme in #170777.
18466
18467 2005-09-22  Andy Wingo  <wingo@pobox.com>
18468
18469         * gst/gstconfig.h.in: Psych out gtk-doc.
18470
18471         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18472
18473         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18474
18475         * tools/gst-inspect.c (print_element_list): Plug some
18476         inconsequential leaks.
18477
18478         * gst/gstregistry.c (gst_registry_get_default): Doc.
18479
18480         * check/gst/gstplugin.c: 
18481         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18482         * gst/gstelementfactory.c (gst_element_factory_create): 
18483         * gst/gstindexfactory.c (gst_index_factory_create): Update for
18484         refcount changes.
18485
18486         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18487         (gst_plugin_feature_load): Doc, don't eat refs.
18488
18489         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18490         (gst_plugin_list_free): Doc.
18491         (gst_plugin_load_file): Doc updates.
18492
18493         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18494         accessors returning refcounted objects, return a ref.
18495
18496         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18497         accessor for caps. IDEMPOTENCE. Oh yes.
18498
18499 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
18500
18501         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18502
18503         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18504         (_gst_debug_register_funcptr):
18505           Add mutex to serialise access to the hash table with
18506           the function pointer => function name string mapping;
18507           make that hash table static scope (#316809).
18508
18509         * gst/registries/.cvsignore:
18510           Remove left-over file.
18511
18512 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
18513
18514         * docs/pwg/appendix-porting.xml:
18515           And something about newsegment events and caps-on-buffers to
18516           the porting guide (feel free to improve).
18517
18518 2005-09-21  Andy Wingo  <wingo@pobox.com>
18519
18520         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18521         data and event probes on the same pad.
18522         (test_buffer_probe_once): Test that removing probes from within
18523         the probe functions works.
18524
18525 2005-09-21  Andy Wingo  <wingo@pobox.com>
18526
18527         * check/gst/gstutils.c: New file.
18528         (test_buffer_probe_n_times): A simple buffer probe test. More to
18529         come, foolios.
18530
18531         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18532         have-data::buffer, not have-data.
18533         (gst_pad_add_event_probe): Likewise for have-data::event.
18534         (gst_pad_add_data_probe): More docs. The part about 'resolving the
18535         peer' isn't quite right yet though.
18536         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
18537         (gst_pad_remove_data_probe): Change to take the guint handler_id
18538         as their arg, not the function+data, which is more glib-like.
18539
18540         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18541         the signal emission to indicate if the data is a buffer or an
18542         event.
18543         (gst_pad_get_type): Initialize buffer and event quarks.
18544         (gst_pad_class_init): have-data is now a detailed signal, yes it
18545         is.
18546
18547 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
18548
18549         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18550         * gst/gstutils.c: (gst_util_set_value_from_string),
18551         (gst_util_set_object_arg):
18552           Don't put functional code in g_return_if_fail() or
18553           g_return_val_if_fail() statements, otherwise things will 
18554           break when G_DISABLE_CHECKS is defined during compilation.
18555
18556 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18557
18558         * docs/gst/tmpl/.cvsignore:
18559         * docs/gst/tmpl/gstvalue.sgml:
18560         * gst/gstvalue.c:
18561         * gst/gstvalue.h:
18562           inlied another one and added  some obvious docs
18563
18564 2005-09-21  Wim Taymans  <wim@fluendo.com>
18565
18566         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18567         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18568         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18569         (gst_fdsrc_get_property), (gst_fdsrc_create):
18570         * gst/elements/gstfdsrc.h:
18571         Properly implement fdsrc. Removed signal and timeout,
18572         better implemented somewhere else.
18573
18574 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18575
18576         * docs/gst/tmpl/.cvsignore:
18577         * docs/gst/tmpl/gstimplementsinterface.sgml:
18578         * gst/gstinterface.c:
18579           inlined more docs
18580
18581 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18582
18583         * docs/gst/gstreamer-sections.txt:
18584         * docs/gst/tmpl/.cvsignore:
18585         * docs/gst/tmpl/gstenumtypes.sgml:
18586           remove obsolete doc file
18587
18588 2005-09-21  David Schleef  <ds@schleef.org>
18589
18590         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18591         little beer, fix a little leak.
18592
18593 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18594
18595         * docs/gst/gstreamer-docs.sgml:
18596         * docs/gst/gstreamer-sections.txt:
18597         * docs/gst/tmpl/.cvsignore:
18598         * gst/Makefile.am:
18599         * gst/gst.h:
18600         * gst/gstbin.c:
18601         * gst/gstelement.h:
18602         * gst/gstindex.c: (gst_index_class_init):
18603         * gst/gstindex.h:
18604         * gst/gstindexfactory.c: (gst_index_factory_get_type),
18605         (gst_index_factory_class_init), (gst_index_factory_init),
18606         (gst_index_factory_finalize), (gst_index_factory_new),
18607         (gst_index_factory_destroy), (gst_index_factory_find),
18608         (gst_index_factory_create), (gst_index_factory_make):
18609         * gst/gstindexfactory.h:
18610         * gst/gstpluginfeature.c:
18611         * gst/gstpluginfeature.h:
18612         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18613           more docs inlined, splitted gstindex.{c,h}
18614
18615 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18616
18617         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18618           fix a leak
18619
18620 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
18621
18622         * gst/elements/gstfilesink.c: (gst_file_sink_init):
18623           Set sync to FALSE by default.
18624
18625 2005-09-20  Wim Taymans  <wim@fluendo.com>
18626
18627         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18628         (gst_base_sink_init):
18629         Make sync property settable from subclass.
18630
18631         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18632         (gst_fake_sink_change_state):
18633         Set sync to FALSE by default.
18634
18635 2005-09-20  Wim Taymans  <wim@fluendo.com>
18636
18637         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18638         * tools/gst-launch.c: (main):
18639         The timeout handler should have lower priority than the source
18640         so we don't timeout before popping a message with 0 timeout.
18641         Dump error messages after failed state change.
18642
18643 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
18644
18645         * tools/gst-inspect.c: (print_element_properties_info):
18646           Fix two typos.
18647
18648 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18649
18650         * check/gst/gstevent.c:
18651         * gst/elements/gstfakesink.c:
18652         * gst/elements/gstfakesink.h:
18653           remove the sync property from fakesink.
18654           has the side effect of setting sync TRUE
18655           for fakesink, which is a change.  Anyone who knows how
18656           to fix this nicely in a GObject-y way, feel free.
18657
18658 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18659
18660         * docs/gst/gstreamer-docs.sgml:
18661           remove probe refsection
18662
18663 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18664
18665         * check/Makefile.am:
18666           disable valgrinding the controller test again
18667         * docs/gst/gstreamer-sections.txt:
18668           update for api-changes
18669
18670 2005-09-20  Wim Taymans  <wim@fluendo.com>
18671
18672         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18673         (gst_base_sink_set_property), (gst_base_sink_get_property),
18674         (gst_base_sink_do_sync):
18675         * gst/base/gstbasesink.h:
18676         Added sync property to basesink to disable clock sync.
18677
18678 2005-09-20  Andy Wingo  <wingo@pobox.com>
18679
18680         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
18681         eating the caller's refcount.
18682
18683         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
18684         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
18685         refcount.
18686
18687         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
18688         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
18689         of GLib 2.8 public, so we can know which refcount to check in
18690         tests.
18691
18692         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
18693         (gst_object_init): Only set the gst refcount if we're going ahead
18694         with the refcount hack.
18695
18696 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18697
18698         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18699         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18700           more leaks plumbed, added more debug-logging
18701         * gst/gstmacros.h:
18702           whitespace fix
18703
18704 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18705
18706         * gst/gstmessage.c:
18707           remove include of gstmemchunk.h
18708
18709 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18710
18711         * gst/gstclock.c: (_gst_clock_id_free):
18712           Commit from the Political Party For More Atomic CVS Commits,
18713           so that people don't waste too much of their day fishing
18714           out obvious leaks out of massive commits.
18715           Oh, and fix a pretty damn obvious leak in the memchunk
18716           removal code.
18717
18718 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18719
18720         * check/Makefile.am:
18721         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18722           plug mem-leak, re-add to valgrindable tests
18723
18724 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18725
18726         * gst/gstplugin.h:
18727           unbreak the build for those who have chronic arthritis
18728           and typing "make check" is just too taxing on the hands
18729
18730 2005-09-20  Andy Wingo  <wingo@pobox.com>
18731
18732         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
18733         really want it out, you should fix plugins at the same time.
18734
18735 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
18736
18737         * configure.ac:
18738         * docs/gst/gstreamer-sections.txt:
18739         * gst/gstobject.c:
18740           added missing symbols to api docs
18741           disable ref-count hack if we have glib >= 2.8
18742
18743 2005-09-19  David Schleef  <ds@schleef.org>
18744
18745         * docs/gst/Makefile.am: Ignore a few more internal headers
18746         * docs/gst/gstreamer-docs.sgml: Remove old sections
18747         * docs/gst/gstreamer-sections.txt: Remove old sections
18748         * docs/gst/tmpl/gstobject.sgml: update
18749         * docs/gst/tmpl/gstplugin.sgml: update
18750         * docs/gst/tmpl/gstpluginfeature.sgml: update
18751         * docs/random/ds/0.9-suggested-changes: update.
18752         * gst/Makefile.am: remove memchunk and trashstack, since they're
18753           not used.
18754         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
18755         * gst/gst.h: don't include some headers
18756         * gst/gstchildproxy.c: add gstmarshal.h
18757         * gst/gstclock.c: Don't use memchunks
18758         * gst/gstminiobject.c: Add some docs
18759         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
18760         * gst/gstobject.h: same
18761         * gst/gstplugin.c: include gstmacros.h
18762         * gst/gstplugin.h: don't include gstmacros.h, since it's private
18763         * gst/gstquery.c: don't use memchunks
18764         * gst/gstregistry.c: rename gst_registry_deinit()
18765         * gst/gstregistry.h: same
18766
18767 2005-09-19  David Schleef  <ds@schleef.org>
18768
18769         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
18770         * docs/libs/gstreamer-libs-sections.txt:
18771         * docs/libs/tmpl/gstgetbits.sgml:
18772         * docs/libs/tmpl/gstputbits.sgml:
18773
18774 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
18775
18776         * win32/gstenumtypes.c:
18777         * win32/gstenumtypes.h:
18778           Update.
18779
18780 2005-09-19  Wim Taymans  <wim@fluendo.com>
18781
18782         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
18783         Automatically PAUSE and RESUME a pipeline when a flushing seek
18784         is performed.
18785
18786 2005-09-19  Andy Wingo  <wingo@pobox.com>
18787
18788         * gst/gstregistry.h: Spacing fixen.
18789
18790 2005-09-19  Wim Taymans  <wim@fluendo.com>
18791
18792         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
18793         Handle state change failure more correctly.
18794
18795 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18796
18797         * check/Makefile.am:
18798         * check/pipelines/cleanup.c: (run_pipeline):
18799         * check/pipelines/simple_launch_lines.c: (run_pipeline),
18800         (GST_START_TEST):
18801           enable cleanup again after fixing the leak
18802         * docs/README:
18803           some more info on docs
18804
18805 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18806
18807         * check/Makefile.am:
18808           re-enable tests now that leaks are plugged
18809         * check/gst/gst.c:
18810         * check/gst/gstbin.c:
18811         * check/gst/gstpipeline.c:
18812           add some more tests while fixing leaks
18813         * common/check.mak:
18814           make sure binaries are uptodate when valgrinding/gdbing
18815         * gst/gst.c:
18816         * gst/gstelementfactory.c:
18817           remove a ref too many, and add a FIXME for when we get
18818           round to disposing of classes
18819         * gst/gstplugin.c:
18820           fix the refcounting when loading a plugin from a file and
18821           the code pretends that the pointer is the same even though
18822           of course it can change
18823         * gst/gstpluginfeature.c:
18824           unref plugins marked cached (a bit confusing as a name)
18825           as the docs state should be done
18826           various doc additions to explain refcounting
18827         * gst/gstregistry.c:
18828         * gst/gstregistryxml.c:
18829           debugging
18830
18831 2005-09-19  Wim Taymans  <wim@fluendo.com>
18832
18833         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18834         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18835         (send_messages), (GST_START_TEST), (gstbus_suite):
18836         * check/gst/gstpipeline.c: (GST_START_TEST):
18837         * check/pipelines/cleanup.c: (run_pipeline):
18838         * check/pipelines/simple_launch_lines.c: (run_pipeline),
18839         (GST_START_TEST):
18840         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18841         (gst_bus_source_check), (gst_bus_source_dispatch),
18842         (gst_bus_create_watch), (gst_bus_add_watch_full),
18843         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18844         * gst/gstbus.h:
18845         * tools/gst-launch.c: (event_loop):
18846         * tools/gst-md5sum.c: (event_loop):
18847         GstBusHandler -> GstBusFunc, return value has the same meaning as
18848         any other GSource (FALSE == remove source).
18849         _add_watch() and _add_watch_full() now take a MessageType mask to
18850         only handle specific types of messages.
18851         _poll() returns the GstMessage instead of the message type to avoid
18852         race conditions.
18853         _have_pending() takes a MessageType mask now too.
18854         Added testsuite for multiple bus watches.
18855         Fix testsuites and applications for new bus API.
18856
18857 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18858
18859         * check/Makefile.am:
18860           mark a bunch of the tests as to fix until we fix them
18861
18862 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18863
18864         * common/check.mak:
18865           use GST_PLUGIN settings for valgrind tests as well, so we're
18866           valgrinding the correct thing
18867         * gst/gst.c: (init_post):
18868           plug another leak
18869
18870 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18871
18872         * gst/gst.c: (init_post), (gst_deinit):
18873         * gst/gstelementfactory.c: (gst_element_factory_class_init),
18874         (gst_element_factory_finalize), (gst_element_factory_cleanup):
18875         * gst/gstindex.c: (gst_index_factory_class_init),
18876         (gst_index_factory_finalize):
18877         * gst/gstobject.c: (gst_object_dispose):
18878         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18879         (gst_plugin_load_file), (gst_plugin_desc_free):
18880         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18881         (gst_plugin_feature_finalize):
18882         * gst/gstregistry.c: (gst_registry_class_init),
18883         (gst_registry_init), (gst_registry_finalize),
18884         (gst_registry_get_default), (gst_registry_deinit):
18885         * gst/gstregistry.h:
18886         * gst/gstregistryxml.c: (load_feature), (load_plugin):
18887           various cleanups and memleak plugging.  make valgrind is happy now.
18888
18889 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18890
18891         * common/check.mak:
18892           add a check-valgrind target
18893
18894 2005-09-18  David Schleef  <ds@schleef.org>
18895
18896         * tools/gst-inspect.c: Revert the GOption code.
18897
18898 2005-09-17  David Schleef  <ds@schleef.org>
18899
18900         * check/Makefile.am: Fix environment variables.
18901         * check/gst/gstplugin.c: Fix for API changes.
18902         * tools/gst-inspect.c: Fix for API changes.
18903         * tools/gst-xmlinspect.c: Fix for API changes.
18904         * gst/gstelementfactory.c:
18905         * gst/gstplugin.c:
18906         * gst/gstplugin.h:
18907         * gst/gstpluginfeature.c:
18908         * gst/gstpluginfeature.h:
18909         * gst/gstregistry.c:
18910         * gst/gstregistry.h:
18911         * gst/gstregistryxml.c:
18912         * gst/gsttypefind.c:
18913         * gst/gsttypefindfactory.c:
18914         * gst/indexers/gstfileindex.c:
18915         * gst/indexers/gstmemindex.c:
18916         * gst/schedulers/Makefile.am:
18917           Change registry to keep track of both plugins and features,
18918           removing the feature tracking from plugins themselves.
18919
18920 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18921
18922         * check/Makefile.am:
18923         * tools/gst-register.1.in:
18924           remove gst-register
18925
18926 2005-09-15  David Schleef  <ds@schleef.org>
18927
18928         * check/gst/gstplugin.c:
18929         * gst/gstelementfactory.c:
18930         * gst/gstplugin.c:
18931         * gst/gstpluginfeature.c:
18932         * gst/gstregistry.c:
18933           Getting tired of debugging.  Disabled all the unreffing of
18934           plugins and features, which fixes the segfaults, but of
18935           course leaks like crazy.  At least playbin works.
18936
18937 2005-09-15  David Schleef  <ds@schleef.org>
18938
18939         * check/gst/gstplugin.c: (register_check_elements),
18940         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18941         More testing
18942         * gst/elements/gsttypefindelement.c: Fix refcounting.
18943         * gst/gsttypefind.c:
18944         * gst/gsttypefindfactory.c:
18945         * gst/gsttypefindfactory.h:
18946
18947 2005-09-15  David Schleef  <ds@schleef.org>
18948
18949         * gst/gstindex.c: get refcounting correct.
18950         * gst/gstregistry.c: Handle the case where a feature/plugin is
18951           not found.
18952
18953 2005-09-15  David Schleef  <ds@schleef.org>
18954
18955         * check/Makefile.am:
18956         * check/gst/gstplugin.c: Add test
18957         * gst/gstplugin.c: Fix problems noticed by testsuite
18958         * gst/gstplugin.h:
18959         * gst/gstregistry.c: 
18960         * gst/gstregistry.h:
18961
18962 2005-09-15  David Schleef  <ds@schleef.org>
18963
18964         * gst/gstplugin.c: Implement semi-decent recounting and locking
18965           in plugins and plugin features.
18966         * gst/gstplugin.h:
18967         * gst/gstpluginfeature.c:
18968         * gst/gstpluginfeature.h:
18969         * gst/gstregistry.c:
18970
18971 2005-09-15  Michael Smith <msmith@fluendo.com>
18972
18973         * gst/gstregistry.c: (gst_registry_get_feature_list):
18974           Implement this. Makes oggdemux work; decodebin still broken.
18975
18976 2005-09-14  David Schleef  <ds@schleef.org>
18977
18978         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18979           #316076)
18980         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18981         * gst/check/Makefile.am:
18982         * libs/gst/controller/Makefile.am:
18983         * libs/gst/dataprotocol/Makefile.am:
18984
18985 2005-09-14  David Schleef  <ds@schleef.org>
18986
18987         * configure.ac: Remove getbits library.  Nothing uses it, and
18988           it should be in something like liboil if someone did want
18989           to use it.
18990         * libs/gst/Makefile.am:
18991         * libs/gst/getbits/Makefile.am:
18992         * libs/gst/getbits/gbtest.c:
18993         * libs/gst/getbits/getbits.c:
18994         * libs/gst/getbits/getbits.h:
18995         * libs/gst/getbits/gstgetbits_generic.c:
18996         * libs/gst/getbits/gstgetbits_i386.s:
18997         * libs/gst/getbits/gstgetbits_inl.h:
18998
18999 2005-09-14  David Schleef  <ds@schleef.org>
19000
19001         * gst/Makefile.am: Dist glib-compat.h
19002
19003 2005-09-14  David Schleef  <ds@schleef.org>
19004
19005         * configure.ac: Remove gst/registries, since it's no longer used.
19006         * gst/registries/Makefile.am:
19007         * gst/registries/gstlibxmlregistry.c:
19008         * gst/registries/gstlibxmlregistry.h:
19009         * gst/registries/gstxmlregistry.c:
19010         * gst/registries/gstxmlregistry.h:
19011         * gst/registries/registrytest.c:
19012
19013 2005-09-14  David Schleef  <ds@schleef.org>
19014
19015         * gst/glib-compat.h:
19016         * gst/gstregistryxml.c:
19017           Convergence is near.  Seriously.
19018
19019 2005-09-14  David Schleef  <ds@schleef.org>
19020
19021         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19022         * gst/glib-compat.h:
19023           Attempt #4 to appease the buildbots.
19024
19025 2005-09-14  David Schleef  <ds@schleef.org>
19026
19027         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19028           Attempt #3.
19029
19030 2005-09-14  David Schleef  <ds@schleef.org>
19031
19032         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19033         Attempt #2.
19034
19035 2005-09-14  David Schleef  <ds@schleef.org>
19036
19037         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19038           the new functions.
19039
19040 2005-09-14  David Schleef  <ds@schleef.org>
19041
19042         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19043         * gst/glib-compat.h: Add some functions that are in newer versions
19044           of glib than we care to require.
19045         * gst/gstregistryxml.c: Use them.
19046
19047 2005-09-14  David Schleef  <ds@schleef.org>
19048
19049         * po/POTFILES.in: remove gst-register.c
19050
19051 2005-09-14  David Schleef  <ds@schleef.org>
19052
19053         * docs/gst/gstreamer-docs.sgml:
19054         * docs/gst/gstreamer-sections.txt:
19055         * docs/gst/gstreamer.types:
19056         * docs/gst/tmpl/gstelement.sgml:
19057         * docs/gst/tmpl/gstplugin.sgml:
19058         * docs/gst/tmpl/gstpluginfeature.sgml:
19059           Documentation updates for registry changes.
19060
19061 2005-09-14  David Schleef  <ds@schleef.org>
19062
19063         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19064           because we don't require glib-2.8.
19065
19066 2005-09-14  David Schleef  <ds@schleef.org>
19067
19068         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19069           registries directory.
19070
19071 2005-09-14  David Schleef  <ds@schleef.org>
19072
19073         * check/Makefile.am:
19074         * check/generic/states.c:
19075         * gst/Makefile.am:
19076         * gst/gst.c:
19077         * gst/gst.h:
19078         * gst/gst_private.h:
19079         * gst/gstelementfactory.c:
19080         * gst/gstindex.c:
19081         * gst/gstinfo.c:
19082         * gst/gstplugin.c:
19083         * gst/gstplugin.h:
19084         * gst/gstpluginfeature.c:
19085         * gst/gstpluginfeature.h:
19086         * gst/gstregistry.c:
19087         * gst/gstregistry.h:
19088         * gst/gstregistrypool.c: remove
19089         * gst/gstregistrypool.h: remove
19090         * gst/gsttypefind.c:
19091         * gst/gsttypefindfactory.c:
19092         * gst/gsturi.c:
19093         * tools/Makefile.am:
19094         * tools/gst-compprep.c:
19095         * tools/gst-inspect.c:
19096         * tools/gst-register.c: remove
19097         * tools/gst-xmlinspect.c:
19098           Registry rewrite.  Changes registry from being a file created
19099           by a tool into a simple cache file created automatically by 
19100           libgstreamer.  Removed gst-register (because it's no longer
19101           needed).  Remove registry pools, because we only have one
19102           registry implementation (XML).  Fix up other subsystems as
19103           necessary.
19104
19105 2005-09-13  Michael Smith <msmith@fluendo.com>
19106
19107         * gst/gstconfig.h.in:
19108           Don't Use windows linking attributes for MinGW. Fixes #316157
19109
19110 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19111
19112         * gst/gstutils.c: (set_state_async_thread_func),
19113         (gst_element_set_state_async):
19114           Apparently people think it's better if this function doesn't
19115           try to set the state to whatever state was asked for on the first
19116           call to this function for any object.  Seriously.
19117
19118 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19119
19120         * check/gst/gstpipeline.c: (GST_START_TEST):
19121         * docs/gst/gstreamer-sections.txt:
19122         * gst/gstutils.c: (set_state_async_thread_func),
19123         (gst_element_set_state_async):
19124         * gst/gstutils.h:
19125           add a "gst_element_set_state_async" method that
19126           sets the state and starts a thread to make sure the state
19127           change completes as best as it can
19128
19129 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19130
19131         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19132           codify design+behaviour in testsuite after discussion
19133
19134 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19135
19136         * docs/gst/tmpl/gstelement.sgml:
19137         * docs/manual/appendix-quotes.xml:
19138           add a quote
19139         * gst/gstelement.c: (gst_element_set_state):
19140           add some debug
19141
19142 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19143
19144         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19145         (gst_base_transform_prepare_output_buf),
19146         (gst_base_transform_handle_buffer):
19147         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19148         (gst_capsfilter_prepare_buf):
19149           Remove the requirement for sub-classes to call the parent
19150           implementation of prepare_output_buffer with a wrapper function.
19151           
19152         * gst/gsttaglist.h:
19153         * gst/gsttagsetter.h:
19154           Fix #define wrapper
19155
19156 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19157
19158         * docs/gst/gstreamer-sections.txt:
19159           more doc cleanups
19160
19161 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19162
19163         * docs/gst/gstreamer-sections.txt:
19164         * docs/gst/tmpl/gstelement.sgml:
19165         * docs/gst/tmpl/gstplugin.sgml:
19166         * gst/gstminiobject.c:
19167         * gst/gstvalue.h:
19168           docs now stop throwing warnings
19169
19170 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19171
19172         * docs/gst/gstreamer-sections.txt:
19173         * docs/gst/gstreamer.types:
19174         * docs/gst/tmpl/gstpad.sgml:
19175         * docs/gst/tmpl/gsttypes.sgml:
19176         * gst/base/gstadapter.h:
19177         * gst/base/gstbasesink.h:
19178         * gst/base/gstbasesrc.h:
19179         * gst/gstbin.h:
19180         * gst/gstbuffer.h:
19181         * gst/gstbus.h:
19182         * gst/gstcaps.h:
19183         * gst/gstclock.h:
19184         * gst/gstelement.h:
19185         * gst/gstevent.h:
19186         * gst/gstmessage.h:
19187         * gst/gstpad.h:
19188         * gst/gststructure.c:
19189         * gst/registries/gstlibxmlregistry.h:
19190           various documentation fixes
19191
19192 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19193
19194         * docs/gst/gstreamer-sections.txt:
19195         * docs/gst/tmpl/gstvalue.sgml:
19196           rearrange gstvalue section
19197         * gst/gstutils.c: (gst_element_state_get_name):
19198           NONE -> VOID
19199         * gst/gstvalue.c: (_gst_value_initialize):
19200         * gst/gstvalue.h:
19201           doc updates
19202
19203 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19204
19205         * check/gst-libs/controller.c:
19206           Header include fix.
19207         * gst/base/gstbasetransform.c:
19208         (gst_base_transform_default_prepare_buf),
19209         (gst_base_transform_handle_buffer):
19210         * gst/base/gstbasetransform.h:
19211           Some more basetransform changes and fixes to enable sub-classes
19212           that modify buffer metadata only.
19213         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19214         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19215         (gst_capsfilter_prepare_buf):
19216           If the output pad has fixed allowed caps and input buffers 
19217           don't have any, set the fixed caps on outgoing buffers.
19218
19219 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
19220         * check/elements/identity.c: (GST_START_TEST):
19221           Make the error a little clearer when the test fails because
19222           identity made a copy of the buffer.
19223         * docs/gst/gstreamer-sections.txt:
19224           New symbols in gstbasetransform.h
19225         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19226         (gst_base_transform_init), (gst_base_transform_transform_size),
19227         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19228         (gst_base_transform_default_prepare_buf),
19229         (gst_base_transform_get_unit_size),
19230         (gst_base_transform_buffer_alloc),
19231         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19232         (gst_base_transform_change_state),
19233         (gst_base_transform_set_passthrough),
19234         (gst_base_transform_set_in_place),
19235         (gst_base_transform_is_in_place):
19236         * gst/base/gstbasetransform.h:
19237           Change BaseTransform to separate in_place operate from same_caps
19238           output. in_place implies that the element can perform the transform
19239           on incoming buffers in-place, even if the caps on the output are
19240           different.
19241           Sub-class elements can now implement special buffer allocation
19242           methods for outgoing buffers if they wish to.
19243           Big documentation addition.
19244         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19245         * gst/elements/gstelements.c:
19246           Changes for basetransform modifications.
19247         * gst/elements/Makefile.am:
19248         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19249           Compile fix. Extra debug output.
19250
19251 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19252
19253         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19254         (gst_pad_suite):
19255           add tests for valid pad naming
19256         * gst/check/gstcheck.c: (gst_check_log_message_func),
19257         (gst_check_log_critical_func):
19258           add ASSERT_WARNING
19259           remove printing of code, it is fragile when the code contains
19260           % and the line number is enough info
19261         * gst/check/gstcheck.h:
19262         * gst/gstpad.c: (gst_pad_template_new):
19263           fix memleaks
19264
19265 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19266
19267         * configure.ac:
19268           say what CHECK flags we use
19269         * docs/libs/gstreamer-libs.types:
19270         * libs/gst/controller/Makefile.am:
19271         * libs/gst/controller/gst-controller.c:
19272         * libs/gst/controller/gst-controller.h:
19273         * libs/gst/controller/gst-helper.c:
19274         * libs/gst/controller/gst-interpolation.c:
19275         * libs/gst/controller/gstcontroller.c:
19276         * libs/gst/controller/gsthelper.c:
19277         * libs/gst/controller/gstinterpolation.c:
19278         * tools/gst-inspect.c: (print_plugin_info):
19279           we don't use dashes in header names
19280
19281 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19282
19283         * check/Makefile.am:
19284         * check/gst/.cvsignore:
19285         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19286         (gst_pipeline_suite), (main):
19287           adding a test for pipelines and state changes
19288         * gst/gstutils.c: (get_state_func):
19289           add some debugging
19290         * gstreamer.spec.in:
19291           fix up spec file
19292
19293 2005-09-08  Michael Smith <msmith@fluendo.com>
19294
19295         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19296         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19297         (gst_file_src_is_seekable), (gst_file_src_get_size),
19298         (gst_file_src_start):
19299         * gst/elements/gstfilesrc.h:
19300           Various fixes for unseekable, unmmapable, and non-normal files, so
19301           that fallback to read() rather than mmap() works.
19302         * gst/gstevent.c: (gst_event_new_newsegment):
19303           Allow newsegment events with segment_start == segment_end, as will
19304           correctly happen if you use filesrc on a zero-size file, for
19305           example.
19306
19307 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19308
19309         * gst/gstplugin.c: (gst_plugin_load_file):
19310           Call g_module_close when we don't load the module
19311
19312         * gst/registries/gstlibxmlregistry.c:
19313         (gst_xml_registry_get_property):
19314           Port leak fix from 0.8
19315
19316 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19317
19318         * docs/gst/gstreamer-docs.sgml:
19319         * docs/gst/tmpl/.cvsignore:
19320         * docs/gst/tmpl/gsttrace.sgml:
19321         * docs/gst/tmpl/gsttrashstack.sgml:
19322         * gst/Makefile.am:
19323         * gst/gst.h:
19324         * gst/gstelement.h:
19325         * gst/gstevent.h:
19326         * gst/gstmessage.c:
19327         * gst/gstmessage.h:
19328         * gst/gsttag.c:
19329         * gst/gsttag.h:
19330         * gst/gsttaginterface.c:
19331         * gst/gsttaginterface.h:
19332         * gst/gsttaglist.c:
19333         * gst/gsttaglist.h:
19334         * gst/gsttagsetter.c:
19335         * gst/gsttagsetter.h:
19336         * gst/gsttrace.c:
19337         * gst/gsttrace.h:
19338         * gst/gsttrashstack.c:
19339           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19340           inlined docs for gsttrace, gsttrashstack
19341
19342 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19343
19344         * gst/Makefile.am:
19345         * gst/elements/gstbufferstore.h:
19346         * gst/elements/gsttypefindelement.c:
19347         * gst/elements/gsttypefindelement.h:
19348         * gst/gst.h:
19349         * gst/gsttypefind.c:
19350         * gst/gsttypefind.h:
19351         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19352         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19353         (gst_type_find_factory_dispose),
19354         (gst_type_find_factory_unload_thyself),
19355         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19356         (gst_type_find_factory_get_caps),
19357         (gst_type_find_factory_get_extensions),
19358         (gst_type_find_factory_call_function):
19359         * gst/gsttypefindfactory.h:
19360         * gst/registries/gstlibxmlregistry.c:
19361         * gst/registries/gstxmlregistry.c:
19362           splitted gsttypefind into gsttypefind, gsttypefindfactory
19363
19364 2005-09-07  Andy Wingo  <wingo@pobox.com>
19365
19366         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19367         condition whereby the pad's task function is entered before the
19368         pad_mode variable was set.
19369
19370 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19371
19372         * gst/gstpad.c: (gst_pad_alloc_buffer):
19373           Catch misbehaving pad_alloc functions that don't
19374           set up caps and do it for them.
19375
19376 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19377
19378         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19379           test for pipe!=NULL
19380         * docs/gst/tmpl/.cvsignore:
19381         * docs/gst/tmpl/gstmemchunk.sgml:
19382         * docs/gst/tmpl/gstparse.sgml:
19383         * docs/gst/tmpl/gsttaglist.sgml:
19384         * docs/gst/tmpl/gsttagsetter.sgml:
19385         * docs/gst/tmpl/gsttypefind.sgml:
19386         * docs/gst/tmpl/gsttypefindfactory.sgml:
19387         * gst/gstmemchunk.c:
19388         * gst/gstparse.c:
19389         * gst/gsttag.c:
19390         * gst/gsttaginterface.c:
19391         * gst/gsttypefind.c:
19392         * gst/gsttypefind.h:
19393           inlined more docs
19394
19395 === release 0.9.2 ===
19396
19397 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19398
19399         * NEWS:
19400         * RELEASE:
19401         * configure.ac:
19402           releasing 0.9.2, "South"
19403
19404 2005-09-05  Andy Wingo  <wingo@pobox.com>
19405
19406         * gst/registries/gstxmlregistry.h:
19407         * gst/registries/gstxmlregistry.c: Um... resurrect...
19408         
19409         * gst/registries/gstxmlregistry.h:
19410         * gst/registries/gstxmlregistry.c: and update to newer API.
19411         Incidentally they should be a bit faster now that they don't have
19412         to parse the caps.
19413         
19414 2005-09-05  Andy Wingo  <wingo@pobox.com>
19415
19416         * gst/registries/gstxmlregistry.h:
19417         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19418         replaced by the libxml registry a while back
19419
19420 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19421
19422         * docs/gst/tmpl/gstplugin.sgml:
19423         * gst/elements/gstelements.c:
19424         * gst/gst.c:
19425         * gst/gstplugin.c: (gst_plugin_register_func),
19426         (gst_plugin_desc_copy), (gst_plugin_desc_free),
19427         (gst_plugin_get_source):
19428         * gst/gstplugin.h:
19429         * gst/registries/gstlibxmlregistry.c: (load_plugin),
19430         (gst_xml_registry_save_plugin):
19431         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19432         (gst_xml_registry_save_plugin):
19433         * tools/gst-inspect.c: (print_plugin_info):
19434           add a "source" plugin description field, to represent the source
19435           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
19436           will set it to PACKAGE, which is automake's idea of the name of
19437           the source project.
19438
19439 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19440
19441         * Makefile.am:
19442         * autogen.sh:
19443         * configure.ac:
19444         * docs/Makefile.am:
19445         * docs/faq/Makefile.am:
19446         * docs/gst/tmpl/gstelement.sgml:
19447         * docs/gst/tmpl/gsttypes.sgml:
19448         * docs/htmlinstall.mak:
19449         * docs/manual/Makefile.am:
19450         * docs/pwg/Makefile.am:
19451           reorganize doc build a little
19452           split out docbook and gtk-doc stuff
19453           have two separate --enable's and enable them through autogen
19454           but disable by default in configure (to be similar to other
19455           projects)
19456         * gstreamer.spec.in:
19457           clean up docs install
19458         * po/af.po:
19459         * po/az.po:
19460         * po/ca.po:
19461         * po/cs.po:
19462         * po/de.po:
19463         * po/en_GB.po:
19464         * po/fr.po:
19465         * po/it.po:
19466         * po/nb.po:
19467         * po/nl.po:
19468         * po/ru.po:
19469         * po/sq.po:
19470         * po/sr.po:
19471         * po/sv.po:
19472         * po/tr.po:
19473         * po/uk.po:
19474         * po/vi.po:
19475           translation updates
19476
19477 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
19478
19479         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19480           Add comment.
19481           
19482         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19483         (gst_fake_sink_change_state):
19484           Make state change function thread-safe.
19485           
19486         * gst/gstpad.c: (gst_pad_alloc_buffer):
19487           Set offset on generic buffer allocated by fallback.
19488
19489 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
19490
19491         * docs/gst/gstreamer-sections.txt:
19492         * docs/gst/tmpl/gstelement.sgml:
19493         * gst/gstpad.c:
19494         * libs/gst/controller/gst-controller.c:
19495         (gst_controlled_property_set_interpolation_mode),
19496         (gst_controlled_property_new),
19497         (gst_controller_find_controlled_property):
19498          run the wingo-magic script against the docs
19499
19500 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19501
19502         * docs/gst/gstreamer-docs.sgml:
19503         * docs/gst/gstreamer-sections.txt:
19504         * docs/gst/tmpl/.cvsignore:
19505         * docs/gst/tmpl/gstelementdetails.sgml:
19506         * docs/gst/tmpl/gstelementfactory.sgml:
19507         * gst/gst.c:
19508         * gst/gstbus.c:
19509         * gst/gstelementfactory.c:
19510         * gst/gstelementfactory.h:
19511           merged elementdetails docs into elementfactory docs
19512           inlined both
19513
19514 2005-09-02  Andy Wingo  <wingo@pobox.com>
19515
19516         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19517         consider this enum an enum and not a flags.
19518
19519 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19520
19521         * docs/gst/gstreamer-docs.sgml:
19522         * docs/gst/tmpl/.cvsignore:
19523         * docs/gst/tmpl/gstghostpad.sgml:
19524         * docs/gst/tmpl/gstiterator.sgml:
19525         * docs/gst/tmpl/gstmacros.sgml:
19526         * docs/gst/tmpl/gstrealpad.sgml:
19527         * docs/gst/tmpl/gstregistry.sgml:
19528         * docs/gst/tmpl/gstregistrypool.sgml:
19529         * docs/gst/tmpl/gststructure.sgml:
19530         * docs/gst/tmpl/gstsystemclock.sgml:
19531         * docs/gst/tmpl/gsttrace.sgml:
19532         * gst/gstghostpad.c:
19533         * gst/gstmacros.h:
19534         * gst/gstmemchunk.c:
19535         * gst/gstmemchunk.h:
19536         * gst/gstqueue.c:
19537         * gst/gstregistry.c:
19538         * gst/gstregistrypool.c:
19539         * gst/gststructure.c:
19540         * gst/gstsystemclock.c:
19541           more docs inlined
19542
19543 2005-09-02  Andy Wingo  <wingo@pobox.com>
19544
19545         * gst/gstelement.h (GstState): Renamed from GstElementState,
19546         changed to be a normal enum instead of flags.
19547         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19548         munged to be GST_STATE_CHANGE_*.
19549         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19550         work with the new state representation.
19551         (GstStateChange): New enumeration of possible state transitions.
19552         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19553         (GstElementClass::change_state): Pass the GstStateChange along as
19554         an argument. Helps language bindings, so they don't have to use
19555         tricky lock-needing macros like GST_STATE_CHANGE ().
19556
19557         * scripts/update-states (file): New script. Run it on a file to
19558         update it for state naming and API changes. Updates files in
19559         place.
19560
19561         * All files updated for the new API.
19562
19563 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19564
19565         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19566         * gst/gstutils.c: (gst_util_set_value_from_string),
19567         (gst_util_set_object_arg):
19568           fix a bunch of unchecked return values
19569         * tools/gst-complete.c: (main):
19570         * gstreamer.spec.in:
19571           clean up a little
19572
19573 2005-09-01  Wim Taymans  <wim@fluendo.com>
19574
19575         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19576         (gst_base_sink_event), (gst_base_sink_do_sync),
19577         (gst_base_sink_handle_event):
19578         * gst/base/gstbasesink.h:
19579         Handle newsegments more correctly.
19580
19581         * gst/gstbus.c:
19582         Fix docs.
19583
19584         * gst/gstevent.c: (gst_event_new_newsegment):
19585         A newsegment cannot have a start_time of -1
19586
19587 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
19588
19589         * win32/gstenumtypes.c:
19590         * win32/gstenumtypes.h:
19591           Update
19592
19593 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
19594
19595         * libs/gst/controller/gst-controller.c:
19596         (gst_controlled_property_set_interpolation_mode),
19597         (gst_controlled_property_new):
19598          fixed boolean again
19599
19600 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
19601
19602         * docs/faq/gst-uninstalled:
19603           add -good
19604         * gst/gstevent.c:
19605         * gst/gstevent.h:
19606           remove wrong docs
19607         * gst/gstutils.c: (gst_element_link_filtered):
19608         * gst/gstutils.h:
19609           add gst_element_link_filtered
19610
19611 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
19612
19613         * docs/gst/gstreamer-docs.sgml:
19614         * docs/gst/gstreamer-sections.txt:
19615         * docs/gst/tmpl/.cvsignore:
19616         * docs/gst/tmpl/gsterror.sgml:
19617         * docs/gst/tmpl/gstfilter.sgml:
19618         * docs/gst/tmpl/gsturihandler.sgml:
19619         * docs/gst/tmpl/gsturitype.sgml:
19620         * docs/gst/tmpl/gstutils.sgml:
19621         * docs/gst/tmpl/gstxml.sgml:
19622         * gst/gsterror.c:
19623         * gst/gsterror.h:
19624         * gst/gstfilter.c:
19625         * gst/gsturi.c:
19626         * gst/gsturitype.c:
19627         * gst/gstutils.c:
19628         * gst/gstxml.c:
19629           inlined more docs, fixed double id-ref
19630
19631 2005-08-31  Wim Taymans  <wim@fluendo.com>
19632
19633         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19634         (gst_base_transform_handle_buffer):
19635         Passthrough elements don't need the caps as they don't care.
19636
19637 2005-08-31  Wim Taymans  <wim@fluendo.com>
19638
19639         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19640         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19641         Don't leak refcounts on buffers.
19642
19643 2005-08-31  Wim Taymans  <wim@fluendo.com>
19644
19645         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19646         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19647         (gst_base_transform_chain), (gst_base_transform_change_state):
19648         * gst/base/gstbasetransform.h:
19649         Handle the case where we are not negotiated more gracefully.
19650
19651 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
19652
19653         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19654         (gst_file_src_map_region):
19655           Set READONLY flag on mmap'ed buffers, otherwise
19656           gst_buffer_make_writable() won't work properly (#314708).
19657
19658 2005-08-31  Wim Taymans  <wim@fluendo.com>
19659
19660         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19661         passthrough elements can even do inplace on non writable
19662         buffers (as they don't touch them).
19663
19664 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
19665
19666         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19667         (gst_test_mono_source_set_property),
19668         (gst_test_mono_source_class_init), (GST_START_TEST),
19669         (gst_controller_suite):
19670           more tests (hehe I have the most)
19671         * gst/gstbus.c:
19672           describe popping messages whenusing mulltiple sources
19673         * libs/gst/controller/gst-controller.c:
19674         (gst_controlled_property_set_interpolation_mode),
19675         (gst_controlled_property_new):
19676         * libs/gst/controller/gst-controller.h:
19677         * libs/gst/controller/gst-interpolation.c:
19678           implement boolean properties
19679
19680 2005-08-31  Wim Taymans  <wim@fluendo.com>
19681
19682         * gst/gstminiobject.c: (gst_mini_object_ref):
19683         Cannot assert that the refcount has to be positive
19684         since a disposed object can be resurrected.
19685
19686 2005-08-31  Wim Taymans  <wim@fluendo.com>
19687
19688         * gst/gstpad.c: (gst_pad_init):
19689         Revert change, need to first fix badly behaving 
19690         apps.
19691
19692 2005-08-30  Wim Taymans  <wim@fluendo.com>
19693
19694         * check/elements/fakesrc.c: (setup_fakesrc):
19695         * check/elements/identity.c: (setup_identity):
19696         Activate pads before using them.
19697
19698 2005-08-30  Wim Taymans  <wim@fluendo.com>
19699
19700         * gst/base/gstadapter.c: (gst_adapter_flush):
19701         Flushing out 0 bytes is ok for this function.
19702
19703         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19704         no newsegment gives a warning and sets the start/stop to 
19705         invalid.
19706
19707         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
19708         (gst_base_transform_set_passthrough):
19709         Some debug info.
19710
19711         * gst/gstminiobject.c: (gst_mini_object_ref):
19712         Check refcount here too.
19713
19714         * gst/gstpad.c: (gst_pad_init):
19715         Pads are initially flushing and refusing data.
19716
19717         * gst/gstutils.c: (gst_element_link_pads_filtered):
19718         When adding a capsfilter element make sure it has the
19719         same state as the parent bin.
19720
19721 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
19722
19723         * docs/gst/tmpl/.cvsignore:
19724         * docs/gst/tmpl/gstformat.sgml:
19725         * docs/gst/tmpl/gstversion.sgml:
19726         * gst/gstbus.h:
19727         * gst/gstformat.c:
19728         * gst/gstformat.h:
19729         * gst/gstversion.h.in:
19730           more docs and two more inlined
19731
19732 2005-08-30  Wim Taymans  <wim@fluendo.com>
19733
19734         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
19735         Don't sync to clock.
19736
19737 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
19738
19739         * docs/gst/gstreamer-sections.txt:
19740           ultral33t func10ns deserve to appear in the docs actually
19741         * docs/gst/tmpl/.cvsignore:
19742         * docs/gst/tmpl/gstcompat.sgml:
19743         * docs/gst/tmpl/gstconfig.sgml:
19744         * gst/check/gstcheck.c:
19745         * gst/gstcompat.h:
19746         * gst/gstconfig.h.in:
19747           inlined more docs
19748
19749 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
19750
19751         * docs/gst/tmpl/.cvsignore:
19752         * docs/gst/tmpl/gstquery.sgml:
19753         * docs/gst/tmpl/gstutils.sgml:
19754         * gst/gstquery.c:
19755         * gst/gstquery.h:
19756           inlined and extended docs
19757
19758 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
19759
19760         * check/gst-libs/controller.c: (GST_START_TEST),
19761         (gst_controller_suite):
19762           more tests
19763         * docs/gst/tmpl/gstutils.sgml:
19764         * docs/libs/gstreamer-libs-sections.txt:
19765         * docs/libs/tmpl/gstdataprotocol.sgml:
19766           include path fixes
19767         * examples/controller/audio-example.c: (main):
19768           controller example works now
19769         * gst/gstclock.h:
19770           doc fixes
19771         * tools/gst-inspect.c: (print_element_properties_info):
19772           show param spec flags
19773
19774 2005-08-29  Andy Wingo  <wingo@pobox.com>
19775
19776         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
19777
19778 2005-08-28  Andy Wingo  <wingo@pobox.com>
19779
19780         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
19781         as having two arguments instead of just one. Allows superclasses
19782         to access information on subclasses -- see the terrible for() loop
19783         in gtype.c:g_type_create_instance for the reason why. All callers
19784         changed.
19785
19786 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
19787
19788         * docs/design/part-messages.txt:
19789           update info
19790         * docs/gst/tmpl/.cvsignore:
19791         * docs/gst/tmpl/gstcaps.sgml:
19792         * docs/gst/tmpl/gstclock.sgml:
19793         * gst/gstbus.c:
19794         * gst/gstcaps.c:
19795         * gst/gstcaps.h:
19796         * gst/gstclock.c:
19797         * gst/gstclock.h:
19798         * gst/gstmessage.c:
19799           added descriptions for bus and message
19800           inline caps and clock docs
19801
19802 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
19803
19804         * gst/gstmessage.c:
19805         * gst/gstmessage.h:
19806           doc fixes
19807
19808 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
19809
19810         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19811           fix div-by-zero
19812
19813 2005-08-26  Andy Wingo  <wingo@pobox.com>
19814
19815         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19816         element_set_state's return val.
19817         (test_2_elements): Add test that's been disabled for months.
19818
19819         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19820         can-activate-pull properties.
19821
19822         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19823         can-activate-pull properties. Implement is_seekable so fakesrc can
19824         operate in pull mode.
19825
19826         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19827         properties.
19828         (gst_base_sink_activate, gst_base_sink_activate_pull)
19829         (gst_base_sink_activate_push): Make activation mode choosing work.
19830         Cleanups.
19831         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19832         is right. Make pull mode work. Post an eos before pausing in pull
19833         mode.
19834         (gst_base_sink_change_state): Pay attention to the core's
19835         change_state() return val.
19836         
19837         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19838         has-getrange properties. Cleanups.
19839         
19840         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19841         has_getrange and replace with can_activate_pull and
19842         can_activate_push.
19843
19844         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19845         locking comments. Remove has_loop, has_chain and replace with
19846         can_activate_pull and can_activate_push.
19847
19848 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
19849
19850         * configure.ac:
19851         * examples/Makefile.am:
19852         * examples/metadata/Makefile.am:
19853         * examples/metadata/read-metadata.c: (message_loop),
19854         (have_pad_handler), (make_pipeline), (print_tag), (main):
19855           Add metadata reading example that loops over a list of filenames,
19856           dumping any tags found.
19857
19858         * gst/gstbus.c: (gst_bus_dispose):
19859         * gst/gstelement.c: (gst_element_dispose):
19860           Release a few potentially-held references in dispose.
19861
19862 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19863
19864         * docs/gst/tmpl/gstminiobject.sgml:
19865           do *not* add tmpl/*.sgml files to CVS!
19866
19867 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19868
19869         * libs/gst/bytestream/.cvsignore:
19870         * libs/gst/bytestream/Makefile.am:
19871         * libs/gst/bytestream/adapter.c:
19872         * libs/gst/bytestream/adapter.h:
19873         * libs/gst/bytestream/bytestream.c:
19874         * libs/gst/bytestream/bytestream.h:
19875         * libs/gst/bytestream/filepad.c:
19876         * libs/gst/bytestream/filepad.h:
19877           removing obsolete files
19878
19879 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19880
19881         * docs/gst/gstreamer-docs.sgml:
19882         * docs/libs/gstreamer-libs-docs.sgml:
19883           disabed additional index entries again, as this makes docs-gen just
19884           slow and they aren't useful yet
19885         * docs/libs/gstreamer-libs-sections.txt:
19886           little -section.txt cleanup for libs
19887
19888 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
19889
19890         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19891         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19892           fix up some debugging
19893         (gst_base_transform_get_unit_size),
19894         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19895         (gst_base_transform_handle_buffer):
19896         * gst/base/gstbasetransform.h:
19897           handle and store timed NEWSEGMENT events so that subclasses that
19898           calculate time by counting samples have a segment_start time they
19899           need to add to their timestamps - see audioresample
19900
19901 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19902
19903         * gst/gstbin.h:
19904           removed ';' from the end of macro defs
19905         * docs/gst/gstreamer-docs.sgml:
19906         * docs/gst/gstreamer-sections.txt:
19907         * docs/gst/tmpl/.cvsignore:
19908         * gst/gstbus.h:
19909         * gst/gstelement.c: (gst_element_class_init),
19910         (gst_element_set_state), (activate_pads),
19911         (gst_element_save_thyself):
19912         * gst/gstevent.c: (gst_event_new_newsegment):
19913         * gst/gstevent.h:
19914         * gst/gstiterator.c:
19915         * gst/gstiterator.h:
19916         * gst/gstpad.c:
19917         * gst/gstprobe.h:
19918         * gst/gstutils.c: (gst_pad_query_convert):
19919         * gst/gstutils.h:
19920           fixed parameter name mismatches between source, header and docs
19921           added some more docs, resolved the last batch of unused elements in
19922           docs (now someone needs to doc them)
19923
19924 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19925
19926         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19927         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19928           don't walk through the plugins backwards.  Where is all this
19929           reversed logic coming from ?
19930
19931 2005-08-25  Wim Taymans  <wim@fluendo.com>
19932
19933         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19934         (gst_base_transform_transform_size),
19935         (gst_base_transform_configure_caps),
19936         (gst_base_transform_get_unit_size),
19937         (gst_base_transform_buffer_alloc),
19938         (gst_base_transform_change_state):
19939         * gst/base/gstbasetransform.h:
19940         Cache caps unit_size.
19941         Make sure we cannot negotiate up and downstream at the
19942         same time.
19943
19944 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19945
19946         * gst/gst.c: (init_pre), (init_post):
19947           register the installed plugin path after the env var
19948         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19949         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19950           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19951           directories, so the tests can prefer uninstalled over installed
19952
19953 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19954
19955         * gst/base/gstbasetransform.h:
19956           comment
19957         * gst/gstpad.c:
19958           add to docs
19959
19960 2005-08-25  Wim Taymans  <wim@fluendo.com>
19961
19962         * gst/gstbin.c: (bin_bus_handler):
19963         Be a bit more conservative about the posted message.
19964         
19965         * gst/gstbus.c: (gst_bus_post):
19966         Some cleanups, warn wrong return values.
19967
19968 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
19969
19970         * check/gst/gstbin.c: (GST_START_TEST):
19971         * gst/gstbin.c: (bin_bus_handler):
19972         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19973         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19974         (gst_message_new_warning), (gst_message_new_tag),
19975         (gst_message_new_state_changed), (gst_message_new_segment_start),
19976         (gst_message_new_segment_done), (gst_message_new_custom):
19977         * gst/gstmessage.h:
19978         * tools/gst-launch.c: (event_loop):
19979         * tools/gst-md5sum.c: (event_loop):
19980           Revert unpopular change for GST_MESSAGE_SRC to GObject.
19981
19982 2005-08-25  Wim Taymans  <wim@fluendo.com>
19983
19984         * check/generic/states.c: (GST_START_TEST):
19985         Cleanup can be done at the end.
19986
19987         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19988         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19989         (gst_task_get_state), (gst_task_start), (gst_task_pause):
19990         Oh boy.. Thanks for finding this, Thomas. 
19991
19992 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
19993
19994         * docs/gst/gstreamer.types:
19995           added missing types
19996
19997 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
19998
19999         * docs/gst/gstreamer-docs.sgml:
20000         * docs/gst/gstreamer-sections.txt:
20001         * docs/gst/tmpl/.cvsignore:
20002         * gst/gstbin.c:
20003         * gst/gstiterator.c:
20004         * gst/gstutils.c:
20005         * gst/registries/gstxmlregistry.h:
20006           added missing classes and symbols (123 more to go)
20007           removed removed symbols from section file
20008           fixed many doc-comments
20009
20010 2005-08-24  Wim Taymans  <wim@fluendo.com>
20011
20012         * check/generic/states.c: (GST_START_TEST):
20013         Make sure all tasks are stopped.
20014
20015         * check/gst/gstbin.c: (GST_START_TEST):
20016         Unref after usage for proper valgrinding.
20017
20018         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20019         Really wait for the task to stop before destroying the
20020         mutex.
20021
20022         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20023         (gst_queue_src_activate_push):
20024         Small cleanups. Don't stop the task when we did not start
20025         it.
20026
20027         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20028         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20029         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20030         (gst_task_join):
20031         * gst/gsttask.h:
20032         Protect the stream lock with the object lock.
20033         Disallow setting the stream lock when running.
20034         Add cleanup_all to wait for the threadpool to finish.
20035         Remove code to autoallocate a mutex if none was provided.
20036         Add _join() to wait for a task to stop.
20037         Protect the thread pool with a global lock.
20038
20039 2005-08-24  Wim Taymans  <wim@fluendo.com>
20040
20041         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20042         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20043         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20044         * gst/base/gstbasesink.h:
20045         Handle newsegment events correctly.
20046         Drop buffers out of the segment range.
20047
20048 2005-08-22  Andy Wingo  <wingo@pobox.com>
20049
20050         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20051         macro, implements an interface and gstimplementsinterface for a
20052         new type.
20053
20054 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20055
20056         * check/Makefile.am:
20057         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20058           add a test that does a bunch of state changes on elements
20059           needs some fixing for valgrind
20060         * check/states/sinks.c: (gst_object_suite):
20061           whitespace
20062         * gst/gstcaps.h:
20063           add prototype for gst_caps_is_equal_fixed
20064         * gst/gstplugin.c:
20065         * gst/gstregistrypool.c:
20066           doc fixes
20067
20068 2005-08-24  Andy Wingo  <wingo@pobox.com>
20069
20070         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20071         convert a negative value. Doesn't make much sense. Mostly this is
20072         here to force callers to ensure -1 maps to -1.
20073
20074 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20075
20076         * docs/pwg/advanced-types.xml:
20077           Well done to Michael for catching my deliberate introduction
20078           of this spelling mistake. 
20079         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20080         * gst/gstelement.h:
20081           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20082           unlink pads before removing the element from the bin.
20083
20084 2005-08-24  Andy Wingo  <wingo@pobox.com>
20085
20086         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20087         the same thing as GST_DEBUG=*:4.
20088         (parse_debug_level, parse_debug_category): New helper parsers.
20089
20090 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20091
20092         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20093         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20094         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20095         (gst_base_transform_buffer_alloc),
20096         (gst_base_transform_handle_buffer):
20097           use gboolean return values and pointers to size so we can use the
20098           full GST_BUFFER_SIZE range (guint) for buffer sizes
20099           use GstPadDirection for transform_caps
20100         * gst/base/gstbasetransform.h:
20101           rename get_size to get_unit_size since that's what it is
20102         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20103           use GstPadDirection for transform_caps
20104         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20105         * gst/gstutils.h:
20106           cleanup and debugging
20107
20108 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20109
20110         * gst/gstelement.c: (gst_element_class_init),
20111         (gst_element_set_state), (activate_pads),
20112         (gst_element_save_thyself):
20113         * tools/gst-compprep.c: (main):
20114         * tools/gst-inspect.c: (print_element_properties_info):
20115         * tools/gst-xmlinspect.c: (print_element_properties):
20116           Fixed long standing mem-leak
20117
20118 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20119
20120         * check/gst/gstbin.c: (GST_START_TEST):
20121         * gst/gstbin.c: (bin_bus_handler):
20122         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20123         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20124         (gst_message_new_warning), (gst_message_new_tag),
20125         (gst_message_new_state_changed), (gst_message_new_segment_start),
20126         (gst_message_new_segment_done), (gst_message_new_custom):
20127         * gst/gstmessage.h:
20128         * tools/gst-launch.c: (event_loop):
20129         * tools/gst-md5sum.c: (event_loop):
20130           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20131           that applications can sensibly post custom messages with references
20132           to their own objects.
20133
20134 2005-08-24  Andy Wingo  <wingo@pobox.com>
20135
20136         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20137         already.
20138
20139 2005-08-24  Wim Taymans  <wim@fluendo.com>
20140
20141         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20142         (gst_base_transform_transform_caps),
20143         (gst_base_transform_transform_size),
20144         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20145         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20146         (gst_base_transform_handle_buffer):
20147         * gst/base/gstbasetransform.h:
20148         Many fixes and new features added by Thomas. Can now also do
20149         transforms with variable sizes and a custom fixate_caps function.
20150
20151 2005-08-24  Wim Taymans  <wim@fluendo.com>
20152
20153         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20154         Some debugging.
20155
20156         * gst/gstclock.h:
20157         Cast to ClockTime before formatting to time.
20158
20159         * gst/gstutils.h:
20160         Cleanups.
20161
20162 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20163
20164         * check/gst-libs/controller.c: (GST_START_TEST),
20165         (gst_controller_suite):
20166         * docs/gst/tmpl/gstcaps.sgml:
20167         * docs/gst/tmpl/gstghostpad.sgml:
20168         * docs/gst/tmpl/gstquery.sgml:
20169         * docs/gst/tmpl/gstutils.sgml:
20170         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20171         (gst_object_sink_values), (gst_object_get_value_arrays),
20172         (gst_object_get_value_array):
20173           gracefully handle helper method calls to objects that are not beeing
20174           controlled, added test case for that          
20175
20176 2005-08-23  Wim Taymans  <wim@fluendo.com>
20177
20178         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20179         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20180         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20181         (gst_event_parse_qos), (gst_event_new_seek),
20182         (gst_event_parse_seek):
20183         * gst/gstevent.h:
20184         Some more debugging output and doc cleanups.
20185
20186         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20187         Fix possible deadlock.
20188
20189 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20190
20191         * docs/gst/gstreamer-docs.sgml:
20192         * docs/gst/gstreamer-sections.txt:
20193         * docs/gst/gstreamer.types:
20194         * docs/gst/tmpl/.cvsignore:
20195         * gst/gstbin.h:
20196         * gst/gstbus.c:
20197         * gst/gstelement.c:
20198         * gst/gstevent.h:
20199           added 100 symbols from gstreamer-unused.txt to the right sections
20200           fixed more broken comments
20201           added GstBus to docs
20202
20203 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20204
20205         * docs/gst/gstreamer-sections.txt:
20206         * docs/gst/tmpl/.cvsignore:
20207         * docs/gst/tmpl/gstbin.sgml:
20208         * docs/gst/tmpl/gstbuffer.sgml:
20209         * gst/base/gstbasesrc.c:
20210         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20211         * gst/gstbuffer.c:
20212         * gst/gstbuffer.h:
20213         * tools/gst-launch.1.in:
20214           inlined more doc comments, added missing comments and fixed comments
20215           fixed typos
20216
20217 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20218
20219         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20220           some debugging
20221         * gst/gstcaps.h:
20222           whitespace fixes
20223         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20224           more debugging
20225         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20226         * gst/gststructure.h:
20227           add a fixate function for booleans; add a FIXME that these func
20228           names should probably be gst_structure_fixate_*
20229
20230 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20231
20232         * docs/gst/gstreamer-docs.sgml:
20233         * docs/gst/gstreamer-sections.txt:
20234         * gst/Makefile.am:
20235         * gst/gstbin.c: (gst_bin_get_type),
20236         (gst_bin_child_proxy_get_child_by_index),
20237         (gst_bin_child_proxy_get_children_count),
20238         (gst_bin_child_proxy_init):
20239         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20240         (gst_child_proxy_get_child_by_index),
20241         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20242         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20243         (gst_child_proxy_get), (gst_child_proxy_set_property),
20244         (gst_child_proxy_set_valist), (gst_child_proxy_set),
20245         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20246         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20247         * gst/gstchildproxy.h:
20248         * gst/parse/grammar.y:
20249         * tools/gst-inspect.c: (print_interfaces),
20250         (print_element_properties_info), (print_element_info):
20251           ported gstchildproxy over from 0.8
20252           ported gst-inspect fixes and enhancements over from 0.8
20253
20254 2005-08-22  Wim Taymans  <wim@fluendo.com>
20255
20256         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20257         (gst_base_transform_handle_buffer):
20258         Also call the transform function if we have ANY caps.
20259
20260         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20261         Fix debug info.
20262
20263 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20264
20265         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20266           Don't pretend to handle seek events if the source is not seekable
20267
20268 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20269
20270         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20271           Remove extra parameter to debug output
20272
20273         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20274         (gst_base_src_do_seek), (gst_base_src_activate_push):
20275           Fix seek event handling.
20276
20277         * gst/gstpipeline.c: (gst_pipeline_change_state):
20278         * gst/gstqueue.c: (gst_queue_handle_sink_event),
20279         (gst_queue_src_activate_push):
20280           Don't start the src pad task on FLUSH_STOP if the pad
20281           isn't linked.
20282           Debug changes.
20283
20284 2005-08-22  Wim Taymans  <wim@fluendo.com>
20285
20286         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20287         Added check for gst_static_caps_get() refcounting.
20288
20289 2005-08-22  Wim Taymans  <wim@fluendo.com>
20290
20291         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20292         Make _static_caps_get() refcounting sane.
20293         
20294         * gst/gstelement.c: (gst_element_set_state):
20295         Add g_return_val_if_fail() to protect against segfaults.
20296
20297 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
20298
20299         * docs/gst/tmpl/gstevent.sgml:
20300         * gst/gstevent.c:
20301         * gst/gstevent.h:
20302           inlined remaining docs, added missing doc comments
20303
20304 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20305
20306         * check/gst/gstbin.c: (GST_START_TEST):
20307           since we don't know when preroll is done, use refcount range
20308           check for the sink
20309         * gst/check/gstcheck.h:
20310           add macro for checking refcount range
20311
20312 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20313
20314         * check/Makefile.am:
20315           clean up environment for when registry gets built versus
20316           when actual tests are run; valgrind seems to not report
20317           leaks if GST_PLUGIN_PATH is set to some specific values
20318         * check/gst/gstbin.c: (GST_START_TEST):
20319           add more refcounting checks; maybe this exposes a
20320           preroll lock bug ?
20321         * common/check.mak:
20322         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20323         * gst/check/gstcheck.h:
20324         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20325         (gst_bin_change_state):
20326         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20327           add/fix debugging/whitespace
20328
20329 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20330
20331         * check/gst/gstevent.c: (event_probe), (test_event),
20332         (GST_START_TEST):
20333          Er, don't call gst_bin_watch_for_state_change you idiot.
20334
20335 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20336
20337         * check/Makefile.am:
20338           Use CHECK_CFLAGS and CHECK_LIBS
20339         * check/gst/gstevent.c: (event_probe), (test_event),
20340         (GST_START_TEST):
20341           Don't leak events.
20342         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20343         (gst_base_src_start), (gst_base_src_stop),
20344         (gst_base_src_activate_push), (gst_base_src_activate_pull),
20345         (gst_base_src_change_state):
20346           Sprinkle gst_base_src_stop liberally around error paths to fix
20347           problems reusing a source after failed state changes.
20348         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20349         (helper_find_suggest), (gst_type_find_helper):
20350           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20351         * gst/gstevent.h:
20352         * docs/gst/tmpl/gstevent.sgml:
20353           Migrate part of the docs from the SGML file. Wait for ensonic to
20354           tell me how I did it wrong ;)
20355         * tools/gst-typefind.c: (main):
20356           Extra robustness to state changes between files.
20357
20358 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20359
20360         * check/Makefile.am:
20361           don't valgrind the controller test - it's leaking - Stefan, HELP
20362         * gst/check/gstcheck.c: (gst_check_message_error),
20363         (gst_check_chain_func), (gst_check_setup_element),
20364         (gst_check_teardown_element), (gst_check_setup_src_pad),
20365         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20366         (gst_check_teardown_sink_pad):
20367         * gst/check/gstcheck.h:
20368           add a bunch of methods to set up elements, and src and sink pads
20369         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20370         * check/elements/identity.c: (setup_identity), (cleanup_identity),
20371         (GST_START_TEST):
20372           use them
20373         * gst/gstmessage.c:
20374         * gst/gsttag.h:
20375           whitespace/doc fixes
20376
20377 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20378
20379         * gst/gstelement.h:
20380           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20381           be handled by the application and not always printed as well
20382
20383 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20384
20385         * check/Makefile.am:
20386           set GST_TOOLS_DIR
20387         * gst/check/gstcheck.c: (gst_check_message_error):
20388         * gst/check/gstcheck.h:
20389           add a fail_unless_equals_int
20390           add fail_unless for error messages
20391
20392 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20393
20394         * check/Makefile.am:
20395         * check/gst.supp:
20396         * common/Makefile.am:
20397         * common/check.mak:
20398         * common/gst.supp:
20399           factor out some of the common stuff so we can use it
20400
20401 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20402
20403         * check/Makefile.am:
20404         * check/gst/gstiterator.c: (GST_START_TEST):
20405         * check/gst/gstsystemclock.c: (GST_START_TEST),
20406         (gst_systemclock_suite):
20407         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20408         * gst/gstclock.c:
20409           valgrind more tests
20410
20411 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20412
20413         * check/elements/.cvsignore:
20414         * check/elements/gstfakesrc.c:
20415           rename to name of element
20416         * check/elements/identity.c: (chain_func), (event_func),
20417         (setup_identity), (cleanup_identity), (GST_START_TEST),
20418         (identity_suite), (main):
20419           add a test for identity
20420         * check/Makefile.am:
20421         * pkgconfig/Makefile.am:
20422         * pkgconfig/gstreamer-check.pc.in:
20423         * pkgconfig/gstreamer-check-uninstalled.pc.in:
20424         * gst/check:
20425         * gst/Makefile.am:
20426         * configure.ac:
20427           move the check stuff to a library that gets installed
20428         * check/gst-libs/controller.c: (GST_START_TEST):
20429         * check/gst-libs/gdp.c:
20430         * check/gst/gst.c: (GST_START_TEST):
20431         * check/gst/gstbin.c:
20432         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20433         * check/gst/gstbus.c:
20434         * check/gst/gstcaps.c: (GST_START_TEST):
20435         * check/gst/gstelement.c:
20436         * check/gst/gstghostpad.c:
20437         * check/gst/gstiterator.c:
20438         * check/gst/gstmessage.c:
20439         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20440         * check/gst/gstobject.c:
20441         * check/gst/gstpad.c: (GST_START_TEST):
20442         * check/gst/gststructure.c: (GST_START_TEST):
20443         * check/gst/gstsystemclock.c: (GST_START_TEST),
20444         (gst_systemclock_suite):
20445         * check/gst/gsttag.c: (gst_tag_suite):
20446         * check/gst/gstvalue.c:
20447         * check/pipelines/cleanup.c:
20448         * check/pipelines/simple_launch_lines.c:
20449         * check/states/sinks.c:
20450           change include statement
20451
20452         * docs/gst/gstreamer-sections.txt:
20453         * docs/gst/tmpl/gstpad.sgml:
20454           document more pad stuff
20455         * gst/gstminiobject.c: (gst_mini_object_ref),
20456         (gst_mini_object_unref):
20457           debug refcounting
20458
20459 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
20460
20461         * docs/gst/tmpl/gst.sgml:
20462         * gst/gst.c:
20463           eliminate another tmpl file, fix spelling in the long-description
20464
20465 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20466
20467         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20468         (test_event), (timediff), (gstevents_suite):
20469           Should fix build on 64-bit arch's
20470
20471 2005-08-18  Andy Wingo  <wingo@pobox.com>
20472
20473         Make sure that when a pipeline goes to PLAYING, that data has
20474         actually hit the sink.
20475
20476         * check/states/sinks.c (test_sink): A sink that doesn't get any
20477         data shouldn't return SUCCESS for going to either PLAYING or
20478         PAUSED. Test also the return values on the way back down.
20479
20480         * gst/gstelement.c (gst_element_set_state): When changing the
20481         state of an element currently changing state asynchronously, go to
20482         lost-state after commiting the pending state. Makes future calls
20483         to get_state continue to return ASYNC.
20484
20485         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20486         ASYNC when going to PLAYING if we still don't have preroll, as can
20487         happen with live sources.
20488
20489 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20490
20491         * docs/pwg/advanced-types.xml:
20492           Hack long paragraph into 2 chunks as a workaround for buggy
20493           jadetex version in sid and breezy that loops infinitely and
20494           eats all RAM.
20495
20496 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20497
20498         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20499         (test_event), (timediff), (gstevents_suite):
20500           Provide more error margin in clock measurements to allow for 
20501           g_get_current_time inaccuracies.
20502
20503 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20504
20505         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20506         (test_event), (timediff), (gstevents_suite):
20507            Fix error message output so I might be able to tell why the
20508            test works here but fails on the build farm.
20509
20510 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20511
20512         * check/Makefile.am:
20513         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20514         (test_event), (timediff), (gstevents_suite), (main):
20515           I wrote a test!
20516
20517         * docs/design/part-seeking.txt:
20518           Spelling correction
20519
20520         * docs/gst/tmpl/gstevent.sgml:
20521         * docs/gst/tmpl/gstfakesrc.sgml:
20522           Docs updates.
20523
20524         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20525           Treat a buffer-without-newsegment the same as a receiving 
20526           a newsegment not in time format, and disable syncing to the clock
20527           with a warning.
20528
20529         * gst/gstbus.c: (gst_bus_set_sync_handler):
20530           Assert if anyone tries to replace the existing sync_handler for bus, 
20531           as only the owner should be setting it.
20532
20533         * gst/gstevent.h:
20534           Have a fixed set of custom event enums with events identified by
20535           their structure name (as in 0.8), rather than a free-for-all
20536           allowing collisions between enum values from different plugins.
20537
20538         * gst/gstpad.c: (gst_pad_class_init):
20539           Docs change.
20540           
20541         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20542           Handle out-of-band downstream events from the sending thread.
20543
20544 2005-08-17  Andy Wingo  <wingo@pobox.com>
20545
20546         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20547         play-timeout==0 to mean no timeout at all. In that case, don't
20548         bother with a get_state or a warning, just return directly, even
20549         if it's ASYNC.
20550
20551         * gst/base/gstbasetransform.c: Debug changes.
20552
20553         * gst/gstutils.h:
20554         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20555         ensure bins post state change messages. A bit of a hack but I can't
20556         think of a way to avoid it.
20557
20558         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20559
20560 2005-08-16  Andy Wingo  <wingo@pobox.com>
20561
20562         * gst/base/gstadapter.h:
20563         * gst/base/gstadapter.c (gst_adapter_take): New function, like
20564         peek() but you own the data. Not terribly efficient atm.
20565
20566 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20567
20568         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20569         (gst_element_found_tags):
20570         * gst/gstutils.h:
20571           Add two utility functions for tag handling.
20572
20573 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20574
20575         * docs/manual/advanced-dataaccess.xml:
20576         * docs/manual/basics-helloworld.xml:
20577           Fix docs to use _bin_add() before _link(), which fixes the examples
20578           with recent core versions (reported by Madhan Raj M
20579           <raj_madan@rediffmail.com>, #313199).
20580
20581 2005-08-16  Wim Taymans  <wim@fluendo.com>
20582
20583         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20584         Added subtract checks.
20585
20586         * docs/design/part-events.txt:
20587         Some more docs about newsegment
20588
20589         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20590         Fix FIXME
20591
20592         * gst/gstcaps.c: (gst_caps_to_string):
20593         Add comments, cleanups.
20594         
20595         * gst/gstelement.c: (gst_element_save_thyself):
20596         cleanups
20597         
20598         * gst/gstvalue.c: (gst_value_collect_int_range),
20599         (gst_string_unwrap), (gst_value_union_int_int_range),
20600         (gst_value_union_int_range_int_range),
20601         (gst_value_intersect_int_int_range),
20602         (gst_value_intersect_int_range_int_range),
20603         (gst_value_intersect_double_double_range),
20604         (gst_value_intersect_double_range_double_range),
20605         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20606         (gst_value_subtract_int_range_int),
20607         (gst_value_subtract_double_range_double),
20608         (gst_value_subtract_double_range_double_range),
20609         (gst_value_subtract_from_list), (gst_value_subtract_list),
20610         (gst_value_can_compare), (gst_value_compare_fraction):
20611         Cleanups, add comments, remove unneeded asserts.
20612
20613 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20614
20615         * tools/gst-launch.c: (event_loop):
20616           don't convert NULL structures to strings
20617
20618 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
20619
20620         * docs/gst/gstreamer-sections.txt:
20621           made some defines private
20622         * docs/gst/tmpl/gstconfig.sgml:
20623         * docs/gst/tmpl/gstqueue.sgml:
20624         * docs/gst/tmpl/gsttaglist.sgml:
20625         * docs/gst/tmpl/gsttypes.sgml:
20626         * docs/gst/tmpl/gstutils.sgml:
20627         * docs/pwg/appendix-porting.xml:
20628         * gst/base/gstbasesink.h:
20629         * gst/base/gstbasesrc.c:
20630         * gst/base/gstbasesrc.h:
20631         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20632         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20633         * gst/gstelement.c: (gst_element_class_init):
20634         * gst/gstpad.c: (gst_pad_class_init):
20635         * gst/gstqueue.c: (gst_queue_class_init):
20636         * gst/gstxml.c: (gst_xml_class_init):
20637           documented all undocumented signal inline
20638         * libs/gst/controller/gst-controller.h:
20639           added padding
20640
20641 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20642
20643         * docs/pwg/appendix-porting.xml:
20644           Document _set_link_function -> _set_setcaps_function.
20645
20646 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20647
20648         * check/Makefile.am:
20649           add a .check target for running the check
20650         * check/gst-libs/controller.c: (GST_START_TEST):
20651           cosmetic fixups
20652         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20653           complete checks for gstbuffer; would be nice if I could get the
20654           gcov stuff to work so I can see if I actually completed gstbuffer.c
20655         * check/gstcheck.h:
20656           add ASSERT_BUFFER_REFCOUNT
20657
20658 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
20659
20660         * docs/gst/gstreamer-sections.txt:
20661         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20662         * gst/gsttag.h:
20663           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20664           spew out a warning if a tag that is already registered
20665           is re-registered, unless it is re-registered with a 
20666           different type (#308438).
20667
20668 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
20669
20670         * docs/pwg/appendix-porting.xml:
20671         * docs/pwg/building-state.xml:
20672           Add some paragraphs about state changes in 0.9 to the PWG
20673           and the porting guide, in particular about the new meaning
20674           of GST_STATE_PAUSED and how to write state change functions
20675           with concurrent access by multiple threads in mind.
20676
20677 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
20678
20679         * docs/gst/gstreamer-docs.sgml:
20680         * docs/libs/gstreamer-libs-docs.sgml:
20681           added deprecation and since indexes
20682         * libs/gst/controller/gst-controller.c:
20683         * libs/gst/controller/gst-helper.c:
20684           added since tags
20685
20686
20687 2005-08-11  Wim Taymans  <wim@fluendo.com>
20688
20689         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
20690         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
20691         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
20692         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
20693         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
20694         (gst_ghost_pad_set_target):
20695         Actually implement (re)setting the target on a ghostpad
20696         as described in the docs.
20697
20698 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
20699
20700         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
20701           Check whether GST_DEBUG_NO_COLOR environment variable is
20702           set and disable coloured debug output if that is the case.
20703
20704 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
20705
20706         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20707         (gst_type_find_helper):
20708           The memory returned by gst_type_find_peek() needs to
20709           stay valid until the end of a typefind function, and
20710           typefind functions may keep results from different 
20711           offsets around, so we can't just unref the buffer from
20712           the previous _peek(), but have to save all buffers 
20713           returned by _peek() until typefinding is done and only
20714           free them then.
20715
20716 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
20717
20718         * docs/gst/gstreamer-sections.txt:
20719         * gst/gstutils.h:
20720           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
20721
20722 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20723
20724         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20725           Fix a pretty good memleak.
20726
20727 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
20728
20729         * gst/gstiterator.h:
20730           Fix wrong include and 'make distcheck'.
20731
20732 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20733
20734         * gst/gstbin.c: (bin_bus_handler):
20735           Use gst_element_post_message() instead.
20736
20737 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
20738
20739         * gst/base/gstadapter.h:
20740         * gst/base/gstbasesink.h:
20741         * gst/base/gstbasesrc.h:
20742         * gst/base/gstbasetransform.h:
20743         * gst/base/gstcollectpads.h:
20744         * gst/base/gstpushsrc.h:
20745         * gst/gstiterator.h:
20746           Add padding to our base elements' class and instance structs and
20747           to GstIterator (you will need to rebuild all plugins and apps!)
20748
20749 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20750
20751         * gst/gstbin.c: (bin_bus_handler):
20752           Make default message forwarding from child->bus to bin->bus
20753           threadsafe and make it not emit warnings if the parent has no bus.
20754
20755 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20756
20757         * gst/gstelement.c: (activate_pads):
20758           On paused->ready, set pad->caps to NULL, as is the documented
20759           behaviour in this state change. Fixes playback of series of
20760           media files when visualization is enabled in Totem.
20761
20762 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20763
20764         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20765           Allow NULL as filter-caps (which means "any").
20766
20767 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
20768
20769         * docs/libs/gstreamer-libs-sections.txt:
20770         * libs/gst/controller/gst-controller.c:
20771         * libs/gst/controller/gst-controller.h:
20772         * libs/gst/controller/gst-helper.c:
20773           adding more entries to the docs and fix small doc-bugs
20774
20775 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
20776
20777         * docs/gst/gstreamer-docs.sgml:
20778         * docs/gst/gstreamer-sections.txt:
20779         * docs/gst/gstreamer.types:
20780         * docs/gst/tmpl/gstbasesink.sgml:
20781         * docs/gst/tmpl/gstbasesrc.sgml:
20782         * docs/gst/tmpl/gstbasetransform.sgml:
20783         * docs/gst/tmpl/gstfakesrc.sgml:
20784         * gst/base/gstcollectpads.c:
20785         * gst/base/gstcollectpads.h:
20786         * libs/gst/controller/gst-controller.c:
20787         * libs/gst/controller/gst-controller.h:
20788         * libs/gst/controller/gst-helper.c:
20789         * libs/gst/controller/gst-interpolation.c:
20790         * libs/gst/controller/lib.c:
20791           added long/short desc for controller docs
20792           added collectpads base class docs
20793           added correct includes to base-class docs
20794
20795 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
20796
20797         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20798         (gst_test_mono_source_set_property),
20799         (gst_test_mono_source_class_init), (GST_START_TEST),
20800         (gst_controller_suite):
20801         * docs/gst/gstreamer-docs.sgml:
20802         * docs/gst/gstreamer-sections.txt:
20803         * docs/gst/gstreamer.types:
20804         * docs/libs/gstreamer-libs-docs.sgml:
20805         * docs/libs/gstreamer-libs-sections.txt:
20806         * gst/base/gstadapter.c:
20807         * libs/gst/controller/gst-controller.c:
20808         (gst_controlled_property_new), (gst_controlled_property_free),
20809         (gst_controller_new_valist),
20810         (gst_controller_remove_properties_valist),
20811         (gst_controller_sink_values), (_gst_controller_finalize):
20812         * libs/gst/controller/gst-controller.h:
20813         * libs/gst/controller/gst-helper.c:
20814         (gst_object_control_properties), (gst_object_uncontrol_properties),
20815         (gst_object_get_controller), (gst_object_set_controller),
20816         (gst_object_sink_values), (gst_object_get_value_arrays),
20817         (gst_object_get_value_array):
20818           more tests (and fixes) for the controller
20819           more docs for the controller
20820           integrated companies docs for the adapter 
20821
20822 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
20823
20824         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20825         (GST_START_TEST), (fakesrc_suite):
20826           add tests for sizetype
20827
20828 2005-08-04  Andy Wingo  <wingo@pobox.com>
20829
20830         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20831         fixes buffer_alloc proxying among other things.
20832
20833         * gst/base/gstbasetransform.c:
20834         * gst/base/gstbasetransform.h:
20835         Revert patch to gstbasetransform from 7-28 removing
20836         delay_configure.
20837
20838         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20839         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20840         Semantics changed, should return not the size of the output buffer
20841         but the byte size of a buffer with a given caps.
20842
20843         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20844         debug object.
20845         (gst_base_transform_configure_caps): Don't set out_size here: (in,
20846         out) are not the pad caps until setcaps finishes.
20847         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20848         not-in-place case as well. Deal with changing from in-place to
20849         not-in-place within calling pad_alloc_buffer. Still a bit
20850         concerned about the overhead here...
20851
20852 2005-08-03  Andy Wingo  <wingo@pobox.com>
20853
20854         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20855         fixating is an error.
20856
20857 2005-08-04  Edward Hervey  <edward@fluendo.com>
20858
20859         * gst/base/gstadapter.h: 
20860         Added gst_adapter_get_type() to the header
20861
20862 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
20863
20864         * check/Makefile.am:
20865         * check/gst-libs/controller.c:
20866         * libs/gst/controller/gst-controller.c:
20867         (gst_controller_new_valist):
20868           added check test suite for the controller
20869         * gst/base/gstpushsrc.c:
20870           fixed a doc typo
20871
20872 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
20873
20874         * docs/gst/Makefile.am:
20875         * docs/gst/gstreamer-docs.sgml:
20876         * docs/gst/gstreamer-sections.txt:
20877         * docs/gst/gstreamer.types:
20878         * docs/gst/tmpl/gstfakesrc.sgml:
20879         * gst/base/README:
20880         * gst/base/gstbasesink.c:
20881         * gst/base/gstbasesink.h:
20882         * gst/base/gstbasesrc.c:
20883         * gst/base/gstbasesrc.h:
20884         * gst/base/gstbasetransform.c:
20885         * gst/base/gstpushsrc.c:
20886         * gst/base/gstpushsrc.h:
20887           add short/long description docs to base classes
20888           add pushsrc to the docs
20889           remove consolidated doc fragments
20890
20891 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
20892
20893         * configure.ac:
20894         * docs/libs/Makefile.am:
20895         * docs/libs/gstreamer-libs-docs.sgml:
20896         * docs/libs/gstreamer-libs-sections.txt:
20897         * docs/libs/gstreamer-libs.types:
20898         * examples/Makefile.am:
20899         * examples/controller/.cvsignore:
20900         * examples/controller/Makefile.am:
20901         * examples/controller/audio-example.c: (main):
20902         * libs/gst/Makefile.am:
20903         * libs/gst/controller/.cvsignore:
20904         * libs/gst/controller/Makefile.am:
20905         * libs/gst/controller/gst-controller.c:
20906         (on_object_controlled_property_changed), (gst_timed_value_compare),
20907         (gst_timed_value_find),
20908         (gst_controlled_property_set_interpolation_mode),
20909         (gst_controlled_property_new), (gst_controlled_property_free),
20910         (gst_controller_find_controlled_property),
20911         (gst_controller_new_valist), (gst_controller_new),
20912         (gst_controller_remove_properties_valist),
20913         (gst_controller_remove_properties), (gst_controller_set),
20914         (gst_controller_set_from_list), (gst_controller_unset),
20915         (gst_controller_get), (gst_controller_get_all),
20916         (gst_controller_sink_values), (gst_controller_get_value_arrays),
20917         (gst_controller_get_value_array),
20918         (gst_controller_set_interpolation_mode),
20919         (_gst_controller_finalize), (_gst_controller_init),
20920         (_gst_controller_class_init), (gst_controller_get_type):
20921         * libs/gst/controller/gst-controller.h:
20922         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20923         (g_object_uncontrol_properties), (g_object_get_controller),
20924         (g_object_set_controller), (g_object_sink_values),
20925         (g_object_get_value_arrays), (g_object_get_value_array):
20926         * libs/gst/controller/gst-interpolation.c:
20927         (gst_controlled_property_find_timed_value_node),
20928         (interpolate_none_get), (interpolate_trigger_get),
20929         (interpolate_trigger_get_value_array):
20930         * libs/gst/controller/lib.c: (gst_controller_init):
20931         * pkgconfig/Makefile.am:
20932         * pkgconfig/gstreamer-control-uninstalled.pc.in:
20933         * pkgconfig/gstreamer-control.pc.in:
20934         * testsuite/Makefile.am:
20935         * testsuite/controller/.cvsignore:
20936         * testsuite/controller/Makefile.am:
20937         * testsuite/controller/interpolator.c: (main):
20938           added controller code
20939           removed dparam pc files
20940
20941 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
20942         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20943         (gst_collectpads_stop):
20944           Broadcast the condition when shutting down, to make sure we wake all
20945           threads up. Shut down pads on finalize, for safety.
20946
20947 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
20948         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20949         (gst_base_transform_handle_buffer),
20950         (gst_base_transform_change_state):
20951           Handle PAUSED->READY->PAUSED transition after negotiation
20952           occurred already.
20953         * gst/gstmessage.c: (gst_message_init):
20954           Extra piece of debug for new messages.
20955
20956 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
20957
20958         * configure.ac:
20959         * docs/gst/tmpl/gstbasesrc.sgml:
20960         * docs/gst/tmpl/gstelement.sgml:
20961         * docs/gst/tmpl/gstevent.sgml:
20962         * docs/gst/tmpl/gstfakesrc.sgml:
20963         * docs/gst/tmpl/gstformat.sgml:
20964         * docs/gst/tmpl/gstghostpad.sgml:
20965         * docs/gst/tmpl/gstpad.sgml:
20966         * docs/gst/tmpl/gstquery.sgml:
20967         * docs/gst/tmpl/gststructure.sgml:
20968         * docs/gst/tmpl/gsttaglist.sgml:
20969         * docs/gst/tmpl/gstvalue.sgml:
20970         * docs/libs/gstreamer-libs-docs.sgml:
20971         * docs/libs/gstreamer-libs-sections.txt:
20972         * docs/libs/gstreamer-libs.types:
20973         * libs/gst/Makefile.am:
20974         * libs/gst/control/.cvsignore:
20975         * libs/gst/control/Makefile.am:
20976         * libs/gst/control/control.c:
20977         * libs/gst/control/control.h:
20978         * libs/gst/control/dparam.c:
20979         * libs/gst/control/dparam.h:
20980         * libs/gst/control/dparam_smooth.c:
20981         * libs/gst/control/dparam_smooth.h:
20982         * libs/gst/control/dparamcommon.h:
20983         * libs/gst/control/dparammanager.c:
20984         * libs/gst/control/dparammanager.h:
20985         * libs/gst/control/dplinearinterp.c:
20986         * libs/gst/control/dplinearinterp.h:
20987         * libs/gst/control/unitconvert.c:
20988         * libs/gst/control/unitconvert.h:
20989         * testsuite/Makefile.am:
20990         * testsuite/dynparams/.cvsignore:
20991         * testsuite/dynparams/Makefile.am:
20992         * testsuite/dynparams/dparamstest.c:
20993         * tools/Makefile.am:
20994         * tools/gst-inspect.c: (print_element_info), (main):
20995         * tools/gst-xmlinspect.c: (print_element_info), (main):
20996           deactivate and remove dparams (libgstcontrol)
20997
20998 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
20999
21000         * gst/elements/gsttypefindelement.c:
21001         (gst_type_find_element_have_type), (gst_type_find_element_init),
21002         (stop_typefinding), (gst_type_find_element_handle_event),
21003         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21004         * gst/elements/gsttypefindelement.h:
21005           Set caps on all outgoing buffers, not just the first one.
21006
21007 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21008
21009         * gst/elements/gsttypefindelement.c:
21010         (gst_type_find_element_have_type),
21011         (gst_type_find_element_check_set_buffer_caps),
21012         (gst_type_find_element_init), (stop_typefinding),
21013         (gst_type_find_element_handle_event),
21014         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21015         * gst/elements/gsttypefindelement.h:
21016           Set caps on first outgoing buffer when we've found the type.
21017
21018 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21019
21020         * docs/gst/gstreamer-docs.sgml:
21021         * docs/gst/gstreamer-sections.txt:
21022         * docs/gst/tmpl/gstscheduler.sgml:
21023         * docs/gst/tmpl/gstschedulerfactory.sgml:
21024           Remove some old cruft from docs.
21025
21026 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21027
21028         * gst/gstpad.h:
21029           Fix inline docs for GstPadLinkReturn.
21030           
21031         * gst/gststructure.c: (gst_structure_has_name):
21032         * gst/gststructure.h:
21033         * docs/gst/gstreamer-sections.txt:
21034           New API: gst_structure_has_name().
21035
21036 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21037
21038         * configure.ac:
21039           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21040           and _LARGEFILE_SOURCE in config.h as required. Do not 
21041           export those flags in our .pc files any longer (#142209).
21042
21043           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21044
21045         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21046         (gst_file_sink_do_seek), (gst_file_sink_event),
21047         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21048           Redo seek/tell calls with large file support in mind; add some
21049           debugging messages; add log message that tells us when large
21050           file support is unavailable or not enabled for some reason.
21051
21052         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21053           Add log message that tells us when large file support 
21054           is unavailable or not enabled for some reason.
21055
21056 2005-07-29  Wim Taymans  <wim@fluendo.com>
21057
21058         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21059         Added test for removing an element with ghostpad from a bin.
21060         Fixed test as current implementation does the right thing.
21061
21062         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21063         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21064         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21065         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21066         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21067         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21068         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21069         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21070         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21071         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21072         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21073         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21074         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21075         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21076         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21077         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21078         * gst/gstghostpad.h:
21079         Clean up ghostpads, remove properties for internal stuff.
21080         Make threadsafe.
21081         Fix refcounting.
21082         Prepare for switching targets, not all use cases work yet.
21083
21084 2005-07-29  Wim Taymans  <wim@fluendo.com>
21085
21086         * docs/design/part-gstghostpad.txt:
21087         Small update.
21088
21089         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21090         (gst_bin_remove_func):
21091         Unlinking pads while holding the bin LOCK is not a good
21092         idea.
21093
21094         * gst/gstpad.c: (gst_pad_class_init),
21095         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21096         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21097         No prob setting template after creating the pad.
21098
21099 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21100
21101         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21102         (gst_bus_peek), (gst_bus_source_dispatch),
21103         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21104         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21105           gst_bus_poll may be called from other threads. Handle
21106           this nicely by not making poll_data disappear off the
21107           stack once gst_bus_poll returns.
21108           gst_bus_peek now increments the refcount on the returned
21109           message.
21110
21111 2005-07-29  Wim Taymans  <wim@fluendo.com>
21112
21113         * docs/design/part-gstghostpad.txt:
21114         Overview of current GhostPad datastructures and use
21115         cases for changing the target.
21116
21117 2005-07-28  Wim Taymans  <wim@fluendo.com>
21118
21119         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21120         Added checks for hierarchy consistency whan adding linked
21121         elements to bins.
21122
21123         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21124         Added check to test element scheduling without bin/pipeline.
21125
21126         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21127         First add elements to bin, then link.
21128         
21129         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21130         (gst_bin_remove_func):
21131         Unlink pads from elements added/removed from bin to maintain
21132         hierarchy consistency.
21133
21134 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21135
21136         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21137         (gst_base_transform_handle_buffer):
21138         * gst/base/gstbasetransform.h:
21139           Remove broken delay_configure (fixes renegotiation of software
21140           scaling pipelines); remove some leftover printf()s.
21141
21142 2005-07-28  Wim Taymans  <wim@fluendo.com>
21143
21144         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21145         Added some more tests for wrong hierarchy
21146
21147         * docs/design/part-overview.txt:
21148         Some updates.
21149
21150         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21151         Cleanups.
21152
21153         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21154         (gst_element_dispose):
21155         Some more cleanups.
21156
21157         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21158         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21159         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21160         (gst_pad_set_caps), (gst_pad_send_event):
21161         Check for correct hierarchy when linking pads. Moving to
21162         strict requirement for ghostpads when linking elements in
21163         different bins.
21164
21165         * gst/gstpad.h:
21166         Clean ups. Added WRONG_HIERARCHY return value.
21167
21168 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21169
21170         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21171           Better debug if no transform is possible.
21172
21173 2005-07-27  Wim Taymans  <wim@fluendo.com>
21174
21175         * docs/random/wtay/network-transp:
21176         Some old doc I had.
21177
21178 2005-07-27  Wim Taymans  <wim@fluendo.com>
21179
21180         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21181         (gst_dp_event_from_packet):
21182         Fix serialization of seek events.
21183
21184 2005-07-27  Wim Taymans  <wim@fluendo.com>
21185
21186         * check/gst-libs/gdp.c: (GST_START_TEST):
21187         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21188         Fix compilation and fix event serialization.
21189
21190 2005-07-27  Wim Taymans  <wim@fluendo.com>
21191
21192         * CHANGES-0.9:
21193         * docs/design/part-TODO.txt:
21194         * docs/design/part-events.txt:
21195         Some docs updates
21196
21197         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21198         (gst_base_sink_event), (gst_base_sink_do_sync),
21199         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21200         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21201         (gst_base_src_do_seek), (gst_base_src_event_handler),
21202         (gst_base_src_loop):
21203         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21204         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21205         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21206         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21207         (gst_base_transform_set_passthrough),
21208         (gst_base_transform_is_passthrough):
21209         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21210         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21211         Event updates.
21212
21213         * gst/gstbuffer.h:
21214         Use faster casts.
21215
21216         * gst/gstelement.c: (gst_element_seek):
21217         * gst/gstelement.h:
21218         Update gst_element_seek.
21219
21220         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21221         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21222         (gst_event_new_flush_start), (gst_event_new_flush_stop),
21223         (gst_event_new_eos), (gst_event_new_newsegment),
21224         (gst_event_parse_newsegment), (gst_event_new_tag),
21225         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21226         (gst_event_parse_qos), (gst_event_new_seek),
21227         (gst_event_parse_seek), (gst_event_new_navigation):
21228         * gst/gstevent.h:
21229         Make GstEvent use GstStructure. Add parsing code, make sure the
21230         API is sufficiently generic.
21231         Mark possible directions of events and serialization.
21232
21233         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21234         (_gst_message_copy), (gst_message_new_segment_start),
21235         (gst_message_new_segment_done), (gst_message_new_custom),
21236         (gst_message_parse_segment_start),
21237         (gst_message_parse_segment_done):
21238         Small cleanups.
21239
21240         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21241         (gst_pad_set_caps), (gst_pad_send_event):
21242         Update for new events. 
21243         Catch events sent in wrong directions.
21244
21245         * gst/gstqueue.c: (gst_queue_link_src),
21246         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21247         (gst_queue_handle_src_query):
21248         Event updates.
21249
21250         * gst/gsttag.c:
21251         * gst/gsttag.h:
21252         Remove event code from this file.
21253
21254         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21255         (gst_dp_event_from_packet):
21256         Event updates.
21257
21258 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21259
21260         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21261         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21262         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21263           Make debugging actually useful.
21264
21265 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21266
21267         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21268         (gst_pad_fixate_caps):
21269           Implement default fixation once again, so that gst_pad_fixate()
21270           actually does anything at all. This probably needs to be some
21271           sort of a last resort, and use profile-based fixation first, but
21272           since that doesn't exist yet, this is the best we have. Fixes
21273           visualization in Totem.
21274
21275 2005-07-22  Wim Taymans  <wim@fluendo.com>
21276
21277         * docs/design/part-events.txt:
21278         Small update.
21279
21280         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21281         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21282         (gst_base_sink_activate_pull):
21283         Some more comments.
21284
21285         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21286         (gst_fake_src_create):
21287         Fix handoff marshall.
21288
21289         * gst/elements/gstidentity.c: (gst_identity_class_init),
21290         (gst_identity_transform_ip):
21291         We're a real inplace element.
21292
21293         * gst/gstbus.c: (gst_bus_post):
21294         Added some comments.
21295
21296         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21297         * tests/muxing/case1.c: (main):
21298         * tests/sched/dynamic-pipeline.c: (main):
21299         * tests/sched/interrupt1.c: (main):
21300         * tests/sched/interrupt2.c: (main):
21301         * tests/sched/interrupt3.c: (main):
21302         * tests/sched/runxml.c: (main):
21303         * tests/sched/sched-stress.c: (main):
21304         * tests/seeking/seeking1.c: (event_received), (main):
21305         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21306         (main):
21307         * tests/threadstate/threadstate3.c: (main):
21308         * tests/threadstate/threadstate4.c: (main):
21309         * tests/threadstate/threadstate5.c: (main):
21310         Fix the tests.
21311
21312 2005-07-21  Wim Taymans  <wim@fluendo.com>
21313
21314         * docs/design/part-seeking.txt:
21315         Some small additions.
21316
21317         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21318         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21319         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21320         * gst/base/gstbasesink.h:
21321         discont values are gint64, handle the math correctly.
21322
21323         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21324         Make the basesrc report error if the source pad is not linked.
21325
21326         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21327         (gst_queue_loop), (gst_queue_handle_src_query),
21328         (gst_queue_src_activate_push):
21329         Make queue collect data even if the srcpad is not linked.
21330         Start pushing out data as soon as it is linked.
21331
21332         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21333         * gst/gstutils.h:
21334         Added gst_flow_get_name() to ease error reporting.
21335
21336 2005-07-20  Wim Taymans  <wim@fluendo.com>
21337
21338         * gst/gstmessage.c: (gst_message_new_segment_start),
21339         (gst_message_new_segment_done), (gst_message_parse_segment_start),
21340         (gst_message_parse_segment_done):
21341         * gst/gstmessage.h:
21342         Added a bunch of messages for advanced seeking.
21343
21344         * gst/parse/grammar.y:
21345         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21346         (gst_dpman_state_changed):
21347         Fix some new-pad -> pad-added signals
21348
21349 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21350
21351         * docs/manual/appendix-porting.xml:
21352         * docs/pwg/appendix-porting.xml:
21353           Document new-pad/state-change signal renames and the FixedList
21354           type rename.
21355
21356 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21357
21358         * docs/manual/advanced-autoplugging.xml:
21359         * docs/manual/basics-helloworld.xml:
21360         * docs/manual/basics-pads.xml:
21361         * docs/random/ds/0.9-suggested-changes:
21362         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21363         * gst/gstelement.h:
21364         * gst/gstevent.h:
21365         * gst/gstformat.h:
21366         * gst/gstquery.h:
21367         * gst/gststructure.c: (gst_structure_value_get_generic_type),
21368         (gst_structure_parse_array), (gst_structure_parse_value):
21369         * gst/gstvalue.c: (gst_type_is_fixed),
21370         (gst_value_list_prepend_value), (gst_value_list_append_value),
21371         (gst_value_list_get_size), (gst_value_list_get_value),
21372         (gst_value_transform_array_string), (gst_value_serialize_array),
21373         (gst_value_deserialize_array), (gst_value_intersect_array),
21374         (gst_value_is_fixed), (_gst_value_initialize):
21375         * gst/gstvalue.h:
21376           GstElement::new-pad -> pad-added, GstElement::state-change ->
21377           state-changed, GstValueFixedList -> GstValueArray, add format and
21378           flags as their own arguments in gst_element_seek() (should improve
21379           "bindeability"), remove function generators since they don't work
21380           under a whole bunch of compilers (they were deprecated already
21381           anyway).
21382
21383 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21384
21385         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21386         (_gst_debug_register_funcptr):
21387         * gst/gstinfo.h:
21388           Fix illegal cast on some platforms (#309253).
21389
21390 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21391
21392         * gst/gstmessage.c: (gst_message_new_custom):
21393         * gst/gstmessage.h:
21394           Add _new_custom, make _new_application a macro to _new_custom.
21395
21396 2005-07-20  Wim Taymans  <wim@fluendo.com>
21397
21398         * gst/base/gstbasesrc.c: (gst_base_src_init),
21399         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21400         * gst/base/gstbasesrc.h:
21401         Add a gboolean to decide when to push out a discont.
21402
21403         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21404         (gst_queue_loop), (gst_queue_handle_src_query),
21405         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21406         (gst_queue_set_property), (gst_queue_get_property):
21407         Some cleanups.
21408
21409         * tests/threadstate/threadstate1.c: (main):
21410         Make a thread test compile and run... very silly..
21411
21412
21413 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21414
21415         * docs/manual/appendix-porting.xml:
21416           Mention removal of libgstgconf-0.9.la and existence of gconf
21417           elements.
21418
21419 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21420
21421         * docs/pwg/advanced-clock.xml:
21422         * docs/pwg/appendix-porting.xml:
21423         * docs/pwg/intro-preface.xml:
21424         * docs/pwg/other-base.xml:
21425         * docs/pwg/other-manager.xml:
21426         * docs/pwg/other-nton.xml:
21427         * docs/pwg/other-ntoone.xml:
21428         * docs/pwg/other-oneton.xml:
21429         * docs/pwg/pwg.xml:
21430           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21431           demuxer), remove n-to-n (was never written), fix some code examples
21432           and links and update the porting section to include all this.
21433
21434 2005-07-19  Wim Taymans  <wim@fluendo.com>
21435
21436         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21437         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21438         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21439         (gst_queue_src_activate_push), (gst_queue_change_state),
21440         (gst_queue_get_property):
21441         * gst/gstqueue.h:
21442         Propagate GstFlowReturn more intelligently upstream and output
21443         an ERROR/EOS when streaming stopped due to fatal error.
21444
21445 2005-07-19  Wim Taymans  <wim@fluendo.com>
21446
21447         * tools/gst-launch.c: (check_intr), (event_loop), (main):
21448         Don't block forever for the state change to complete, the
21449         pipeline already did with a sensible timeout.
21450
21451 2005-07-19  Wim Taymans  <wim@fluendo.com>
21452
21453         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21454         Make sure we never call the create function is we
21455         got deactivated.
21456
21457 2005-07-19  Andy Wingo  <wingo@pobox.com>
21458
21459         * gst/parse/parse.l: Attempt to solve bug #172815.
21460
21461 2005-07-19  Wim Taymans  <wim@fluendo.com>
21462
21463         * docs/design/part-clocks.txt:
21464         * docs/design/part-events.txt:
21465         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21466         Small docs updates.
21467         Only update the seeking values when we are not
21468         busy streaming.
21469
21470 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21471
21472         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21473           Oops, ignore the result of gst_pad_push_event here.
21474
21475 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21476
21477         * gst/base/gstbasesrc.c: (gst_base_src_loop),
21478         (gst_base_src_activate_push):
21479           Send discont event from the loop function, as pads
21480           aren't activated yet in the activate_push handler.
21481
21482         * gst/gstbin.c: (bin_bus_handler):
21483           Don't leak element name.
21484
21485 2005-07-18  Andy Wingo  <wingo@pobox.com>
21486
21487         * configure.ac: Use AS_LIBTOOL_TAGS.
21488
21489 2005-07-18  Wim Taymans  <wim@fluendo.com>
21490
21491         * docs/gst/gstreamer.types:
21492         Remove deleted types.
21493
21494 2005-07-18  Wim Taymans  <wim@fluendo.com>
21495
21496         * check/elements/gstfakesrc.c: (GST_START_TEST):
21497         * configure.ac:
21498         * gst/Makefile.am:
21499         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21500         (init_popt_callback):
21501         * gst/gst.h:
21502         * gst/gst_private.h:
21503         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21504         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21505         * gst/gstbin.h:
21506         * gst/gstbus.h:
21507         * gst/gstconfig.h.in:
21508         * gst/gstelement.c: (gst_element_class_init),
21509         (gst_element_set_base_time), (gst_element_get_base_time),
21510         (iterator_fold_with_resync), (gst_element_change_state),
21511         (gst_element_dispose), (gst_element_get_bus):
21512         * gst/gstelement.h:
21513         * gst/gstelementfactory.h:
21514         * gst/gsterror.c: (_gst_core_errors_init):
21515         * gst/gsterror.h:
21516         * gst/gstevent.h:
21517         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21518         * gst/gstindex.c:
21519         * gst/gstinfo.c: (_gst_debug_init):
21520         * gst/gstmessage.c: (_gst_message_copy):
21521         * gst/gstmessage.h:
21522         * gst/gstminiobject.h:
21523         * gst/gstobject.c:
21524         * gst/gstobject.h:
21525         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21526         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21527         * gst/gstpad.h:
21528         * gst/gstparse.h:
21529         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21530         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21531         (gst_pipeline_get_last_stream_time):
21532         * gst/gstpipeline.h:
21533         * gst/gstpluginfeature.h:
21534         * gst/gstquery.h:
21535         * gst/gstscheduler.c:
21536         * gst/gstscheduler.h:
21537         * gst/gststructure.h:
21538         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21539         (gst_task_finalize), (gst_task_func), (gst_task_create),
21540         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21541         (gst_task_stop), (gst_task_pause):
21542         * gst/gsttask.h:
21543         * gst/gsttypefind.h:
21544         * gst/gsttypes.h:
21545         * gst/registries/gstlibxmlregistry.c: (load_feature),
21546         (gst_xml_registry_load), (gst_xml_registry_save_feature):
21547         * gst/registries/gstxmlregistry.c:
21548         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21549         * gst/schedulers/threadscheduler.c:
21550         * libs/gst/control/dparammanager.h:
21551         * tools/gst-inspect.c: (print_element_list),
21552         (print_plugin_features), (print_element_features):
21553         * tools/gst-xmlinspect.c: (print_element_list),
21554         (print_plugin_info), (main):
21555         Removed plugable schedulers.
21556         Removed Scheduler/Manager from elements.
21557         Removed gsttypes.h, rearranged includes.
21558         Removed dependency pad<->element, element<>pipeline, and
21559         various others,  fix includes.
21560         implement gst_pad_get_parent() with gst_object_get_parent()
21561         Make GstTask sefcontained.
21562         Fix _get_state() on GstBin, it did not return ASYNC with a 0
21563         timeout.
21564         Fix endless loop in iterator_fold_with_resync.
21565
21566
21567 2005-07-18  Wim Taymans  <wim@fluendo.com>
21568
21569         * gst/Makefile.am:
21570         * gst/gstarch.h:
21571         Remove old file.
21572
21573 2005-07-18  Wim Taymans  <wim@fluendo.com>
21574
21575         * gst/Makefile.am:
21576         No more cothreads.h
21577
21578 2005-07-18  Wim Taymans  <wim@fluendo.com>
21579
21580         * gst/cothreads.c:
21581         * gst/cothreads.h:
21582         Let's remove these.
21583
21584 2005-07-18  Wim Taymans  <wim@fluendo.com>
21585
21586         * docs/design/part-dynamic.txt:
21587         * docs/design/part-events.txt:
21588         * docs/design/part-seeking.txt:
21589         Some more docs in the works.
21590
21591         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21592         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21593         (gst_base_transform_setcaps), (gst_base_transform_get_size),
21594         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21595         (gst_base_transform_handle_buffer),
21596         (gst_base_transform_sink_activate_push),
21597         (gst_base_transform_src_activate_pull),
21598         (gst_base_transform_set_passthrough),
21599         (gst_base_transform_is_passthrough):
21600         Refcounting fixes.
21601
21602         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21603         Cleanups.
21604
21605         * gst/gstevent.c: (gst_event_finalize):
21606         Set SRC to NULL.
21607
21608         * gst/gstutils.c: (gst_element_unlink),
21609         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21610         (gst_pad_proxy_setcaps):
21611         * gst/gstutils.h:
21612         Add _get_parent_element() to get a pads parent as an element.
21613
21614 2005-07-18  Wim Taymans  <wim@fluendo.com>
21615
21616         * check/gst/gstbin.c: (GST_START_TEST):
21617         Remove bogus test.
21618
21619 2005-07-18  Wim Taymans  <wim@fluendo.com>
21620
21621         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21622         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21623         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21624         (gst_base_sink_event), (gst_base_sink_do_sync),
21625         (gst_base_sink_chain), (gst_base_sink_loop),
21626         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21627         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21628         Refcounting fixes.
21629         Fix logic for returning ASYNC when not prerolled.
21630
21631 2005-07-18  Wim Taymans  <wim@fluendo.com>
21632
21633         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21634         Fix nasty refcount bug.
21635
21636 2005-07-16 Philippe Khalaf <burger@speedy.org>
21637
21638         * gst/elements/gstfdsrc.c:
21639         * gst/elements/gstfdsrc.h:
21640         * gst/elements/gstelements.c:
21641         * gst/elements/Makefile.am:
21642         Ported fdsrc to 0.9.
21643
21644 2005-07-16  Wim Taymans  <wim@fluendo.com>
21645
21646         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21647         (gst_base_sink_do_sync):
21648         Fix compile error.
21649
21650 2005-07-16  Wim Taymans  <wim@fluendo.com>
21651
21652         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21653         (gst_base_sink_event), (gst_base_sink_get_times),
21654         (gst_base_sink_do_sync), (gst_base_sink_change_state):
21655         * gst/base/gstbasesink.h:
21656         Store and use discont values when syncing buffers as described
21657         in design docs.
21658         
21659         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21660         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21661         (gst_base_src_activate_push):
21662         Push discont event when starting.
21663
21664         * gst/elements/gstidentity.c: (gst_identity_transform):
21665         Small cleanups.
21666
21667         * gst/gstbin.c: (gst_bin_change_state):
21668         Small cleanups in base_time  distribution.
21669
21670         * gst/gstelement.c: (gst_element_set_base_time),
21671         (gst_element_get_base_time), (gst_element_change_state):
21672         * gst/gstelement.h:
21673         Added methods for the base_time of the element.
21674         Some MT fixes.
21675
21676         * gst/gstpipeline.c: (gst_pipeline_send_event),
21677         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21678         (gst_pipeline_get_last_stream_time):
21679         * gst/gstpipeline.h:
21680         MT fixes.
21681         Handle seeking as described in design doc, remove stream_time
21682         hack.
21683         Cleanups clock and stream_time selection code. Added accessors
21684         for the stream_time.
21685         
21686
21687 2005-07-16  Andy Wingo  <wingo@pobox.com>
21688
21689         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
21690         (#305291).
21691
21692 2005-07-16  Wim Taymans  <wim@fluendo.com>
21693
21694         * check/gst/gstbin.c: (GST_START_TEST):
21695         Make elements silent as the deep_notify refs the
21696         parent, which might make the test fail.
21697
21698         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21699         Don't hold the lock for too long.
21700
21701 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
21702
21703         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21704           Don't unref the caps we passed to gst_caps_make_writable() after
21705           passing them. gst_caps_make_writable() will do that for us.
21706
21707 2005-07-15  Andy Wingo  <wingo@pobox.com>
21708
21709         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
21710         (#157311).
21711
21712         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
21713         own marshalling function for the handoff signal. Properly type the
21714         buffer as a buffer. Fixes some warnings. Should do a more general
21715         solution.
21716         (gst_identity_class_init): Plug into the right marshaller.
21717
21718 2005-07-15  Wim Taymans  <wim@fluendo.com>
21719
21720         * docs/design/part-TODO.txt:
21721         * docs/design/part-clocks.txt:
21722         * docs/design/part-element-sink.txt:
21723         * docs/design/part-events.txt:
21724         * docs/design/part-gstpipeline.txt:
21725         Updated docs, mostly DISCONT related.
21726
21727 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
21728
21729         * docs/pwg/building-pads.xml:
21730           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
21731
21732 2005-07-15  Andy Wingo  <wingo@pobox.com>
21733
21734         * tools/gst-typefind.c: Update, add copyright block.
21735
21736         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
21737         Normalize and truncate caps before fixation.
21738
21739         * gst/gstcaps.h:
21740         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
21741         discards all but the first structure from its argument.
21742
21743 2005-07-15  Wim Taymans  <wim@fluendo.com>
21744
21745         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21746         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
21747         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21748         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21749         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
21750         (gst_base_transform_chain), (gst_base_transform_change_state),
21751         (gst_base_transform_set_passthrough),
21752         (gst_base_transform_is_passthrough):
21753         * gst/base/gstbasetransform.h:
21754         Make passthrough work using the bufferpools.
21755         Changed API a bit, subclasses have to write into a buffer
21756         provided by the base class.
21757         More debug info in nego functions.
21758         
21759         * gst/elements/gstidentity.c: (gst_identity_init),
21760         (gst_identity_transform):
21761         Port to new base class.
21762
21763 2005-07-15  Wim Taymans  <wim@fluendo.com>
21764
21765         * gst/gstmessage.c: (gst_message_new_state_changed):
21766         * tools/gst-launch.c: (event_loop), (main):
21767         Totally dump messages in -launch with the -m option.
21768         Fix message name for State messages,
21769
21770 2005-07-14  Wim Taymans  <wim@fluendo.com>
21771
21772         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21773         Post error messages on errors.
21774
21775 2005-07-14  Wim Taymans  <wim@fluendo.com>
21776
21777         * gst/gstcaps.c: (gst_caps_do_simplify):
21778         Remove debug info.
21779
21780         * gst/gsterror.h:
21781         Define error for stream stopped.
21782
21783         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21784         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
21785         Do proper return values.
21786
21787         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21788         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
21789         (gst_pad_get_range):
21790         Better return values.
21791
21792         * gst/gstpad.h:
21793         Reorganise return values, add macro to check for fatal errors.
21794
21795         * gst/gstqueue.c: (gst_queue_chain):
21796         Return proper GstFlowReturn values,
21797
21798 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21799
21800         * docs/gst/gstreamer-sections.txt:
21801         * docs/gst/gstreamer.types:
21802         * docs/gst/tmpl/gst.sgml:
21803         * docs/gst/tmpl/gstbasesink.sgml:
21804         * docs/gst/tmpl/gstbasesrc.sgml:
21805         * docs/gst/tmpl/gstbasetransform.sgml:
21806         * docs/gst/tmpl/gstbin.sgml:
21807         * docs/gst/tmpl/gstbuffer.sgml:
21808         * docs/gst/tmpl/gstcaps.sgml:
21809         * docs/gst/tmpl/gstclock.sgml:
21810         * docs/gst/tmpl/gstcompat.sgml:
21811         * docs/gst/tmpl/gstconfig.sgml:
21812         * docs/gst/tmpl/gstelement.sgml:
21813         * docs/gst/tmpl/gstelementdetails.sgml:
21814         * docs/gst/tmpl/gstelementfactory.sgml:
21815         * docs/gst/tmpl/gstenumtypes.sgml:
21816         * docs/gst/tmpl/gsterror.sgml:
21817         * docs/gst/tmpl/gstevent.sgml:
21818         * docs/gst/tmpl/gstfakesink.sgml:
21819         * docs/gst/tmpl/gstfakesrc.sgml:
21820         * docs/gst/tmpl/gstfilesink.sgml:
21821         * docs/gst/tmpl/gstfilesrc.sgml:
21822         * docs/gst/tmpl/gstfilter.sgml:
21823         * docs/gst/tmpl/gstformat.sgml:
21824         * docs/gst/tmpl/gstghostpad.sgml:
21825         * docs/gst/tmpl/gstimplementsinterface.sgml:
21826         * docs/gst/tmpl/gstindex.sgml:
21827         * docs/gst/tmpl/gstindexfactory.sgml:
21828         * docs/gst/tmpl/gstinfo.sgml:
21829         * docs/gst/tmpl/gstiterator.sgml:
21830         * docs/gst/tmpl/gstmacros.sgml:
21831         * docs/gst/tmpl/gstmemchunk.sgml:
21832         * docs/gst/tmpl/gstminiobject.sgml:
21833         * docs/gst/tmpl/gstobject.sgml:
21834         * docs/gst/tmpl/gstpad.sgml:
21835         * docs/gst/tmpl/gstpadtemplate.sgml:
21836         * docs/gst/tmpl/gstparse.sgml:
21837         * docs/gst/tmpl/gstpipeline.sgml:
21838         * docs/gst/tmpl/gstplugin.sgml:
21839         * docs/gst/tmpl/gstpluginfeature.sgml:
21840         * docs/gst/tmpl/gstquery.sgml:
21841         * docs/gst/tmpl/gstqueue.sgml:
21842         * docs/gst/tmpl/gstregistry.sgml:
21843         * docs/gst/tmpl/gstregistrypool.sgml:
21844         * docs/gst/tmpl/gstscheduler.sgml:
21845         * docs/gst/tmpl/gstschedulerfactory.sgml:
21846         * docs/gst/tmpl/gststructure.sgml:
21847         * docs/gst/tmpl/gstsystemclock.sgml:
21848         * docs/gst/tmpl/gsttaglist.sgml:
21849         * docs/gst/tmpl/gsttagsetter.sgml:
21850         * docs/gst/tmpl/gsttrace.sgml:
21851         * docs/gst/tmpl/gsttrashstack.sgml:
21852         * docs/gst/tmpl/gsttypefind.sgml:
21853         * docs/gst/tmpl/gsttypefindfactory.sgml:
21854         * docs/gst/tmpl/gsttypes.sgml:
21855         * docs/gst/tmpl/gsturihandler.sgml:
21856         * docs/gst/tmpl/gsturitype.sgml:
21857         * docs/gst/tmpl/gstutils.sgml:
21858         * docs/gst/tmpl/gstvalue.sgml:
21859         * docs/gst/tmpl/gstversion.sgml:
21860         * docs/gst/tmpl/gstxml.sgml:
21861         * docs/libs/tmpl/gstcontrol.sgml:
21862         * docs/libs/tmpl/gstdataprotocol.sgml:
21863         * docs/libs/tmpl/gstdparam.sgml:
21864         * docs/libs/tmpl/gstdplinint.sgml:
21865         * docs/libs/tmpl/gstdpman.sgml:
21866         * docs/libs/tmpl/gstdpsmooth.sgml:
21867         * docs/libs/tmpl/gstgetbits.sgml:
21868         * docs/libs/tmpl/gstunitconvert.sgml:
21869         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21870         (gst_push_src_base_init), (gst_push_src_class_init),
21871         (gst_push_src_init), (gst_push_src_create):
21872         * gst/base/gstpushsrc.h:
21873         * gst/elements/gstelements.c:
21874         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21875         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21876         (gst_fake_sink_init), (gst_fake_sink_set_property),
21877         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21878         (gst_fake_sink_event), (gst_fake_sink_preroll),
21879         (gst_fake_sink_render), (gst_fake_sink_change_state):
21880         * gst/elements/gstfakesink.h:
21881         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21882         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21883         (gst_fake_src_base_init), (gst_fake_src_class_init),
21884         (gst_fake_src_init), (gst_fake_src_event_handler),
21885         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21886         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21887         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21888         (gst_fake_src_create_buffer), (gst_fake_src_create),
21889         (gst_fake_src_start), (gst_fake_src_stop):
21890         * gst/elements/gstfakesrc.h:
21891         * gst/elements/gstfilesink.c: (_do_init),
21892         (gst_file_sink_base_init), (gst_file_sink_class_init),
21893         (gst_file_sink_init), (gst_file_sink_dispose),
21894         (gst_file_sink_set_location), (gst_file_sink_set_property),
21895         (gst_file_sink_get_property), (gst_file_sink_open_file),
21896         (gst_file_sink_close_file), (gst_file_sink_query),
21897         (gst_file_sink_event), (gst_file_sink_render),
21898         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21899         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21900         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21901         * gst/elements/gstfilesink.h:
21902         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21903         (gst_file_src_class_init), (gst_file_src_init),
21904         (gst_file_src_finalize), (gst_file_src_set_location),
21905         (gst_file_src_set_property), (gst_file_src_get_property),
21906         (gst_file_src_map_region), (gst_file_src_map_small_region),
21907         (gst_file_src_create_mmap), (gst_file_src_create_read),
21908         (gst_file_src_create), (gst_file_src_is_seekable),
21909         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21910         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21911         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21912         (gst_file_src_uri_handler_init):
21913         * gst/elements/gstfilesrc.h:
21914           more autistic cleanliness in functions/names/defines
21915
21916 2005-07-13  Andy Wingo  <wingo@pobox.com>
21917
21918         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21919         source couldn't negotiate.
21920
21921         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21922         connections again.
21923
21924         * gst/gstutils.h:
21925         * gst/gstutils.c (gst_element_link_pads_filtered): New old
21926         function. I am channeling Hades. Put your boots on suckers!!!
21927
21928 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21929
21930         * testsuite/caps/Makefile.am:
21931         * testsuite/caps/value_compare.c:
21932         * testsuite/caps/value_intersect.c:
21933         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21934           move two testsuite apps over to the check dir
21935
21936 2005-07-12  Wim Taymans  <wim@fluendo.com>
21937
21938         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21939         Added more debug info in the negotiate process.
21940
21941         * gst/gstmessage.h:
21942         Prepare for segment playback.
21943
21944         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21945         Better debugging.
21946
21947         * gst/gstutils.c:
21948         Some more docs.
21949
21950         * tools/gst-launch.c: (main):
21951         NULL pipeline on errors.
21952
21953 2005-07-12  Andy Wingo  <wingo@pobox.com>
21954
21955         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21956         not it comes from a malloc region. Make sure our copy gets freed.
21957
21958 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21959
21960         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21961         * check/gst/gstmessage.c: (GST_START_TEST):
21962         * check/gst/gststructure.c: (GST_START_TEST),
21963         (gst_structure_suite), (main):
21964           more testing
21965         * gst/gstelement.c: (gst_element_message_full):
21966           clean up GError and debug string now that they get copied
21967         * gst/gstmessage.c: (gst_message_new_error),
21968         (gst_message_new_warning), (gst_message_parse_error),
21969         (gst_message_parse_warning):
21970           use GST_TYPE_G_ERROR for structure_new, and take copies of
21971           arguments, so that we don't mess up refcounting
21972
21973 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21974
21975         * check/Makefile.am:
21976           add per-test valgrind targets
21977         * check/gst-libs/gdp.c: (GST_START_TEST),
21978         (gst_data_protocol_suite), (main):
21979           clean up
21980
21981 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21982
21983         * check/Makefile.am:
21984           instate more valgrindable tests
21985         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21986         (GST_START_TEST), (fakesrc_suite):
21987         * check/gst/gstpad.c: (GST_START_TEST):
21988         * check/gst/gststructure.c: (GST_START_TEST):
21989           fix test leaks
21990         * docs/gst/tmpl/gstminiobject.sgml:
21991         * gst/gstpad.c: (gst_pad_finalize):
21992           fix the static mutex leak
21993
21994 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21995
21996         * check/Makefile.am:
21997           add two more tests for valgrinding
21998         * check/gst/gstvalue.c: (GST_START_TEST):
21999           test refcount of deserialized buffer, found a leak
22000         * docs/gst/gstreamer-docs.sgml:
22001         * docs/gst/gstreamer-sections.txt:
22002         * docs/gst/gstreamer.types:
22003         * docs/gst/tmpl/gstminiobject.sgml:
22004           add miniobject to docs
22005         * gst/gstminiobject.c:
22006           add some docs
22007         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22008         (gst_string_unwrap):
22009           fix a hard-to-find invalid write for one of the tests
22010           fix a leak for deserialized buffers
22011
22012 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22013
22014         * docs/pwg/advanced-events.xml:
22015         * docs/pwg/advanced-request.xml:
22016         * docs/pwg/advanced-scheduling.xml:
22017         * docs/pwg/appendix-porting.xml:
22018         * docs/pwg/building-boiler.xml:
22019         * docs/pwg/intro-preface.xml:
22020         * docs/pwg/other-ntoone.xml:
22021           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22022           of example code and explanation for pad activation, loop() and
22023           getrange() functions and a bit more. Remove old comments pointing
22024           to loop-functions.
22025         * examples/pwg/Makefile.am:
22026           Add loop/getrange examples.
22027
22028 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22029
22030         * configure.ac:
22031           check for valgrind binary + some fixes
22032         * check/gst.supp:
22033           valgrind suppressions for the tests
22034         * check/Makefile.am:
22035           add a valgrind: target that valgrinds the unit tests
22036         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22037         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22038         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22039         * check/gst/gstghostpad.c:
22040           added some cleanup
22041         * check/gst/gstdata.c:
22042           removed
22043         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22044         (thread_unref), (gst_mini_object_suite), (main):
22045           added
22046         * gst/gst.c: (gst_deinit):
22047         * gst/gst.h:
22048           add a method to clean up.
22049         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22050         (gst_system_clock_obtain):
22051           allow for disposing the system clock.
22052         * tools/gst-launch.c: (main):
22053           deinit
22054
22055 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22056
22057         * docs/gst/tmpl/gstbasesrc.sgml:
22058         * docs/gst/tmpl/gstfakesrc.sgml:
22059         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22060         (gst_base_src_init), (gst_base_src_set_property),
22061         (gst_base_src_get_property), (gst_base_src_get_range),
22062         (gst_base_src_start):
22063         * gst/base/gstbasesrc.h:
22064           add num-buffers property
22065         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22066         (gst_fakesrc_init), (gst_fakesrc_set_property),
22067         (gst_fakesrc_get_property), (gst_fakesrc_create),
22068         (gst_fakesrc_start):
22069           remove num-buffers property
22070
22071 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22072
22073         * docs/gst/gstreamer-sections.txt:
22074         * docs/gst/tmpl/gstbasesink.sgml:
22075         * docs/gst/tmpl/gstbasesrc.sgml:
22076         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22077         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22078         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22079         (gst_base_sink_set_property), (gst_base_sink_get_property),
22080         (gst_base_sink_handle_object), (gst_base_sink_event),
22081         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22082         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22083         (gst_base_sink_loop), (gst_base_sink_deactivate),
22084         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22085         (gst_base_sink_change_state):
22086         * gst/base/gstbasesink.h:
22087         * gst/base/gstbasesrc.h:
22088         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22089         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22090         (gst_filesink_init):
22091           more macro splitting
22092
22093 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22094
22095         * gst/gstelement.c: (gst_element_get_bus):
22096           add debug
22097         * tools/gst-launch.c: (check_intr), (event_loop):
22098           fix bus leaks
22099
22100 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22101
22102         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22103           fix a caps leak
22104
22105 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22106
22107         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22108         (gst_base_src_finalize):
22109           add finalize method and clean up properly
22110         * gst/gstpipeline.c: (gst_pipeline_dispose):
22111           add debug
22112
22113 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22114
22115         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22116         (gst_bin_suite):
22117           add more things to check
22118         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22119         * gst/gstelement.c:
22120           more debug
22121
22122 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22123
22124         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22125         (GST_START_TEST), (fakesrc_suite):
22126         * check/gst-libs/gdp.c: (GST_START_TEST):
22127         * check/gst/gst.c: (GST_START_TEST):
22128         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22129         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22130         * check/gst/gstbus.c: (GST_START_TEST):
22131         * check/gst/gstcaps.c: (GST_START_TEST):
22132         * check/gst/gstdata.c: (GST_START_TEST):
22133         * check/gst/gstelement.c: (GST_START_TEST):
22134         * check/gst/gstghostpad.c: (GST_START_TEST):
22135         * check/gst/gstiterator.c: (GST_START_TEST):
22136         * check/gst/gstmessage.c: (GST_START_TEST):
22137         * check/gst/gstobject.c: (GST_START_TEST):
22138         * check/gst/gstpad.c: (GST_START_TEST):
22139         * check/gst/gststructure.c: (GST_START_TEST):
22140         * check/gst/gstsystemclock.c: (GST_START_TEST),
22141         (gst_systemclock_suite):
22142         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22143         * check/gst/gstvalue.c: (GST_START_TEST):
22144         * check/pipelines/cleanup.c: (GST_START_TEST):
22145         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22146         * check/states/sinks.c: (GST_START_TEST):
22147         * check/gstcheck.c: (gst_check_init):
22148         * check/gstcheck.h:
22149           add debugging category
22150           use GST_START_TEST now, so we add a debug line
22151
22152 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22153
22154         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22155           add test for state change message on a bin
22156         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22157           add another test
22158         * gst/gstbin.c: (gst_bin_init):
22159         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22160         * gst/gstelement.c: (gst_element_post_message),
22161         (gst_element_set_state):
22162         * gst/gstelementfactory.c: (gst_element_factory_create):
22163         * gst/gstmessage.c: (gst_message_new):
22164         * gst/gstscheduler.c:
22165           various debugging additions and cleanups
22166
22167 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22168
22169         * check/Makefile.am:
22170         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22171         (main):
22172           adding tests for elements
22173         * gst/gstelement.c: (gst_element_dispose):
22174
22175 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22176
22177         * gst/registries/gstlibxmlregistry.c: (load_feature):
22178           plug more leaks.  A simple gst_init() now is leakfree, yay.
22179
22180 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22181
22182         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22183         (gst_xml_registry_load):
22184           plug another memleak
22185
22186 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22187
22188         * configure.ac:
22189           use GST_SET_ERROR_CFLAGS
22190         * docs/faq/cvs.xml:
22191           change to ERROR_CFLAGS
22192
22193 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22194
22195         * configure.ac:
22196           make GST_ERROR_CFLAGS overridable and re-enable Werror
22197         * docs/faq/cvs.xml:
22198           add a note about error CFLAGS
22199         * docs/gst/tmpl/gstfakesrc.sgml:
22200         * gst/elements/gstfakesrc.c:
22201           comment out some unused code
22202         * gst/gst.c: (split_and_iterate):
22203         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22204         (load_feature):
22205           plug some memleaks
22206
22207 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22208
22209         * common/Makefile.am:
22210         * common/gtk-doc.mak:
22211         * docs/gst/Makefile.am:
22212           factor out gtk-doc.mak
22213
22214 2005-07-07  Wim Taymans  <wim@fluendo.com>
22215
22216         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22217         (gst_thread_scheduler_dispose):
22218         Unlock the STREAM_LOCK completely.
22219
22220 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22221
22222         * check/Makefile.am:
22223         * check/elements/.cvsignore:
22224         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22225         (START_TEST), (fakesrc_suite), (main):
22226         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22227         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22228         (gst_fakesrc_create), (gst_fakesrc_start):
22229         * gst/elements/gstfakesrc.h:
22230           adding a first element test
22231
22232 2005-07-07  Andy Wingo  <wingo@pobox.com>
22233
22234         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22235         debug message.
22236
22237 2005-07-07  Wim Taymans  <wim@fluendo.com>
22238
22239         * gst/gstquery.c:
22240         * gst/gstquery.h:
22241         Remove old types
22242
22243 2005-07-07  Wim Taymans  <wim@fluendo.com>
22244
22245         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22246         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22247         Allow subclasses to implement their own negotiation.
22248
22249 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22250
22251         * docs/design/part-gstbin.txt:
22252         * docs/design/part-gstpipeline.txt:
22253           Update design notes to reflect the movement of
22254           responsibility for bus handling from GstPipeline to
22255           GstBin
22256
22257 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22258
22259         * configure.ac:
22260           Remove unnecessary queue2/3/4 examples.
22261
22262 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22263
22264         * examples/Makefile.am:
22265         * examples/helloworld/helloworld.c: (event_loop), (main):
22266         * examples/queue/queue.c: (event_loop), (main):
22267         * examples/queue2/queue2.c: (main):
22268           Update a couple of the examples to work again.
22269
22270         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22271         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22272          Spelling corrections and extra debug.
22273         
22274         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22275         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22276         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22277         * gst/gstbin.h:
22278         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22279         (gst_pipeline_change_state):
22280         * gst/gstpipeline.h:
22281           Move the bus handler for children to the GstBin, and create a
22282           separate bus for receiving messages from children to the one the
22283           bus sends 'upwards' on.
22284
22285 2005-07-06  Wim Taymans  <wim@fluendo.com>
22286
22287         * gst/base/README:
22288         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22289         (gst_base_sink_handle_object), (gst_base_sink_loop),
22290         (gst_base_sink_change_state):
22291         * gst/base/gstbasesink.h:
22292         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22293         (gst_base_src_init), (gst_base_src_setcaps),
22294         (gst_base_src_getcaps), (gst_base_src_loop),
22295         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22296         (gst_base_src_start), (gst_base_src_change_state):
22297         * gst/base/gstbasesrc.h:
22298         Make basesrc negotiate.
22299         Handle the case where preroll fails in basesink.
22300         Update README.
22301
22302 2005-07-06  Wim Taymans  <wim@fluendo.com>
22303
22304         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22305         Implement the fixate function.
22306         Clean up acceptcaps.
22307
22308 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22309
22310         * docs/pwg/building-filterfactory.xml:
22311         * docs/pwg/pwg.xml:
22312           Remove never-written filter-factory chapter; I'll add the various
22313           base classes to part 4 ("other element types") later on.
22314
22315 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22316
22317         * docs/pwg/advanced-negotiation.xml:
22318         * docs/pwg/building-boiler.xml:
22319         * docs/pwg/building-pads.xml:
22320         * docs/pwg/pwg.xml:
22321         * examples/pwg/Makefile.am:
22322           Add a chapter on caps negotiation, simplify the original code
22323           samples a bit w.r.t. caps negotiation, add link to the advanced
22324           section. Add a bunch of examples showing different use cases of
22325           different types of caps negotiation. Upstream renegotiation isn't
22326           fully documented yet since nobody knows how that works.
22327
22328 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22329
22330         * check/gst/gstpad.c:
22331         * check/gstcheck.c:
22332         * gst/gstpad.c: (gst_pad_get_internal_links_default):
22333           if pad has no parent, return NULL as list of internal links
22334
22335 2005-07-05  Andy Wingo  <wingo@pobox.com>
22336
22337         * gst/elements/gstfilesrc.c:
22338         * gst/elements/gstfakesrc.c: 
22339         * gst/base/gstpushsrc.c:
22340         * gst/base/gstbasesrc.h: 
22341         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22342         
22343 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
22344
22345         * Makefile.am:
22346           better report generation target (lcov needs a patch)
22347
22348 2005-07-05  Andy Wingo  <wingo@pobox.com>
22349
22350         * gst/elements, testsuite: Null if we got it...
22351
22352 2005-07-05  Wim Taymans  <wim@fluendo.com>
22353
22354         * configure.ac:
22355         * libs/gst/dataprotocol/Makefile.am:
22356         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22357         * libs/gst/dataprotocol/dataprotocol.h:
22358         * pkgconfig/Makefile.am:
22359         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22360         * pkgconfig/gstreamer-dataprotocol.pc.in:
22361         Ported dataprotol to 0.9. 
22362         Added pkgconfig files.
22363
22364 2005-07-05  Andy Wingo  <wingo@pobox.com>
22365
22366         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22367         Default to returning TRUE for the case when tranform_caps returns
22368         a fixed caps, like for identity or volume.
22369
22370         * check/gst/gstbus.c (pound_bus_with_messages): 
22371         * check/gst/gstmessage.c (START_TEST): 
22372         * check/pipelines/simple_launch_lines.c (got_handoff): Application
22373         message API change.
22374
22375         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22376         logic weaks here: always run transform_caps, trying passthrough
22377         operation only if the original caps intersects with the transform.
22378
22379         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22380         source and sink caps.
22381
22382         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22383         Intersect the peer caps with the pad template before going into
22384         transform_caps.
22385         (gst_base_transform_transform_caps): More debugging.
22386
22387         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22388         src argument.
22389
22390 2005-07-04  Edward Hervey  <edward@fluendo.com>
22391
22392         * gst/gstutils.c:
22393         * gst/gstutils.h:
22394         (gst_pad_add_*_probe): now returns the signal id for better wrapping
22395         in bindings.
22396
22397 2005-07-04  Andy Wingo  <wingo@pobox.com>
22398
22399         * check/gst/gstpad.c: Only set explicit caps on pads.
22400
22401 2005-07-01  Andy Wingo  <wingo@pobox.com>
22402
22403         * tests/network-clock.scm: Commentary update.
22404
22405         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22406         Didn't really make sense, not implementable with basetransform,
22407         etc.
22408         (gst_identity_transform): Unref inbuf via make_writable. Feeble
22409         attempt at implementing the sync property, needs an unlock method.
22410
22411         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22412         New func, by default returns the same caps (the identity
22413         transformation).
22414         (gst_base_transform_getcaps): Uses transform_caps to return
22415         something sensible.
22416         (gst_base_transform_setcaps): Complicated logic to get caps on
22417         both pads, even if they are different, and to call set_caps once
22418         for every time both pads get their caps set.
22419         (gst_base_transform_handle_buffer): Give the ref to the transform
22420         function. Allows in-place modification of the buffer.
22421
22422         * gst/base/gstbasetransform.h (transform_caps): New class method.
22423         Given caps on one side, what can I do on the other.
22424         (set_caps): Take two caps, one for each side of the element.
22425
22426         * gst/gstpad.h:
22427         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22428         caps in place. This is safe because we can check the mutability of
22429         the caps, and a good idea because fixate functions are just called
22430         as a matter of last resort. (Not actually implemented.)
22431         (gst_pad_set_caps): If the caps we're setting is actually the same
22432         as the existing pad caps, just update the pointer without calling
22433         setcaps. Assert that caps is either NULL or fixed, as per the
22434         docs.
22435
22436         * gst/gstghostpad.c: Update for fixate changes.
22437
22438 2005-07-02  Andy Wingo  <wingo@pobox.com>
22439
22440         * gst/gstcaps.c:
22441         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22442         two refcounts makes it immutable, which is enough. Doc more.
22443
22444 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
22445
22446         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22447           Put the mini_object into GValue as a mini_object,
22448           not a gpointer, since that's how we declared
22449           the signal.
22450
22451 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22452
22453         * examples/pwg/Makefile.am:
22454           Fix buildbot again.
22455
22456 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22457
22458         * docs/pwg/building-testapp.xml:
22459           Add extra check.
22460         * examples/pwg/Makefile.am:
22461           Fix buildbot.
22462
22463 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22464
22465         * configure.ac:
22466         * examples/Makefile.am:
22467         * examples/pwg/Makefile.am:
22468         * examples/pwg/extract.pl:
22469           Enable building the PWG examples.
22470         * docs/pwg/advanced-interfaces.xml:
22471           Add URI interface stub.
22472         * docs/pwg/advanced-types.xml:
22473         * docs/pwg/other-autoplugger.xml:
22474         * docs/pwg/appendix-porting.xml:
22475         * docs/pwg/pwg.xml:
22476           Add porting guide (mostly stubs), remove autoplugging (see ADM).
22477         * docs/pwg/building-boiler.xml:
22478         * docs/pwg/building-chainfn.xml:
22479         * docs/pwg/building-pads.xml:
22480         * docs/pwg/building-props.xml:
22481         * docs/pwg/building-state.xml:
22482         * docs/pwg/building-testapp.xml:
22483           Update the building-*.xml parts for 0.9 changes. All examples
22484           code blocks compile in examples/pwg/*.
22485
22486 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22487
22488         * docs/manual/advanced-autoplugging.xml:
22489         * docs/manual/appendix-checklist.xml:
22490         * docs/manual/appendix-integration.xml:
22491         * docs/manual/highlevel-components.xml:
22492           Fix playbin/decodebin examples, update docs a bit, mention bus
22493           instead of signals in various places, mention kmplayer and
22494           kaffeine since they have a working GStreamer backend in the KDE
22495           section.
22496
22497 2005-06-30  Wim Taymans  <wim@fluendo.com>
22498
22499         * CHANGES-0.9:
22500         * docs/design/draft-ghostpads.txt:
22501         * docs/design/draft-push-pull.txt:
22502         * docs/design/draft-query.txt:
22503         * docs/design/part-TODO.txt:
22504         * docs/design/part-query.txt:
22505         Added CHANGES-0.9 doc, updated status of other docs.
22506         
22507         * gst/gstquery.h:
22508         Remove "hmm" macro
22509
22510 2005-06-30  Wim Taymans  <wim@fluendo.com>
22511
22512         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22513         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22514         (gst_base_sink_change_state):
22515         * gst/base/gstbasesink.h:
22516         Some tweaks, only EOS and a buffer complete a preroll.
22517
22518 2005-06-30  Andy Wingo  <wingo@pobox.com>
22519
22520         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22521         activate_push down to the internal pad as well.
22522
22523 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
22524
22525         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22526
22527         * gst/gsttaginterface.c:
22528           Some documentation fixes (#307394 and #307397).
22529
22530 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
22531
22532         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22533
22534         * gst/gstvalue.c: (gst_value_intersect_list):
22535           Fix memleak (#309125).
22536
22537 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22538
22539         * docs/manual/advanced-dataaccess.xml:
22540           Fix fakesrc example to compile; doesn't work, bug somewhere...?
22541         * docs/manual/basics-pads.xml:
22542           Add reference for filtered caps to above chapter.
22543
22544 2005-06-30  Wim Taymans  <wim@fluendo.com>
22545
22546         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22547         (gst_bin_change_state):
22548         Probes are gone.
22549         Lame attempt at making the state change function a bit
22550         more readable.
22551
22552 2005-06-30  Wim Taymans  <wim@fluendo.com>
22553
22554         * docs/design/part-clocks.txt:
22555         * docs/design/part-element-sink.txt:
22556         * docs/design/part-events.txt:
22557         * docs/design/part-preroll.txt:
22558         * docs/design/part-states.txt:
22559         Some more tweeks and additions to the docs.
22560
22561 2005-06-30  Wim Taymans  <wim@fluendo.com>
22562
22563         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22564         (default_have_data), (gst_pad_class_init), (gst_pad_init),
22565         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22566         (gst_pad_check_pull_range), (gst_pad_get_range),
22567         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22568         * gst/gstpad.h:
22569         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22570         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22571         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22572         (gst_pad_remove_buffer_probe):
22573         Removed atomic operations, use existing LOCK.
22574         Move exception handling out of main code path.
22575
22576 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22577
22578         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22579         (silly_return_true_function), (gst_pad_class_init),
22580         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22581         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22582         (gst_pad_send_event):
22583           Fix accumulator, add default value by using _emitv() instead
22584           of _emit() for signal emission.
22585
22586 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22587
22588         * docs/manual/advanced-dataaccess.xml:
22589         * examples/manual/Makefile.am:
22590           Add probe example.
22591         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22592           Make work (??).
22593
22594 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
22595
22596         * gst/elements/gstfilesink.c: (gst_filesink_render):
22597           Simplify code so that we don't have to handle short
22598           writes and return GST_FLOW_ERROR if an error occured.
22599
22600 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22601
22602         * docs/gst/gstreamer-docs.sgml:
22603           Remove probes more.
22604
22605 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22606
22607         * docs/gst/gstreamer-sections.txt:
22608         * docs/gst/tmpl/gstpad.sgml:
22609         * docs/gst/tmpl/gstprobe.sgml:
22610         * gst/Makefile.am:
22611         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22612         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22613         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22614         (gst_pad_push_event), (gst_pad_send_event):
22615         * gst/gstpad.h:
22616         * gst/gstutils.c: (gst_pad_add_data_probe),
22617         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22618         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22619         (gst_pad_remove_buffer_probe):
22620         * gst/gstutils.h:
22621           Remove old probes, add new g-signal-based probes and some utility
22622           functions.
22623
22624 2005-06-29  Edward Hervey  <edward@fluendo.com>
22625
22626         * gst/gstelementfactory.c:
22627         * gst/gstutils.h:
22628         * gst/gstutils.c:
22629         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22630         the definition to the header file.
22631
22632 2005-06-29  Andy Wingo  <wingo@pobox.com>
22633
22634         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22635         plugins from the source directory.
22636
22637 2005-06-29  Wim Taymans  <wim@fluendo.com>
22638
22639         * docs/gst/tmpl/gstbuffer.sgml:
22640         * docs/gst/tmpl/gstclock.sgml:
22641         Some fixings for blantently wrong text.
22642
22643 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22644
22645         * check/Makefile.am:
22646         * gst/gst.c: (add_path_func), (init_pre):
22647         * gst/gstregistry.c: (gst_registry_add_path):
22648           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22649           only scan the GST_PLUGIN_PATH locations, and not add
22650           system locations
22651
22652 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22653
22654         * docs/gst/gstreamer-sections.txt:
22655         * docs/gst/tmpl/gstbasesrc.sgml:
22656         * gst/gstelement.c:
22657         * gst/gstelement.h:
22658         * gst/gstevent.c:
22659         * gst/gstutils.c:
22660           doc fixes
22661
22662 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22663
22664         * docs/manual/advanced-autoplugging.xml:
22665           Fix autoplugging example.
22666
22667 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22668
22669         * docs/manual/advanced-autoplugging.xml:
22670         * docs/manual/mime-world.fig:
22671           Try to get autoplugging working, fix type detection. Fix text
22672           in hello-world image.
22673
22674 2005-06-29  Wim Taymans  <wim@fluendo.com>
22675
22676         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22677         (gst_base_sink_change_state):
22678         Small debug line.
22679
22680         * gst/gstclock.h:
22681         map SIGNAL and BROADCAST to the right function.
22682
22683         * gst/gstobject.h:
22684         Remove redundant braces.
22685
22686         * gst/gstpad.c: (gst_pad_set_caps):
22687         Don't call setcaps function when reseting caps to NULL.
22688
22689         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22690         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
22691         (gst_system_clock_id_unschedule):
22692         Use BROADCAST as this is what we do.
22693
22694 2005-06-29  Wim Taymans  <wim@fluendo.com>
22695
22696         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22697         We are actually prerolling before commiting the state
22698         change. 
22699
22700 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22701
22702         * docs/manual/advanced-clocks.xml:
22703         * docs/manual/advanced-interfaces.xml:
22704         * docs/manual/advanced-metadata.xml:
22705         * docs/manual/advanced-position.xml:
22706         * docs/manual/advanced-schedulers.xml:
22707         * docs/manual/advanced-threads.xml:
22708         * docs/manual/appendix-porting.xml:
22709         * docs/manual/basics-bins.xml:
22710         * docs/manual/basics-bus.xml:
22711         * docs/manual/basics-elements.xml:
22712         * docs/manual/basics-helloworld.xml:
22713         * docs/manual/basics-pads.xml:
22714         * docs/manual/highlevel-components.xml:
22715         * docs/manual/manual.xml:
22716         * docs/manual/thread.fig:
22717           Update (until threads/scheduling) Application Development Manual;
22718           remove GstThread, add GstBus, add simple porting checklist, add
22719           documentation for tag writing, clocks, make all examples until this
22720           part compile and run.
22721         * examples/manual/Makefile.am:
22722           Update from changes to Application Development Manual; add bus
22723           example, remove thread example.
22724
22725 2005-06-28  Wim Taymans  <wim@fluendo.com>
22726
22727         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
22728         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
22729         (gst_bus_source_dispatch):
22730         Add debugging messages.
22731         Make internal methods static.
22732         Handle the case where the bus is flushed in the handler.
22733         
22734         * gst/gstelement.c: (gst_element_get_bus):
22735         Fix refcount in _get_bus();
22736
22737         * gst/gstpipeline.c: (gst_pipeline_change_state),
22738         (gst_pipeline_get_clock_func):
22739         Clock refcounting fixes.
22740         Handle the case where preroll timed out more gracefully.
22741         
22742         * gst/gstsystemclock.c: (gst_system_clock_dispose):
22743         Clean up the internal thread in dispose. This is needed
22744         for subclasses that actually get disposed.
22745         
22746         * gst/schedulers/threadscheduler.c:
22747         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22748         (gst_thread_scheduler_dispose):
22749         Free thread pool in dispose.
22750
22751 2005-06-28  Andy Wingo  <wingo@pobox.com>
22752
22753         * tests/network-clock-utils.scm (debug, print-event): New utils.
22754
22755         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
22756         (*packet-loss*): Unified loss probability.
22757         (network-time): Report out-of-band events.
22758
22759         * tests/plot-data: Add support for out-of-band events. Hack it
22760         into this script instead of passing it down the pipe; should fix
22761         this later.
22762
22763 2005-06-28  Wim Taymans  <wim@fluendo.com>
22764
22765         * docs/gst/gstreamer.types:
22766         * docs/gst/tmpl/gstbasesrc.sgml:
22767         * docs/gst/tmpl/gstpad.sgml:
22768         Docs fixes.
22769
22770 2005-06-28  Wim Taymans  <wim@fluendo.com>
22771
22772         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22773         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
22774         (gst_proxy_pad_do_fixatecaps):
22775         Correctly proxy the check_pull_range function.
22776
22777 2005-06-28  Andy Wingo  <wingo@pobox.com>
22778
22779         * tests/network-clock.scm: Removed need for slib.
22780         
22781 2005-06-28  Wim Taymans  <wim@fluendo.com>
22782
22783         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
22784         (gst_basesink_preroll_queue_flush):
22785         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
22786         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
22787         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22788         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22789         (gst_proxy_pad_set_property):
22790         * gst/gstpad.c:
22791         * gst/gstpad.h:
22792         * gst/gstqueue.c: (gst_queue_init):
22793         The deprecated pad loop function is removed now.
22794
22795 2005-06-28  Andy Wingo  <wingo@pobox.com>
22796
22797         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22798         New parameters, simulate network packet loss.
22799
22800         * tests/network-clock-utils.scm: Initialize the RNG.
22801
22802 2005-06-28  Wim Taymans  <wim@fluendo.com>
22803
22804         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22805         (gst_basesink_event), (gst_basesink_deactivate):
22806         Flushing the preroll queue always needs to unlock the waiters.
22807
22808 2005-06-28  Edward Hervey  <edward@fluendo.com>
22809
22810         * gst/gstpipeline.c: (gst_pipeline_send_event): 
22811         Wheen a seek was successful on a pipeline, set the stream_time to the
22812         seek offset in order to have a synchronized stream_time.
22813
22814 2005-06-28  Wim Taymans  <wim@fluendo.com>
22815
22816         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22817         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22818         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22819         (gst_proxy_pad_do_fixatecaps):
22820         Call wrapper function instead of just calling the function
22821         pointers. This takes care of any locking and whatmore.
22822
22823 2005-06-28  Wim Taymans  <wim@fluendo.com>
22824
22825         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22826         (gst_pad_pull_range):
22827         * gst/gstpad.h:
22828         CONNECTED -> LINKED.
22829
22830 2005-06-28  Andy Wingo  <wingo@pobox.com>
22831
22832         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22833         source-munging commit!!!
22834
22835         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
22836         (gst_object_sink): Take gpointer arguments, not GstObject --
22837         avoids casts. Like GLib.
22838
22839         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22840         activate.
22841
22842 2005-06-27  Andy Wingo  <wingo@pobox.com>
22843
22844         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22845         remaining buffer.
22846
22847         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22848         returns a sorted copy of the trace list.
22849         (gst_alloc_trace_print_live): New API, only prints traces with
22850         live objects. Sort the list.
22851         (gst_alloc_trace_print_all): Sort the list.
22852         (gst_alloc_trace_print): Align columns.
22853
22854         * gst/elements/gstttypefindelement.c:
22855         * gst/elements/gsttee.c:
22856         * gst/base/gstbasesrc.c:
22857         * gst/base/gstbasesink.c:
22858         * gst/base/gstbasetransform.c:
22859         * gst/gstqueue.c: Adapt for pad activation changes.
22860
22861         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22862         sched.
22863         (gst_pipeline_dispose): Drop ref on sched.
22864
22865         * gst/gstpad.c (gst_pad_init): Set the default activate func.
22866         (gst_pad_activate_default): Push mode by default.
22867         (pre_activate_switch, post_activate_switch): New stubs, things to
22868         do before and after switching activation modes on pads.
22869         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22870         the pad's activate function to choose which mode to activate.
22871         Shortcut on deactivation and call the right function directly.
22872         (gst_pad_activate_pull): New API, (de)activates a pad in pull
22873         mode.
22874         (gst_pad_activate_push): New API, same for push mode.
22875         (gst_pad_set_activate_function) 
22876         (gst_pad_set_activatepull_function) 
22877         (gst_pad_set_activatepush_function): Setters for new API.
22878
22879         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22880         Trace all miniobjects.
22881         (gst_mini_object_make_writable): Unref the arg if we copy, like
22882         gst_caps_make_writable.
22883
22884         * gst/gstmessage.c (_gst_message_initialize): No trace init.
22885
22886         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
22887         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22888         Adapt for new pad API.
22889
22890         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22891
22892         * gst/gstelement.h:
22893         * gst/gstelement.c (gst_element_iterate_src_pads) 
22894         (gst_element_iterate_sink_pads): New API functions.
22895         
22896         * gst/gstelement.c (iterator_fold_with_resync): New utility,
22897         should fold into gstiterator.c in some form.
22898         (gst_element_pads_activate): Simplified via use of fold and
22899         delegation of decisions to gstpad->activate.
22900
22901         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22902         help in debugging.
22903
22904         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22905         class once in init, like gstmessage. Didn't run into this issue
22906         but it seems correct. Don't initialize a trace, gstminiobject does
22907         that.
22908
22909         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22910         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22911         to the bus.
22912         (assert_live_count): New util function, uses alloc traces to check
22913         cleanup.
22914
22915         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22916         To be modified when unlink drops the internal pad.
22917
22918 2005-06-27  Wim Taymans  <wim@fluendo.com>
22919
22920         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22921         (gst_bin_change_state):
22922         Cleanup the get_state() function a little, make sure it
22923         iterates the same set of elements.
22924         Added stub iterate_state_order().
22925
22926 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22927
22928         * docs/gst/gstreamer-docs.sgml:
22929         * docs/gst/gstreamer-sections.txt:
22930         * docs/gst/gstreamer.types:
22931         * docs/gst/tmpl/gstbasesink.sgml:
22932         * docs/gst/tmpl/gstbasesrc.sgml:
22933         * docs/gst/tmpl/gstbasetransform.sgml:
22934         * docs/gst/tmpl/gstelement.sgml:
22935         * docs/gst/tmpl/gstiterator.sgml:
22936         * gst/base/gstbasesrc.c:
22937         * gst/base/gstbasesrc.h:
22938         * gst/base/gstbasetransform.h:
22939         * gst/gstelement.c:
22940         * gst/gstiterator.h:
22941           adding basetransform and iterator docs
22942
22943 2005-06-27  Andy Wingo  <wingo@pobox.com>
22944
22945         * docs/design/part-activation.txt: Notes on how activation should
22946         work -- not quite implemented yet.
22947
22948 2005-06-25  Wim Taymans  <wim@fluendo.com>
22949
22950         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22951         At least get the chain function correct, needs more
22952         fixing.
22953
22954 2005-06-25  Wim Taymans  <wim@fluendo.com>
22955
22956         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22957         (gst_basesink_handle_object), (gst_basesink_event),
22958         (gst_basesink_do_sync), (gst_basesink_handle_event),
22959         (gst_basesink_change_state):
22960         * gst/gsttask.h:
22961         Right, two problems here: ghostpads don't take locks and
22962         glib _rec_mutex_lock_full() with depth==0 still locks.
22963         Catch illegal locking and g_warn them.
22964
22965 2005-06-25  Wim Taymans  <wim@fluendo.com>
22966
22967         * check/states/sinks.c: (START_TEST), (gst_object_suite):
22968         Have to check for completion now...
22969
22970 2005-06-25  Wim Taymans  <wim@fluendo.com>
22971
22972         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22973         (gst_basesink_handle_object), (gst_basesink_event),
22974         (gst_basesink_do_sync), (gst_basesink_handle_event),
22975         (gst_basesink_change_state):
22976         * gst/gstpad.h:
22977         Unlock STREAM_LOCK whatever the recursion was.
22978
22979 2005-06-25  Wim Taymans  <wim@fluendo.com>
22980
22981         * gst/base/gstbasesink.c: (gst_basesink_set_property),
22982         (gst_basesink_preroll_queue_empty),
22983         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22984         (gst_basesink_event), (gst_basesink_do_sync),
22985         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22986         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22987         (gst_basesink_change_state):
22988         Reworked the base sink, handle event and buffer serialisation
22989         correctly and removed possible deadlock.
22990         Handle EOS correctly.
22991
22992 2005-06-25  Wim Taymans  <wim@fluendo.com>
22993
22994         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22995         (gst_pipeline_change_state):
22996         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22997         Allow elements to post EOS in the state change function.
22998         Fix up -launch, make it exit the poll loop when the
22999         pipeline actually changed state.
23000         Fix up warning parsing in -launch.
23001
23002 2005-06-25  Wim Taymans  <wim@fluendo.com>
23003
23004         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23005         (gst_tee_sink_activate):
23006         Core takes STREAM_LOCK for us now.
23007
23008 2005-06-25  Wim Taymans  <wim@fluendo.com>
23009
23010         * gst/gstelement.c: (gst_element_get_state_func),
23011         (gst_element_set_state):
23012         * gst/gstelement.h:
23013         * gst/gstmessage.c: (gst_message_parse_error),
23014         (gst_message_parse_warning):
23015         Keep track of current target state while performing a state
23016         change so that subclasses can do something interesting.
23017         Fix parsing of warning/error messages when GError is NULL.
23018
23019 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23020
23021         * docs/gst/Makefile.am:
23022         * docs/gst/gstreamer-docs.sgml:
23023         * docs/gst/gstreamer-sections.txt:
23024         * docs/gst/gstreamer.types:
23025         * docs/gst/tmpl/gstbasesink.sgml:
23026         * docs/gst/tmpl/gstbasesrc.sgml:
23027         * docs/gst/tmpl/gstbin.sgml:
23028         * docs/gst/tmpl/gstcompat.sgml:
23029         * docs/gst/tmpl/gstfakesink.sgml:
23030         * docs/gst/tmpl/gstfakesrc.sgml:
23031         * docs/gst/tmpl/gstfilesink.sgml:
23032         * docs/gst/tmpl/gstfilesrc.sgml:
23033         * docs/gst/tmpl/gstindex.sgml:
23034         * docs/manual/appendix-quotes.xml:
23035         * gst/base/gstbasesrc.h:
23036         * gst/elements/gstfakesrc.h:
23037         * gst/gstmessage.h:
23038           start pulling in base classes and elements in our docs
23039
23040 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23041
23042         * docs/gst/Makefile.am:
23043         * docs/libs/Makefile.am:
23044           fixed make distcheck with gtk-doc 1.3
23045
23046 2005-06-23  Wim Taymans  <wim@fluendo.com>
23047
23048         * gst/gstelement.c: (gst_element_get_state_func),
23049         (gst_element_set_state), (gst_element_change_state):
23050         When the state did not change, also report NO_PREROLL
23051         when it matters.
23052
23053 2005-06-23  Wim Taymans  <wim@fluendo.com>
23054
23055         * gst/gstpad.c: (gst_pad_event_default):
23056         * gst/gstqueue.c: (gst_queue_loop):
23057         No unsafe task pausing please.
23058
23059 2005-06-23  Wim Taymans  <wim@fluendo.com>
23060
23061         * gst/schedulers/threadscheduler.c:
23062         (gst_thread_scheduler_task_start),
23063         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23064         Ref the task before pushing it on the threadpool. This
23065         makes sure that we have a ref when the threadfunction is
23066         actually called.
23067
23068 2005-06-23  Andy Wingo  <wingo@pobox.com>
23069
23070         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23071         offset is greater than the file's size.
23072
23073         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23074         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23075         * gst/gstobject.c (gst_object_class_init): Make the class lock
23076         recursive. Wim won't let me drop deep_notify. Decodebin works
23077         again, whoopdy doo.
23078
23079         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23080         internal pad, and hacks accordingly. Doesn't do it on the target
23081         pad because we change its caps. Probably catches all cases of
23082         interest tho.
23083         (gst_ghost_pad_set_property): Connect to notify::caps as
23084         appropritate.
23085
23086         * tests/network-clock.scm (plot-simulation): Pipe data to the
23087         elite python skript.
23088
23089         * tests/network-clock-utils.scm (define-parameter): New macro,
23090         defines a parameter that can be set via the command line.
23091         (set-parameter!, parse-parameter-arguments): Command line args
23092         parser.
23093
23094         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23095         stdin.
23096
23097 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23098
23099         * gst/elements/gsttypefindelement.c:
23100         (gst_type_find_element_handle_event):
23101           Don't restart typefinding on a discont.
23102         * gst/gstelement.c: (gst_element_set_state):
23103           Debug spelling fix.
23104         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23105           Allow changing mode of an active pad.
23106           Debug output fixes.
23107         * gst/registries/gstlibxmlregistry.c: (load_feature):
23108           Don't cast a static pad template to a normal pad template.
23109
23110 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23111
23112         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23113         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23114           remove gst_strtoll completely, since it didn't actually do
23115           anything more than what g_ascii_strtoull already does.
23116           check for range errors when deserializing
23117           do a cast for the unsigned cases; but further fixing needs
23118           a decision on what the interpretation of "(int)" and
23119           deserialization should be for values that fall outside the
23120           type's boundaries (ie, refuse, or interpret as casting)
23121
23122 2005-06-23  Wim Taymans  <wim@fluendo.com>
23123
23124         * check/Makefile.am:
23125         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23126         * docs/design/part-live-source.txt:
23127         * docs/design/part-states.txt:
23128         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23129         (gst_basesrc_set_live), (gst_basesrc_is_live),
23130         (gst_basesrc_get_range), (gst_basesrc_activate),
23131         (gst_basesrc_change_state):
23132         * gst/base/gstbasesrc.h:
23133         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23134         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23135         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23136         * gst/gstelement.c: (gst_element_get_state_func),
23137         (gst_element_set_state):
23138         * gst/gstelement.h:
23139         * gst/gsttypes.h:
23140         * tools/gst-launch.c: (event_loop), (main):
23141         Added support for live sources and other elements that
23142         cannot do preroll.
23143         Updated design docs, added live-source design doc.
23144         Implemented live source functionality in basesrc
23145         Fix error condition in _bin_get_state()
23146         Implement live source handling in -launch.
23147         Added check for live sources.
23148         Fixed case in GstBin where elements were changed state
23149         multiple times.
23150
23151
23152 2005-06-23  Andy Wingo  <wingo@pobox.com>
23153
23154         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23155         borken refcounting.
23156
23157         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23158         gst_caps_replace takes care of this for us.
23159
23160         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23161         gst_pad_set_caps on the target, not just its setcaps() function.
23162
23163         * tests/network-clock.scm: 
23164         * tests/network-clock-utils.scm: A network clock simulator.
23165         Something of an algorithmic testbed before doing something in C.
23166
23167 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23168
23169         * check/Makefile.am:
23170         * check/gst/capslist.h:
23171           copy over from 0.8, and add two with bitmasks specified with
23172           (int) 0xFF...
23173         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23174           add test to parse everything from capslist.h
23175         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23176         (main):
23177           add test for structure deserialization
23178         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23179           add tests for deserialization of strings to int types
23180         * gst/gststructure.c: (gst_structure_nth_field_name):
23181         * gst/gststructure.h:
23182           add a way to get the name of a field referenced by index
23183         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23184           instead of checking if the resulting long long lies between
23185           min and max, we check if the long long would fit into
23186           a number of bytes for the final type.
23187           This fixes cases where a string represents 2^32 - 1, which
23188           when cast to int would be the (valid) -1, but is bigger than
23189           G_MAXINT
23190
23191 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23192
23193         * gst/parse/grammar.y:
23194           add a log line for type deserialization
23195
23196 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23197
23198         * check/gst/gstvalue.c: (START_TEST):
23199         * gst/gstvalue.c: (gst_value_deserialize):
23200           return long long, not int, so gint64 deserialization actually
23201           works.  Is there any flag that makes the compiler check this ?
23202           Fixes #308559
23203
23204 2005-06-22  Wim Taymans  <wim@fluendo.com>
23205
23206         * gst/gstbuffer.h:
23207         Added convenience macros for setting buffers in GValue.
23208
23209 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23210
23211         * check/gst/.cvsignore:
23212         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23213           add a test deserializing int64, and comment part out because
23214           it fails, yay !
23215
23216 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23217
23218         * check/Makefile.am:
23219         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23220         * testsuite/Makefile.am:
23221         * testsuite/caps/Makefile.am:
23222         * testsuite/caps/value_serialize.c:
23223         * testsuite/test_gst_init.c:
23224           move a value_serialize test over
23225
23226 2005-06-20  Wim Taymans  <wim@fluendo.com>
23227
23228         * gst/gstpad.c:
23229         Small doc updates.
23230         
23231         * gst/gstvalue.c: (gst_value_compare_buffer),
23232         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23233         (gst_value_compare_flags), (gst_value_serialize_flags),
23234         (gst_value_deserialize_flags), (_gst_value_initialize):
23235         Fix serialisation of buffers, they are not boxed types anymore
23236
23237 2005-06-20  Wim Taymans  <wim@fluendo.com>
23238
23239         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23240         Testcase to show error in buffer-on-caps serialisation.
23241
23242 2005-06-20  Andy Wingo  <wingo@pobox.com>
23243
23244         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23245         will be adding to later.
23246
23247         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23248         if its socks fill with rocks.
23249         (gst_system_clock_obtain): Set the name on object construction.
23250         Avoid double-checked locking.
23251
23252 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
23253
23254         * gst/gsturi.c: (gst_element_make_from_uri):
23255           Fix potential endless loop.
23256
23257 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23258
23259         * check/Makefile.am:
23260           add gsttag
23261         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23262         (main):
23263           move over from testsuite dir and clean up
23264         * configure.ac:
23265         * gst/gsttag.c:
23266         * testsuite/Makefile.am:
23267         * testsuite/tags/.cvsignore:
23268         * testsuite/tags/Makefile.am:
23269         * testsuite/tags/merge.c:
23270           remove testsuite/tags
23271
23272 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23273
23274         * docs/gst/gstreamer-sections.txt:
23275         * docs/gst/tmpl/gstenumtypes.sgml:
23276         * win32/gstenumtypes.c:
23277           clean up documentation build a little
23278
23279 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23280
23281         * check/gstcheck.h:
23282           add macros for checking refcounts on objects and caps
23283         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23284           add some more unit tests
23285         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23286         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23287           fix leaked refcounts (I hope :)) so unittest works
23288         * gst/gstpad.h:
23289           whitespace removal
23290
23291 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23292
23293         * configure.ac: back to HEAD
23294
23295 === release 0.9.1 ===
23296
23297 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23298
23299         * NEWS:
23300         * RELEASE:
23301           updated
23302
23303 2005-06-17  Andy Wingo  <wingo@pobox.com>
23304
23305         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23306         assert; it's always possible that the pad gets deactivated in
23307         between the checks in gstpad.c and the implementation. Rely on
23308         finish_preroll() to return a FLUSHING or similar instead of on the
23309         assert.
23310         
23311         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23312         clock and post an EOS message if we come out of finish_preroll in
23313         the playing state.
23314
23315 2005-06-16  David Schleef  <ds@schleef.org>
23316
23317         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23318         (gst_capsfilter_set_property): Allow NULL as possible value
23319         for filter_caps property, indicating GST_CAPS_ANY.
23320
23321 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23322
23323         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23324           fix debug output
23325         * gst/schedulers/Makefile.am:
23326           use libgst prefix
23327         * gstreamer.spec.in:
23328           fix spec for it
23329
23330 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23331
23332         * gstreamer.spec.in:
23333           clean up
23334
23335 2005-06-08  Andy Wingo  <wingo@pobox.com>
23336
23337         * gst/gstutils.c: RPAD fixes all around.
23338         (gst_element_link_pads): Refcounting fixes.
23339
23340         * tools/gst-inspect.c:
23341         * tools/gst-xmlinspect.c:
23342         * parse/grammar.y:
23343         * gst/base/gsttypefindhelper.c:
23344         * gst/base/gstbasesink.c:
23345         * gst/gstqueue.c: RPAD fixes.
23346
23347         * gst/gstghostpad.h:
23348         * gst/gstghostpad.c: New ghost pad implementation as full proxy
23349         pads. The tricky thing is they provide both source and sink
23350         interfaces, since they proxy the internal pad for the external
23351         pad, and vice versa. Implement with lower-level ProxyPad objects,
23352         with the interior proxy pad as a child of the exterior ghost pad.
23353         Should write a doc on this.
23354         
23355         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23356         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23357         gst_object API.
23358         
23359         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23360         pads are real pads. No ghost pads in this file. Not documenting
23361         the myriad s/RPAD/PAD/ and REALIZE fixes.
23362         (gst_pad_class_init): Add properties for "direction" and
23363         "template". Both are construct-only, so they can't change during
23364         the life of the pad. Fixes properly deriving from GstPad.
23365         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23366         derived objects, just set properties when creating the objects via
23367         g_object_new.
23368         (gst_pad_get_parent): Implement as a function, return NULL if the
23369         parent is not an element.
23370         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23371         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23372         
23373         * gst/gstobject.c (gst_object_class_init): Make name a construct
23374         property. Don't set it in the object init.
23375
23376         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23377         with UNKNOWN direction.
23378         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23379         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23380         (gst_element_remove_pad): Remove ghost-pad special cases.
23381         (gst_element_pads_activate): Remove rpad cruft.
23382
23383         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23384         catch the pad's-parent-not-an-element case.
23385
23386         * gst/gst.h: Include gstghostpad.h.
23387
23388         * gst/gst.c (init_post): No more real, ghost pads.
23389
23390         * gst/Makefile.am: Add gstghostpad.[ch].
23391
23392         * check/Makefile.am:
23393         * check/gst/gstbin.c:
23394         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23395         into a bin creates ghost pads, and that the refcounts are right.
23396         Partly moved from gstbin.c.
23397
23398 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23399
23400         * check/gst-libs/.cvsignore:
23401         * check/gst/.cvsignore:
23402         * check/pipelines/.cvsignore:
23403           ignore more
23404         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23405         (START_TEST), (cleanup_suite), (main):
23406           add some tests related to cleanup after running pipelines
23407
23408 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23409
23410         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23411           add a testsuite for GstBuffer
23412
23413 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23414
23415         * gst/gstminiobject.h:
23416           add defines for accessing the refcount
23417
23418 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
23419
23420         * Makefile.am: added support for html unit test coverage reports
23421
23422 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
23423
23424         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23425           Free existing caps if the capsfilter changes. Add a FIXME about
23426           setting those caps on the pads.
23427
23428         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23429           Before adding a ghost pad to a parent bin, check that there isn't
23430           already one for the element on the bin. Prevents infinite recursion
23431           when using decodebin in parse pipelines. Andy says he'll rewrite the
23432           way this works anyway, so ignore the hack.
23433
23434 2005-06-02  Andy Wingo  <wingo@pobox.com>
23435
23436         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23437         file size, pass it on to the type find helper.
23438
23439         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23440         segment_start and segment_end properly according to the seek
23441         method. Segment_end is still a bit flaky because offset can be
23442         negative for CUR and END cases, but it takes -1 as an "unset"
23443         value.
23444
23445 2005-06-02  Wim Taymans  <wim@fluendo.com>
23446
23447         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23448         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23449         (gst_basesink_activate):
23450         * gst/base/gstbasesink.h:
23451         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23452         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23453         (gst_pad_query), (gst_pad_start_task):
23454         * gst/gstpad.h:
23455         * gst/gstqueue.c: (gst_queue_bufferalloc),
23456         (gst_queue_handle_sink_event), (gst_queue_chain):
23457         Bufferalloc: return GstFlowReturn to more accuratly report
23458         why allocation failed.
23459
23460 2005-06-02  Wim Taymans  <wim@fluendo.com>
23461
23462         * gst/gstpipeline.c: (gst_pipeline_send_event):
23463         Take snapshot of state without blocking.
23464
23465 2005-06-02  Wim Taymans  <wim@fluendo.com>
23466
23467         * docs/design/part-TODO.txt:
23468         * docs/design/part-caps.txt:
23469         * docs/design/part-clocks.txt:
23470         * docs/design/part-negotiation.txt:
23471         * docs/design/part-preroll.txt:
23472         Small doc updates 
23473
23474 2005-05-30  Wim Taymans  <wim@fluendo.com>
23475
23476         * gst/elements/gstidentity.c: (gst_identity_event),
23477         (gst_identity_transform), (gst_identity_get_property):
23478         Protect last_message property as it is accessed from
23479         multiple threads.
23480
23481 2005-05-30  Wim Taymans  <wim@fluendo.com>
23482
23483         * gst/gstelement.c: (gst_element_init),
23484         (gst_element_pads_activate), (gst_element_change_state):
23485         Slicker pad activation code.
23486
23487 2005-05-30  Wim Taymans  <wim@fluendo.com>
23488
23489         * gst/Makefile.am:
23490         * gst/gstelement.h:
23491         * gst/gstelementfactory.h:
23492         * gst/gsttypes.h:
23493         Move elementfactory methods to separate .h file.
23494
23495 2005-05-30  Wim Taymans  <wim@fluendo.com>
23496
23497         * docs/design/part-overview.txt:
23498         * gst/gstsystemclock.h:
23499         Small typo fixes, doc updates.
23500
23501 2005-05-30  Wim Taymans  <wim@fluendo.com>
23502
23503         * gst/gst.c: (gst_init_get_popt_table), (init_post),
23504         (init_popt_callback):
23505         Remove cpu-opt flag.
23506
23507 2005-05-30  Wim Taymans  <wim@fluendo.com>
23508
23509         * gst/gstbuffer.c: (gst_subbuffer_finalize),
23510         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23511         * gst/gstbuffer.h:
23512         Avoid typechecking in places where not needed.
23513         Added accessor for malloc_data.
23514
23515 2005-05-30  Wim Taymans  <wim@fluendo.com>
23516
23517         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23518         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23519         (gst_pad_configure_sink), (gst_pad_configure_src),
23520         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23521         (gst_pad_start_task):
23522         Propagate errors from _set_caps() in configure_src/sink
23523         functions instead of returning TRUE.
23524         FLUSH events can travel up and downstream
23525
23526
23527 2005-05-30  Wim Taymans  <wim@fluendo.com>
23528
23529         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23530         (gst_basesink_activate):
23531         Handle EOS in preroll.
23532
23533 2005-05-30  Wim Taymans  <wim@fluendo.com>
23534
23535         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23536         (gst_queue_loop), (gst_queue_handle_src_event):
23537         Remove old pieces of code
23538         Flushing the queue in an upstream event is a very bad idea.
23539
23540 2005-05-26  Andy Wingo  <wingo@pobox.com>
23541
23542         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23543         gst_value_set_mini_object so as to add a ref on the object (which
23544         will be removed when the value is unset).
23545
23546         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23547         arg type in ::handoff.
23548
23549         * gst/gstelement.c (gst_element_change_state): Also deactivate
23550         pads in READY->NULL, just in case the element didn't make it to
23551         PAUSED. Wingo tested, Wim approved.
23552
23553 2005-05-26  Wim Taymans  <wim@fluendo.com>
23554
23555         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23556         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23557         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23558         A flushing pad cannot be used to alloc_buffer from.
23559
23560 2005-05-26  Wim Taymans  <wim@fluendo.com>
23561
23562         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23563         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23564         (gst_bus_source_dispatch), (gst_bus_source_finalize),
23565         (gst_bus_create_watch), (gst_bus_add_watch_full):
23566         * gst/gstbus.h:
23567         Implement a real GSource and use g_main_context_wakeup() to
23568         signal new messages instead of the socketpair.
23569
23570 2005-05-25  Wim Taymans  <wim@fluendo.com>
23571
23572         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23573         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23574         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23575         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23576         (gst_pad_send_event), (gst_pad_start_task):
23577         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23578         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23579         (gst_queue_sink_activate), (gst_queue_src_activate),
23580         (gst_queue_change_state):
23581         * gst/gstqueue.h:
23582         Fix state changes for non sinks. We now change sinks, then elements
23583         with unconnected srcpads, then the rest.
23584         More efficient queue unlocking in flush and state changes.
23585         Set the pad activate mode even if it does not have an activate
23586         function.
23587
23588 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23589
23590         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23591           Don't go in pull mode for non-seekable sources.
23592         * gst/elements/gsttypefindelement.h:
23593         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23594         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23595         (free_entry), (stop_typefinding),
23596         (gst_type_find_element_handle_event), (find_peek),
23597         (gst_type_find_element_chain), (do_pull_typefind),
23598         (gst_type_find_element_change_state):
23599           Allow typefinding (w/o seeking) in push-mode, simplified version
23600           of what was in 0.8.
23601         * gst/gstutils.c: (gst_buffer_join):
23602         * gst/gstutils.h:
23603           gst_buffer_join() from 0.8.
23604
23605 2005-05-25  Wim Taymans  <wim@fluendo.com>
23606
23607         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23608         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23609         (gst_pad_send_event), (gst_pad_start_task):
23610         Disable attempt at mode switching until it is figured out.
23611
23612 2005-05-25  Wim Taymans  <wim@fluendo.com>
23613
23614         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23615         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23616         (gst_basesink_finish_preroll), (gst_basesink_chain),
23617         (gst_basesink_loop), (gst_basesink_activate),
23618         (gst_basesink_change_state):
23619         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23620         (gst_basesrc_get_range), (gst_basesrc_loop),
23621         (gst_basesrc_activate):
23622         * gst/elements/gsttee.c: (gst_tee_sink_activate):
23623         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23624         (gst_real_pad_init), (gst_real_pad_set_property),
23625         (gst_real_pad_get_property), (gst_pad_set_active),
23626         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23627         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23628         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23629         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23630         (gst_pad_event_default_dispatch), (gst_pad_event_default),
23631         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23632         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23633         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23634         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23635         (gst_pad_stop_task):
23636         * gst/gstpad.h:
23637         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23638         (gst_queue_loop), (gst_queue_src_activate):
23639         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23640         (gst_task_get_state):
23641         * gst/gsttask.h:
23642         * gst/schedulers/threadscheduler.c:
23643         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23644         Implement gst_pad_pause/start/stop_task(), take STREAM lock
23645         in task function.
23646         Remove ACTIVE pad flag, use FLUSHING everywhere
23647         Added _pad_chain(), _pad_get_range() to call chain/getrange 
23648         functions.
23649         Add locks around IS_FLUSHING when reading.
23650         Take STREAM lock in chain(), get_range() functions so plugins
23651         don't need to take it anymore.
23652         
23653
23654
23655 2005-05-25  Wim Taymans  <wim@fluendo.com>
23656
23657         * tools/gst-launch.c: (event_loop):
23658         Unref message after using its contents instead of
23659         before.
23660
23661 2005-05-24  Wim Taymans  <wim@fluendo.com>
23662
23663         * docs/design/draft-ghostpads.txt:
23664         * docs/design/draft-push-pull.txt:
23665         * docs/design/draft-query.txt:
23666         * docs/design/part-overview.txt:
23667         Docs updates, added general overview doc.
23668
23669 2005-05-21  David Schleef  <ds@schleef.org>
23670
23671         * docs/gst/tmpl/old/GstBin.sgml:
23672         * docs/gst/tmpl/old/GstBuffer.sgml:
23673         * docs/gst/tmpl/old/GstCaps.sgml:
23674         * docs/gst/tmpl/old/GstClock.sgml:
23675         * docs/gst/tmpl/old/GstCompat.sgml:
23676         * docs/gst/tmpl/old/GstData.sgml:
23677         * docs/gst/tmpl/old/GstElement.sgml:
23678         * docs/gst/tmpl/old/GstEvent.sgml:
23679         * docs/gst/tmpl/old/GstIndex.sgml:
23680         * docs/gst/tmpl/old/GstStructure.sgml:
23681         * docs/gst/tmpl/old/GstTag.sgml:
23682         * docs/gst/tmpl/old/cothreads.sgml:
23683         * docs/gst/tmpl/old/cothreads_compat.sgml:
23684         * docs/gst/tmpl/old/gettext.sgml:
23685         * docs/gst/tmpl/old/gobject2gtk.sgml:
23686         * docs/gst/tmpl/old/grammar.tab.sgml:
23687         * docs/gst/tmpl/old/gst-i18n-app.sgml:
23688         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
23689         * docs/gst/tmpl/old/gst_private.sgml:
23690         * docs/gst/tmpl/old/gstaggregator.sgml:
23691         * docs/gst/tmpl/old/gstarch.sgml:
23692         * docs/gst/tmpl/old/gstatomic_impl.sgml:
23693         * docs/gst/tmpl/old/gstbufferstore.sgml:
23694         * docs/gst/tmpl/old/gstdata_private.sgml:
23695         * docs/gst/tmpl/old/gstdisksink.sgml:
23696         * docs/gst/tmpl/old/gstdisksrc.sgml:
23697         * docs/gst/tmpl/old/gstelementfactory.sgml:
23698         * docs/gst/tmpl/old/gstextratypes.sgml:
23699         * docs/gst/tmpl/old/gstfakesink.sgml:
23700         * docs/gst/tmpl/old/gstfakesrc.sgml:
23701         * docs/gst/tmpl/old/gstfdsink.sgml:
23702         * docs/gst/tmpl/old/gstfdsrc.sgml:
23703         * docs/gst/tmpl/old/gstfilesink.sgml:
23704         * docs/gst/tmpl/old/gstfilesrc.sgml:
23705         * docs/gst/tmpl/old/gsthttpsrc.sgml:
23706         * docs/gst/tmpl/old/gstidentity.sgml:
23707         * docs/gst/tmpl/old/gstindexfactory.sgml:
23708         * docs/gst/tmpl/old/gstmarshal.sgml:
23709         * docs/gst/tmpl/old/gstmd5sink.sgml:
23710         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
23711         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
23712         * docs/gst/tmpl/old/gstpadtemplate.sgml:
23713         * docs/gst/tmpl/old/gstpipefilter.sgml:
23714         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
23715         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
23716         * docs/gst/tmpl/old/gstshaper.sgml:
23717         * docs/gst/tmpl/old/gstspider.sgml:
23718         * docs/gst/tmpl/old/gstspideridentity.sgml:
23719         * docs/gst/tmpl/old/gststatistics.sgml:
23720         * docs/gst/tmpl/old/gsttee.sgml:
23721         * docs/gst/tmpl/old/gsttimecache.sgml:
23722         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
23723         * docs/gst/tmpl/old/gstxmlregistry.sgml:
23724         * docs/gst/tmpl/old/gthread-cothreads.sgml:
23725         * docs/gst/tmpl/old/types.sgml:
23726           I didn't intend to add these or check them in.
23727
23728 2005-05-19  David Schleef  <ds@schleef.org>
23729
23730         * configure.ac: Use -no-common everywhere.  In a sane world, it
23731           would be the default in libtool, because without it, you can't
23732           build DLLs on Windows.
23733         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
23734         * docs/gst/gstreamer-sections.txt:
23735         * docs/gst/tmpl/gstcpu.sgml:
23736         * docs/gst/tmpl/gstdata.sgml:
23737         * docs/gst/tmpl/gstthread.sgml:
23738
23739 2005-05-19  David Schleef  <ds@schleef.org>
23740
23741         * gst/gstminiobject.c: (gst_value_set_mini_object),
23742         (gst_value_take_mini_object), (gst_value_get_mini_object):
23743         * gst/gstminiobject.h: Add GValue set/get functions.
23744
23745 2005-05-19  Wim Taymans  <wim@fluendo.com>
23746
23747         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
23748         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
23749         (gst_subbuffer_init), (gst_buffer_is_span_fast):
23750         * gst/gstbuffer.h:
23751         * gst/gstbus.c: (gst_bus_post):
23752         * gst/gstelement.c: (gst_element_get_random_pad):
23753         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
23754         Make subbufer unref the parent in finalize.
23755         some more debugging info.
23756
23757
23758 2005-05-19  Wim Taymans  <wim@fluendo.com>
23759
23760         * gst/base/gstbasesink.c: (gst_basesink_class_init),
23761         (gst_basesink_init), (gst_basesink_finalize),
23762         (gst_basesink_activate), (gst_basesink_change_state):
23763         Don't free preroll queue too early.
23764
23765 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23766
23767         * gst/Makefile.am:
23768         * gst/ROADMAP:
23769           Hi, I'm outdated. Please shoot me.
23770
23771 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23772
23773         * gst/gstpipeline.c: (gst_pipeline_send_event):
23774           Do not access variables after they have been deleted.
23775
23776 2005-05-19  Wim Taymans  <wim@fluendo.com>
23777
23778         * tools/gst-inspect.c: (print_plugin_features):
23779         A plugin feature does unfortunatly not use the
23780         object name yet...
23781
23782 2005-05-18  Wim Taymans  <wim@fluendo.com>
23783
23784         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
23785         Port _span() functions to new subbuffers.
23786
23787 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23788
23789         * gst/gstbin.c: (gst_bin_add_func):
23790           Fix clock settery in bins when adding kids after the clock has
23791           been selected.
23792
23793 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23794
23795         * gst/elements/gstidentity.c: (gst_identity_class_init):
23796           Workaround until signals support GstMiniObject.
23797
23798 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
23799
23800         * gst/gstbuffer.c:
23801         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23802
23803 2005-05-18  Wim Taymans  <wim@fluendo.com>
23804
23805         * gst/base/Makefile.am:
23806         * gst/base/gstadapter.c: (gst_adapter_base_init),
23807         (gst_adapter_class_init), (gst_adapter_init),
23808         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23809         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23810         (gst_adapter_flush), (gst_adapter_available),
23811         (gst_adapter_available_fast):
23812         * gst/base/gstadapter.h:
23813         Ported and added adapter to the base classes.
23814
23815 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
23816
23817         * gst/gst.c:
23818         * gst/gstmessage.c:
23819           Make sure the class is reffed/unreffed once before threads can be
23820           used.  Fixes #304551.
23821
23822 2005-05-17  Wim Taymans  <wim@fluendo.com>
23823
23824         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23825         (gst_basesink_chain_unlocked), (gst_basesink_activate):
23826         * gst/gstminiobject.c: (gst_mini_object_get_type),
23827         (gst_mini_object_free):
23828         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23829         (gst_pad_push), (gst_pad_push_event):
23830         * gst/gstqueue.c: (gst_queue_change_state):
23831         Don't queue buffers in basesink when we are flushing.
23832         Unref buffer when flushing in basesink.
23833         Flush queue when going to READY
23834         Unref buffer when _push() returns an error.
23835         Don't free MiniObject instance when refcount is incremented
23836         in _finalize() so that we can recover objects.
23837
23838 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23839
23840         * docs/manual/advanced-schedulers.xml:
23841         * docs/manual/appendix-checklist.xml:
23842         * docs/pwg/advanced-clock.xml:
23843         * docs/pwg/advanced-interfaces.xml:
23844         * docs/pwg/advanced-request.xml:
23845         * docs/pwg/advanced-types.xml:
23846         * docs/pwg/intro-preface.xml:
23847         * examples/plugins/example.c: (gst_example_get_type),
23848         (gst_example_class_init), (gst_example_chain),
23849         (gst_example_set_property), (gst_example_get_property),
23850         (gst_example_change_state), (plugin_init):
23851         * examples/plugins/example.h:
23852           small doc fixes
23853
23854 2005-05-17  Wim Taymans  <wim@fluendo.com>
23855
23856         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23857         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23858         * gst/gstqueue.c: (gst_queue_change_state):
23859         Clear queue when going to READY.
23860         Remove IN_SETCAPS flag too.
23861
23862 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
23863
23864         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23865           Remove implicit cast from gboolean to GstElementStateReturn;
23866           make sure we still return failure in paused => ready case if
23867           the parent class fails to change state and our own stop 
23868           vfunc succeeds.
23869
23870 2005-05-17  Wim Taymans  <wim@fluendo.com>
23871
23872         * tools/gst-launch.c: (event_loop):
23873         Message was unreffed too soon.
23874
23875 2005-05-16  Andy Wingo  <wingo@pobox.com>
23876
23877         * gst/gstbin.c (sink_iterator_filter): Err... um...
23878
23879         * check/gst/gstbin.c (test_ghost_pads): New test for the
23880         ghosting-if-elements-not-in-same-bin behavior.
23881
23882 2005-05-16  David Schleef  <ds@schleef.org>
23883
23884         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23885         accessing refcount directly.
23886
23887 2005-05-15  David Schleef  <ds@schleef.org>
23888
23889         * check/Makefile.am: remove GstData checks
23890         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23891         * gst/Makefile.am: add miniobject, remove data
23892         * gst/gst.h: add miniobject, remove data
23893         * gst/gstdata.c: remove
23894         * gst/gstdata.h: remove
23895         * gst/gstdata_private.h: remove
23896         * gst/gsttypes.h: remove GstEvent and GstMessage
23897         * gst/gstelement.c: (gst_element_post_message): fix for API changes
23898         * gst/gstmarshal.list: change BOXED -> OBJECT
23899
23900         Implement GstMiniObject.
23901         * gst/gstminiobject.c:
23902         * gst/gstminiobject.h:
23903
23904         Modify to be subclasses of GstMiniObject.
23905         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23906         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23907         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23908         (gst_subbuffer_get_type), (gst_subbuffer_init),
23909         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23910         (gst_buffer_span):
23911         * gst/gstbuffer.h:
23912         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23913         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23914         (_gst_event_copy), (gst_event_new):
23915         * gst/gstevent.h:
23916         * gst/gstmessage.c: (_gst_message_initialize),
23917         (gst_message_get_type), (gst_message_class_init),
23918         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23919         (gst_message_new), (gst_message_new_error),
23920         (gst_message_new_warning), (gst_message_new_tag),
23921         (gst_message_new_state_changed), (gst_message_new_application):
23922         * gst/gstmessage.h:
23923         * gst/gstprobe.c: (gst_probe_perform),
23924         (gst_probe_dispatcher_dispatch):
23925         * gst/gstprobe.h:
23926         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23927         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23928         (_gst_query_copy), (gst_query_new):
23929
23930         Update elements for GstData -> GstMiniObject changes
23931         * gst/gstquery.h:
23932         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23933         (gst_queue_chain), (gst_queue_loop):
23934         * gst/elements/gstbufferstore.c:
23935         (gst_buffer_store_add_buffer_func),
23936         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23937         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23938         (gst_fakesink_render):
23939         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23940         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23941         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23942         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23943         (gst_filesrc_create_read):
23944         * gst/elements/gstidentity.c: (gst_identity_class_init):
23945         * gst/elements/gsttypefindelement.c:
23946         (gst_type_find_element_src_event), (free_entry_buffers),
23947         (gst_type_find_element_handle_event):
23948         * libs/gst/dataprotocol/dataprotocol.c:
23949         (gst_dp_header_from_buffer):
23950         * libs/gst/dataprotocol/dataprotocol.h:
23951         * libs/gst/dataprotocol/dp-private.h:
23952
23953 2005-05-15  David Schleef  <ds@schleef.org>
23954
23955         * gst/elements/gstelements.c: Don't include headers that were
23956         just removed.
23957
23958 2005-05-15  David Schleef  <ds@schleef.org>
23959
23960         * gst/elements/Makefile.am: Remove some elements that don't
23961         need to be in the core (or even exist at all).
23962         * gst/elements/gstaggregator.c:
23963         * gst/elements/gstaggregator.h:
23964         * gst/elements/gstmd5sink.c:
23965         * gst/elements/gstmd5sink.h:
23966         * gst/elements/gstmultifilesrc.c:
23967         * gst/elements/gstmultifilesrc.h:
23968         * gst/elements/gstpipefilter.c:
23969         * gst/elements/gstpipefilter.h:
23970         * gst/elements/gstshaper.c:
23971         * gst/elements/gstshaper.h:
23972         * gst/elements/gststatistics.c:
23973         * gst/elements/gststatistics.h:
23974         * po/POTFILES.in: Remove above files.
23975
23976 2005-05-14  Andy Wingo  <wingo@pobox.com>
23977
23978         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23979         so as to get the refs right.
23980         (sink_iterator_filter): New function, wraps bin_element_is_sink,
23981         unreffing objects that don't pass the filter.
23982
23983         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23984         gst_element_set_bus.
23985         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23986         normal cases, this will destroy the bus.
23987
23988         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23989         object.
23990
23991         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23992         has no sinks.
23993
23994 2005-05-13  Andy Wingo  <wingo@pobox.com>
23995
23996         * gst/gstutils.c (gst_element_link_pads): Instead of calling
23997         gst_pad_link, call pad_link_maybe_ghosting,
23998         (pad_link_maybe_ghosting): Links pads, making sure that the
23999         elements being linked are in the same bin.
24000         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24001         Helpers for pad_link_maybe_ghosting.
24002
24003 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24004
24005         * configure.ac:
24006           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24007
24008 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24009
24010         * docs/design/part-element-source.txt:
24011           Mention GstPushSrc
24012
24013 2005-05-12  Wim Taymans  <wim@fluendo.com>
24014
24015         * gst/base/gstbasesink.c: (gst_basesink_init),
24016         (gst_basesink_activate):
24017         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24018         (gst_basesrc_is_seekable):
24019         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24020         (bin_element_is_sink), (gst_bin_change_state):
24021         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24022         * gst/gstelement.h:
24023         Identify sinks by their flag to avoid overly complicated
24024         checks (fow now).
24025         Do state changes even for elements not reachable from the
24026         sinks.
24027         BaseSink is a sink now :)
24028         Some more debugging info in the basesrc.
24029
24030
24031 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24032
24033         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24034           Implement _query on a bin, similar to _send_event.
24035
24036 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24037
24038         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24039           Discont event offset format should be GST_FORMAT_BYTES,
24040           not GST_FORMAT_TIME.
24041
24042 2005-05-12  Wim Taymans  <wim@fluendo.com>
24043
24044         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24045         Same fix as Ronald's but without the signal. 
24046
24047 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24048
24049         * gst/gstutils.c: (gst_element_query_position):
24050           No, an element is not a pad.
24051
24052 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24053
24054         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24055         (gst_bin_get_state):
24056           If a child is removed from a bin while we remove the child from
24057           the bin and while we're retrieving its state, signal this to the
24058           get_state function so we abort the wait (instead of waiting for
24059           a timeout) and can immediately re-iterate over all other elements.
24060
24061 2005-05-12  Wim Taymans  <wim@fluendo.com>
24062
24063         * gst/base/Makefile.am:
24064         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24065         (gst_basesrc_start):
24066         * gst/base/gstbasesrc.h:
24067         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24068         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24069         (gst_pushsrc_init), (gst_pushsrc_create):
24070         * gst/base/gstpushsrc.h:
24071         Added is_seekable to BaseSrc
24072         Added simple PushSrc.
24073
24074 2005-05-11  Wim Taymans  <wim@fluendo.com>
24075
24076         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24077         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24078         (gst_element_link_pads), (gst_element_query_position),
24079         (gst_element_query_convert), (intersect_caps_func),
24080         (gst_pad_query_position), (gst_pad_query_convert):
24081         Fix refcounting in utils function.
24082         No point in trying to activate a pad when it's added, it could
24083         be added from the state change function and then we deadlock, the
24084         element has to decide what to do.
24085
24086 2005-05-10  Andy Wingo  <wingo@pobox.com>
24087
24088         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24089         *all* the arguments.
24090
24091         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24092         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24093         lock (according to the docs -- if this is wrong change the docs).
24094
24095         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24096         flush messages in the NULL state.
24097
24098         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24099         message immediately and return.
24100         (gst_bus_set_flushing): New function. If a bus is flushing, it
24101         flushes out any queued messages and immediately unrefs new
24102         messages. This is so when an element goes to NULL, all of the
24103         unhandled messages coming from it can be freed, and their
24104         references to the element dropped. In other words: message source
24105         ref considered harmful :P
24106
24107         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24108         we're finished with it.
24109
24110         * gst/gstmessage.c (gst_message_new_state_changed): 
24111
24112 2005-05-10  Wim Taymans  <wim@fluendo.com>
24113
24114         * gst/gstvalue.c: (gst_value_compare_flags),
24115         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24116         (_gst_value_initialize):
24117         Added flags serialize/deserialize/compare code.
24118
24119 2005-05-09  Andy Wingo  <wingo@pobox.com>
24120
24121         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24122         Intersect the peer's caps with our caps.
24123
24124 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24125
24126         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24127         * gst/elements/gsttypefindelement.c: (find_peek):
24128           Handle negative offsets better. Fixes decodebin.
24129
24130 2005-05-09  Wim Taymans  <wim@fluendo.com>
24131
24132         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24133         (gst_base_transform_event):
24134         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24135         Implement accept_caps.
24136         Fix silly lock/unlock mismatch in base class.
24137
24138 2005-05-09  Wim Taymans  <wim@fluendo.com>
24139
24140         * docs/design/draft-push-pull.txt:
24141         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24142         * gst/elements/gstfilesink.c: (gst_filesink_init),
24143         (gst_filesink_query):
24144         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24145         (gst_type_find_handle_src_query), (find_element_get_length):
24146         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24147         * gst/gstelement.h:
24148         * gst/gstmessage.c:
24149         * gst/gstmessage.h:
24150         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24151         (gst_real_pad_get_caps_unlocked),
24152         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24153         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24154         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24155         (gst_real_pad_dispose), (gst_real_pad_finalize),
24156         (gst_pad_load_and_link), (gst_pad_save_thyself),
24157         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24158         (gst_pad_check_pull_range), (gst_pad_pull_range),
24159         (gst_pad_template_get_type), (gst_pad_template_class_init),
24160         (gst_pad_template_init), (gst_pad_template_dispose),
24161         (name_is_valid), (gst_static_pad_template_get),
24162         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24163         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24164         (gst_pad_get_element_private), (gst_pad_start_task),
24165         (gst_pad_pause_task), (gst_pad_stop_task),
24166         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24167         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24168         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24169         (gst_ghost_pad_new):
24170         * gst/gstpad.h:
24171         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24172         (gst_query_new_position), (gst_query_set_position),
24173         (gst_query_parse_position), (gst_query_new_convert),
24174         (gst_query_set_convert), (gst_query_parse_convert):
24175         * gst/gstquery.h:
24176         * gst/gstqueryutils.c:
24177         * gst/gstqueryutils.h:
24178         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24179         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24180         (gst_queue_handle_src_query):
24181         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24182         (gst_element_query_position), (gst_element_query_convert),
24183         (intersect_caps_func), (gst_pad_query_position),
24184         (gst_pad_query_convert):
24185         * gst/gstutils.h:
24186         * tools/gst-inspect.c: (print_pad_info):
24187         * tools/gst-xmlinspect.c: (print_element_info):
24188         Remove old query functions. Ported old code.
24189         Added position/convert helper functions to gstutils.
24190         Reordered gstpad.c code, grouping relevant things.
24191         Remove gst_message_new(), always need to speficy a specific
24192         message.
24193
24194
24195 2005-05-09  Andy Wingo  <wingo@pobox.com>
24196
24197         * gst/gstiterator.h: Add some includes.
24198
24199         * gst/gstqueryutils.h: Include more headers.
24200
24201         * gst/gstpad.h:
24202         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24203         some uses of gst_pad_query.
24204
24205         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24206         NULL out parameters.
24207         (gst_query_new_position): New proc, allocates a new position
24208         query.
24209
24210         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24211         gstqueryutils.c to the build.
24212
24213         * gst/gststructure.c (gst_structure_set_valist): Implement with
24214         the generic G_VALUE_COLLECT.
24215         
24216 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
24217
24218         * gst/Makefile.am: (gst_headers):
24219         Added gstqueryutils.h to the list of headers to install, that was
24220         a 'nachty' move wingo :)
24221
24222 2005-05-06  Andy Wingo  <wingo@pobox.com>
24223
24224         * gst/gstquery.h
24225         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24226         GstData, init a memchunk.
24227         (standard_definitions): Add a few query types, deprecate a few.
24228         (gst_query_get_type): New proc.
24229         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24230         implementation.
24231         (gst_query_new_application, gst_query_get_structure): New public
24232         procs.
24233
24234         * docs/design/draft-query.txt: Removed LINKS from the query types,
24235         because all the rest can be dispatched to other pads -- seemed
24236         ugly to have a query that couldn't be dispatched. internal_links
24237         is fine as a pad method.
24238
24239         * gst/gstpad.h: Add query2 as a pad method, add the new functions
24240         in gstpad.c, but maintain binary compatibility for the moment.
24241         Will fix before 0.9 is out.
24242
24243         * gst/gstqueryutils.c: 
24244         * gst/gstqueryutils.h: New files, implement 3 methods for each
24245         query type: parse_query, parse_response, and set. Probably need an
24246         allocator as well.
24247
24248         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24249
24250         * gst/elements/gstfilesink.c (gst_filesink_query2):
24251         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24252         query_types, and formats methods.
24253
24254         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24255         (gst_pad_set_query2_function): New functions.
24256         (gst_real_pad_init): Set query2_default as the default query2
24257         function. Basically just dispatches to internally linked pads.
24258
24259         Needs review!
24260         
24261         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24262         without using the atomic operations. Only one thread can possibly
24263         be accessing the data at this point. Changed so as to avoid
24264         gst_atomic operations.
24265
24266 2005-05-06  Wim Taymans  <wim@fluendo.com>
24267
24268         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24269         Also set caps if we use the fallback buffer alloc.
24270
24271 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
24272
24273         * docs/gst/Makefile.am:
24274         * docs/gst/gstreamer-docs.sgml:
24275         * docs/gst/gstreamer-sections.txt:
24276         * docs/gst/tmpl/gstatomic.sgml:
24277         * docs/gst/tmpl/gstmemchunk.sgml:
24278         * testsuite/elements/struct_i386.h:
24279         * win32/GStreamer.vcproj:
24280         * win32/Makefile:
24281           Purge GstAtomic stuff from docs and win32 makefiles as well
24282
24283 2005-05-06  Wim Taymans  <wim@fluendo.com>
24284
24285         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24286         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24287         * gst/gstpad.c: (gst_pad_peer_get_caps):
24288         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24289         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24290         (gst_queue_src_activate), (gst_queue_change_state):
24291         * gst/gstqueue.h:
24292         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24293         (intersect_caps_func):
24294         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24295         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24296         Some fixes for the peer_get_caps() change.
24297
24298 2005-05-06  Wim Taymans  <wim@fluendo.com>
24299
24300         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24301         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24302         (gst_basesink_activate):
24303         Actually do something with error codes returned from the push
24304         functions.
24305
24306 2005-05-06  Wim Taymans  <wim@fluendo.com>
24307
24308         * docs/design/part-element-sink.txt:
24309         * docs/design/part-element-source.txt:
24310         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24311         (gst_basesink_event), (gst_basesink_activate):
24312         * gst/base/gstbasesink.h:
24313         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24314         (gst_basesrc_activate):
24315         * gst/base/gstbasesrc.h:
24316         * gst/gstelement.c: (gst_element_pads_activate):
24317         Some more documentation.
24318         Fixed scheduling decision in _pads_activate().
24319
24320 2005-05-05  Andy Wingo  <wingo@pobox.com>
24321
24322         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24323         the test suite.
24324
24325 2005-05-05  Wim Taymans  <wim@fluendo.com>
24326
24327         * gst/base/Makefile.am:
24328         * gst/base/gstbasesink.h:
24329         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24330         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24331         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24332         (gst_collectpads_class_init), (gst_collectpads_init),
24333         (gst_collectpads_finalize), (gst_collectpads_new),
24334         (gst_collectpads_set_function), (gst_collectpads_add_pad),
24335         (find_pad), (gst_collectpads_remove_pad),
24336         (gst_collectpads_is_active), (gst_collectpads_collect),
24337         (gst_collectpads_collect_range), (gst_collectpads_start),
24338         (gst_collectpads_stop), (gst_collectpads_peek),
24339         (gst_collectpads_pop), (gst_collectpads_available),
24340         (gst_collectpads_read), (gst_collectpads_flush),
24341         (gst_collectpads_chain):
24342         * gst/base/gstcollectpads.h:
24343         * gst/elements/Makefile.am:
24344         * gst/elements/gstelements.c:
24345         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24346         (gst_fakesink_get_times), (gst_fakesink_event),
24347         (gst_fakesink_preroll), (gst_fakesink_render):
24348         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24349         (gst_filesink_init), (gst_filesink_set_location),
24350         (gst_filesink_open_file), (gst_filesink_close_file),
24351         (gst_filesink_pad_query), (gst_filesink_event),
24352         (gst_filesink_render), (gst_filesink_change_state):
24353         * gst/elements/gstfilesink.h:
24354         Added object to help in making collect pad based elements.
24355         Ported filesink.
24356         Make event function in sink baseclass return gboolean.
24357
24358 2005-05-05  Wim Taymans  <wim@fluendo.com>
24359
24360         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24361         (gst_bin_get_by_name):
24362         * gst/gstbuffer.h:
24363         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24364         (gst_clock_finalize):
24365         * gst/gstdata.c: (gst_data_replace):
24366         * gst/gstdata.h:
24367         * gst/gstelement.c: (gst_element_request_pad),
24368         (gst_element_pads_activate):
24369         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24370         (gst_object_unref):
24371         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24372         (gst_pad_set_checkgetrange_function),
24373         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24374         (gst_pad_check_pull_range), (gst_pad_pull_range),
24375         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24376         (gst_pad_pause_task), (gst_pad_stop_task):
24377         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24378         (gst_element_request_pad), (gst_pad_proxy_getcaps):
24379         Fix name lookup in GstBin.
24380         Added _data_replace() function and _buffer_replace()
24381         Use finalize method to clean up clock.
24382         Fix refcounting on request pads.
24383         Fix pad schedule mode error.
24384         Some more object refcounting debug info,
24385
24386
24387 2005-05-04  Andy Wingo <wingo@pobox.com>
24388
24389         * check/Makefile.am:
24390         * docs/gst/tmpl/gstatomic.sgml:
24391         * docs/gst/tmpl/gstplugin.sgml:
24392         * gst/base/gstbasesink.c: (gst_basesink_activate):
24393         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24394         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24395         (gst_basesrc_query), (gst_basesrc_set_property),
24396         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24397         (gst_basesrc_activate):
24398         * gst/base/gstbasesrc.h:
24399         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24400         (gst_base_transform_src_activate):
24401         * gst/elements/gstelements.c:
24402         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24403         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24404         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24405         * gst/elements/gsttypefindelement.c: (find_element_get_length),
24406         (gst_type_find_element_checkgetrange),
24407         (gst_type_find_element_activate):
24408         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24409         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24410         (gst_caps_load_thyself):
24411         * gst/gstelement.c: (gst_element_pads_activate),
24412         (gst_element_save_thyself), (gst_element_restore_thyself):
24413         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24414         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24415         * gst/gstpad.h:
24416         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24417         (gst_xml_parse_file), (gst_xml_parse_memory),
24418         (gst_xml_get_element), (gst_xml_make_element):
24419         * gst/indexers/gstfileindex.c: (gst_file_index_load),
24420         (_file_index_id_save_xml), (gst_file_index_commit):
24421         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24422         (read_enum), (load_pad_template), (load_feature), (load_plugin),
24423         (load_paths):
24424         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24425         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24426         * tools/gst-complete.c: (main):
24427         * tools/gst-compprep.c: (main):
24428         * tools/gst-inspect.c: (print_element_properties_info):
24429         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24430         * tools/gst-xmlinspect.c: (print_element_properties):
24431         GCC 4 fixen.
24432         
24433 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24434
24435         * gst/gstplugin.c: (gst_plugin_check_module),
24436         (gst_plugin_check_file), (gst_plugin_load_file):
24437             apply patch from #172526 to make register work on MacOSX
24438
24439 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24440
24441         * docs/gst/tmpl/gstconfig.sgml:
24442         * gst/gstconfig.h.in:
24443           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
24444         * testsuite/debug/printf_extension.c: (main):
24445           Do not use GST_PTR_FORMAT on pointers to types with
24446           sizeof < sizeof(gpointer).  Fixes test on 64-bit
24447         * testsuite/elements/property.h:
24448           use correct printf format
24449
24450 2005-05-02  Wim Taymans  <wim@fluendo.com>
24451
24452         * docs/design/draft-push-pull.txt:
24453         * docs/design/draft-query.txt:
24454         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24455         (gst_basesrc_start):
24456         Added draft for new query API.
24457         Added draft for better selecting scheduling methods.
24458         Make basesrc ignore length if the subclass does not support
24459         it.
24460
24461 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24462
24463         * gst/Makefile.am:
24464           possible fixes for automake-1.5 - _LIBADD is reserved
24465
24466 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24467
24468         * docs/faq/Makefile.am:
24469         * docs/manual/Makefile.am:
24470         * docs/manuals.mak:
24471         * docs/pwg/Makefile.am:
24472         * gst/Makefile.am:
24473           possible fixes for automake-1.5
24474
24475 2005-04-28  Wim Taymans  <wim@fluendo.com>
24476
24477         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24478         (gst_basesink_pad_getcaps), (gst_basesink_init),
24479         (gst_basesink_do_sync):
24480         * gst/gstclock.c: (gst_clock_entry_new):
24481         * gst/gstevent.c: (gst_event_discont_get_value):
24482         * gst/gstpipeline.c: (pipeline_bus_handler),
24483         (gst_pipeline_change_state):
24484         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24485         Better debugging of clocking info.
24486         Allow NULL values when getting discont values.
24487
24488 2005-04-27  Wim Taymans  <wim@fluendo.com>
24489
24490         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24491         * check/gst/gstpad.c: (gst_pad_suite):
24492         Increase timeout for checks.
24493
24494 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24495
24496         * check/Makefile.am:
24497           fix the broken rule for cleanup.  Apparently this rule is
24498           only needed on FC2, so maybe this warrants further autotool
24499           inspection.
24500
24501 2005-04-26  Wim Taymans  <wim@fluendo.com>
24502
24503         * gst/gsttrashstack.h:
24504         Ooohh. a nasty one! After having a failed pop() from the stack,
24505         it's possible that the stack is empty. In that case, don't
24506         follow the NULL pointer.
24507
24508 2005-04-25  Wim Taymans  <wim@fluendo.com>
24509
24510         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24511         (gst_pad_set_checkgetrange_function),
24512         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24513         (gst_pad_check_pull_range), (gst_pad_pull_range),
24514         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24515         (gst_pad_pause_task), (gst_pad_stop_task):
24516         * gst/gstplugin.c: (gst_plugin_load):
24517         * gst/gstplugin.h:
24518         Remove gst_library_load as it does more harm than good with
24519         the new g_module flags.
24520         Revert bogus caps template check in pad linking, pad caps
24521         are important when linking not the template, which is more
24522         general than the current caps.
24523
24524 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24525
24526         * gst/autoplug/.cvsignore:
24527         * gst/autoplug/Makefile.am:
24528         * gst/autoplug/gstsearchfuncs.c:
24529         * gst/autoplug/gstsearchfuncs.h:
24530         * gst/autoplug/gstspider.c:
24531         * gst/autoplug/gstspider.h:
24532         * gst/autoplug/gstspideridentity.c:
24533         * gst/autoplug/gstspideridentity.h:
24534         * gst/autoplug/spidertest.c:
24535           Die, spider, die.
24536
24537 2005-04-25  Wim Taymans  <wim@fluendo.com>
24538
24539         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24540         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24541         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24542         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24543         * gst/gstpad.h:
24544         Added stubs for unimplemented functions. 
24545
24546 2005-04-24  David Schleef  <ds@schleef.org>
24547
24548         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
24549         please fix.
24550
24551 2005-04-24  David Schleef  <ds@schleef.org>
24552
24553         Convert everything from GstAtomicInt to g_atomic_int_*, and
24554         remove gstatomic.
24555         * gst/Makefile.am:
24556         * gst/gstatomic.c:
24557         * gst/gstatomic.h:
24558         * gst/gstatomic_impl.h:
24559         * gst/gstbuffer.c:
24560         * gst/gstcaps.c:
24561         * gst/gstcaps.h:
24562         * gst/gstclock.c:
24563         * gst/gstclock.h:
24564         * gst/gstdata.c:
24565         * gst/gstdata.h:
24566         * gst/gstdata_private.h:
24567         * gst/gstevent.c:
24568         * gst/gstinfo.c:
24569         * gst/gstinfo.h:
24570         * gst/gstmessage.c:
24571         * gst/gstobject.c:
24572         * gst/gstobject.h:
24573         * gst/gststructure.c:
24574         * gst/gststructure.h:
24575         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24576         * gst/gstutils.h:
24577
24578 2005-04-24  David Schleef  <ds@schleef.org>
24579
24580         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24581         make the regressions tests work.  Remove some code that is no
24582         longer true.
24583         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24584         Disable warning for pads without templates.
24585
24586 2005-04-24  David Schleef  <ds@schleef.org>
24587
24588         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
24589         functions that handle filtered links.
24590         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24591         removed functions.
24592         * gst/gstutils.c: Fix/remove utility functions that handle
24593         filtered caps.
24594         * gst/gstutils.h:
24595         * gst/gstvalue.c: Add serialization/deserialization of caps
24596         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
24597         requires fixing so that the filter caps notation creates
24598         a capsfilter element and sets the filter_caps property.  I
24599         think everyone probably wants to keep the shorthand notation.
24600         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24601         * docs/gst/tmpl/gstpad.sgml:
24602
24603         * gst/elements/gstelements.c: Register capsfilter element.
24604         * gst/Makefile.am: fix spacing
24605         * docs/random/ds/0.9-suggested-changes: random
24606
24607 2005-04-23  David Schleef  <ds@schleef.org>
24608
24609         * gst/elements/Makefile.am:
24610         * gst/elements/gstcapsfilter.c: New element that acts like an
24611         identity, but filters caps.  Will eventually replace filtered
24612         caps in pad linking.
24613         * gst/gstutils.c: (gst_element_create_all_pads): New function
24614         to create all the ALWAYS pads that are registered with an
24615         element class.  This functionality should eventually be
24616         merged in with GstElement initialization.
24617         * gst/gstutils.h:
24618         * testsuite/trigger/README: part of trigger test code that should
24619         have been checked in a long time ago.
24620
24621 2005-04-23  David Schleef  <ds@schleef.org>
24622
24623         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
24624         needed with new versions of libtool (nobody will confirm this),
24625         and hard to carry around.
24626         * gst/autoplug/Makefile.am:
24627         * gst/base/Makefile.am:
24628         * gst/elements/Makefile.am:
24629         * gst/indexers/Makefile.am:
24630         * gst/schedulers/Makefile.am:
24631         * libs/gst/bytestream/Makefile.am:
24632         * libs/gst/control/Makefile.am:
24633         * libs/gst/dataprotocol/Makefile.am:
24634         * libs/gst/getbits/Makefile.am:
24635
24636 2005-04-21  Wim Taymans  <wim@fluendo.com>
24637
24638         * docs/design/draft-push-pull.txt:
24639         * docs/design/part-MT-refcounting.txt:
24640         * docs/design/part-TODO.txt:
24641         * docs/design/part-caps.txt:
24642         * docs/design/part-events.txt:
24643         * docs/design/part-gstbus.txt:
24644         * docs/design/part-gstpipeline.txt:
24645         * docs/design/part-messages.txt:
24646         * docs/design/part-push-pull.txt:
24647         * docs/design/part-query.txt:
24648         Some more docs.
24649
24650 2005-04-21  Wim Taymans  <wim@fluendo.com>
24651
24652         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24653         (gst_message_new), (gst_message_new_error),
24654         (gst_message_new_warning), (gst_message_new_tag),
24655         (gst_message_new_state_changed), (gst_message_new_application),
24656         (gst_message_get_structure):
24657         * gst/gstmessage.h:
24658         * gst/gststructure.c: (gst_structure_set_parent_refcount),
24659         (gst_structure_copy_conditional):
24660         Use parent refcount in GstMessage to ensure GstStructure
24661         consistency.
24662         Cleaned up headers a bit.
24663         
24664
24665 2005-04-20  Wim Taymans  <wim@fluendo.com>
24666
24667         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24668         (gst_basesink_pad_getcaps), (gst_basesink_init),
24669         (gst_basesink_chain_unlocked):
24670         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24671         (gst_type_find_helper):
24672         * gst/elements/gsttypefindelement.c:
24673         (gst_type_find_element_have_type), (gst_type_find_element_init),
24674         (stop_typefinding), (gst_type_find_element_handle_event),
24675         (find_suggest), (gst_type_find_element_chain),
24676         (gst_type_find_element_checkgetrange),
24677         (gst_type_find_element_getrange), (do_typefind),
24678         (gst_type_find_element_activate):
24679         * gst/gstbuffer.c: (_gst_buffer_sub_free),
24680         (gst_buffer_default_free), (gst_buffer_default_copy),
24681         (gst_buffer_set_caps):
24682         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
24683         (gst_caps_replace):
24684         * gst/gstmessage.c: (gst_message_new),
24685         (gst_message_new_state_changed):
24686         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24687         (gst_pad_set_checkgetrange_function),
24688         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
24689         (gst_pad_set_caps), (gst_pad_check_pull_range),
24690         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
24691         * gst/gstpad.h:
24692         * gst/gsttypefind.c: (gst_type_find_register):
24693         Make gst_caps_replace() work like other _replace() functions.
24694         Use _caps_replace() where possible.
24695         Make sure _message_new() initialises its field.
24696         Add gst_static_pad_template_get_caps()
24697
24698
24699 2005-04-18  Andy Wingo  <wingo@pobox.com>
24700
24701         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
24702         on the peer, not the pad. I think that was a typo. Pass an extra
24703         arg to see if random access is possible. Activate the pads as
24704         PULL_RANGE if possible.
24705
24706         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
24707
24708         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
24709         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
24710         to PROP_....
24711
24712 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24713
24714         * docs/faq/using.xml:
24715           Add note on gstreamer-properties (#154996).
24716
24717 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24718
24719         * docs/random/bbb/optional-properties:
24720           Some analysis on optional properties.
24721
24722 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24723
24724         * docs/gst/tmpl/gstelementfactory.sgml:
24725         * gst/gstelement.h:
24726         * gst/gstelementfactory.c: (gst_element_factory_init),
24727         (gst_element_factory_cleanup), (gst_element_register),
24728         (__gst_element_factory_add_static_pad_template),
24729         (gst_element_factory_get_static_pad_templates),
24730         (gst_element_factory_can_src_caps),
24731         (gst_element_factory_can_sink_caps):
24732         * gst/registries/Makefile.am:
24733         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
24734         (gst_xml_registry_class_init), (gst_xml_registry_init),
24735         (gst_xml_registry_new), (gst_xml_registry_set_property),
24736         (gst_xml_registry_get_property), (get_time), (make_dir),
24737         (gst_xml_registry_get_perms_func),
24738         (plugin_times_older_than_recurse), (plugin_times_older_than),
24739         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
24740         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
24741         (add_to_char_array), (read_string), (read_uint), (read_enum),
24742         (load_pad_template), (load_feature), (load_plugin), (load_paths),
24743         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
24744         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
24745         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
24746         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
24747         (gst_xml_registry_rebuild):
24748         * gst/registries/gstlibxmlregistry.h:
24749         * tools/gst-compprep.c: (main):
24750         * tools/gst-inspect.c: (print_pad_templates_info):
24751         * tools/gst-xmlinspect.c: (print_element_info):
24752           Use libxml2 for registry parsing, use staticpadtemplates in
24753           elementfactories. Makes gst_init() +/- 10x faster.
24754
24755 2005-04-12  Wim Taymans  <wim@fluendo.com>
24756
24757         * gst/base/Makefile.am:
24758         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24759         (gst_basesink_pad_getcaps), (gst_basesink_init),
24760         (gst_basesink_event), (gst_basesink_change_state):
24761         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24762         (gst_basesrc_init), (gst_basesrc_query),
24763         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24764         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24765         (gst_basesrc_check_get_range), (gst_basesrc_loop),
24766         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24767         (gst_basesrc_stop), (gst_basesrc_activate),
24768         (gst_basesrc_change_state):
24769         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24770         (helper_find_suggest), (gst_type_find_helper):
24771         * gst/base/gsttypefindhelper.h:
24772         * gst/elements/Makefile.am:
24773         * gst/elements/gstelements.c:
24774         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24775         (gst_fakesink_get_times), (gst_fakesink_event),
24776         (gst_fakesink_preroll), (gst_fakesink_render):
24777         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24778         (gst_fakesrc_init), (gst_fakesrc_event_handler),
24779         (gst_fakesrc_get_property), (gst_fakesrc_create),
24780         (gst_fakesrc_start), (gst_fakesrc_stop):
24781         * gst/elements/gstfakesrc.h:
24782         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
24783         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24784         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24785         (gst_filesrc_create_read), (gst_filesrc_create),
24786         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
24787         (gst_filesrc_start):
24788         * gst/elements/gsttypefindelement.c:
24789         (gst_type_find_element_have_type), (gst_type_find_element_init),
24790         (start_typefinding), (stop_typefinding), (push_buffer_store),
24791         (gst_type_find_element_handle_event),
24792         (gst_type_find_element_chain),
24793         (gst_type_find_element_checkgetrange),
24794         (gst_type_find_element_getrange), (do_typefind),
24795         (gst_type_find_element_activate),
24796         (gst_type_find_element_change_state):
24797         * gst/elements/gsttypefindelement.h:
24798         * gst/gstpipeline.c: (pipeline_bus_handler):
24799         Added typefind helper.
24800         Small preroll fix in the base sink.
24801         Disable typefind code in basesrc.
24802         Crude port of typefindelement.
24803         Fakesrc cleanups.
24804
24805
24806 2005-04-11  Wim Taymans  <wim@fluendo.com>
24807
24808         * check/gst/gstbus.c: (gstbus_suite):
24809         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24810         * check/gstcheck.h:
24811           Fix up the timeout so that the test does not fail.
24812
24813 2005-04-06  Wim Taymans  <wim@fluendo.com>
24814
24815         * gst/base/README:
24816         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24817         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24818         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24819         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24820         (gst_basesrc_check_get_range), (gst_basesrc_loop),
24821         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24822         (gst_basesrc_stop), (gst_basesrc_activate),
24823         (gst_basesrc_change_state), (basesrc_find_peek),
24824         (basesrc_find_suggest), (gst_basesrc_type_find):
24825         * gst/base/gstbasesrc.h:
24826         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24827         (gst_filesrc_class_init), (gst_filesrc_init),
24828         (gst_filesrc_finalize), (gst_filesrc_set_location),
24829         (gst_filesrc_set_property), (gst_filesrc_get_property),
24830         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24831         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24832         (gst_filesrc_create_read), (gst_filesrc_create),
24833         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24834         * gst/elements/gstfilesrc.h:
24835         * gst/gstelement.c: (gst_element_get_state_func),
24836         (gst_element_lost_state), (gst_element_pads_activate):
24837         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24838         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24839         (gst_pad_pull_range):
24840         * gst/gstpad.h:
24841         More work on the generic source base class, implement seeking,
24842         query.
24843         Make filesrc extend the base source class.
24844         Added gst_pad_set_checkgetrange_function to GstPad.
24845
24846 2005-04-06  Andy Wingo  <wingo@pobox.com>
24847
24848         * pkgconfig/gstreamer-base.pc.in:
24849         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24850
24851         * pkgconfig/Makefile.am:
24852         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24853
24854 2005-04-04  Wim Taymans  <wim@fluendo.com>
24855
24856         * gst/base/Makefile.am:
24857         * gst/base/README:
24858         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24859         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24860         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24861         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24862         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24863         (gst_basesrc_base_init), (gst_basesrc_class_init),
24864         (gst_basesrc_init), (gst_basesrc_get_formats),
24865         (gst_basesrc_get_query_types), (gst_basesrc_query),
24866         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24867         (gst_basesrc_set_property), (gst_basesrc_get_property),
24868         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24869         (gst_basesrc_loop), (gst_basesrc_activate),
24870         (gst_basesrc_change_state):
24871         * gst/base/gstbasesrc.h:
24872         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24873         (gst_fakesrc_class_init), (gst_fakesrc_init),
24874         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24875         (gst_fakesrc_get_property), (gst_fakesrc_create):
24876         * gst/elements/gstfakesrc.h:
24877         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24878         (gst_filesrc_open_file), (gst_filesrc_loop),
24879         (gst_filesrc_activate), (filesrc_find_peek),
24880         (gst_filesrc_type_find):
24881         Made base source class, make fakesrc extend it.
24882         Add comments to basesink class.
24883         Some filesrc cleanup.
24884
24885 2005-03-31  David Schleef  <ds@schleef.org>
24886
24887         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24888         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24889         expected to link against libgstreamer.
24890         * gst/base/Makefile.am: link against libgstreamer
24891         * gst/elements/Makefile.am: same
24892
24893 2005-03-31  Andy Wingo  <wingo@pobox.com>
24894
24895         * tests/instantiate/Makefile.am:
24896         * tests/instantiate/caps.c: Add test to test speed of caps copy
24897         and free.
24898
24899         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24900         GMemChunk to be fair.
24901
24902         * gst/gsttrashstack.h: Remove warning about using the fallback
24903         trash stack implementation, it's still faster than malloc.
24904
24905 2005-03-30  Andy Wingo  <wingo@pobox.com>
24906
24907         * tests/complexity.c: Add a copyright.
24908
24909 2005-03-31  Wim Taymans  <wim@fluendo.com>
24910
24911         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24912         (gst_base_transform_class_init), (gst_base_transform_init),
24913         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24914         (gst_base_transform_get_property),
24915         (gst_base_transform_sink_activate),
24916         (gst_base_transform_src_activate),
24917         (gst_base_transform_change_state):
24918         * gst/base/gstbasetransform.h:
24919         * gst/elements/gstidentity.c: (gst_identity_class_init),
24920         (gst_identity_event), (gst_identity_check_perfect),
24921         (gst_identity_transform), (gst_identity_start),
24922         (gst_identity_stop):
24923         Added start/stop methods to transform base class so subclasses 
24924         don't need to deal with state changes even.
24925
24926 2005-03-31  Wim Taymans  <wim@fluendo.com>
24927
24928         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24929         (gst_event_new_discontinuous), (gst_event_discont_get_value):
24930         * gst/gstevent.h:
24931         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24932         (gst_pad_pull_range):
24933         Added rate to the discont event to prepare for variable speed
24934         and reverse playback.
24935
24936 2005-03-29  David Schleef  <ds@schleef.org>
24937
24938         * configure.ac:
24939         * testsuite/trigger/Makefile.am:
24940         * testsuite/trigger/trigger.c: A little example program to show
24941         how trigger-based elements can work.
24942
24943 2005-03-29  Wim Taymans  <wim@fluendo.com>
24944
24945         * gst/base/Makefile.am:
24946         * gst/base/README:
24947         * gst/base/gstbasesink.c: (gst_basesink_get_type),
24948         (gst_basesink_base_init), (gst_basesink_class_init),
24949         (gst_basesink_pad_getcaps), (gst_basesink_init),
24950         (gst_basesink_activate), (gst_basesink_change_state):
24951         * gst/base/gstbasesink.h:
24952         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24953         (gst_base_transform_base_init), (gst_base_transform_finalize),
24954         (gst_base_transform_class_init), (gst_base_transform_init),
24955         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24956         (gst_base_transform_event), (gst_base_transform_getrange),
24957         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24958         (gst_base_transform_set_property),
24959         (gst_base_transform_get_property),
24960         (gst_base_transform_sink_activate),
24961         (gst_base_transform_src_activate),
24962         (gst_base_transform_change_state):
24963         * gst/base/gstbasetransform.h:
24964         * gst/elements/gstidentity.c: (gst_identity_finalize),
24965         (gst_identity_class_init), (gst_identity_init),
24966         (gst_identity_event), (gst_identity_check_perfect),
24967         (gst_identity_transform), (gst_identity_set_property),
24968         (gst_identity_get_property), (gst_identity_change_state):
24969         * gst/elements/gstidentity.h:
24970         * gst/gstelement.c: (gst_element_get_state_func),
24971         (gst_element_lost_state), (gst_element_pads_activate):
24972         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24973         (gst_pad_check_pull_range), (gst_pad_pull_range):
24974         * gst/gstpad.h:
24975         Simplify pad activation.
24976         Added function to check if pull_range can be performed.
24977         Error out when pulling inactive or flushing pads.
24978         Removed const from refcounted types as it does not make sense.
24979         Simplify pad templates in basesink
24980         Added base class for simple 1-to-1 transforms.
24981         Make identity subclass the base transform.
24982
24983 2005-03-29  Andy Wingo  <wingo@pobox.com>
24984
24985         * docs/libs/gstreamer-libs-overrides.txt: 
24986         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24987         really don't understand what's going on, but like whatever. I want
24988         green buildbot!
24989
24990         * docs/gst/Makefile.am:
24991         * docs/libs/Makefile.am: Dist the overrides files.
24992
24993         * check/Makefile.am (clean-local): Remove .libs directories.
24994
24995         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24996         elements to EXTRA_DIST, so po/ files are happy.
24997
24998         * po/POTFILES.in: Er, remove it here.
24999
25000         * po/POTFILES: Remove gstspider.c.
25001
25002         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25003
25004         * docs/libs/gstreamer-libs-docs.sgml: 
25005         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25006         bytestream.
25007
25008         * tests/complexity.c (main): Set the length of the preroll queue
25009         on the sinks to prevent a lockup.
25010
25011         * libs/gst/dataprotocol/Makefile.am: 
25012         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25013         the same as the one in check/gst-libs/gdp.c.
25014
25015         * po/, docs/gst/: Commit automatic changes to docs and po files.
25016
25017         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25018         the versioned libgstbase.
25019
25020         * check/Makefile.am: Depend on an unversioned gst-register, seems
25021         to make autoconf happier.
25022
25023         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25024
25025 2005-03-28  Wim Taymans  <wim@fluendo.com>
25026
25027         * configure.ac:
25028         * docs/design/part-gstelement.txt:
25029         * docs/design/part-negotiation.txt:
25030         * docs/design/part-preroll.txt:
25031         * docs/design/part-scheduling.txt:
25032         * docs/design/part-states.txt:
25033         * gst/Makefile.am:
25034         * gst/base/Makefile.am:
25035         * gst/base/README:
25036         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25037         (gst_basesink_base_init), (gst_basesink_class_init),
25038         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25039         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25040         (gst_basesink_set_pad_functions),
25041         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25042         (gst_basesink_set_property), (gst_basesink_get_property),
25043         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25044         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25045         (gst_basesink_preroll_queue_push),
25046         (gst_basesink_preroll_queue_empty),
25047         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25048         (gst_basesink_event), (gst_basesink_get_times),
25049         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25050         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25051         (gst_basesink_loop), (gst_basesink_activate),
25052         (gst_basesink_change_state):
25053         * gst/base/gstbasesink.h:
25054         * gst/elements/Makefile.am:
25055         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25056         (gst_fakesink_class_init), (gst_fakesink_init),
25057         (gst_fakesink_set_property), (gst_fakesink_get_property),
25058         (gst_fakesink_get_times), (gst_fakesink_event),
25059         (gst_fakesink_preroll), (gst_fakesink_render),
25060         (gst_fakesink_change_state):
25061         * gst/elements/gstfakesink.h:
25062         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25063         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25064         * gst/gstelement.c: (gst_element_add_pad),
25065         (gst_element_get_state_func), (gst_element_abort_state),
25066         (gst_element_commit_state), (gst_element_lost_state),
25067         (gst_element_set_state), (gst_element_pads_activate):
25068         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25069         * gst/gstpipeline.c: (gst_pipeline_send_event),
25070         (gst_pipeline_change_state):
25071         Added state change code.
25072         Added/updated docs.
25073         Added sink base class, make fakesink extend the base class.
25074         Small cleanups in GstPipeline.
25075
25076 2005-03-26  David Schleef  <ds@schleef.org>
25077
25078         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25079         is broken and should be implemented in a different library.
25080         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25081         * gst/gst.h: remove gstcpu.h
25082         * gst/gstcpu.c: remove
25083         * gst/gstcpu.h: remove
25084         * gst/Makefile.am.future: Remove this file.  It's ancient.
25085
25086 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25087
25088         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25089         (gst_bin_send_event):
25090           Add default event/set_manager handlers. The set_manager handler
25091           takes care that the manager is distributed over kids that were
25092           already in the bin before the manager was set. The event handler
25093           is a utility virtual function that sends the event over all sinks,
25094           so that gst_element_send_event (bin, event); has the expected
25095           behaviour.
25096         * gst/gstpad.c: (gst_pad_event_default):
25097           Re-install default event handling for discontinuities, so that
25098           seeking works without requiring hacks in applications or extra
25099           code in sinks.
25100         * gst/gstpipeline.c: (gst_pipeline_class_init),
25101         (gst_pipeline_send_event):
25102           Half hack, half utility: set a pipeline to PAUSED for seek events,
25103           since that is the only way we can guarantee a/v sync. Means that
25104           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25105           and it "just works".
25106
25107 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25108
25109         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25110           Lock/unlock mismatch.
25111
25112 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25113
25114         * docs/faq/gst-uninstalled:
25115           add gst-plugins-base
25116         * docs/gst/Makefile.am:
25117           don't error out until docs are fixed
25118         * docs/gst/gstreamer.types:
25119           remove thread
25120
25121 2005-03-22  Wim Taymans  <wim@fluendo.com>
25122
25123         * check/Makefile.am:
25124         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25125         * gst/gststructure.c: (gst_structure_set_valist),
25126         (gst_structure_copy_conditional):
25127         Activated more tests.
25128         Added message test.
25129         Added G_TYPE_POINTER to GstStructure.
25130         
25131
25132 2005-03-22  Wim Taymans  <wim@fluendo.com>
25133
25134         * docs/design/part-TODO.txt:
25135         * docs/design/part-events.txt:
25136         * docs/design/part-gstbin.txt:
25137         * docs/design/part-gstbus.txt:
25138         * docs/design/part-gstpipeline.txt:
25139         * docs/design/part-messages.txt:
25140         * gst/gstbus.c:
25141         * gst/gstmessage.c:
25142         Docs updates
25143
25144 2005-03-21  Wim Taymans  <wim@fluendo.com>
25145
25146         * gst/gstbus.c: (gst_bus_post):
25147         Fix copy-and-paste error.
25148
25149 2005-03-21  Wim Taymans  <wim@fluendo.com>
25150
25151         * check/Makefile.am:
25152         * gst/Makefile.am:
25153         * gst/elements/Makefile.am:
25154         * gst/elements/gstelements.c:
25155         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25156         (gst_fakesink_event), (gst_fakesink_chain):
25157         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25158         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25159         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25160         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25161         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25162         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25163         (gst_fakesrc_loop), (gst_fakesrc_activate),
25164         (gst_fakesrc_change_state):
25165         * gst/elements/gstfakesrc.h:
25166         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25167         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25168         (gst_filesrc_open_file), (gst_filesrc_loop),
25169         (gst_filesrc_activate), (gst_filesrc_change_state),
25170         (filesrc_find_peek), (filesrc_find_suggest),
25171         (gst_filesrc_type_find):
25172         * gst/elements/gstidentity.c: (gst_identity_finalize),
25173         (gst_identity_class_init), (gst_identity_init),
25174         (gst_identity_proxy_getcaps), (identity_queue_push),
25175         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25176         (gst_identity_getrange), (gst_identity_chain),
25177         (gst_identity_sink_loop), (gst_identity_src_loop),
25178         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25179         (gst_identity_set_property), (gst_identity_get_property),
25180         (gst_identity_change_state):
25181         * gst/elements/gstidentity.h:
25182         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25183         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25184         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25185         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25186         (gst_tee_sink_activate):
25187         * gst/elements/gsttee.h:
25188         * gst/gst.c: (gst_register_core_elements), (init_post):
25189         * gst/gst.h:
25190         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25191         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25192         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25193         (gst_bin_change_state):
25194         * gst/gstbin.h:
25195         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25196         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25197         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25198         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25199         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25200         (bus_watch_callback), (bus_watch_destroy),
25201         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25202         (poll_timeout), (gst_bus_poll):
25203         * gst/gstbus.h:
25204         * gst/gstcaps.h:
25205         * gst/gstdata.h:
25206         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25207         (gst_element_post_message), (gst_element_message_full),
25208         (gst_element_get_state_func), (gst_element_get_state),
25209         (gst_element_abort_state), (gst_element_commit_state),
25210         (gst_element_lost_state), (gst_element_set_state),
25211         (gst_element_pads_activate), (gst_element_change_state),
25212         (gst_element_dispose), (gst_element_set_manager_func),
25213         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25214         (gst_element_set_manager), (gst_element_get_manager),
25215         (gst_element_set_bus), (gst_element_get_bus),
25216         (gst_element_set_scheduler), (gst_element_get_scheduler):
25217         * gst/gstelement.h:
25218         * gst/gstevent.c: (gst_event_new_segment_seek),
25219         (gst_event_new_flush):
25220         * gst/gstevent.h:
25221         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25222         (_gst_message_free), (gst_message_get_type), (gst_message_new),
25223         (gst_message_new_eos), (gst_message_new_error),
25224         (gst_message_new_warning), (gst_message_new_tag),
25225         (gst_message_new_state_changed), (gst_message_new_application),
25226         (gst_message_get_structure), (gst_message_parse_tag),
25227         (gst_message_parse_state_changed), (gst_message_parse_error),
25228         (gst_message_parse_warning):
25229         * gst/gstmessage.h:
25230         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25231         (gst_real_pad_set_property), (gst_pad_set_active),
25232         (gst_pad_is_active), (gst_pad_set_blocked_async),
25233         (gst_pad_set_blocked), (gst_pad_is_blocked),
25234         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25235         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25236         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25237         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25238         (gst_pad_link_filtered), (gst_pad_relink_filtered),
25239         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25240         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25241         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25242         (gst_pad_set_caps), (gst_pad_configure_sink),
25243         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25244         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25245         (gst_real_pad_dispose), (gst_real_pad_finalize),
25246         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25247         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25248         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25249         * gst/gstpad.h:
25250         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25251         (pipeline_bus_handler), (gst_pipeline_change_state),
25252         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25253         * gst/gstpipeline.h:
25254         * gst/gstprobe.h:
25255         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25256         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25257         (gst_queue_link_src), (gst_queue_bufferalloc),
25258         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25259         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25260         (gst_queue_loop), (gst_queue_handle_src_event),
25261         (gst_queue_handle_src_query), (gst_queue_src_activate),
25262         (gst_queue_change_state):
25263         * gst/gstqueue.h:
25264         * gst/gstscheduler.c: (gst_scheduler_init),
25265         (gst_scheduler_dispose), (gst_scheduler_create_task),
25266         (gst_scheduler_factory_create):
25267         * gst/gstscheduler.h:
25268         * gst/gststructure.c: (gst_structure_get_type),
25269         (gst_structure_copy_conditional):
25270         * gst/gststructure.h:
25271         * gst/gsttaginterface.h:
25272         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25273         (gst_task_init), (gst_task_dispose), (gst_task_create),
25274         (gst_task_get_state), (gst_task_start), (gst_task_stop),
25275         (gst_task_pause):
25276         * gst/gsttask.h:
25277         * gst/gstthread.c:
25278         * gst/gstthread.h:
25279         * gst/gsttypes.h:
25280         * gst/schedulers/Makefile.am:
25281         * gst/schedulers/cothreads_compat.h:
25282         * gst/schedulers/entryscheduler.c:
25283         * gst/schedulers/faircothreads.c:
25284         * gst/schedulers/faircothreads.h:
25285         * gst/schedulers/fairscheduler.c:
25286         * gst/schedulers/gstbasicscheduler.c:
25287         * gst/schedulers/gstoptimalscheduler.c:
25288         * gst/schedulers/gthread-cothreads.h:
25289         * gst/schedulers/threadscheduler.c:
25290         (gst_thread_scheduler_task_get_type),
25291         (gst_thread_scheduler_task_class_init),
25292         (gst_thread_scheduler_task_init),
25293         (gst_thread_scheduler_task_start),
25294         (gst_thread_scheduler_task_stop),
25295         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25296         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25297         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25298         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25299         (plugin_init):
25300         * libs/gst/Makefile.am:
25301         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25302         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25303         (gst_file_pad_parent_set):
25304         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25305         (gst_dp_event_from_packet):
25306         * tests/complexity.c: (main):
25307         * tests/mass_elements.c: (main):
25308         * testsuite/states/locked.c: (message_received), (main):
25309         * testsuite/states/parent.c: (main):
25310         * tools/gst-inspect.c: (print_element_flag_info),
25311         (print_implementation_info), (print_pad_info):
25312         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25313         (main):
25314         * tools/gst-md5sum.c: (event_loop), (main):
25315         * tools/gst-typefind.c: (main):
25316         * tools/gst-xmlinspect.c: (print_element_info):
25317         Next big merge.
25318         Added GstBus for mainloop integration.
25319         Added GstMessage for sending notifications on the bus.
25320         Added GstTask as an abstraction for pipeline entry points.
25321         Removed GstThread.
25322         Removed Schedulers.
25323         Simplified GstQueue for multithreaded core.
25324         Made _link threadsafe, removed old capsnego.
25325         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25326         Added pad blocking functions.
25327         Reworked scheduling functions in GstPad to prepare for
25328         scheduling updates soon.
25329         Moved events out of data stream.
25330         Simplified GstEvent types.
25331         Added return values to push/pull.
25332         Removed clocking from GstElement.
25333         Added prototypes for state change function for next merge.
25334         Removed iterate from bins and state change management.
25335         Fixed some elements, disabled others for now.
25336         Fixed -inspect and -launch.
25337         Added check for GstBus.
25338
25339 2005-03-10  Wim Taymans  <wim@fluendo.com>
25340
25341         * docs/design/part-MT-refcounting.txt:
25342         * docs/design/part-clocks.txt:
25343         * docs/design/part-gstelement.txt:
25344         * docs/design/part-gstobject.txt:
25345         * docs/design/part-standards.txt:
25346         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25347         (gst_bin_remove_func), (gst_bin_remove):
25348         * gst/gstbin.h:
25349         * gst/gstbuffer.c:
25350         * gst/gstcaps.h:
25351         * testsuite/clock/clock1.c: (main):
25352         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25353         (main):
25354         * testsuite/dlopen/loadgst.c: (do_test):
25355         * testsuite/refcounting/bin.c: (add_remove_test1),
25356         (add_remove_test2), (main):
25357         * testsuite/refcounting/element.c: (main):
25358         * testsuite/refcounting/element_pad.c: (main):
25359         * testsuite/refcounting/pad.c: (main):
25360         * tools/gst-launch.c: (sigint_handler_sighandler):
25361         * tools/gst-typefind.c: (main):
25362         Doc updates.
25363         Added doc about clock.
25364         removed gst_bin_iterate_recurse_up(), marked methods
25365         for removal.
25366         Fix more testsuites.
25367
25368 2005-03-09  Wim Taymans  <wim@fluendo.com>
25369
25370         * gst/gstpad.c: (gst_pad_get_direction),
25371         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25372         (gst_pad_collect_valist):
25373         * testsuite/bins/interface.c: (main):
25374         * testsuite/caps/audioscale.c: (test_caps):
25375         * testsuite/caps/caps.c: (test1), (test2), (test3):
25376         * testsuite/caps/deserialize.c: (main):
25377         * testsuite/caps/enumcaps.c: (main):
25378         * testsuite/caps/filtercaps.c: (main):
25379         * testsuite/caps/intersect2.c: (main):
25380         * testsuite/caps/random.c: (main):
25381         * testsuite/caps/renegotiate.c: (my_fixate), (main):
25382         * testsuite/caps/sets.c: (check_caps):
25383         * testsuite/caps/simplify.c: (check_caps), (main):
25384         * testsuite/caps/subtract.c: (check_caps):
25385         Fix _pad_get_direction wrt ghostpads.
25386         Fix caps testsuite.
25387
25388 2005-03-09  Wim Taymans  <wim@fluendo.com>
25389
25390         * check/Makefile.am:
25391         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25392         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25393         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25394         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25395         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25396         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25397         (gst_bin_remove), (gst_bin_iterate_recurse_up),
25398         (bin_element_is_sink), (gst_bin_iterate_sinks),
25399         (gst_bin_iterate_all_by_interface):
25400         * gst/gstbin.h:
25401         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25402         (gst_element_change_state), (gst_element_dispose),
25403         (gst_element_finalize), (gst_element_set_loop_function):
25404         * gst/gstelement.h:
25405         * gst/gstiterator.c: (find_custom_fold_func):
25406         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25407         (gst_pad_collectv), (gst_pad_collect_valist),
25408         (gst_pad_template_new):
25409         * gst/gstpipeline.c: (gst_pipeline_class_init),
25410         (gst_pipeline_dispose), (gst_pipeline_set_property),
25411         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25412         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25413         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25414         * gst/gstutils.h:
25415         * gst/schedulers/entryscheduler.c:
25416         * gst/schedulers/gstbasicscheduler.c:
25417         (gst_basic_scheduler_cothreaded_chain),
25418         (gst_basic_scheduler_chain_add_element):
25419         * testsuite/bins/interface.c: (main):
25420         Added GstBin test.
25421         Added GstSystemClock test.
25422         Implemented clock distribution code in GstBin.
25423         Implemented iterate sinks method for future use.
25424         Rearranged gstelement.h
25425         Fix GstIterator comparison bug.
25426         Moved some code to GstPipeline, mostly clocking related.
25427
25428 2005-03-09  Wim Taymans  <wim@fluendo.com>
25429
25430         * configure.ac:
25431         * gst/gst_private.h:
25432         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25433         (gst_bin_remove_func), (gst_bin_remove),
25434         (gst_bin_get_by_name_recurse_up):
25435         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25436         (gst_clock_id_compare_func), (gst_clock_id_wait),
25437         (gst_clock_id_wait_async), (gst_clock_init),
25438         (gst_clock_adjust_unlocked), (gst_clock_get_time):
25439         * gst/gstelement.h:
25440         * gst/gstinfo.c: (_gst_debug_init):
25441         * gst/gstobject.h:
25442         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25443         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25444         * gst/gstpad.h:
25445         Bump version number, we're now 0.9.0
25446         Add future debugging category.
25447         Fix NULL _unref() in _get_by_name_recurse_up
25448         Rearrange gstpad.h.
25449         Update some docs.
25450
25451 2005-03-08  Wim Taymans  <wim@fluendo.com>
25452
25453         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25454         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25455         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25456         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25457         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25458         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25459         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25460         * gst/elements/gstidentity.c: (gst_identity_class_init):
25461         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25462         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25463         * gst/elements/gstshaper.c: (gst_shaper_class_init):
25464         * gst/elements/gststatistics.c: (gst_statistics_class_init):
25465         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25466         (gst_tee_link):
25467         * gst/gstelement.c: (gst_element_class_init),
25468         (gst_element_base_class_init), (gst_element_init),
25469         (gst_element_get_random_pad), (gst_element_wait_state_change),
25470         (gst_element_change_state), (gst_element_dispose),
25471         (gst_element_finalize), (gst_element_set_loop_function):
25472         * gst/gstelement.h:
25473         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25474         * gst/gstthread.c: (gst_thread_class_init),
25475         (gst_thread_release_children_locks), (gst_thread_change_state):
25476         * gst/schedulers/gstbasicscheduler.c:
25477         (gst_basic_scheduler_loopfunc_wrapper),
25478         (gst_basic_scheduler_chain_wrapper),
25479         (gst_basic_scheduler_src_wrapper),
25480         (gst_basic_scheduler_remove_element):
25481         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25482         Remove threadsafe properties. Fix elements because GObject
25483         complains when installing a property before declaring a
25484         set/get_property handler.
25485         Rearrange gstelement.h file, use STATE macros for state locks.
25486         Free mutexes in the finalize method instead of dispose.
25487
25488 2005-03-08  Wim Taymans  <wim@fluendo.com>
25489
25490         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25491         * gst/gstthread.c: (gst_thread_release_children_locks):
25492         Added parentage check.
25493         Fix build og GstThread again.
25494
25495 2005-03-08  Wim Taymans  <wim@fluendo.com>
25496
25497         * docs/design/part-MT-refcounting.txt:
25498         * docs/design/part-conventions.txt:
25499         * docs/design/part-gstobject.txt:
25500         * docs/design/part-relations.txt:
25501         * docs/design/part-standards.txt:
25502         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25503         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25504         (gst_bin_get_by_name), (gst_bin_get_by_interface),
25505         (gst_bin_iterate_all_by_interface):
25506         * gst/gstbuffer.h:
25507         * gst/gstclock.h:
25508         * gst/gstelement.c: (gst_element_class_init),
25509         (gst_element_change_state), (gst_element_set_loop_function):
25510         * gst/gstelement.h:
25511         * gst/gstiterator.c:
25512         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25513         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25514         (gst_object_dispatch_properties_changed), (gst_object_set_name),
25515         (gst_object_set_parent), (gst_object_unparent),
25516         (gst_object_check_uniqueness):
25517         * gst/gstobject.h:
25518         Docs updates, clean up some headers.
25519
25520 2005-03-07  Wim Taymans  <wim@fluendo.com>
25521
25522         * check/.cvsignore:
25523         * check/Makefile.am:
25524         * check/gst-libs/.cvsignore:
25525         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25526         * check/gst/.cvsignore:
25527         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25528         (START_TEST), (gstbus_suite), (main):
25529         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25530         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25531         (gst_data_suite), (main):
25532         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25533         (add_fold_func), (gstiterator_suite), (main):
25534         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25535         (thread_name_object), (thread_name_object_default),
25536         (gst_object_name_compare), (gst_object_suite), (main):
25537         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25538         (gst_pad_suite), (main):
25539         * check/gstcheck.c: (gst_check_log_message_func),
25540         (gst_check_log_critical_func), (gst_check_init):
25541         * check/gstcheck.h:
25542         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25543         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25544         Added checks.
25545
25546 2005-03-07  Wim Taymans  <wim@fluendo.com>
25547
25548         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25549         (gst_list_iterator_next), (gst_list_iterator_resync),
25550         (gst_list_iterator_free), (gst_iterator_new_list),
25551         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25552         (gst_iterator_free), (gst_iterator_push), (filter_next),
25553         (filter_resync), (filter_uninit), (filter_free),
25554         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25555         (gst_iterator_foreach), (find_custom_fold_func),
25556         (gst_iterator_find_custom):
25557         * gst/gstiterator.h:
25558         Added missing files.
25559
25560 2005-03-07  Wim Taymans  <wim@fluendo.com>
25561
25562         * Makefile.am:
25563         * configure.ac:
25564         * docs/design/part-MT-refcounting.txt:
25565         * docs/design/part-conventions.txt:
25566         * docs/design/part-gstobject.txt:
25567         * docs/design/part-relations.txt:
25568         * examples/mixer/mixer.c: (main):
25569         * examples/thread/thread.c: (eos), (main):
25570         * gst/Makefile.am:
25571         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25572         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25573         (gst_spider_plug_from_srcpad):
25574         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25575         (gst_spider_identity_change_state),
25576         (gst_spider_identity_sink_loop_type_finding):
25577         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25578         * gst/elements/gstidentity.c: (gst_identity_init):
25579         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25580         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25581         * gst/elements/gsttypefindelement.c: (free_entry):
25582         * gst/gst.c:
25583         * gst/gst.h:
25584         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25585         (gst_bin_set_clock_func), (gst_bin_auto_clock),
25586         (gst_bin_set_index), (gst_bin_set_element_sched),
25587         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25588         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25589         (gst_bin_iterate_elements), (iterate_child_recurse),
25590         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25591         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25592         (compare_interface), (gst_bin_get_by_interface),
25593         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25594         * gst/gstbin.h:
25595         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25596         (gst_buffer_default_free), (gst_buffer_default_copy),
25597         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25598         (gst_buffer_create_sub):
25599         * gst/gstbuffer.h:
25600         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25601         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25602         (gst_caps_unref), (gst_static_caps_get),
25603         (gst_caps_remove_and_get_structure), (gst_caps_append),
25604         (gst_caps_append_structure), (gst_caps_remove_structure),
25605         (gst_caps_copy_nth), (gst_caps_set_simple),
25606         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25607         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25608         (gst_caps_structure_intersect_field), (gst_caps_intersect),
25609         (gst_caps_structure_subtract_field), (gst_caps_subtract),
25610         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25611         (gst_caps_structure_figure_out_union),
25612         (gst_caps_switch_structures), (gst_caps_do_simplify),
25613         (gst_caps_replace), (gst_caps_from_string),
25614         (gst_caps_copy_conditional):
25615         * gst/gstcaps.h:
25616         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25617         (_gst_clock_id_free), (gst_clock_id_unref),
25618         (gst_clock_id_compare_func), (gst_clock_id_wait),
25619         (gst_clock_id_wait_async), (gst_clock_class_init),
25620         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25621         (gst_clock_get_time), (gst_clock_set_time_adjust),
25622         (gst_clock_set_property), (gst_clock_get_property):
25623         * gst/gstclock.h:
25624         * gst/gstcompat.h:
25625         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25626         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25627         * gst/gstdata.h:
25628         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25629         (gst_element_requires_clock), (gst_element_provides_clock),
25630         (gst_element_set_clock), (gst_element_clock_wait),
25631         (gst_element_wait), (gst_element_set_time_delay),
25632         (gst_element_is_indexable), (gst_element_add_pad),
25633         (gst_element_add_ghost_pad), (gst_element_remove_pad),
25634         (pad_compare_name), (gst_element_get_static_pad),
25635         (gst_element_request_pad), (gst_element_get_request_pad),
25636         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25637         (gst_element_class_get_pad_template_list),
25638         (gst_element_class_get_pad_template), (gst_element_error_func),
25639         (gst_element_get_random_pad), (gst_element_get_event_masks),
25640         (gst_element_send_event), (gst_element_seek),
25641         (gst_element_get_query_types), (gst_element_query),
25642         (gst_element_get_formats), (gst_element_convert),
25643         (gst_element_is_locked_state), (gst_element_set_locked_state),
25644         (gst_element_sync_state_with_parent), (gst_element_change_state),
25645         (gst_element_finalize), (gst_element_yield),
25646         (gst_element_interrupt), (gst_element_set_scheduler),
25647         (gst_element_get_scheduler), (gst_element_set_loop_function):
25648         * gst/gstelement.h:
25649         * gst/gstevent.h:
25650         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25651         (gst_format_get_by_nick), (gst_format_get_details),
25652         (gst_format_iterate_definitions):
25653         * gst/gstformat.h:
25654         * gst/gstindex.c: (gst_index_gtype_resolver):
25655         * gst/gstinfo.c:
25656         * gst/gstinfo.h:
25657         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25658         (gst_mem_chunk_free):
25659         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25660         (gst_object_ref), (gst_object_unref), (gst_object_sink),
25661         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25662         (gst_object_dispatch_properties_changed),
25663         (gst_object_set_name_default), (gst_object_set_name),
25664         (gst_object_get_name), (gst_object_set_name_prefix),
25665         (gst_object_get_name_prefix), (gst_object_set_parent),
25666         (gst_object_get_parent), (gst_object_unparent),
25667         (gst_object_check_uniqueness), (gst_object_save_thyself),
25668         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25669         (gst_object_set_property), (gst_object_get_property),
25670         (gst_object_get_path_string):
25671         * gst/gstobject.h:
25672         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25673         (gst_real_pad_init), (gst_real_pad_get_property),
25674         (gst_pad_custom_new), (gst_pad_get_direction),
25675         (gst_pad_set_active), (gst_pad_is_active),
25676         (gst_pad_set_event_function), (gst_pad_is_linked),
25677         (gst_pad_link_free), (gst_pad_link_intersect),
25678         (gst_pad_link_fixate), (gst_pad_set_caps),
25679         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
25680         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
25681         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
25682         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
25683         (gst_pad_get_caps), (gst_pad_peer_get_caps),
25684         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
25685         (gst_pad_realize), (gst_pad_get_allowed_caps),
25686         (gst_real_pad_dispose), (gst_real_pad_finalize),
25687         (gst_pad_collectv), (gst_pad_collect_valist),
25688         (gst_pad_template_dispose), (gst_pad_template_new),
25689         (gst_pad_get_internal_links):
25690         * gst/gstpad.h:
25691         * gst/gstpipeline.c: (gst_pipeline_dispose),
25692         (gst_pipeline_change_state):
25693         * gst/gstpipeline.h:
25694         * gst/gstplugin.c:
25695         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
25696         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
25697         * gst/gstpluginfeature.h:
25698         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
25699         * gst/gstquery.c: (_gst_query_type_initialize),
25700         (gst_query_type_register), (gst_query_type_get_by_nick),
25701         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
25702         * gst/gstquery.h:
25703         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
25704         * gst/gstscheduler.c: (gst_scheduler_add_element),
25705         (gst_scheduler_factory_create):
25706         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25707         (gst_structure_free), (gst_structure_set_name),
25708         (gst_structure_id_set_value), (gst_structure_set_value),
25709         (gst_structure_set_valist), (gst_structure_remove_field),
25710         (gst_structure_remove_fields),
25711         (gst_structure_remove_fields_valist),
25712         (gst_structure_remove_all_fields), (gst_structure_foreach),
25713         (gst_structure_map_in_place),
25714         (gst_caps_structure_fixate_field_nearest_int),
25715         (gst_caps_structure_fixate_field_nearest_double):
25716         * gst/gststructure.h:
25717         * gst/gstsystemclock.c: (gst_system_clock_class_init),
25718         (gst_system_clock_init), (gst_system_clock_dispose),
25719         (gst_system_clock_async_thread),
25720         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
25721         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
25722         * gst/gstsystemclock.h:
25723         * gst/gsttag.c: (gst_tag_list_add_value_internal),
25724         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
25725         * gst/gsttaginterface.c:
25726         * gst/gstthread.c: (gst_thread_dispose),
25727         (gst_thread_release_children_locks), (gst_thread_change_state),
25728         (gst_thread_main_loop):
25729         * gst/gsttrashstack.h:
25730         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
25731         * gst/gsttypes.h:
25732         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25733         (gst_element_request_pad), (gst_element_get_pad_from_template),
25734         (gst_element_request_compatible_pad),
25735         (gst_element_get_compatible_pad_filtered),
25736         (gst_element_get_compatible_pad), (gst_element_state_get_name),
25737         (gst_element_link_pads_filtered), (gst_element_link_filtered),
25738         (gst_element_link_many), (gst_element_link),
25739         (gst_element_link_pads), (gst_element_unlink_pads),
25740         (gst_element_unlink_many), (gst_element_unlink),
25741         (gst_pad_can_link_filtered), (gst_pad_can_link),
25742         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
25743         (gst_object_default_error), (gst_bin_add_many),
25744         (gst_bin_remove_many), (gst_element_populate_std_props),
25745         (gst_element_class_install_std_props), (gst_buffer_merge),
25746         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
25747         (link_fold_func), (gst_pad_proxy_setcaps):
25748         * gst/gstutils.h:
25749         * gst/gstvalue.c: (gst_value_deserialize_string):
25750         * gst/parse/grammar.y:
25751         * gst/schedulers/gstbasicscheduler.c:
25752         (gst_basic_scheduler_cothreaded_chain),
25753         (gst_basic_scheduler_chain_recursive_add),
25754         (gst_basic_scheduler_pad_link):
25755         * gst/schedulers/gstoptimalscheduler.c:
25756         (get_group_schedule_function),
25757         (gst_opt_scheduler_state_transition),
25758         (gst_opt_scheduler_add_element), (element_get_reachables_func):
25759         * libs/gst/bytestream/bytestream.c:
25760         * libs/gst/dataprotocol/dataprotocol.c:
25761         (gst_dp_header_from_buffer):
25762         * po/nb.po:
25763         * po/ru.po:
25764         * tests/threadstate/threadstate2.c: (eos):
25765         * tools/gst-compprep.c: (main):
25766         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
25767         (print_pad_info), (print_children_info):
25768         * tools/gst-launch.c: (idle_func), (main):
25769         * tools/gst-md5sum.c: (idle_func), (main):
25770         * tools/gst-xmlinspect.c: (print_element_info):
25771         First THREADED backport attempt, focusing on adding locks and
25772         making sure the API is threadsafe. Needs more work. More docs
25773         follow this week.
25774
25775 2005-02-24  Andy Wingo  <wingo@pobox.com>
25776
25777         * tests/bench-complexity.scm:
25778         * tests/complexity.gnuplot: New files, good for running complexity
25779         benchmarks.
25780
25781         * tests/Makefile.am:
25782         * tests/complexity.c: New test, sets up N elements, at each level
25783         teeing into M streams per element. Eeeenteresting.
25784
25785         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
25786         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
25787         running bench-mass_elements.scm.
25788
25789         * tests/bench-mass_elements.scm: New script, runs mass_elements
25790         for various numbers of identities, outputting the results to a
25791         file. Requires guile 1.6. Just for testing.
25792
25793 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
25794
25795         * gst/schedulers/fairscheduler.c:
25796           compile with debug disabled
25797
25798 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25799
25800         * configure.ac:
25801           hunting season on 0.9 is now OPEN