plugins/elements/gstfilesrc.c: Use g_filename_from_uri() for URI parsing in filesrc...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-11-20  Michael Smith <msmith@songbirdnest.com>
2
3         * plugins/elements/gstfilesrc.c:
4           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
5           out own slightly incorrect version. Fixes use of some paths on
6           win32.
7
8 2008-11-20  Michael Smith <msmith@songbirdnest.com>
9
10         * gst/gstregistrybinary.c:
11           In win32 codepath, if we fail to write the registry, create the
12           directory for it and try again, matching the behaviour in non-win32
13           codepaths.
14
15 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
16
17         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
18         Changing the render delay changes the latency and so we must post a
19         latency message.
20
21 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
22
23         * gst/gstquery.c:
24         * gst/gstquery.h:
25         Add GstQueryType for custom queries instead of having to use the
26         not-so-very-convenient registration infrastructure to register new
27         types.
28
29 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
30
31         Patch by: Andrew Feren <acferen at yahoo dot com>
32
33         * gst/gstobject.c: (gst_object_default_deep_notify):
34         Unref the GEnumClass after usage again. Fixes bug #561501.
35
36 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
37
38         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
39         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
40         (gst_bin_change_state_func):
41         * gst/gstbin.h:
42         Add do-latency signal with the old default fallback implementation. This
43         allows for custom latency calculations for when the default is not
44         sufficient.
45         API: GstBin::do-latency signal.
46
47 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
48
49         * win32/common/libgstreamer.def:
50         Add new symbols to .def file.
51
52 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
53
54         * docs/gst/gstreamer-sections.txt:
55         * gst/gstbin.c: (gst_bin_recalculate_latency),
56         (gst_bin_change_state_func):
57         * gst/gstbin.h:
58         Add method to recalculate and redistribute the latency on a bin.
59         API: gst_bin_recalculate_latency().
60
61 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
62
63         * gst/gstbuffer.h:
64         Document the free_func.
65
66 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
67
68         * libs/gst/controller/gstinterpolation.c:
69         * libs/gst/controller/gstlfocontrolsource.c:
70         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
71         as it is mapped to a cast on non-win32 platforms.
72
73 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
74
75         * libs/gst/controller/gstcontroller.c:
76         * libs/gst/controller/gstcontrollerprivate.h:
77           Keep last-value and only call set_property if value has changed. This
78           supresses all the g_object_notifies we would trigger otherwise. It
79           also allows the user to chage the value while there is no controller
80           change.
81
82 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
83
84         * gst/gstvalue.c:
85           Don't crash if either of the string GValues is empty.
86
87 2008-11-17  Andy Wingo  <wingo@pobox.com>
88
89         * tools/gst-inspect.c (print_all_uri_handlers): New function,
90         prints a summary of what URI schemes are supported by what
91         elements.
92         (main): Plumb in support for --uri-handlers or -u, and fix the
93         argc check for -a and -u.
94
95 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
96
97         * gst/gstutils.h:
98         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
99         conversion functions.
100
101 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
102
103         * gst/gstbuffer.c: (gst_buffer_finalize):
104         Avoid costly typechecking for trivially correct pointers.
105
106         * gst/gstpoll.c: (gst_poll_wait):
107         Add some G_LIKELY here and there.
108
109         * libs/gst/base/gstadapter.c: (gst_adapter_push):
110         Add some debug info.
111
112 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
113
114         * docs/random/wtay/poll-timeout:
115         Small tweaks.
116
117 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
118
119         * tests/old/testsuite/caps/intersection.c: (main):
120         * tests/old/testsuite/plugin/loading.c: (main):
121         Remove references to deprecated API g_mem_chunk*.
122         Fixes #560442.
123
124 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
125
126         * tools/gst-inspect.c: (main):
127         Add --plugin option. Fixes #560301.
128
129 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
130
131         * docs/random/wtay/poll-timeout:
132         Quick braindump for a possible (not totally verified) atomic case.
133
134 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
135
136         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
137         (gst_registry_binary_initialize_magic),
138         (gst_registry_binary_write_cache),
139         (gst_registry_binary_check_magic):
140         * gst/gstregistrybinary.h:
141         Don't write and check a CRC for the binary registry file. It's
142         guaranteed that the registry is completely written (it's first written
143         to a temporary file and then moved) and if the registry was corrupted
144         by some hardware failure we would have bigger problems.
145
146         Bump binary registry version to 0.10.21.1 for this as it's an
147         incompatible change and to ensure that the registry gets rebuild
148         after the update.
149
150         This saves some milliseconds for reading/writing the registry.
151         Fixes bug #560399.
152
153 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
154
155         * docs/random/wtay/poll-timeout:
156         Some pseudo code for how we could implement clock timeouts with GstPoll.
157
158 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
159
160         * plugins/elements/gstfilesink.c:
161           Update Author string to match others.
162
163 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
164
165         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
166         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
167         being fixed and inline the trivial check.
168
169 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
170
171         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
172         (gst_caps_merge_structure), (gst_caps_get_structure),
173         (gst_caps_copy_nth), (gst_caps_set_simple),
174         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
175         (gst_caps_is_equal_fixed), (gst_caps_intersect),
176         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
177         (gst_caps_to_string):
178         Callgrind micro optimisations.
179         Avoid array bounds checks and force inline of trivial function.
180
181         * gst/gstobject.c: (gst_object_set_name_default):
182         -1 is equivalent to letting glib to the strlen but then there is more
183         room for optimisations and it's not our fault.
184
185         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
186         no need to clear the array, we're cool.
187
188         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
189         The most common _is_fixed() check is done on fundamental glib base
190         types so we check this first instead of doing a huge amount of
191         useless GST_TYPE_ARRAY calls.
192
193 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
194
195         * gst/gstevent.h:
196         Add a SKIP seek flag for use with advanced trickmodes.
197         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
198
199 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
200
201         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
202         No need to memset, we can clear the value ourselves.
203
204         * gst/gstvalue.c: (gst_type_is_fixed),
205         (gst_value_get_compare_func):
206         Some optimisations from a few callgrind sessions:
207         When checking if a type is fixed, check for trivial fundamental types
208         first before checking types for which we need to get the type followed
209         by the heavy duty type checks, this reduces the amount of
210         g_type_fundamental() calls a lot.
211         When getting the compare function, first check for our registered types.
212         If that fails, do the heavy duty g_type_is_a() checks, reduces the
213         amount of g_type_is_a() considerably.
214
215 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
216
217         * docs/design/part-TODO.txt:
218         Mumble something about removing GstXML.
219
220 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
221
222         * gst/gstbin.c: (gst_bin_handle_message_func):
223         Get the seqnum before we dispose the message.
224
225 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
226
227         * docs/design/part-TODO.txt:
228         Refer to the framestepping document.
229
230 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
231
232         * gst/gstbin.c: (bin_handle_async_start),
233         (gst_bin_handle_message_func), (gst_bin_query):
234         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
235         (gst_base_sink_event), (gst_base_sink_change_state):
236         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
237         (gst_base_src_loop), (gst_base_src_change_state):
238         Copy seqnums from events to messages so that they can all be related
239         back to eachother.
240
241 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
242
243         * tools/gst-launch.c: (event_loop):
244         Print the message seqnums.
245
246 2008-11-04  Andy Wingo  <wingo@pobox.com>
247
248         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
249
250 2008-11-04  Andy Wingo  <wingo@pobox.com>
251
252         Add sequence numbers to events and messages. See #559250.
253
254         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
255         API: New functions.
256
257         * gst/gstevent.h:
258         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
259         events with a new sequence number, and copy it when copying.
260         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
261         an event's sequence number.
262
263         * gst/gstmessage.h:
264         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
265         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
266         so with messages.
267
268         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
269
270 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
271
272         * docs/manual/advanced-position.xml:
273         * docs/manual/basics-bins.xml:
274         * docs/manual/basics-bus.xml:
275         * docs/manual/basics-pads.xml:
276         * docs/manual/intro-gstreamer.xml:
277         * docs/manual/intro-preface.xml:
278         Some Application Development Manual fixes thanks to
279         Andrew Feren. Fixes #558459.
280
281 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
282
283         * gst/gstregistrybinary.c:
284           Don't bother with the GTimer if we don't output the results.
285
286 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
287
288         Patch by: David Schleef  <ds@schleef.org>
289
290         * libs/gst/net/Makefile.am:
291         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
292
293 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
294
295         * gst/gstregistrybinary.c:
296           Oh my, studip, stupid me. Remove double stat() call.
297
298 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
299
300         * gst/gstpreset.c:
301           Use g_unlink instead of unlink.
302
303         * gst/gststructure.c:
304           Use glib type.
305
306         * gst/gstutils.c:
307           Add a FIXME:.
308
309         * gst/gsttaglist.c:
310         * gst/gsttypefind.c:
311         * gst/gstvalue.c:
312           Formatting & whitespaces.
313
314 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
315
316         * plugins/elements/gstidentity.c:
317           Doc typo. Use return value of parent_class->event.
318   
319         * plugins/elements/gsttypefindelement.c:
320           Chain up at the end for consistency.
321   
322 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
323
324         * docs/Makefile.am:
325         * docs/gst/gstreamer-docs.sgml:
326         * docs/gst/gstreamer-sections.txt:
327         * docs/gst/running.xml:
328         * docs/libs/gstreamer-libs-docs.sgml:
329           Change to xinclude based build - its faster and easier to maintain.
330
331 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
332
333         * gst/gstregistrybinary.c:
334         * gst/gstregistryxml.c:
335           Use g_unlink() as none of these are directories.
336
337 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
338
339         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
340         Some more comments.
341
342 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
343
344         * libs/gst/base/gstbasetransform.c:
345         (gst_base_transform_find_transform), (gst_base_transform_getrange):
346         If we have a fixate function, call it even if we already have fixed caps
347         because the subclass might add some caps. Makes audioconvert add a
348         default channel layout.
349
350 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
351
352         * libs/gst/base/gstbasetransform.c:
353         (gst_base_transform_prepare_output_buffer),
354         (gst_base_transform_getrange):
355         Clear the output buffer variable.
356         Cleanups to the error path in the getrange function.
357         Fixes #557649.
358
359 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
360
361         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
362         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
363         Use gst_buffer_try_new_and_alloc() and handle errors instead of
364         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
365         be allocated.
366
367 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
368
369         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
370         Set the last_stop to a more meaningful position when configuring the
371         segment. ie. the start/stop of the segment or clipped against the
372         updated segment boundaries.
373
374         * tests/check/gst/gstsegment.c: (GST_START_TEST):
375         Add some unit tests for the last_stop.
376
377 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
378
379         * libs/gst/base/gstbytereader.c:
380         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
381         copies of them.
382
383 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
384
385         * docs/gst/gstreamer-sections.txt:
386         * gst/gstutils.h:
387         API: Move float endianness conversion macros from libgstfloatcast
388         to core as it's useful in general, even in core. Fixes bug #555196.
389         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
390         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
391         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
392
393         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
394         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
395         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
396         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
397
398 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
399
400         * docs/libs/gstreamer-libs-sections.txt:
401         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
402         (gst_byte_reader_peek_data):
403         * libs/gst/base/gstbytereader.h:
404         * win32/common/libgstbase.def:
405         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
406         to get a pointer to the data at the current position and have
407         a guaranteed size.
408
409 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
410
411         * configure.ac:
412         Fix a bug in the output of the configure script summary
413         when --gst-disable-registry is supplied
414
415 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
416
417         * libs/gst/base/gstbitreader.c:
418         * libs/gst/base/gstbytereader.c:
419         Fix the names of 2 functions in the docs strings.
420
421 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
422
423         * libs/gst/base/gstbasetransform.c:
424         (gst_base_transform_prepare_output_buffer),
425         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
426         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
427         refcount problems as seen in banshee and maybe also in farsight2.
428         Remove atomic int now that we need to take the lock anyways.
429
430 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
431
432         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
433         (gst_base_sink_default_prepare_seek_segment),
434         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
435         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
436         (gst_base_sink_query):
437         Implement more seeking in pull mode.
438         Use pad convert functions to convert position to the requested format.
439         Fix position/duration reporting in pull mode.
440         Implement position and duration reporting in other formats than time.
441
442         * libs/gst/base/gstbasesink.h:
443         Add member to keep track of when the segment is playing.
444
445 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
446
447         * gst/gstpad.c: (gst_pad_configure_src):
448         When we use gst_pad_alloc_buffer() without wanting to set the caps we
449         also don't need to check if the caps are compatible because the caller
450         presumably is going to perform its own custom checks. Fixes some cases
451         where basetransform elements would error out when it was not needed.
452
453 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
454
455         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
456         Update comment.
457
458         * libs/gst/base/gstbasetransform.c:
459         (gst_base_transform_handle_buffer),
460         (gst_base_transform_reconfigure):
461         Add some debug info.
462
463         * win32/common/libgstbase.def:
464         Add new method.
465
466 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
467
468         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
469           Remove duplicated assignment and log a message in failure case.
470
471 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
472
473         Patch by: Dig Ge <dig.ge.cn at gmail com>
474
475         * tests/examples/helloworld/helloworld.c: (main):
476           Fix copy'n'paste bug in hello world example (#556900).
477
478 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
479
480         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
481         (gst_base_sink_query):
482         Query the total number of bytes when activating the pad in pull mode.
483         Implement duration query in pull mode by using the installed pad convert
484         function to convert from bytes to the requested format.
485
486 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
487
488         * docs/libs/gstreamer-libs-sections.txt:
489         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
490         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
491         (gst_base_sink_event), (gst_base_sink_perform_seek),
492         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
493         (gst_base_sink_send_event), (gst_base_sink_change_state):
494         * libs/gst/base/gstbasesink.h:
495         Add method to commit the state in subclasses.
496         Refactor the flush_start and flush_stop code because we need it for
497         flushing while seeking too.
498         Implement the beginnings of seeking in pull mode.
499         Use the segment last_stop field for the pulling offset.
500         Fix the pause method in pull mode.
501         Configure the segment to BYTES for pull mode.
502         API: GstBaseSink::gst_base_sink_do_preroll()
503
504 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
505
506         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
507         Update some docs.
508
509 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
510
511         * gst/gstquark.c: (_priv_gst_quarks_initialize):
512           Fix printf format warning.
513
514 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
515
516         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
517         Fix flow aggregation of tee. Error out immediately for all flow returns
518         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
519         and return OK if at least one pad is linked.
520
521         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
522         and otherwise returned the flow return of the last pad, which is wrong.
523         
524         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
525         (GST_START_TEST), (tee_suite):
526         Add unit tests for the flow aggregation.
527
528 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
529
530         * docs/design/part-TODO.txt:
531         Remove item from the todo list because it was fixed with the latency
532         state change rewrites.
533
534         * docs/design/part-seeking.txt:
535         * docs/design/part-segments.txt:
536         Update some docs.
537
538         * gst/gstevent.c: (gst_event_new_new_segment_full),
539         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
540         (gst_event_parse_buffer_size), (gst_event_new_qos),
541         (gst_event_parse_qos), (gst_event_new_seek),
542         (gst_event_parse_seek), (gst_event_new_latency),
543         (gst_event_parse_latency):
544         Use quarks to construct and parse events.
545
546         * gst/gstquark.c: (_priv_gst_quarks_initialize):
547         * gst/gstquark.h:
548         Add some more quarks to the table.
549         Emit a warning when the quark tables are not in sync.
550
551         * tests/check/gst/gstbus.c: (GST_START_TEST):
552         Add an assert.
553
554 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
555
556         * plugins/elements/Makefile.am:
557         * plugins/indexers/Makefile.am:
558           Don't install static libs for plugins. Fixes #550851 for core.
559
560 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
561
562         * gst/gstbus.c: (gst_bus_source_finalize),
563         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
564         (gst_bus_enable_sync_message_emission),
565         (gst_bus_disable_sync_message_emission),
566         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
567         Fix deadlock, g_source_get_id() cannot be called in finalize.
568         Keep track of the watch source by keeping a pointer to the source object
569         instead.
570         Use the bus lock to protect access to the pointer to the current
571         watch source.
572
573 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
574
575         Base on Patch by: Olivier Crete <tester at tester dot ca>
576
577         * gst/gstbus.c: (gst_bus_source_finalize),
578         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
579         Only allow one bus watch to be set at a time. This is necessary
580         because the dispatcher pops the message from the bus and the second
581         watcher will then get NULL or the next message (and the first won't
582         get this next message then, etc). If more than one "watcher" is
583         required signal watches should be used. Fixes bug #526044.
584
585 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
586
587         * tools/gst-launch.c:
588         Change the printing of the 'buffering...' output to avoid putting
589         a \r in a translateable string (flagged by the TP).
590
591 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
592
593         * gst/gstxml.c:
594         Clarify that the save_thyself() and restore_thyself() virtual
595         functions of GstObject need to be overriden, not
596         gst_object_(save|restore)_thyself() which is impossible.
597         Fixes bug #555700.
598
599 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
600
601         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
602         Revert a patch from 21 months ago that broke caps negotiation in pull
603         mode. Basically, having a buffer pass over a pad will trigger the
604         setcaps function when caps change, just like in push mode.
605
606 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
607
608         * docs/design/part-negotiation.txt:
609         Update the docs some more.
610
611         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
612         If we pull a buffer with non-trivial caps, suggest those caps with the
613         max probability.
614
615 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
616
617         * docs/design/part-TODO.txt:
618         Add another limitation of pad-blocking with segment seeks not pushing
619         EOS events.
620
621 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
622
623         * win32/common/libgstbase.def:
624         * win32/common/libgstreamer.def:
625         Add new symbols to the win32 defs files
626
627 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
628
629         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
630         (gst_bin_handle_message_func):
631         The message src can be NULL, don't try to print the object names in that
632         case.
633
634         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
635         Add some more debug info.
636
637         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
638         (GST_START_TEST):
639         Add some debug.
640         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
641         scheduling modes.
642
643 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
644
645         * docs/design/part-negotiation.txt:
646         Small doc update.
647
648         * docs/libs/gstreamer-libs-sections.txt:
649         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
650         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
651         (gst_base_sink_init), (gst_base_sink_set_blocksize),
652         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
653         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
654         (gst_base_sink_loop), (gst_base_sink_pad_activate),
655         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
656         (gst_base_sink_change_state):
657         * libs/gst/base/gstbasesink.h:
658         Add blocksize property and methods to control the amount of data
659         to pull.
660         Negotiate first before activating upstream in pull mode so that they can
661         negotiate themselves.
662         When we operate in pull mode, we only accept the caps that we
663         negotiated.
664         Make the sink go ASYNC to PAUSED, like all other sinks.
665         API: GstBaseSink::gst_base_sink_set_blocksize()
666         API: GstBaseSink::gst_base_sink_get_blocksize()
667         API: GstBaseSink::blocksize
668
669         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
670         (gst_base_src_set_live), (gst_base_src_is_live),
671         (gst_base_src_set_format), (gst_base_src_query_latency),
672         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
673         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
674         (gst_base_src_set_property), (gst_base_src_get_property):
675         * libs/gst/base/gstbasesrc.h:
676         Add typechecking in public API functions.
677         Add methods to control the blocksize in subclasses.
678         API: GstBaseSrc::gst_base_src_set_blocksize()
679         API: GstBaseSrc::gst_base_src_get_blocksize()
680
681 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
682
683         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
684         (buffer_probe), (event_probe), (GST_START_TEST):
685         We now see 3 events go through our pad, since basesink now sends
686         upstream latency events.
687
688 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
689
690         * gst/gstpipeline.c: (gst_pipeline_change_state):
691         Release the object lock before trying to flush the bus.
692
693 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
694
695         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
696         Forward LATENCY events upstreams so that elements know about the total
697         pipeline latency. Fixes #555307.
698
699 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
700
701         * plugins/elements/gstqueue.c:
702         Allow through queries when we don't know how
703         to adjust them (not TIME or BYTES), as otherwise it's
704         not possible to query the current position in order
705         to seek in other formats at all.
706
707 2008-10-08  Andy Wingo  <wingo@pobox.com>
708
709         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
710
711 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
712
713         * gst/gstghostpad.c:
714         * gst/gstghostpad.h:
715         Unbreak -good build, private is a reserved c++ keyword.
716
717 2008-10-08  Andy Wingo  <wingo@pobox.com>
718
719         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
720         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
721         removal: re-add GST_GHOST_PAD_CAST to the header.
722
723         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
724         (GstGhostPadClass): Publically expose these structures so as to
725         allow easy subclassing from C. Hide the member data behind a
726         private opaque data pointer.
727
728         * gst/gstghostpad.c: Adapt to store instance data in the type
729         instance's private data region, not in the public struct.
730
731 2008-10-08  Andy Wingo  <wingo@pobox.com>
732
733         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
734         template via g_object_get(), be sure to unref it.
735
736         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
737
738 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
739
740         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
741         If we can't get a cache file don't try to save something to it.
742         Dereferencing NULL pointers usually isn't a good idea.
743
744 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
745
746         * tests/check/Makefile.am:
747         * tests/check/gst/gstabi.c:
748         * tests/check/gst/struct_sparc.h:
749         * tests/check/libs/libsabi.c:
750         * tests/check/libs/struct_sparc.h:
751         Add Sparc ABI checks
752
753         * tests/check/gst/gstvalue.c: (GST_START_TEST):
754         Cast signed integer to unsigned to avoid a compiler warning.
755
756 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
757
758         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
759         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
760         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
761         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
762         (gst_byte_reader_peek_int24_be):
763         Use new GST_READ_UINT24_(LE|BE) macros.
764
765 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
766
767         * docs/gst/gstreamer-sections.txt:
768         * gst/gstutils.h:
769         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
770         as it's too easy to break the ISO C strict aliasing rules with simple
771         casts to the corresponding type and this would introduce hard to debug
772         bugs. Fixes bug #545714.
773
774         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
775
776 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
777
778         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
779         * gst/gstghostpad.c: (gst_ghost_pad_construct):
780           Add 'Since' bits to gtk-doc chunks for new API.
781
782 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
783
784         * docs/gst/gstreamer-sections.txt:
785         Fix documentation
786
787 2008-10-06  Andy Wingo  <wingo@pobox.com>
788
789         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
790         that will be called on the malloc_data to free it. Basically a way
791         to avoid subclassing when all you need is a different free
792         function, i.e. free() instead of g_free().
793
794         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
795         calling the free function.
796         (gst_buffer_init): Initialize the free function to g_free.
797
798 2008-10-06  Andy Wingo  <wingo@pobox.com>
799
800         * gst/gstghostpad.h:
801         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
802         finishes the initialization of ghost pad. Useful for language
803         bindings and subclassers of GstGhostPad. Fixes #539108.
804         (gst_ghost_pad_new_full): Use the new constructor.
805
806 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
807
808         Base on Patch by: Olivier Crete <tester at tester dot ca>
809
810         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
811         (gst_bin_remove_func), (update_degree),
812         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
813         Keep track of pads that are being linked/unlinked and resync the state
814         changes.
815
816         * gst/gstpad.c: (gst_pad_get_direction),
817         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
818         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
819         (gst_pad_link_prepare), (gst_pad_link),
820         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
821         (gst_pad_check_pull_range), (gst_pad_get_range),
822         (gst_pad_pull_range):
823         Some code cleanups, use macros to check pad direction.
824         Don't need to take the lock on the pad direction.
825         Post structure change when pads are linked/unlinked.
826         Change some checks into _return_if_fail().
827
828         * tests/check/gst/gstbin.c:
829         (test_link_structure_change_state_changed_sync_cb),
830         (GST_START_TEST), (gst_bin_suite):
831         Add testcase for pad link/unlinke resync during a state change.
832         Fixes #510354.
833
834 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
835
836         * docs/gst/gstreamer-sections.txt:
837         * gst/gstmessage.c: (gst_message_new_structure_change),
838         (gst_message_parse_structure_change):
839         * gst/gstmessage.h:
840         Implement STRUCTURE_CHANGED messages. These messages will be used to
841         signal the parent bin of link/unlink operations that could require a
842         resync when doing a state change. See ##510354.
843         API: gst_message_new_structure_change()
844         API: gst_message_parse_structure_change()
845
846 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
847
848         * gst/gstquark.c:
849         * gst/gstquark.h:
850         Add some more quarks for new message. See #510354.
851
852 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
853
854         * docs/libs/gstreamer-libs-docs.sgml:
855         * docs/libs/gstreamer-libs-sections.txt:
856         * libs/gst/base/Makefile.am:
857         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
858         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
859         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
860         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
861         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
862         (gst_bit_reader_skip_to_byte):
863         * libs/gst/base/gstbitreader.h:
864         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
865         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
866         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
867         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
868         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
869         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
870         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
871         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
872         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
873         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
874         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
875         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
876         * libs/gst/base/gstbytereader.h:
877         * tests/check/Makefile.am:
878         * tests/check/libs/bitreader.c: (GST_START_TEST),
879         (gst_bit_reader_suite):
880         * tests/check/libs/bytereader.c: (GST_START_TEST),
881         (gst_byte_reader_suite):
882         API: Add bit reader and byte reader classes, including documentation
883         and an extensive unit test suite. Fixes bug #553554.
884
885 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
886
887         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
888         (gst_base_sink_query):
889         Improve position reporting while flushing and other intermediate state
890         changes. Fixes #553874.
891
892 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
893
894         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
895
896         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
897         Original patch by : Simon Descaries
898         Fix small refount leak in caps compatibility check.
899         Fixes #551676.
900
901 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
902
903         * docs/pwg/advanced-request.xml:
904           Fix 0.8 api usage in example. Fixes #554561
905
906         * docs/pwg/appendix-porting.xml:
907           Change 0.9 to 0.10 here.
908
909 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
910
911         * docs/manual/basics-data.xml:
912           Change "event-event interaction" to "element-element interaction".
913           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
914           updates.
915
916 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
917
918         * configure.ac:
919         Back to development -> 0.10.21.1
920
921 === release 0.10.21 ===
922
923 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
924
925         * configure.ac:
926           releasing 0.10.21, "Take These Things From Me"
927
928 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
929
930         * configure.ac:
931         0.10.20.4 pre-release
932
933 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
934
935         * libs/gst/base/gstbasetransform.c:
936         * plugins/elements/gstcapsfilter.c:
937         * tests/check/Makefile.am:
938         * tests/check/elements/.cvsignore:
939         * tests/check/elements/capsfilter.c:
940         Fix assertion in basetransform when the subclass chooses not to
941         allocate a buffer in prepare_buffer(), and make capsfilter error out
942         cleanly if requested to apply caps that don't completely specify the
943         buffer. Fixes #551509
944
945 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
946
947         * libs/gst/base/gstbasetransform.c:
948         (gst_base_transform_prepare_output_buffer):
949         Take new caps ref because our old one might have been gone when the
950         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
951
952 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
953
954         * configure.ac:
955           Do not probe availability of check unit test library when cross
956           compiling, as test would not work anyway. Also cleanup verbose output
957           of the check test. Fixes #551952.
958
959 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
960
961         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
962
963         * gst/gstelement.c: (gst_element_sync_state_with_parent):
964         Avoid leaking the parent ref when we fail changing the state of the
965         element using gst_element_sync_state_with_parent(). Fixes #551978.
966
967 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
968
969         * docs/manual/intro-motivation.xml::
970           Remove some bits that no longer apply, update others (#551642).
971
972 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
973
974         * configure.ac:
975         0.10.20.2 pre-release
976
977         * po/LINGUAS:
978         * po/id.po:
979         * po/pt_BR.po:
980
981         New translations.
982
983 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
984
985         * win32/common/config.h.in:
986           Add GST_DATADIR, hard-code cpu to x86.
987
988         * win32/common/libgstreamer.def:
989           Spaces to tabs.
990
991 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
992
993         * gst/gsttaglist.h:
994           Fix Since: markers for new geo tags.
995
996 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
997
998         * gst/gsttaglist.h:
999           Fix actual tag name define after renaming from altitude to elevation.
1000
1001 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1002
1003         * gst/gstpad.c: (add_unref_pad_to_list),
1004         (gst_pad_get_internal_links_default):
1005         Add fallback when calling the deprecated function on an element that
1006         implements the new internal_link handler.
1007
1008 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1009
1010         * docs/gst/gstreamer-sections.txt:
1011         * gst/gsttaglist.c:
1012         * gst/gsttaglist.h:
1013           Add new tags for geo location and clarify purpose of existing location
1014           tag. Fixes #481169
1015
1016 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1017
1018         Patch by: Olivier Crete <tester at tester dot ca>
1019
1020         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1021         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1022         Use thread-safe internal links iterator. Fixes #549504.
1023
1024 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1025
1026         Based on patch by: Olivier Crete <tester at tester dot ca>
1027
1028         * docs/gst/gstreamer-sections.txt:
1029         * win32/common/libgstreamer.def:
1030         * gst/gstpad.c: (gst_pad_init),
1031         (gst_pad_set_iterate_internal_links_function),
1032         (int_link_iter_data_free), (iterate_pad),
1033         (gst_pad_iterate_internal_links_default),
1034         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1035         * gst/gstpad.h:
1036         Add threadsafe replacement functions for getting internal links of an
1037         element. Deprecate the old internal links functions.
1038         API:GstPad::gst_pad_set_iterate_internal_links_function()
1039         API:GstPad::GstPadIterIntLinkFunction
1040         API:GstPad::gst_pad_iterate_internal_links()
1041         API:GstPad::gst_pad_iterate_internal_links_default()
1042
1043         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1044         (gst_proxy_pad_init):
1045         Implement threadsafe internal links.
1046
1047         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1048         Unit test for internal links on tee. See #549504.
1049
1050 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1051
1052         * tests/check/Makefile.am:
1053         libs/transform1 test requires libs/test_transform.c
1054
1055 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1056
1057         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1058         Die evil deadlock, die !
1059
1060 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1061
1062         * gst/gstutils.c: (gst_element_get_compatible_pad):
1063         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1064         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1065         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1066         not steal the refcount of the given caps as stated.
1067
1068         REVERT THIS COMMIT ONCE FIXED !
1069         REVERT THIS COMMIT ONCE FIXED !
1070         REVERT THIS COMMIT ONCE FIXED !
1071         REVERT THIS COMMIT ONCE FIXED !
1072         REVERT THIS COMMIT ONCE FIXED !
1073         REVERT THIS COMMIT ONCE FIXED !
1074
1075 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1076
1077         * gst/gstiterator.c:
1078         * gst/gstiterator.h:
1079         After 3 years it's about time to revise the documentation of the
1080         iterator objects.
1081
1082 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1083
1084         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1085         Make the internal links function less thread-unsafe and add some
1086         comments, dunno why.
1087
1088 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1089
1090         * gst/gst_private.h:
1091           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1092           build with --disable-gst-debug.
1093
1094 2008-08-28  David Schleef  <ds@schleef.org>
1095
1096         * gst/gstpadtemplate.c: Revert last change, since it breaks
1097           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1098           but shouldn't be enabled until we've released fixed versions
1099           of -good and -ffmpeg.
1100
1101 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1102
1103         * gst/gstobject.c:
1104           Put the gst_object_get_name() back in.
1105
1106 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1107
1108         * gst/gstpadtemplate.c:
1109           The old behaviour was that gst_pad_template_new() takes ownership of
1110           the caps. As we now call g_object_new() which calls g_object_set() and
1111           which copies the caps, we have to unref them to not leak them. Fixes
1112           make valgrid for me.
1113
1114 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1115
1116         * gst/gsturi.c:
1117           Don't segfault on input like "tel:+1-123-555-1234".
1118
1119 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1120
1121         * gst/gstobject.c:
1122           Due to popular request also include ObjectType in
1123           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1124
1125 2008-08-26  David Schleef  <ds@schleef.org>
1126
1127         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1128           src_val must be positive, because that's not a requirement.
1129           This causes problems with converting negative granulepos
1130           values for Dirac.
1131         * gst/gstquery.c: Same, gst_query_new_convert().
1132
1133 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1134
1135         * gst/gstclock.c: (gst_clock_add_observation):
1136         Add some more debugging to the clock slaving code.
1137
1138         * win32/common/libgstbase.def:
1139         Add new basetransform method.
1140
1141 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1142
1143         * gst/gstbin.c: (gst_bin_element_set_state):
1144         Take the (recursive) state lock between getting the locked state of an
1145         element and changing the element state. This allows the application to
1146         lock an element's state and then change its state without races.
1147
1148 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1149
1150         * gst/gstbin.c: (gst_bin_element_set_state):
1151         When an element is in the locked state we still want to update the
1152         base_time of the element.
1153
1154 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1155
1156         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1157         Use the result from gst_pad_set_caps() instead of assuming the element
1158         always accepted the caps computed by the default negotiate function.
1159
1160 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1161
1162         * docs/libs/gstreamer-libs-sections.txt:
1163         * libs/gst/base/gstbasetransform.c:
1164         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1165         (gst_base_transform_chain), (gst_base_transform_suggest),
1166         (gst_base_transform_reconfigure):
1167         * libs/gst/base/gstbasetransform.h:
1168         Implement method for reconfiguring basetransform.
1169         API: GstBaseTransform::gst_base_transform_reconfigure()
1170
1171 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1172
1173         patch by: Murray Cumming <murrayc@murrayc.com>
1174
1175         * gst/gstutils.c:
1176           Mention that this is just like gst_buffer_merge() but with extra
1177           unreffing for C coders. Advise language bindings not to wrap it.
1178           Fixes Bug #533856.
1179           
1180           Also fix file comment.
1181
1182 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1183
1184         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1185
1186         * plugins/elements/gstfakesink.c:
1187         * plugins/elements/gstfakesrc.c:
1188           Call super::event() when not handling it. Fixes #544855.
1189
1190 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1191
1192         Patch by: Alessandro Decina <alessandro@nnva.org>
1193         * plugins/elements/gstfilesrc.c:
1194           Use 64 bit variants of stat functions on win32, to enable support
1195           of large files there.
1196           Fixes #547277.
1197
1198 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1199
1200         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1201         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1202         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1203         (gst_base_sink_get_position), (gst_base_sink_change_state):
1204         Improve position reporting in the flushing state.
1205         Also report the position when we are not yet prerolled but we
1206         have a newsegment event. Fixes #543444.
1207         Improve the pull-based negotiation code.
1208
1209         * tests/check/elements/fakesink.c: (GST_START_TEST),
1210         (fakesink_suite):
1211         Add testcase for position reporting while flushing in PAUSED and
1212         PLAYING.
1213
1214         * tests/check/generic/sinks.c: (GST_START_TEST):
1215         Update unit-test, we can now query the position as soon as we receive a
1216         NEWSEGMENT event.
1217
1218 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1219
1220         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1221
1222         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1223         When the subclass event handler releases the PREROLL_LOCK, we could be
1224         in the flushing state and we have to ignore the event. Fixes #548394.
1225
1226 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1227
1228         * tools/gst-launch.1.in:
1229           Document GST_REGISTRY_UPDATE environment variable.
1230
1231 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1232
1233         * libs/gst/base/gstbasetransform.c:
1234         (gst_base_transform_prepare_output_buffer):
1235         If the element is configured in passthrough mode but the
1236         prepare_output_buffer gave us a new output buffer, discard that buffer
1237         and reuse the input buffer.
1238
1239 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1240
1241         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1242
1243         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1244         (gst_tee_request_new_pad), (gst_tee_release_pad),
1245         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1246         * plugins/elements/gsttee.h:
1247         Protect pad_alloc with a new lock so that we can be sure that nothing is
1248         performing a pad_alloc when removing the pad. Fixes #547835.
1249
1250         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1251         (buffer_alloc_harness_teardown), (app_thread_func),
1252         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1253         Added testcase for shutdown race.
1254
1255 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1256
1257         * gst/gstpad.h:
1258         Add doc
1259
1260 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1261
1262         * libs/gst/base/gstbasetransform.c:
1263         (gst_base_transform_prepare_output_buffer),
1264         (gst_base_transform_buffer_alloc):
1265         Go over the buffer_alloc function again and make sure we always end up
1266         allocating a buffer.
1267         Add some more docs.
1268         Avoid doing pad alloc when we have a pending suggestion because we
1269         cannot yet deal with changing caps in that case. Fixes #547728
1270
1271 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1272
1273         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1274
1275         * docs/manual/advanced-clocks.xml:
1276         * docs/manual/clocks.png:
1277         * docs/manual/diagrams-clocks.svg:
1278           Add one more image showing different times together with a describing
1279           paragraph. Fixes #547729.
1280
1281 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1282
1283         * win32/common/libgstbase.def:
1284         Add new method.
1285
1286 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1287
1288         * libs/gst/base/gstbasetransform.c:
1289         (gst_base_transform_transform_caps),
1290         (gst_base_transform_prepare_output_buffer),
1291         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1292         Don't overwrite the outsize when calculating the expected size of a new
1293         buffer because we still need it in case we cannot process the new
1294         buffer.
1295         When converting the size of the new buffer to an upstream size, actually
1296         use the expected size of the buffer, not some other random value.
1297         Use an atomic int to signal that a new upstream caps suggestion is
1298         available.
1299         When we can convert the current buffer to a new format, check if the
1300         buffer size is of the expected size and allocate a new buffer of the
1301         expected size when this is not the case. Fixes #546883.
1302
1303         * tests/check/libs/transform1.c: (GST_START_TEST):
1304         remove ifdeffed code from the unit test.
1305
1306 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1307
1308         * pkgconfig/gstreamer-uninstalled.pc.in:
1309         * pkgconfig/gstreamer.pc.in:
1310           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1311           called gstcontroller-0.10.
1312
1313 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1314
1315         * gst/gstchildproxy.h:
1316         * gst/gstpreset.h:
1317           Remove double interface from doc-string.        
1318
1319 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1320
1321         * libs/gst/base/gstbasesrc.c:
1322         * libs/gst/base/gstbasetransform.c:
1323           Fix headings in docs and gtk-doc warnings.
1324
1325 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1326
1327         * gst/gstregistrybinary.c:
1328           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1329           libc.
1330           Fixes #544776.
1331
1332 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1333
1334         * libs/gst/base/gstbasetransform.c:
1335         (gst_base_transform_buffer_alloc):
1336         Fix a "may be used unitialized" warning.
1337
1338 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1339
1340         * docs/gst/gstreamer-sections.txt:
1341         * gst/gstpreset.h:
1342           Document preset-iface vmethods.
1343
1344 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1345
1346         * docs/manual/advanced-interfaces.xml:
1347           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1348           only used to discover devices.
1349
1350 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1351
1352         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1353
1354         * gst/gst.c: (init_pre):
1355         Make sure gettext returns translations in UTF-8 encoding rather
1356         than in the current locale encoding (#546822).
1357
1358 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1359
1360         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1361         Fix subset test.
1362
1363         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1364         Improve unit test subset tests and add a testcase for the subset failure
1365         cases.
1366
1367         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1368         Improve subtraction unit test.
1369
1370 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1371
1372         * plugins/elements/gsttee.c:
1373           Unlock, instead of locking again.
1374
1375 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1376
1377         * gst/gstpad.h:
1378         Clarify the docs a bit more.
1379
1380 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1381
1382         * tests/examples/metadata/read-metadata.c:
1383           Don't leak old taglist.
1384
1385 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1386
1387         Patch by: Olivier Crete <tester at tester dot ca>
1388
1389         * gst/gststructure.c:
1390         (gst_structure_fixate_field_nearest_fraction):
1391         Avoid overflows in fixation code when dealing with MAXINT values, which
1392         v4l2src seems to do.
1393         Fixes #546328.
1394
1395         * tests/check/gst/gststructure.c: (GST_START_TEST):
1396         Make a unit test to check the fix. 
1397
1398 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1399
1400         * plugins/elements/gstcapsfilter.c: (copy_func),
1401         (gst_capsfilter_set_property):
1402         Use new caps suggestion feature of basetransform to request a caps
1403         negotiation upstream.
1404
1405 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1406
1407         * docs/libs/gstreamer-libs-sections.txt:
1408         Add new function:
1409         API: GstBaseTransform::gst_base_transform_suggest()
1410
1411         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1412         (gst_base_transform_init), (gst_base_transform_transform_caps),
1413         (gst_base_transform_transform_size),
1414         (gst_base_transform_configure_caps),
1415         (gst_base_transform_can_transform),
1416         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1417         (gst_base_transform_prepare_output_buffer),
1418         (gst_base_transform_buffer_alloc),
1419         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1420         (gst_base_transform_chain), (gst_base_transform_activate),
1421         (gst_base_transform_set_passthrough),
1422         (gst_base_transform_is_passthrough),
1423         (gst_base_transform_set_in_place),
1424         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1425         (gst_base_transform_set_qos_enabled),
1426         (gst_base_transform_is_qos_enabled),
1427         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1428         (gst_base_transform_reconfigure):
1429         * libs/gst/base/gstbasetransform.h:
1430         Rewrite of basetransform to perform negotiation outside of the
1431         buffer_alloc functions.  Fixes #545853.
1432
1433         * tests/check/libs/transform1.c: (GST_START_TEST),
1434         (buffer_alloc_ct2):
1435         Update unit test.
1436
1437 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1438
1439         * tests/check/gst/gstpreset.c:
1440           Only run preset tests when $HOME is writable. Preliminary fix for
1441           #545433.
1442
1443 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1444
1445         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1446         (gst_bin_change_state_func), (bin_handle_async_done),
1447         (gst_bin_handle_message_func):
1448         Fix race for bins that simulate ASYNC state changes by inserting
1449         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1450         pending ASYNC messages even when the bin does not have ASYNC children.
1451         We note detect this behaviour because we will receive an ASYNC message
1452         that is originating from the bin itself. 
1453         Fixes races with decodebin2 state changes.
1454
1455         * tests/check/gst/gstbin.c: (GST_START_TEST):
1456         Add some more debug.
1457
1458 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1459
1460         * gst/gsttaglist.c: (_gst_tag_initialize):
1461           Fix typo.
1462
1463 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1464
1465         * gst/gsttaglist.c:
1466           Argh. actually save the text before committing. Now adds
1467           gst_tag_merge_strings_with_comma() to gst_tag_register().
1468
1469 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1470
1471         * gst/gsttaglist.c:
1472         * gst/gsttaglist.h:
1473           Do as tim pointed out and actually register the new tag. Also improve
1474           te docs and use gst_tag_merge_strings_with_comma() method to allow
1475           retriving all keywords merged in one list.
1476
1477 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1478
1479         * configure.ac:
1480         * docs/gst/gstreamer.types:
1481           Revert 'accidential' change of the configure option removal. We still
1482           need to generate the types file in configure --disable-load-save.
1483
1484 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1485
1486         * docs/gst/gstreamer-sections.txt:
1487         * gst/gsttaglist.h:
1488           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1489
1490 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1491
1492         * gst/gstpadtemplate.c:
1493           (gst_pad_template_class_init), (gst_static_pad_template_get),
1494           (gst_pad_template_new), (gst_pad_template_pad_created),
1495           (gst_pad_template_set_property), (gst_pad_template_get_property):
1496           Add "name-template", "direction", "presence" and "caps" properties,
1497           so that gst_pad_template_new() is just a thin wrapper around
1498           g_object_new(), which is better for bindings. (Fixes: #539772)
1499
1500 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1501
1502         * gst/gsturi.c:
1503           Be more liberal in what URIs we accept.
1504           Do not unescape bits of the URI for no apparent reason before passing to
1505           the element. Fixes #545352.
1506
1507 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1508
1509         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1510
1511         * gst/gst.c:
1512         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1513
1514 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1515
1516         * configure.ac:
1517         * docs/gst/gstreamer-sections.txt:
1518         * docs/gst/gstreamer.types:
1519         * docs/gst/gstreamer.types.in:
1520         * gst/Makefile.am:
1521         * gst/gst.c:
1522         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1523         * gst/gstconfig.h.in:
1524         * gst/gstelement.c: (gst_element_get_index):
1525         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1526         (gst_registry_binary_load_feature),
1527         (gst_registry_binary_read_cache):
1528         * gst/gstregistryxml.c: (load_feature),
1529         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1530         * plugins/Makefile.am:
1531         * tools/gst-indent:
1532         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1533         (print_plugin_features), (print_element_features):
1534         * tools/gst-xmlinspect.c: (print_event_masks),
1535         (print_element_info):
1536         * win32/common/gstconfig.h:
1537         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1538
1539         Disabling the indexers and URI handler code will only reduce the
1540         required amount of memory by a very small amount but on the other hand
1541         requires much more maintaince work. Apart from that many places of
1542         code are broken when disabling them.
1543
1544         Disabling the enum types doesn't reduce the required amount of memory
1545         by more than a few bytes and makes it hard to fix bugs like #539772,
1546         i.e. use the enums as GObject properties.
1547
1548 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1549
1550         * docs/design/part-TODO.txt:
1551         Add some thoughts and problems with upstream renegotiation.
1552
1553 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1554
1555         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1556         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1557         Remove silly redundant debug.
1558         Add some more debug info.
1559         Clarify the docs regarding new caps received from pad_alloc.
1560
1561 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1562
1563         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1564         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1565         Make setting the caps more threadsafe.
1566
1567 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1568
1569         * docs/design/part-element-transform.txt:
1570         Update docs.
1571
1572 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1573
1574         * plugins/elements/gstqueue.c: (gst_queue_init),
1575         (gst_queue_acceptcaps):
1576         Add and use a custom acceptcaps function instead of falling back to the
1577         potentially less optimized default implementation.
1578
1579 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1580
1581         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1582           Only sanity-check the buffer size if requested_caps == buffer_caps
1583           (ie. don't take pad caps into account, they're not relevant here)
1584
1585 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1586
1587         * plugins/elements/gsttee.c:
1588         * plugins/elements/gsttee.h:
1589           Reverting as not everything is clear yet. Needs some general design
1590           work.
1591
1592 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1593
1594         * ChangeLog:
1595           ChangeLog surgery for tee commit.
1596
1597 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1598
1599         * docs/gst/gstreamer-sections.txt:
1600           Cleanup section-file.
1601
1602 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1603
1604         * plugins/elements/gsttee.c:
1605         * plugins/elements/gsttee.h:
1606           Relay tag events in tee. Fixes parts of #474016.
1607           Downgrades 3 reoccurring debugs to log.
1608
1609 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1610
1611         * configure.ac:
1612         * libs/gst/Makefile.am:
1613           Build the net library if we have winsock2.
1614
1615 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1616
1617         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1618
1619         * docs/manual/advanced-threads.xml:
1620         * docs/manual/diagrams-pipelines.svg:
1621         * docs/manual/hello-world.png:
1622         * docs/manual/linked-elements.png:
1623         * docs/manual/mime-world.png:
1624         * docs/manual/queue.png:
1625         * docs/manual/thread-buffering.png:
1626         * docs/manual/thread-synchronizing.png:
1627           Replace one diagram with two separate ones and updates others.
1628           Fixes #542401.
1629
1630 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1631
1632         * gst/gstelement.h:
1633         Fix link in documentation.
1634
1635 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1636
1637         * gst/gstmessage.c:
1638         Fix confusing documentation.
1639
1640 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1641
1642         * libs/gst/base/gstbasesrc.h:
1643         revert the changes to the header file for the ABI.
1644
1645 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1646
1647         * libs/gst/base/gstbasesrc.c:
1648         * libs/gst/base/gstbasesrc.h:
1649         Don't cache the seekable status.
1650         Fixes bug #544174
1651
1652 2008-07-24  Rene Stadler  <mail@renestadler.de>
1653
1654         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1655         code to close the pipeline graph.  This prevents the program from
1656         printing internal data flow errors.
1657
1658 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1659
1660         * docs/manual/basics-bus.xml:
1661         Correct typo. Fixes bug #544320.
1662
1663 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1664
1665         * configure.ac:
1666           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1667           Add check (taken from -base) for winsock, adds WIN32_LIBS
1668         * gst/Makefile.am:
1669           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1670           winsock.
1671           Define GST_EXPORTS when building libgstreamer (only used on win32)
1672         * gst/gst_private.h:
1673         * gst/gstinfo.h:
1674           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1675           for symbols that we need to export in both these files.
1676         * gst/gstpoll.c:
1677           Include gst_private.h higher up to avoid some compile problems on win32.
1678
1679 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1680
1681         * gst/gstvalue.c:
1682         Fix typos.
1683
1684 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1685
1686         * gst/gstcaps.c:
1687         Previous commit was wrong NULL caps does not exist
1688         and indicate an error, so also add a FIXME to
1689         gst_caps_is_equal where NULL caps are accepted.
1690
1691 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1692
1693         * gst/gstcaps.c:
1694         Allow passing of NULL to gst_caps_union
1695
1696 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1697
1698         * gst/gstghostpad.c:
1699         Add in doc that gst_ghost_pad_set_target can accept
1700         NULL to clear target
1701
1702 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1703
1704         * gst/gstplugin.c:
1705         * gst/gstregistry.c:
1706           GstRegistryPool doesn't exist; don't refer to it in docs.
1707           Don't refer to functions that don't exist in docs, it's
1708           unhelpful.
1709
1710 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1711
1712         * gst/gst.c:
1713         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1714
1715 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1716
1717         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1718
1719         * docs/pwg/building-testapp.xml:
1720         Don't use an undeclared variable in the example program.
1721         Fixes bug #542573.
1722
1723 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1724
1725         * gst/gstdebugutils.c:
1726           Squeeze ghost-pad links and remove <> from classname labels to save
1727           more horizontal space.
1728
1729 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1730
1731         * gst/gstdebugutils.c:
1732           Give request and sometimes pads a different shpe style. Condense the
1733           graphs a little more.
1734
1735 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1736
1737         * configure.ac:
1738           Don't require flex and bison if the parser is disabled.
1739
1740 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1741
1742         * libs/gst/controller/gstinterpolationcontrolsource.c:
1743         (_list_find_sorted_custom):
1744         Don't use declarations after statements.
1745
1746 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1747
1748         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1749         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1750         of the the child-added / -removed signals as GstChildProxy
1751         only supports GstObjects.
1752
1753 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1754
1755         * gst/gstdebugutils.c:
1756         Fix memleak
1757
1758 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1759
1760         Patch by: Alessandro Decina <alessandro at nnva dot org>
1761
1762         * gst/gstpoll.c:
1763         Fix "ignored return value" compiler warning with newer glibc.
1764
1765 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1766
1767         * gst/gstchildproxy.c:
1768         Fix copy&paste error in gst_child_proxy_removed() documentation.
1769
1770 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1771
1772         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1773           Print error debug message if plugin description fields that should
1774           be set are NULL.
1775
1776         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1777           Don't crash if the string to serialise is NULL (it really should
1778           not be, but apparently this used to work with the xml registry ...).
1779
1780 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1781
1782         * tools/gst-plot-timeline.py:
1783         Fix parsing of log messages
1784
1785 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1786
1787         * win32/common/libgstbase.def::
1788           Sort alphabetically so make check-exports doesn't barf.
1789
1790 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1791
1792         * gst/gstevent.c:
1793           Use gst_format_get_name() to improve debug output.
1794
1795         * gst/gstpreset.c:
1796           Remove #ifdef'ed code. Add TODO comment.
1797
1798         * gst/gstsegment.c:
1799           Add debug output to ease spotting format != segment.format assertions.
1800
1801 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1802
1803         * tests/check/libs/gdp.c: (gst_dp_suite):
1804         Also enable the GDP unit test again on PPC now that the bug
1805         is fixed.
1806
1807 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1808
1809         * libs/gst/dataprotocol/dataprotocol.c:
1810         Don't write to the same region of memory as a uint64 and uint16
1811         as this breaks strict aliasing rules and apparantly breaks on PPC
1812         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1813
1814 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1815
1816         * libs/gst/controller/gstinterpolationcontrolsource.c:
1817           Optimize list handling. Use own find function. Exploit that fact that
1818           the list is sorted. Also pass back the node before, so that we can
1819           insert quickly. Have a fast path for append.
1820
1821 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1822
1823         * docs/design/draft-framestep.txt:
1824         * docs/design/part-negotiation.txt:
1825           Fix two typos.
1826
1827 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1828
1829         * configure.ac:
1830           Show configuration sumary after configure run. Based on patch by
1831           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1832
1833 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1834
1835         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1836
1837         * docs/manual/advanced-autoplugging.xml:
1838         * docs/manual/advanced-threads.xml:
1839         * docs/manual/basics-bins.xml:
1840         * docs/manual/basics-elements.xml:
1841         * docs/manual/basics-helloworld.xml:
1842         * docs/manual/basics-pads.xml:
1843           Add scale factor for pdf output.
1844
1845         * docs/manual/intro-basics.xml:
1846           Switched sections "pads" and "bins" and added a pipeline diagram.
1847
1848         * docs/manual/intro-gstreamer.xml:
1849           Added more info on gstreamer.
1850
1851         * docs/manual/intro-motivation.xml:
1852           Commented out the whole section "current problem", which sounds
1853           historical and somehow osolete; it could be turned in a positive
1854           way and reused to improve the design principles.
1855
1856         * docs/manual/intro-preface.xml:
1857           - Update URLs to library.gnome.org. 
1858           - Do not mention GTK+ in preliminary reading (irrelevant). 
1859           - Mention Plugin Writer's Manual and further reading only in the
1860             previous section.
1861           - Added a list of most relevant GObject/glib topics.
1862
1863         * docs/manual/Makefile.am:
1864         * docs/manual/bin-element-ghost.fig:
1865         * docs/manual/bin-element-ghost.png:
1866         * docs/manual/bin-element-noghost.fig:
1867         * docs/manual/bin-element-noghost.png:
1868         * docs/manual/bin-element.fig:
1869         * docs/manual/bin-element.png:
1870         * docs/manual/filter-element-multi.fig:
1871         * docs/manual/filter-element-multi.png:
1872         * docs/manual/filter-element.fig:
1873         * docs/manual/filter-element.png:
1874         * docs/manual/gstreamer-overview.png:
1875         * docs/manual/hello-world.fig:
1876         * docs/manual/hello-world.png:
1877         * docs/manual/linked-elements.fig:
1878         * docs/manual/linked-elements.png:
1879         * docs/manual/mime-world.fig:
1880         * docs/manual/mime-world.png:
1881         * docs/manual/queue.fig:
1882         * docs/manual/queue.png:
1883         * docs/manual/simple-player.png:
1884         * docs/manual/sink-element.fig:
1885         * docs/manual/sink-element.png:
1886         * docs/manual/src-element.fig:
1887         * docs/manual/src-element.png:
1888         * docs/manual/diagrams-general.svg:
1889         * docs/manual/diagrams-pipelines.svg:
1890           Removed .fig, added .png counterpart.
1891           
1892           Fixes: #539137
1893
1894 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1895
1896         * plugins/elements/gstmultiqueue.c:
1897         * plugins/elements/gstmultiqueue.h:
1898         revert extra-size-buffers stuff, caused some race conditions
1899         and extra-size-buffers is not used anymore. Docs needs some updates
1900
1901 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1902
1903         * win32/common/config.h:
1904         * win32/common/gstenumtypes.c:
1905         * win32/common/gstenumtypes.h:
1906         * win32/common/gstversion.h:
1907           Update win32 files.
1908
1909 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1910
1911         * gst/gstdebugutils.h: (GstDebugGraphDetails),
1912           (GST_DEBUG_BIN_TO_DOT_FILE):
1913           Add missing Since' markers to gtk-doc blurbs.
1914
1915 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
1916
1917         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1918         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1919         (set_caps_1), (set_caps_ct1), (transform_ct1),
1920         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1921         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1922         (transform_size_ct2), (buffer_alloc_ct2):
1923         Add some more tests with switching caps in buffer_alloc.
1924
1925 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1926
1927         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1928         (gst_test_trans_class_init), (result_sink_chain),
1929         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1930         (gst_test_trans_push), (gst_test_trans_pop):
1931         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1932         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1933         (set_caps_1), (set_caps_ct1), (transform_ct1),
1934         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1935         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1936         (transform_size_ct2), (buffer_alloc_ct2),
1937         (gst_basetransform_suite):
1938         More tests, prepare for tests with switching caps in buffer_alloc.
1939
1940 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1941
1942         * plugins/elements/gstmultiqueue.c:
1943         * plugins/elements/gstmultiqueue.h:
1944         Fix dead-lock in underrun_cb
1945
1946 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1947
1948         * docs/design/part-states.txt:
1949         Fix device open/close docs.
1950
1951 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1952
1953         * ChangeLog:
1954           Mention bugnumber for last commit.
1955
1956 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1957
1958         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1959
1960         * docs/manual/manual.xml:
1961         - Reorganised the previous "introduction" bundle into Foreword,
1962         Introduction, and About GStreamer. The two first are <preface>
1963         docbook elements. The later is the first part of the book.
1964         - added intro-gstreamer.xml (content partially from
1965         intro-preface.xml)
1966         - moved appendix-win32.xml into appendix-integration.xml
1967
1968         * docs/manual/intro-preface.xml: gstreamer section moved...
1969         * docs/manual/intro-gstreamer.xml: ...here. new file.
1970
1971         * docs/manual/appendix-win32.xml: removed file. Content moved...
1972         * docs/manual/appendix-integration.xml: ...here.
1973         
1974         * docs/manual/highlevel-components.xml: section about GstEditor moved...
1975         * docs/manual/appendix-checklist.xml: ...here.
1976         
1977         Fixes: 538764
1978
1979 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1980
1981         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1982
1983         * docs/manual/basics-helloworld.xml:
1984         * docs/manual/hello-world.fig:
1985           - Explicitely include glib.h.
1986           - Do not use global variables.
1987           - Use g_printerr() instead of g_print().
1988           - Minor formating/renaming to increase readibility.
1989           - Renamed new_pad() to on_pad_added()
1990           - Improved explenatory comments.
1991           - renamed ogg parser to ogg demuxer
1992           - Use "autoaudiosink" instead of "alsasink".
1993           Fixes: #538619
1994
1995 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1996
1997         * ChangeLog:
1998           Remove cvs conflict marker.
1999
2000 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2001
2002         * docs/README:
2003           Document that for plgin-docs we extraxt he short-desc from the element
2004           details.
2005
2006         * docs/design/part-states.txt:
2007           Tell that devices should be closed in PAUSED -> READY.
2008
2009         * docs/manual/README:
2010           Document how tests in the manual are handled.
2011
2012         * docs/manuals.mak:
2013           Typo in comment.
2014
2015 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2016
2017         * gst/gstbin.c: (bin_query_latency_fold):
2018         Only care about latency min and max when the sink is actually a live
2019         sink.
2020
2021 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2022
2023         * docs/design/part-block.txt:
2024         Fix typo.
2025
2026         * docs/design/part-element-transform.txt:
2027         Add notes about why transform needs to know input/output sizes.
2028         Add some issues that need to be solved.
2029         Add some more use cases.
2030
2031         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2032         (gst_test_trans_class_init), (result_sink_chain),
2033         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2034         (gst_test_trans_push), (gst_test_trans_pop):
2035         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2036         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2037         (set_caps_1), (set_caps_ct1), (transform_ct1),
2038         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2039         (gst_basetransform_suite):
2040         Add suport for different pad templates and buffer-alloc.
2041         Add more checks for caps and buffer-alloc.
2042         Add checks for proxy buffer alloc.
2043         Add unit test for copy transform.
2044
2045 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2046
2047         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2048
2049         * docs/manual/appendix-integration.xml:
2050         * docs/manual/appendix-licensing.xml:
2051         * docs/manual/basics-elements.xml:
2052         * docs/manual/basics-helloworld.xml:
2053         * docs/manual/basics-pads.xml:
2054         * docs/manual/highlevel-components.xml:
2055         * docs/manual/highlevel-xml.xml:
2056         * docs/manual/intro-basics.xml:
2057         * docs/manual/intro-preface.xml:
2058           Typo and formatting fixes (#538594).
2059
2060 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2061
2062         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2063         Fix some memory leaks and uses of object instances that we don't
2064         actually own.
2065
2066 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2067
2068         * plugins/elements/gstmultiqueue.c:
2069         Add functionality to extra-size-buffers property.
2070
2071 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2072
2073         * plugins/elements/gstmultiqueue.c:
2074         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2075         activate the pads if they are added in STATE_NULL.
2076
2077 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2078
2079         * docs/libs/gstreamer-libs-sections.txt:
2080         Add new API to doc
2081         * libs/gst/check/gstcheck.c:
2082         * libs/gst/check/gstcheck.h:
2083         API: gst_check_teardown_pad_by_name
2084
2085 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2086
2087         * libs/gst/check/gstcheck.c:
2088         * libs/gst/check/gstcheck.h:
2089         Also setup request pads and allow setup pads by name (#537812)
2090         API: gst_check_setup_src_pad_by_name
2091         API: gst_check_setup_sink_pad_by_name
2092
2093 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2094
2095         * tests/check/gst/gstbuffer.c:
2096         * tests/check/pipelines/parse-launch.c:
2097           Use HAVE_VALGRIND_H some more.
2098
2099 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2100
2101         * scripts/cvs-update.sh:
2102           Pass arguments to make.
2103           Run autoregen.sh if Makefile is not there.
2104
2105 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2106
2107         * configure.ac:
2108         * gst/gstinfo.c:
2109           Don't assume that <valgrind/valgrind.h> exists just because
2110           the binary is there.
2111
2112 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2113
2114         * tests/check/Makefile.am:
2115         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2116         (gst_test_trans_class_init), (gst_test_trans_init),
2117         (gst_test_trans_set_data), (result_sink_chain),
2118         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2119         (gst_test_trans_pop):
2120         * tests/check/libs/transform1.c: (GST_START_TEST),
2121         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2122         Add some test basetransform element and the beginnings of various
2123         unit tests for it.
2124
2125 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2126
2127         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2128         Increase code readability.
2129         Don't try to compare buffer offsets when ther are invalid.
2130
2131 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2132
2133         * docs/design/Makefile.am:
2134           Dist some more design docs.
2135
2136         * docs/random/moving-plugins:
2137           Small addition: good plugins mustn't have functional code
2138           within assertion macros.
2139
2140 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2141
2142         * docs/design/draft-framestep.txt:
2143         Some ideas about a framestep API
2144
2145         * docs/design/part-element-transform.txt:
2146         Start design and use cases for basetransform in order to get it
2147         fixed soon.
2148
2149 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2150
2151         * gst/gsttaglist.h:
2152           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2153           be in UTF-8 encoding.
2154
2155 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2156
2157         * gst/gstbus.c:
2158           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2159
2160 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2161
2162         * plugins/elements/gstcapsfilter.c:
2163         * plugins/elements/gstfakesink.c:
2164         * plugins/elements/gstfakesrc.c:
2165         * plugins/elements/gstfdsink.c:
2166         * plugins/elements/gstfdsrc.c:
2167         * plugins/elements/gstfilesink.c:
2168         * plugins/elements/gstfilesrc.c:
2169         * plugins/elements/gstidentity.c:
2170         * plugins/elements/gstmultiqueue.c:
2171         * plugins/elements/gstqueue.c:
2172         * plugins/elements/gsttee.c:
2173         * plugins/elements/gsttypefindelement.c:
2174           Remove short_description. Add basic docs for gsttypefindelement.
2175           Simplify markup for fakesrc/fdsrc.
2176
2177 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2178
2179         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2180         Added Since doc.
2181
2182 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2183
2184         Patch by: Joel Larsson <tilljoel at gmail dot com>
2185
2186         * docs/plugins/gstreamer-plugins.args:
2187         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2188         (gst_fd_src_init), (gst_fd_src_update_fd),
2189         (gst_fd_src_set_property), (gst_fd_src_get_property),
2190         (gst_fd_src_create):
2191         * plugins/elements/gstfdsrc.h:
2192         Add timeout property like udpsrc. Fixes #538628.
2193         Add some more docs and example pipelines.
2194
2195 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2196
2197         * docs/libs/gstreamer-libs-sections.txt:
2198         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2199         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2200         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2201         (gst_base_sink_do_sync):
2202         * libs/gst/base/gstbasesink.h:
2203         * win32/common/libgstbase.def:
2204         Add method to allow sinks to specify additional delay between the sync
2205         times and the actual rendering of the data.
2206         API: gst_base_sink_set_render_delay()
2207         API: gst_base_sink_get_render_delay()
2208
2209 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2210
2211         * configure.ac:
2212         Bump version number back to dev -> 0.10.20.1
2213
2214 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2215
2216         * docs/gst/gstreamer-sections.txt:
2217         * gst/gsttaglist.c: (_gst_tag_initialize):
2218         * gst/gsttaglist.h:
2219         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2220         Fixes bug #538568.
2221
2222 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2223
2224         * libs/gst/controller/gstcontroller.c:
2225           Revert one change, that make ret value possible uninitialized.
2226
2227 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2228
2229         * libs/gst/controller/gstcontroller.c:
2230           Use freeze/thaw notify to sync notify emission a bit (its also more
2231           efficient). Move debug output to LOG (is called a lot in a loop).
2232           Always unset g_values if the have been initialized.
2233
2234 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2235
2236         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2237         (gst_base_sink_wait_eos), (gst_base_sink_event):
2238         If we have not seen a buffer before EOS, use the segment values to
2239         report the current position instead of invalid positions.
2240
2241 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2242
2243         * docs/plugins/tmpl/.cvsignore:
2244         * tests/check/gst/.cvsignore:
2245           Ignore more.
2246
2247 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2248
2249         * libs/gst/controller/gstinterpolation.c:
2250         * libs/gst/controller/gstinterpolationcontrolsource.c:
2251         * tests/check/libs/controller.c:
2252           Rewrite handling of default values. Fix overflow with unsigned types
2253           in linear interpolation. Remove now obsolete _first_value() function.
2254           Add more tests. Fixes #538201.
2255
2256 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2257
2258         * libs/gst/base/gstbasetransform.c:
2259         (gst_base_transform_class_init), (gst_base_transform_init),
2260         (gst_base_transform_transform_caps),
2261         (gst_base_transform_prepare_output_buffer):
2262         Add debug info.
2263         When a buffer is writable, its metadata is also writable so we don't
2264         need to subbuffer (which then makes the buffer not-writable anymore).
2265
2266 === release 0.10.20 ===
2267
2268 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2269
2270         * configure.ac:
2271           releasing 0.10.20, "You Crazy Diamond"
2272
2273 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2274
2275         * configure.ac:
2276         0.10.19.3 pre-release
2277
2278 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2279
2280         * configure.ac:
2281         * gst/gstpreset.c:
2282         Rename DATADIR to GST_DATADIR to avoid build problems
2283         on win32. Patch By: David Schleef <ds@schleef.org>
2284         Fixes: #536857
2285
2286 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2287
2288         * configure.ac:
2289         Explicitely link with -ldl if dladdr() is found there. Before it was
2290         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2291         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2292
2293 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2294
2295         * gst/gsterror.c: (_gst_stream_errors_init):
2296           Fix typo (spotted by Fabricio Godoy, #536723).
2297
2298 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2299
2300         * configure.ac:
2301         0.10.19.2 pre-release
2302
2303 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2304
2305         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2306         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2307         Add some debug.
2308         Make sure we don't generate invalid QoS messages.
2309
2310 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2311
2312         * gst/gstevent.c: (gst_event_new_qos):
2313         Add some assert and docs for invalid input to the qos function.
2314
2315 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2316
2317         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2318         (gst_base_sink_get_position):
2319         The reported position must always be smaller than the last seen
2320         timestamps (or timestamp + duration for reverse).
2321
2322 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2323
2324         Patch by: Rob Bradford <rob at robster dot org dot uk>
2325
2326         * gst/gstregistry.c: (gst_registry_scan_path_level):
2327         Don't recurse into .debug directories as some distros install
2328         the debugging symbols next to the plugins in .debug directories
2329         and dlopen() crashes on them sometimes. Fixes bug #508070.
2330
2331         Add FIXME for 0.11 to not recurse into directories at all because
2332         it's very inconsistent to the behaviour of other PATH environment
2333         variables.
2334
2335 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2336
2337         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2338         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2339         Fix position query range checks in reverse playback.
2340
2341 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2342
2343         * gst/gstelement.c:
2344         * gst/gstelement.h:
2345         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2346         clear of the reference to the resulting pad must be released later
2347         or not, resulting in possible leaks. Fixes bug #533865.
2348
2349 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2350
2351         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2352
2353         * gst/gstelementfactory.c:
2354         Small doc fix. Fixes #535285.
2355
2356 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2357
2358         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2359
2360         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2361         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2362         (gst_base_src_loop), (gst_base_src_set_flushing),
2363         (gst_base_src_change_state):
2364         Make sending an EOS event to the basesrc non-blocking even if the
2365         implementation does blocking waits in the create function. This is done
2366         by unlocking the create function when EOS is sent.
2367         Fixes #535218.
2368
2369 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2370
2371         * tools/gst-inspect.c: (print_element_properties_info):
2372         If possible print the element type of GValueArray properties.
2373
2374 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2375
2376         * gst/gstiterator.c:
2377         Remove an unused field from the private GstListIterator struct.
2378
2379 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2380
2381         * libs/gst/controller/gstcontroller.c:
2382           Add parameter guards.
2383
2384 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2385
2386         * tests/check/gst/gstpipeline.c:
2387           Revert test change and add comment why it should not work.
2388
2389 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2390
2391         * tests/check/gst/gstpipeline.c:
2392           Extending the test a little to verify that we also get the NULL state-
2393           change message.
2394
2395 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2396
2397         * gst/gstpreset.c: (gst_preset_default_get_meta),
2398           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2399           (gst_preset_load_preset), (gst_preset_save_preset),
2400           (gst_preset_rename_preset), (gst_preset_delete_preset),
2401           (gst_preset_set_meta):
2402           Add Since: markers to docs blurbs.
2403
2404         * win32/common/libgstreamer.def:
2405           Add recently-added API.
2406
2407 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2408
2409         Patch by: Stefan Kost  <ensonic@users.sf.net>
2410
2411         * configure.ac:
2412         Add DATADIR for storing presets.
2413
2414         * docs/gst/gstreamer-docs.sgml:
2415         * docs/gst/gstreamer-sections.txt:
2416         * docs/gst/gstreamer.types.in:
2417         Add GstPreset to docs.
2418
2419         * gst/Makefile.am:
2420         * gst/gst.h:
2421         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2422         (preset_open_and_parse_header), (preset_parse_version),
2423         (preset_merge), (preset_get_keyfile),
2424         (gst_preset_default_get_preset_names),
2425         (gst_preset_default_get_property_names),
2426         (gst_preset_default_load_preset),
2427         (gst_preset_default_save_presets_file),
2428         (gst_preset_default_save_preset),
2429         (gst_preset_default_rename_preset),
2430         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2431         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2432         (gst_preset_default_reset), (gst_preset_get_preset_names),
2433         (gst_preset_get_property_names), (gst_preset_load_preset),
2434         (gst_preset_save_preset), (gst_preset_rename_preset),
2435         (gst_preset_delete_preset), (gst_preset_set_meta),
2436         (gst_preset_get_meta), (gst_preset_class_init),
2437         (gst_preset_base_init), (gst_preset_get_type):
2438         * gst/gstpreset.h:
2439         Add GstPreset to core. Fixes #396779
2440
2441         * tests/check/Makefile.am:
2442         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2443         (gst_preset_test_set_property), (gst_preset_test_class_init),
2444         (gst_preset_test_base_init), (gst_preset_test_get_type),
2445         (gst_preset_test_plugin_init), (GST_START_TEST),
2446         (remove_preset_file), (test_setup), (test_teardown),
2447         (gst_preset_suite):
2448         Add GstPreset unit tests.
2449
2450 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2451
2452         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2453         The default event function on a sinkpad should return TRUE when
2454         there are no internal links but should collect the return values from
2455         the internal links otherwise.
2456
2457 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2458
2459         * plugins/elements/gsttypefindelement.c:
2460         (gst_type_find_element_src_event),
2461         (gst_type_find_element_handle_event):
2462         Use faster and safer _pad_push_event().
2463
2464 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2465
2466         * docs/gst/gstreamer-sections.txt:
2467         * gst/gstutils.c: (element_find_unlinked_pad),
2468           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2469         * gst/gstutils.h:
2470           API: add gst_bin_find_unlinked_pad()
2471           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2472
2473 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2474
2475         * gst/gstclock.c:
2476         * gst/gstclock.h:
2477         * gst/gsttask.c:
2478         * gst/gsttask.h:
2479         Fixed a bunch of typos.
2480
2481 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2482
2483         * gst/gstpad.h:
2484         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2485           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2486           (gst_parse_bin_from_description_full):
2487         * gst/gstutils.h:
2488           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2489
2490 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2491
2492         * docs/pwg/advanced-tagging.xml:
2493           Small docs update, can't be bothered to rewrite the nonsensical
2494           examples right now.
2495
2496 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2497
2498         * gst/gstevent.h:
2499           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2500
2501 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2502
2503         * gst/parse/grammar.y:
2504           Remove unneeded casts.
2505
2506 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2507
2508         * gst/parse/grammar.y:
2509         * tests/check/pipelines/parse-launch.c:
2510           Get all missing elements from a parse launch string if possible
2511           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2512
2513 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2514
2515         * tests/check/Makefile.am:
2516         * tests/check/pipelines/parse-launch.c:
2517           Add some unit tests for the new gst_parse_launch*_full() API.
2518           (Exposes a previously-existing memory leak in the error code
2519           path, so adding to VALGRIND_TO_FIX for now).
2520
2521 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2522
2523         * docs/gst/gstreamer-sections.txt:
2524         * gst/gst.c: (init_post):
2525         * gst/gst_private.h: (_GstParseContext):
2526         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2527           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2528           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2529           (gst_parse_launch_full):
2530         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2531           (GstParseFlags), (GstParseContext):
2532         * gst/gstutils.c: (gst_parse_bin_from_description),
2533           (gst_parse_bin_from_description_full):
2534         * gst/gstutils.h:
2535         * gst/parse/grammar.y:
2536         * gst/parse/types.h:
2537         * win32/common/libgstreamer.def:
2538           Add new gst_parse_*_full API (#528178):
2539           API: gst_parse_launch_full()
2540           API: gst_parse_launchv_full()
2541           API: gst_parse_bin_from_description_full()
2542           API: gst_parse_context_new()
2543           API: gst_parse_context_free()
2544           API: gst_parse_context_get_missing_elements()
2545
2546 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2547
2548         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2549
2550         * docs/faq/gst-uninstalled:
2551           Also support ffmpeg in gst-uninstalled.
2552
2553 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2554
2555         * configure.ac:
2556         After discussion on IRC use the binary registry as default
2557         but allow to disable it with --disable-binary-registry.
2558
2559         * win32/common/libgstreamer.def:
2560         Add the two new symbols for the binary registry.
2561
2562 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2563
2564         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2565         * gst/gstutils.c: (gst_parse_bin_from_description):
2566         * gst/parse/grammar.y: (graph):
2567           More guards against bad input; typo fix; some minor clean-ups.
2568
2569 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2570
2571         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2572
2573         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2574         If nothing else can be used, use the last buffer's start time as
2575         the segment's last stop. Fixes bug #534258.
2576
2577 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2578
2579         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2580           Move size sanity check to the right place: downstream may return
2581           a buffer with a smaller size if the buffer caps are different than
2582           the requested ones, as may happen when doing reverse negotiation.
2583
2584 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2585
2586         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2587         (gst_file_sink_render):
2588         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2589         (gst_file_src_start):
2590         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2591         use it yet.
2592
2593 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2594
2595         * gst/gstpad.c: (gst_pad_load_and_link):
2596         * gst/gstutils.c: (gst_element_link_pads),
2597         (gst_element_unlink_pads):
2598         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2599         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2600         (gst_check_teardown_sink_pad),
2601         (gst_check_element_push_buffer_list):
2602         * tests/check/elements/fakesink.c: (GST_START_TEST):
2603         * tests/check/elements/filesink.c:
2604         * tests/check/elements/filesrc.c: (GST_START_TEST):
2605         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2606         (mq_sinkpad_to_srcpad):
2607         * tests/check/elements/tee.c: (GST_START_TEST):
2608         * tests/check/generic/sinks.c: (GST_START_TEST):
2609         * tests/check/gst/gstbin.c: (GST_START_TEST):
2610         * tests/check/gst/gstevent.c: (GST_START_TEST):
2611         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2612         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2613         * tests/check/gst/gstquery.c: (GST_START_TEST):
2614         * tests/check/gst/gstutils.c: (GST_START_TEST):
2615         * tests/check/libs/basesrc.c: (GST_START_TEST):
2616         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2617         (gst_parse_test_element_change_state):
2618         Don't use gst_element_get_pad().
2619
2620 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2621
2622         * docs/Makefile.am:
2623         Fix installing plugin documentation when gtk-doc is disabled.
2624
2625 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2626
2627         * docs/manual/advanced-autoplugging.xml:
2628         * docs/manual/basics-helloworld.xml:
2629         * docs/manual/basics-pads.xml:
2630         * docs/manual/highlevel-components.xml:
2631         Avoid using a bad function in the example code.
2632
2633 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2634
2635         * gst/gstclock.c: (gst_clock_set_calibration):
2636         Fix debug of the new clock rate.
2637
2638 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2639
2640         * win32/common/libgstbase.def:
2641         Add gst_base_sink_wait_clock() to the exported symbols.
2642
2643 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2644
2645         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2646
2647         * libs/gst/base/gstbasetransform.c:
2648         (gst_base_transform_sink_event):
2649         Unref events that the GstBaseTransform::event vfunc didn't want to
2650         have forwarded by the base class. Closes a leak in identity.
2651         Fixes bug #446763.
2652
2653 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2654
2655         * docs/libs/gstreamer-libs-sections.txt:
2656         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2657         * libs/gst/base/gstbasesink.h:
2658         Expose a method that was previously used internally to synchronize
2659         against the clock because it can be useful for subclasses too.
2660         API: GstBaseSink::gst_base_sink_wait_clock()
2661
2662 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2663
2664         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2665           Add sanity check to make sure we don't get smaller buffers
2666           than requested (and fallback to normal buffer alloc if we do).
2667
2668 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2669
2670         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2671         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2672         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2673         Refactor adjusting the running_time with latency and offset into a
2674         separate method.
2675         When doing clipping, we still want to use the subclass get_times method,
2676         just in case the DURATION or TIMESTAMP are not set.
2677
2678 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2679
2680         * docs/gst/gstreamer-sections.txt:
2681         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2682         * gst/gsttypefind.h:
2683         * win32/common/libgstreamer.def:
2684           API: add gst_type_find_suggest_simple(), #533740.
2685
2686 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2687
2688         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2689           Use right error code when typefinding fails, so we can use
2690           the default (translated) error messages.
2691
2692 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2693
2694         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2695         (gst_base_src_start):
2696         When the subclass did not set caps on outgoing buffers, configure the
2697         caps we negotiated on the source pad.
2698         When the typefind helper does not find caps, error out properly instead
2699         of doing things with NULL caps.
2700
2701 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2702
2703         * gst/gsttypefind.h:
2704           Tabs to spaces, oh yes!
2705
2706 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2707
2708         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2709           Add David's and Benjamin's tests for array intersection to the
2710           unit test suite (#147931).
2711
2712 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2713
2714         * gst/gstevent.c:
2715           Document that gst_event_new_tag() and gst_event_new_navigation()
2716           take ownership of the taglist/structure passed to them. (#533635).
2717
2718 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2719
2720         * docs/Makefile.am:
2721         Don't descend into the plugins dir if plugin docs building
2722         is disabled.
2723
2724         * docs/README:
2725         Add a note about the new type:GTypeName syntax for the plugin
2726         documentation .types file.
2727
2728 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2729
2730         * gst/gstmessage.c: (gst_message_new_error),
2731         (gst_message_new_warning), (gst_message_new_info):
2732         * gst/gstmessage.h:
2733         Mark the debug string parameters as const. Fixes bug #533490.
2734
2735 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2736
2737         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2738         Sort buffer cache list by end offsets. This makes sure that we don't
2739         stop to search for a cached buffer that contains the requested data
2740         too early.
2741         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2742         more efficient. Fixes bug #459862.
2743
2744 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2745
2746         * gst/gstinfo.c:
2747           Explain why we copy the list.
2748
2749         * gst/gstpipeline.c:
2750           Improve docs.
2751
2752         * gst/gstutils.c:
2753           Add one debug-log statement to help tracing probelms with linking pads.
2754
2755 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2756
2757         * tests/check/gst/gstinfo.c:
2758         Add a test for removing the default log handler. Seems to fail under
2759         windows.
2760
2761 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2762
2763         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2764         Release pad lock before calling out to avoid a possible deadlock.
2765
2766 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2767
2768         * gst/parse/grammar.y:
2769         Remove unneeded value unset.
2770
2771         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2772         Add unit test for de/serialization of caps.
2773
2774 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2775
2776         * plugins/elements/gstfakesink.c:
2777         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2778         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2779         (gst_fake_src_class_init):
2780         Use custom marshalers that take GstMiniObject as first parameter.
2781         Using OBJECT as parameter while a GstMiniObject is given will lead
2782         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2783
2784 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2785
2786         * plugins/elements/gsttypefindelement.c:
2787         (gst_type_find_element_handle_event),
2788         (gst_type_find_element_send_cached_events),
2789         (gst_type_find_element_change_state):
2790         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2791         immediately.
2792
2793 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2794
2795         * plugins/elements/gsttypefindelement.c:
2796         (gst_type_find_handle_src_query), (stop_typefinding),
2797         (gst_type_find_element_handle_event),
2798         (gst_type_find_element_send_cached_events),
2799         (gst_type_find_element_change_state):
2800         Forward FLUSH_START events immediately and clean up instead of
2801         caching them.
2802
2803 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2804
2805         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2806
2807         * libs/gst/base/gstbasetransform.c:
2808         (gst_base_transform_buffer_alloc):
2809         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2810         fall back to default negotiation in the chain function if the caps
2811         are different from what was requested. Fixes bug #526768.
2812
2813 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2814
2815         * gst/gstsegment.c:
2816         * tests/check/gst/gstsegment.c:
2817           No, let's not use g_slice_{dup|copy} here, since they only exist
2818           since GLib 2.14 and we still depend only on >= 2.12. Also add
2819           unit test for gst_segment_copy().
2820
2821 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2822
2823         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2824           Try to fix 'dereferencing type-punned pointer will break strict
2825           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2826           changed the default GType typedef from gulong to gsize at some point,
2827           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2828           g_once_* functions all take a gsize * though, so work around the type
2829           mismatch for C++ by doing everything in gsize and casting to GType
2830           later.
2831
2832 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2833
2834         * plugins/elements/gstmultiqueue.c:
2835         Add documentation for the signals to push our core plugin docs
2836         coverage back up to 100%.
2837
2838 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2839
2840         * gst/gstinfo.h (GST_FUNCTION):
2841           Reverted GST_FUNCTION to the old version as we don't want the
2842           full signature in C++ code. Also added support for MSVC.
2843
2844 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2845
2846         * gst/gstutils.h:
2847         Intern the type name string, similar to what G_DEFINE_TYPE does.
2848
2849 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2850
2851         * gst/gstutils.h:
2852         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2853
2854 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2855
2856         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2857
2858         * libs/gst/base/gstbasetransform.c:
2859         (gst_base_transform_buffer_alloc):
2860         Don't passthrough buffer allocation too easily if the caps change.
2861         This breaks when working in passthrough mode and upstream changes
2862         it's caps. Fixes bug #526768.
2863
2864 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2865
2866         * gst/gstinfo.c (gst_debug_log_valist):
2867           Improved the __FILE__ part of debug output for MSVC.
2868
2869 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2870
2871         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2872           Declaration after statement fix for compilers like MSVC.
2873
2874 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2875
2876         * win32/common/config.h.in:
2877           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2878           use the real thing than having "???" unconditionally.
2879
2880 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2881
2882         * gst/gstinfo.h (GST_FUNCTION):
2883           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2884
2885 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2886
2887         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2888         Small code cleanup.
2889
2890         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2891         (gst_base_sink_set_flushing):
2892         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2893         Fix some comments.
2894
2895 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2896
2897         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2898         (gst_fake_src_init), (gst_fake_src_set_property),
2899         (gst_fake_src_get_property), (gst_fake_src_start):
2900         * plugins/elements/gstfakesrc.h:
2901         Added format property to control the format of the newsegment events.
2902         API: GstFakeSrc:format
2903
2904 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2905
2906         * win32/common/libgstreamer.def:
2907         Add gst_pad_has_name() to the exported symbols.
2908
2909 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2910
2911         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2912         * libs/gst/base/gstbasetransform.c:
2913         (gst_base_transform_prepare_output_buffer):
2914         Don't allow negative sizes when allocating new buffers.
2915         Fixes bug #461253.
2916
2917 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2918
2919         Patch by: Sjoerd Simons <sjoerd at luon net>
2920
2921         * gst/gstbus.c: (gst_bus_source_dispatch):
2922           Don't print a warning if the queue is empty when we try to pop
2923           here. That could happen if another thread or callback set the
2924           bus to flushing between the source's check/prepare and the
2925           dispatch being called (#531538).
2926
2927 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2928
2929         * plugins/elements/gstmultiqueue.c:
2930           Small docs fix.
2931         
2932 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
2933
2934         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2935         Add unit test for deserializing uint64s and check some really large
2936         numbers in the int64 test.
2937
2938 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2939
2940         * tools/gst-inspect.c: (n_print), (print_hierarchy),
2941         (print_interfaces), (print_element_properties_info),
2942         (print_signal_info):
2943         Use "%s" as format string instead of printing strings directly.
2944
2945 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2946
2947         * gst/gstclock.c: (gst_clock_set_calibration):
2948         Make some checks actually useful.
2949
2950         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2951         Remove some unused code. Unsigned integers tend to be >= 0.
2952
2953 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2954
2955         * gst/gstminiobject.c: (gst_value_get_mini_object):
2956           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2957           function was not in the unscheduled 0.10.19 release.
2958
2959 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2960
2961         * gst/gstregistry.c: (gst_registry_scan_path_level):
2962           Only print one log message per non-plugin file.
2963
2964 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2965
2966         * gst/gstinfo.c: (gst_debug_log_default):
2967           Fix alignment of debug log columns on 64-bit.
2968
2969 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2970
2971         * docs/libs/Makefile.am:
2972         * docs/libs/gstreamer-libs-sections.txt:
2973           Ignore private controller headers for docs.
2974
2975 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
2976
2977         * libs/gst/controller/gstcontrollerprivate.h:
2978         * libs/gst/controller/gsthelper.c:
2979         * libs/gst/controller/gstinterpolation.c:
2980         * libs/gst/controller/gstinterpolationcontrolsource.c:
2981         (gst_interpolation_control_source_set_interpolation_mode):
2982         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2983         * libs/gst/controller/lib.c:
2984         Move some private declarations into private headers.
2985
2986 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
2987
2988         * gst/gstdebugutils.c: (debug_dump_element_pad):
2989         Remove some code that is unused after Stefan's refactoring and uses
2990         uninitialized variables now, resulting in a compiler warning.
2991
2992 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2993
2994         * gst/gstregistry.c: (gst_registry_scan_path_level):
2995           Run g_str_has_suffix() only on the file name, not the
2996           entire file path.
2997
2998 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
2999
3000         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3001           Since we're not called only from the chain function any longer,
3002           we can't assume that there's always data in the queue, so move
3003           the is_full check to the beginning of the loop (otherwise we'd
3004           hit the assert when changing the limit properties while the
3005           queue is empty or not running yet).
3006           Also, only set a discont if items were actually removed from
3007           the queue.
3008
3009         * tests/check/elements/queue.c: (test_leaky_downstream):
3010           Test case for the above.
3011
3012 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3013
3014         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3015
3016         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3017         (gst_queue_chain), (queue_capacity_change),
3018         (gst_queue_set_property):
3019         When changing thr max capacity of a leaky queue, immediatly drop buffers
3020         instead of waiting for a push on the sinkpad. Fixes #530637.
3021
3022 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3023
3024         * gst/gstdebugutils.c:
3025           Refactor code and fix handling of ghostpads and their proxypads.
3026
3027 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3028
3029         * docs/gst/gstreamer-sections.txt:
3030         * gst/gstevent.c: (gst_event_has_name):
3031         * gst/gstevent.h:
3032         * tests/check/gst/gstevent.c: (GST_START_TEST):
3033         Add method to conveniently check the name of a custom event with
3034         gst_event_has_name().
3035         Reformat the event docs so that related methods are put together instead
3036         of the default alphabetical sort.
3037         Update unit test with new method.
3038         API: GstEvent::gst_event_has_name()
3039
3040 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3041
3042         * libs/gst/check/Makefile.am:
3043           Don't add an explicit link to libgstreamer-0.10.la; it's already
3044           included in GST_OBJ_LIBS.
3045
3046 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3047
3048         * gst/gst.c:
3049         Register GstClock type from a type-safe context. Fixes bug #530317.
3050
3051 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3052
3053         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3054         * tools/gst-run.c:
3055           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3056
3057 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3058
3059         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3060         (gst_bin_dispose):
3061         Use the GLib stuff to create a private structure.
3062         Add some locking around some dispose methods to make them a little
3063         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3064
3065 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3066
3067         * libs/gst/base/gstbasesink.h:
3068         * libs/gst/base/gstbasesrc.h:
3069         * libs/gst/base/gstbasetransform.h:
3070         * libs/gst/base/gstcollectpads.h:
3071           Fix doc typos and unify caps a bit.
3072
3073 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3074
3075         * tools/gst-launch.1.in:
3076           Forgot to also add the envvar docs here.
3077
3078 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3079
3080         * gst/gst.c: (init_post), (gst_deinit):
3081         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3082           (test_concurrent_create), (gst_pipeline_suite):
3083           Ref some more classes in gst_init() to work around thread-safety
3084           issues in pre-2.16 GLibs, and add basic unit test.
3085
3086 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3087
3088         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3089         (gst_base_sink_send_event):
3090         Rearrange the latency query code. We always want to do the upstream
3091         query, even if we are not live so that the upstream elements can get the
3092         latency results too. If we fail doing the query and we are live, we
3093         return TRUE afterwards.
3094
3095 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3096
3097         patch by: Jason Zhao <e3423c@motorola.com>
3098
3099         * docs/gst/running.xml:
3100         * gst/gst.c:
3101           Enable/disable scan_and_update_registry() based on commandline switch
3102           or environment variable. Fixes #520468.
3103           
3104         * ChangeLog:
3105           Fix typo in my previous commit.
3106
3107 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3108
3109         * gst/gstregistrybinary.c:
3110           Add a warning if we hit unhandled factories when saving.
3111           More debug logging detail, but move to LOG category.
3112
3113 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3114
3115         * gst/gstregistry.c:
3116           Tell the *truth* when improving the documentation.
3117
3118 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3119
3120         * gst/gstelementfactory.c: (gst_element_factory_make):
3121         Unref the factory after it was used the last time, not before.
3122
3123         * gst/gstindexfactory.c: (gst_index_factory_make):
3124         Improve debugging a bit and don't leak a ref to the index factory with
3125         each call.
3126
3127 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3128
3129         * gst/gstregistry.c:
3130           Improve the documentation.
3131
3132 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3133
3134         * gst/gstsegment.c:
3135           The glib macro seems to be borked. Use g_slice_copy directly and cast
3136           in the hope that this fixes the warning on 64bit.
3137
3138 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3139
3140         * gst/gstsegment.c:
3141           Document the new function. Use g_slice_dup() (no need for
3142           gst_segment_init()).    
3143
3144 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3145
3146         * docs/gst/gstreamer-sections.txt:
3147           Move GParamSepc macros to standart section.
3148   
3149         * gst/gstbin.c:
3150           Dn't document _get_type - its in private section in docs anyway and
3151           this doc-blob was incomplete.
3152
3153         * gst/gstclock.h:
3154           Fix wrong symbol names in docs.
3155
3156         * gst/gstmacros.h:
3157           Add once doc sentence.
3158
3159         * tests/check/gst/.cvsignore:
3160           Ignore more.
3161
3162 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3163
3164         * docs/gst/Makefile.am:
3165           And remove those libs here.
3166
3167 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3168
3169         * docs/libs/Makefile.am:
3170           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3171
3172 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3173
3174         Patch by: Olivier Crete <tester at tester dot ca>
3175
3176         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3177         Add the min-threshold to the min latency if possible. Fixes #529148.
3178
3179 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3180
3181         * docs/gst/gstreamer.types.in:
3182           Stupid editor, I removed that line as it should go in yet.
3183
3184 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3185
3186         * docs/gst/gstreamer.types.in:
3187         * docs/libs/gstreamer-libs.types:
3188           Remove library types fro core docs and have them in libs docs.
3189           Reformat and cleanup. Add comment for miniobject types.
3190
3191 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3192
3193         * gst/gsturi.c: (gst_uri_get_protocol):
3194           Fix leak: g_strdown operates on the string in place, while
3195           g_ascii_strdown() returns a newly-allocated string.
3196
3197 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3198
3199         * tools/gst-inspect.c: (print_uri_handler_info),
3200         (print_element_info):
3201         Print the URI protocols and the URI type supported by the element.
3202
3203 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3204
3205         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3206         Use g_value_take_string() instead of the deprecated
3207         g_value_set_string_take_ownership().
3208
3209 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3210
3211         * gst/gstregistrybinary.c: (_gst_crc32):
3212         Return the old CRC instead of 0 if we give a NULL buffer
3213         or a buffer with a length of 0.
3214
3215 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3216
3217         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3218         (gst_uri_get_protocol), (gst_uri_has_protocol),
3219         (gst_uri_construct), (gst_uri_handler_set_uri):
3220         A valid URI scheme can also include '+', '-' and '.' additional
3221         to alphanumeric characters as per RFC 3986 Section 3.1.
3222
3223         Handle URI schemes case insensitive in all places and convert
3224         to lower-case when constructing an URI or setting an URI with
3225         the GstURIHandler interface. Fixes bug #528868.
3226         All elements can still assume (as before) that they will
3227         get passed URIs with a lower-case URI scheme by the GstURIHandler
3228         interface.
3229
3230 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3231
3232         * gst/gstcaps.c: (gst_static_caps_get):
3233         * gst/gstclock.c: (gst_clock_entry_new):
3234           Don't use g_atomic_set_int where it's not needed.
3235
3236 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3237
3238         * gst/gstvalue.c: (gst_value_deserialize_caps):
3239         * gst/parse/grammar.y:
3240         Fix 2 caps leaks.
3241
3242 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3243
3244         * gst/gstutils.c: (gst_atomic_int_set):
3245         Use g_atomic_int_set() here too instead of assignment +
3246         g_atomic_int_get().
3247
3248 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3249         
3250         * gst/gstutils.c:
3251         * gst/gstutils.h:
3252         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3253         now that we depend on new enough GLib.
3254
3255         * gst/gstcaps.c: (gst_static_caps_get):
3256         * gst/gstclock.c: (gst_clock_entry_new):
3257         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3258         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3259         (gst_debug_category_set_threshold):
3260         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3261         (gst_base_sink_set_qos_enabled):
3262         * libs/gst/net/gstnettimeprovider.c:
3263         (gst_net_time_provider_set_property):
3264         Use g_atomic_int_set() instead of gst_atomic_int_set().
3265
3266 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3267
3268         * gst/gstquery.c:
3269           Also use G_GINT64_CONSTANT for the queries.
3270
3271 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3272
3273         * gst/gstmessage.c:
3274           Use G_GINT64_CONSTANT in varargs function.
3275
3276 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3277
3278         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3279         Initialize the registry magic with zeroes.
3280
3281 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3282
3283         * gst/gstregistrybinary.c: (_gst_crc32),
3284         (gst_registry_binary_write),
3285         (gst_registry_binary_initialize_magic),
3286         (gst_registry_binary_write_cache),
3287         (gst_registry_binary_check_magic),
3288         (gst_registry_binary_read_cache):
3289         * gst/gstregistrybinary.h:
3290         Add crc32 checksum to the binary registry file and check this before
3291         accepting a registry file.
3292
3293         Also free the data list when writing to the registry file fails.
3294
3295 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3296
3297         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3298         (gst_registry_binary_load_feature),
3299         (gst_registry_binary_load_plugin):
3300         If an element supports the Uri interface, returns a valid pointer
3301         to the supported URI protocols but this pointer contains nothing
3302         don't try to save that as it will corrupt the registry.
3303
3304         Don't unref the plugin if we added it to the registry already but
3305         fail to load a feature as gst_registry_add_plugin() takes ownership
3306         of the plugin.
3307
3308         Improve debugging a bit.
3309
3310 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3311
3312         * gst/gsttaglist.h:
3313           Clarify some tag item docs after discussion on irc.
3314
3315 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3316
3317         * docs/gst/gstreamer-docs.sgml:
3318           Remove commented out plugins (they have their own docs). Update
3319           comments.
3320
3321 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3322
3323         * docs/gst/gstreamer-docs.sgml:
3324         * docs/gst/gstreamer-sections.txt:
3325         * gst/gstparamspecs.c:
3326         * gst/gstparamspecs.h:
3327           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3328           docs to own section.
3329
3330         * gst/gstvalue.c:
3331           This now only documents GValue.
3332           
3333         * docs/libs/gstreamer-libs-sections.txt:
3334         * libs/gst/controller/gstcontroller.h:
3335           Remove GST_PARAM_CONTROLLABLE.
3336
3337 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3338
3339         * docs/README:
3340           Correct file path. Tell about how to use -overrides.txt.
3341         * docs/design/draft-tagreading.txt:
3342           Small design update.
3343
3344 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3345
3346         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3347         (gst_registry_binary_load_plugin):
3348         Fix a typo in a debug message and revert change from yesterday as
3349         gst_registry_add_plugin() will only fail if something is really wrong
3350         already and we can't survive it anyway.
3351
3352 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3353
3354         * gst/gst.c: (init_post), (gst_deinit):
3355           Pre-register GstGError GType from a thread-safe context
3356           (fixes #527967); unref enum type classes in deinit.
3357
3358 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3359
3360         Patch by: Rene Stadler <mail at renestadler de>
3361
3362         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3363           Merging an empty list with another list in KEEP_ALL mode should
3364           yield an empty list as result and not the second list (#512578).
3365
3366         * tests/check/gst/gsttagsetter.c:
3367           Add unit test for tag merge modes and the aforementioned bug.
3368
3369 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3370
3371         Patch by: Rene Stadler <mail at renestadler de>
3372
3373         * gst/gsttaglist.h:
3374           Fix description to match the order in the table (#512577).
3375   
3376 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3377
3378         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3379
3380         * libs/gst/net/gstnettimepacket.h:
3381         * docs/libs/gstreamer-libs-sections.txt:
3382           Define socklen_t as int if it's not defined yet. Fixes compilation
3383           with MSVC6 and other versions where socklen_t is not defined in
3384           the windows headers (#518022).
3385
3386 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3387
3388         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3389         If gst_registry_add_plugin() fails our reference to the plugin is
3390         invalid so don't try to use it anymore and instead error out.
3391
3392 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3393
3394         * tools/gst-xmlinspect.c: (print_element_info), (main):
3395           De-cruft a bit. If no argument is specified, print all elements in
3396           XML syntax rather than a freestyle list of elements like gst-inspect.
3397           Also, don't print XML header chunk unless we actually have something
3398           to print (ie. don't print it before an error message); print error
3399           message to stderr not stdout. Remove support for printing plugin
3400           info (it would just output something freestyle along the lines of
3401           gst-inspect so far), which fixes #514507. Also add license header.
3402
3403 2008-04-11  Julien Moutte  <julien@fluendo.com>
3404
3405         Mac OS X love...
3406         * configure.ac: Merge platform specific defines, introduce a new
3407         define on OS X to remember that forking when updating registry is
3408         unsafe.
3409         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3410         module.
3411         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3412         is defined.
3413         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3414         condition that leads to absolutely no plugins being registered on
3415         OS X.
3416
3417 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3418
3419         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3420
3421         * gst/gstutils.c: (gst_pad_add_data_probe),
3422           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3423           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3424           (gst_pad_add_buffer_probe_full):
3425         * gst/gstutils.h:
3426         * docs/gst/gstreamer-sections.txt:
3427         * win32/common/libgstreamer.def:
3428           Add gst_pad_add_*_probe_full() functions with a notify callback that
3429           lets the caller free the data it passes to the probe functions. This
3430           is useful for bindings such as gst-python or gstreamermm (#526814).
3431           API: gst_pad_add_data_probe_full
3432           API: gst_pad_add_buffer_probe_full
3433           API: gst_pad_add_event_probe_full
3434
3435         * tests/check/gst/gstutils.c:
3436           Add minimal unit test to make sure freeing the data actually works
3437           as expected.
3438
3439         * tests/benchmarks/.cvsignore:
3440           Random cvsignore addendum.
3441
3442 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3443
3444         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3445           (GST_DEBUG_BIN_TO_DOT_FILE):
3446           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3447           to it in the docs (since these are macros the types of the arguments
3448           won't be shown in the docs otherwise).
3449
3450 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3451
3452         * gst/gstpad.c:
3453           Do not abort on out of memory for pad_alloc_buffer.
3454
3455 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3456
3457         * libs/gst/check/gstcheck.c:
3458           Remove blank line between symbol name ad parameters to fix gtkdoc
3459           warning.
3460
3461 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3462
3463         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3464
3465         * docs/gst/gstreamer-sections.txt:
3466         * gst/gstsegment.c:
3467         * gst/gstsegment.h:
3468         * win32/common/libgstreamer.def:
3469           Expose gst_segment_copy() to make things easier for the c++ bindings.
3470           Fixes #518932.
3471           API: gst_segment_copy()
3472
3473 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3474
3475         * gst/gst.c: (gst_init_get_option_group), (init_post):
3476           Fix const position; ref GType classes for enum types to work
3477           around thread-safety issues in GLib versions < 2.16.
3478
3479 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3480
3481         * docs/design/part-buffering.txt:
3482         Fix some typos and set the estimated total for push mode to -1.
3483
3484         * gst/gstquery.c: (gst_query_new_buffering):
3485         Set buffering-left to 0 as we're not buffering by default.
3486
3487         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3488         Implement BUFFERING query.
3489
3490 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3491
3492         Based on patch by: Milosz Derezynski <internalerror gmail com>
3493
3494         * gst/gsterror.c: (_gst_stream_errors_init):
3495         * gst/gsterror.h:
3496           Add two new error codes for encrypted content. Fixes #524659.
3497           API: GST_STREAM_ERROR_DECRYPT
3498           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3499
3500 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3501
3502         * gst/gstquery.h:
3503           Fix typo.
3504
3505         * win32/common/libgstreamer.def:
3506           Add new functions.
3507
3508 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3509
3510         * plugins/elements/gstidentity.c: (gst_identity_event),
3511         (gst_identity_start):
3512         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3513         event after processing some data. Fixes bug #526042.
3514
3515 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3516
3517         * docs/gst/gstreamer-sections.txt:
3518         * gst/gstquery.c: (gst_query_parse_latency),
3519         (gst_query_set_buffering_percent),
3520         (gst_query_parse_buffering_percent),
3521         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3522         * gst/gstquery.h:
3523         Rename _avail -> _range
3524         API: gst_query_set_buffering_range
3525         API: gst_query_parse_buffering_range
3526
3527 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3528
3529         * docs/design/part-buffering.txt:
3530         * gst/gstquark.c:
3531         * gst/gstquark.h:
3532         * gst/gstquery.c: (gst_query_parse_latency),
3533         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3534         (gst_query_parse_buffering_percent):
3535         * gst/gstquery.h:
3536         Add busy field and quark for the buffering query so that the app can
3537         only use the query to see if buffering is in progress.
3538
3539 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3540
3541         * docs/gst/gstreamer-sections.txt:
3542         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3543         (gst_message_parse_buffering_stats):
3544         * gst/gstmessage.h:
3545         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3546         (gst_query_parse_latency), (gst_query_new_buffering),
3547         (gst_query_set_buffering_percent),
3548         (gst_query_parse_buffering_percent),
3549         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3550         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3551         * gst/gstquery.h:
3552         Reorder the message docs and headers for clarity.
3553         Add aditional buffering stats API for messages.
3554         Add buffering query.
3555         Convert some leftover queries to use GstQuark.
3556         API: gst_message_set_buffering_stats
3557         API: gst_message_parse_buffering_stats
3558         API: GST_QUERY_BUFFERING
3559         API: GstBufferingMode
3560         API: gst_query_new_buffering
3561         API: gst_query_set_buffering_percent
3562         API: gst_query_parse_buffering_percent
3563         API: gst_query_set_buffering_stats
3564         API: gst_query_parse_buffering_stats
3565
3566 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3567
3568         * gst/gstmessage.c: (gst_message_new_error),
3569         (gst_message_new_warning), (gst_message_new_info),
3570         (gst_message_new_buffering), (gst_message_new_state_changed),
3571         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3572         (gst_message_new_new_clock), (gst_message_new_segment_start),
3573         (gst_message_new_segment_done), (gst_message_new_duration),
3574         (gst_message_new_async_start), (gst_message_parse_buffering),
3575         (gst_message_parse_state_changed),
3576         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3577         (gst_message_parse_new_clock), (gst_message_parse_error),
3578         (gst_message_parse_warning), (gst_message_parse_info),
3579         (gst_message_parse_segment_start),
3580         (gst_message_parse_segment_done), (gst_message_parse_duration),
3581         (gst_message_parse_async_start):
3582         Use GstQuark for messages.
3583
3584 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3585
3586         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3587         * gst/gstquark.h:
3588         Add some more quarks needed for messages and queries.
3589
3590 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3591
3592         * docs/design/part-buffering.txt:
3593         Remove the "none" buffering mode, STREAM is a good default.
3594         Move estimated-time to the avail query, that's when it will be needed.
3595         Other small typo fixes and updates.
3596
3597 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3598
3599         * gst/gstindex.c: (gst_index_resolver_get_type):
3600           Don't put descriptions into the nick field of a GEnumValue: it's not
3601           meant for that and some language bindings rely on the nick field to
3602           construct constants and the like. Fixes #526705.
3603
3604 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3605
3606         * NEWS:
3607         * RELEASE:
3608         * gstreamer.doap:
3609           Merge other changes from 0.10.19 release branch.
3610
3611 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3612
3613         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3614
3615         * configure.ac:
3616         Actually build dlls when cross-compiling with mingw32.
3617         Fixes bug #526247.
3618
3619 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3620
3621         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3622
3623         * gst/gstpoll.c:
3624         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3625
3626 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3627
3628         * docs/design/draft-latency.txt:
3629         Fix typo.
3630
3631         * docs/design/part-buffering.txt:
3632         Update design docs with more buffering ideas.
3633
3634 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3635
3636         * configure.ac:
3637           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3638
3639 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3640
3641         * configure.ac:
3642           Revert part that belongs to the preset patch.
3643
3644 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3645
3646         * configure.ac:
3647           Add qoutes to the define. Fixes # 525961.
3648
3649 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3650
3651         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3652         (gst_file_index_load), (gst_file_index_add_id),
3653         (gst_file_index_get_assoc_entry):
3654         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3655         (gst_mem_index_free_id), (gst_mem_index_add_id),
3656         (gst_mem_index_index_format):
3657         Use GSlice when possible.
3658
3659 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3660
3661         * libs/gst/controller/gstinterpolationcontrolsource.c:
3662         (gst_control_point_free),
3663         (gst_interpolation_control_source_set_internal):
3664         Use GSlice for allocating the control points.
3665
3666 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3667
3668         * plugins/elements/gsttypefindelement.c:
3669         (gst_type_find_element_class_init),
3670         (gst_type_find_element_set_property),
3671         (gst_type_find_element_get_property),
3672         (gst_type_find_element_activate):
3673         * plugins/elements/gsttypefindelement.h:
3674         Cleanup properties.
3675         Fix pad leak when peer query fails.
3676         We can still typefind when the peer returns -1.
3677         Add property to force caps and bypass typefinding. This will be used in
3678         uridecodebin.
3679         API::force-caps
3680
3681 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3682
3683         * configure.ac:
3684         Require GLib 2.12.
3685
3686         * gst/glib-compat-private.h:
3687         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3688         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3689         Unconditionally use GSlice for allocation.
3690
3691         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3692         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3693         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3694         (gst_structure_free):
3695         Use GSlice for allocation.
3696
3697 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3698
3699         * gst/parse/Makefile.am:
3700         * gst/parse/grammar.tab.pre.c:
3701         * gst/parse/grammar.tab.pre.h:
3702         * gst/parse/lex._gst_parse_yy.pre.c:
3703         Require a new enough flex and bison and remove the parser hacks to use
3704         a pre-regenerated version.
3705
3706 2008-04-01  Julien Moutte  <julien@fluendo.com>
3707
3708         patch by: Jason Zhao <E3423C@motorola.com>
3709
3710         * configure.ac: Add a configure switch to disable option parsing
3711         in gst_init.
3712         Fixes #522882.
3713
3714 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3715
3716         * configure.ac:
3717         * gst/gstregistry.c:
3718           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3719           and handle this case.
3720
3721         * gst/gst.c:
3722           Add a comment here describing, why we stat each plugin and not try to
3723           be smart.
3724
3725 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3726
3727         * libs/gst/base/gstbasetransform.c:
3728         (gst_base_transform_prepare_output_buffer):
3729         Also unset the GAP flag on buffers if we're working inplace but
3730         the element is not GAP-aware.
3731
3732         Mark a comment as FIXME 0.11.
3733
3734 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3735
3736         * gst/gst.c:
3737           Fix type in log message and add one to ease seeing how long registry
3738           cache verification takes.
3739
3740         * gst/gstregistry.c:
3741           Only test plugin filenames against G_MODULE_SUFFIX.
3742
3743 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3744
3745         * gst/gstdebugutils.c:
3746           Improve handling ghost/proxy pads.
3747
3748 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3749
3750         * docs/gst/gstreamer-sections.txt:
3751         * gst/gstpad.c:
3752         * gst/gstpad.h:
3753           Expose macro to docs and fix link to it.
3754
3755 2008-03-27  Michael Smith <msmith@fluendo.com>
3756
3757         * libs/gst/dataprotocol/dataprotocol.c:
3758         (gst_dp_packet_from_event_1_0):
3759           When calculating GDP body CRC, use the correct pointer. 
3760           Fixes part of #522401.
3761
3762 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3763
3764         Patch by: Mark Nauwelaerts <manauw at skynet be>
3765
3766         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3767         (gst_identity_init), (gst_identity_prepare_output_buffer):
3768         Identity is not always a passthrough element, it can modify the buffer
3769         timestamps when it has a datarate and operates in single-segment mode.
3770         We therefore make it an in_place filter with a custom buffer prepare
3771         function that conditionally makes the input buffer metadata writable
3772         when needed.  Fixes #523985.
3773
3774 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3775
3776         Patch by: Mark Nauwelaerts <manauw at skynet be>
3777
3778         * gst/gstclock.h:
3779         * libs/gst/base/gstbasesrc.h:
3780         * libs/gst/base/gstbasetransform.c:
3781         * libs/gst/check/gstcheck.c:
3782         Small documentation fixes. Fixes #523978.
3783
3784 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3785
3786         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3787         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3788         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3789
3790 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3791
3792         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3793         (single_queue_underrun_cb):
3794         When trying to make room in the queue, bump the max allowed buffers
3795         bigger than the current amount of buffers in the queue. this fixes some
3796         nasty deadlocks in multiqueue when dynamically changing the limits of
3797         the queue.
3798
3799 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3800
3801         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3802
3803         * gst/gstcaps.c: (gst_caps_set_simple),
3804         (gst_caps_set_simple_valist), (gst_caps_intersect):
3805         * gst/gstcaps.h:
3806         Constify the field gchar * params in set_simple and friends.
3807         Fixes #522326.
3808
3809 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3810
3811         * gst/gstvalue.c: (gst_value_transform_object_string):
3812         Transform a GstObject to a more meaningfull string that includes the
3813         object type in addition to its name.
3814
3815 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3816
3817         * ChangeLog:
3818           ChangeLog surgery to add bugnumber to commit.
3819
3820 2008-03-23  Rene Stadler  <mail@renestadler.de>
3821
3822         * libs/gst/base/gstbasetransform.c:
3823         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3824
3825 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3826
3827         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3828         Rename constant everywhere and don't forget one occurence.
3829
3830 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3831
3832         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3833         Align memory to the pointer size even if the architecture allows
3834         unaligned memory access. Unaligned memory access usually comes with
3835         performance penality.
3836
3837 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3838
3839         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3840         (gst_registry_binary_check_magic),
3841         (gst_registry_binary_load_pad_template),
3842         (gst_registry_binary_load_feature),
3843         (gst_registry_binary_load_plugin):
3844         Align memory to the pointer size instead of always 32 bit. Fixes
3845         unaligned memory accesses on ia64 and friends.
3846
3847         * gst/gstregistrybinary.h:
3848         Bump binary registry format version for this as it changes the
3849         format on those architectures that don't have unaligned access
3850         and 64 bit pointers.
3851
3852 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3853
3854         * docs/pwg/advanced-dparams.xml:
3855         * docs/pwg/building-props.xml:
3856         * docs/pwg/other-source.xml:
3857         * gst/glib-compat.h:
3858         * gst/gstbin.c: (gst_bin_class_init):
3859         * gst/gstclock.c: (gst_clock_class_init):
3860         * gst/gstindex.c: (gst_index_class_init):
3861         * gst/gstobject.c: (gst_object_class_init):
3862         * gst/gstpad.c: (gst_pad_class_init):
3863         * gst/gstpipeline.c: (gst_pipeline_class_init):
3864         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3865         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3866         * libs/gst/base/gstbasetransform.c:
3867         (gst_base_transform_class_init):
3868         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3869         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3870         (_gst_check_fault_handler_sighandler),
3871         (_gst_check_fault_handler_setup), (gst_check_init):
3872         * libs/gst/controller/gstcontroller.c:
3873         (_gst_controller_class_init):
3874         * libs/gst/controller/gstlfocontrolsource.c:
3875         (gst_lfo_control_source_class_init):
3876         * libs/gst/net/gstnetclientclock.c:
3877         (gst_net_client_clock_class_init):
3878         * libs/gst/net/gstnettimeprovider.c:
3879         (gst_net_time_provider_class_init):
3880         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3881         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3882         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3883         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3884         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3885         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3886         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3887         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3888         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3889         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3890         * plugins/elements/gsttee.c: (gst_tee_class_init):
3891         * plugins/elements/gsttypefindelement.c:
3892         (gst_type_find_element_class_init):
3893         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3894         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3895         use it everywhere for GParamSpecs that use static strings (i.e. all).
3896         This gives us less memory usage, fewer allocations and thus less
3897         memory defragmentation. Fixes bug #523806.
3898
3899 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3900
3901         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3902         (gst_param_spec_mini_object):
3903         * gst/gstminiobject.h:
3904         * win32/common/libgstreamer.def:
3905         * docs/gst/gstreamer-sections.txt:
3906         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3907         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3908         GstParamSpecMiniObject into a public header for this.
3909
3910         This make GstMiniObject a bit more consistent with GObject and makes
3911         it possible to extend the param specs.
3912
3913         gst_value_dup_mini_object is mainly useful for set_property methods.
3914
3915         Fixes bug #523798.
3916
3917         * tools/gst-inspect.c: (print_element_properties_info):
3918         Print something useful for GstMiniObject properties and not just
3919         "unknown type".
3920
3921 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3922
3923         * docs/gst/gstreamer-sections.txt:
3924         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3925         (gst_registry_binary_check_magic):
3926         * gst/gstregistrybinary.h:
3927         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3928         and add it to the (private part) of the docs to fix the build.
3929
3930 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3931
3932         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3933         (gst_registry_binary_check_magic),
3934         (gst_registry_binary_read_cache):
3935         * gst/gstregistrybinary.h:
3936         Don't use GST_MAJORMINOR for the binary registry version. Instead
3937         hardcode a value that must be changed whenever the format changes
3938         in an incompatible way.
3939         Also don't GST_ERROR when there is a version mismatch, just
3940         regenerate the registry silently.
3941
3942 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
3943
3944         * configure.ac:
3945         Back to development - 0.10.18.1
3946
3947 === release 0.10.18 ===
3948
3949 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
3950
3951         * configure.ac:
3952           releasing 0.10.18, "So far away"
3953
3954 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
3955
3956         * configure.ac:
3957         * win32/common/config.h:
3958         0.10.17.4 pre-release
3959
3960 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
3961
3962         Patch by: Ole André Vadla Ravnås
3963             <ole dot andre dot ravnas at tandberg dot com>
3964
3965         * docs/gst/gstreamer-sections.txt:
3966         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3967         (gst_poll_update_winsock_event_mask),
3968         (gst_poll_prepare_winsock_active_sets),
3969         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3970         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3971         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3972         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3973         (gst_poll_check_ctrl_commands), (gst_poll_wait):
3974         * gst/gstpoll.h:
3975         * win32/common/libgstreamer.def:
3976         Add new function gst_poll_fd_ignored() for improved Windows
3977         compatibility.
3978         Various minor fixes and cleanups. See #520808.
3979
3980 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
3981
3982         * gst/gstindex.c: (gst_index_entry_free):
3983         * gst/gstindex.h:
3984           Don't free key strings which we don't own. Fixes crash in
3985           gst_index_entry_free() (#522741).
3986
3987         * tests/check/Makefile.am:
3988         * tests/check/gst/.cvsignore:
3989         * tests/check/gst/gstindex.c: (test_index_entries),
3990           (gst_index_suite), (gst_index):
3991           Add unit test for the above.
3992
3993 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
3994
3995         * win32/common/libgstreamer.def:
3996         Remove symbols that were removed recently. Fixes bug #521740.
3997
3998 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
3999
4000         * configure.ac:
4001         * win32/common/config.h:
4002         0.10.17.3 pre-release
4003
4004 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4005
4006         Patch by: Ole André Vadla Ravnås
4007             <ole dot andre dot ravnas at tandberg dot com>
4008
4009         * docs/gst/gstreamer-sections.txt:
4010         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4011         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4012         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4013         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4014         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4015         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4016         (gst_poll_fd_can_write), (gst_poll_wait),
4017         (gst_poll_set_controllable), (gst_poll_restart),
4018         (gst_poll_set_flushing):
4019         * gst/gstpoll.h:
4020         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4021         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4022         (gst_net_time_provider_new):
4023         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4024         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4025         * tests/benchmarks/gstpollstress.c: (main):
4026         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4027         Remove GstPollMode from the API, it does not make sense to let the
4028         application control this.
4029         Add support for Win32.
4030         Fix the testsuite. Fixes #520671.
4031
4032 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4033
4034         Patch by: Ole André Vadla Ravnås
4035             <ole dot andre dot ravnas at tandberg dot com>
4036
4037         * gst/gstregistrybinary.c:
4038         Include io.h for write() and close() when building with MSVC. Fixes
4039         bug #520877.
4040
4041 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4042
4043         * configure.ac:
4044         * gst/gst_private.h:
4045         * gst/gstconfig.h.in:
4046         * gst/gstregistry.h:
4047         * gst/gstregistrybinary.c:
4048         * win32/common/gstconfig.h:
4049           Move registry backend API to private headers where we can. Add
4050           fixme-0.11 comments for the others. Add stubs for the xml backend when
4051           using the binary to ensure they functions exists (they should not be
4052           used though). Fixes #520756.
4053
4054 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4055
4056         * configure.ac:
4057         * win32/common/config.h:
4058         0.10.17.2 prelease
4059
4060 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4061
4062         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4063         (gst_registry_binary_read_cache):
4064         * gst/gstregistryxml.c: (gst_registry_save):
4065         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4066         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4067         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4068         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4069         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4070         Fixes #520152
4071
4072 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4073
4074         * gst/gstminiobject.c:
4075         Import gst_private.h before any other header that might include other
4076         glib headers. This fixes the build on windows using native compilers.
4077
4078 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4079
4080         * win32/common/gstconfig.h:
4081           Add here too, just for completeness.
4082
4083 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4084
4085         * configure.ac:
4086         * gst/gstconfig.h.in:
4087         * gst/gstregistry.h:
4088           Fix broken use of config.h-defined preprocessor directive in a public
4089           header file. Add a corresponding define to gstconfig.h, since we can't
4090           really remove those function declarations from the header file now
4091           (or can we? and why are they there in the first place?).
4092
4093 2008-03-03  Andy Wingo  <wingo@pobox.com>
4094
4095         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4096         the new warning.
4097
4098         * gst/gststructure.c (gst_structure_from_string): Warn if
4099         structure_from_string didn't consume the whole string, but the
4100         caller did not provide an end pointer.
4101
4102 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4103
4104         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4105
4106         * gst/gstregistryxml.c: (read_string), (load_feature):
4107           Strings allocated by libxml2 should be freed with xmlFree(), not
4108           with g_free(). Fixes issues on windows in certain contexts (#519698).
4109
4110 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4111
4112         * gst/gstinterface.c: (gst_element_implements_interface):
4113           Don't crash if the element supports the interface queried, but does
4114           not implement GstImplementsInterface. Fixes #519584.
4115
4116         * tests/check/Makefile.am:
4117         * tests/check/gst/.cvsignore:
4118         * tests/check/gst/gstinterface.c:
4119           Add unit test for the above.
4120
4121 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4122
4123         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4124         Small doc update.
4125
4126 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4127
4128         * gst/gstsegment.c: (gst_segment_set_seek),
4129         (gst_segment_to_stream_time):
4130         Improve some comment.
4131         Update variables where it makes more sense.
4132
4133 2008-02-29  Rene Stadler  <mail@renestadler.de>
4134
4135         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4136         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4137         URIHandlers implemented using language bindings.
4138
4139 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4140
4141         * gst/gstelementfactory.h:
4142         * tests/check/elements/fakesink.c:
4143         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4144         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4145         * tests/check/elements/filesink.c: (setup_filesink):
4146         * tests/check/elements/filesrc.c: (setup_filesrc):
4147         * tests/check/elements/identity.c: (setup_identity):
4148         * tests/check/elements/tee.c:
4149         * tests/check/generic/sinks.c:
4150         * tests/check/generic/states.c: (setup), (teardown):
4151         * tests/check/gst/gst.c:
4152         * tests/check/gst/gstabi.c:
4153         * tests/check/gst/gstbin.c:
4154         * tests/check/gst/gstbus.c: (pull_messages):
4155         * tests/check/gst/gstcaps.c:
4156         * tests/check/gst/gstelement.c:
4157         * tests/check/gst/gstevent.c:
4158         * tests/check/gst/gstghostpad.c:
4159         * tests/check/gst/gstiterator.c:
4160         * tests/check/gst/gstmessage.c:
4161         * tests/check/gst/gstminiobject.c: (my_foo_init):
4162         * tests/check/gst/gstobject.c: (thread_name_object),
4163         (gst_object_suite):
4164         * tests/check/gst/gstpad.c:
4165         * tests/check/gst/gstplugin.c:
4166         * tests/check/gst/gstpoll.c:
4167         * tests/check/gst/gstquery.c:
4168         * tests/check/gst/gstsegment.c:
4169         * tests/check/gst/gststructure.c:
4170         * tests/check/gst/gstsystemclock.c:
4171         * tests/check/gst/gsttask.c:
4172         * tests/check/gst/gstutils.c:
4173         * tests/check/gst/gstvalue.c:
4174         * tests/check/gst/struct_hppa.h:
4175         * tests/check/gst/struct_i386.h:
4176         * tests/check/gst/struct_ppc32.h:
4177         * tests/check/gst/struct_ppc64.h:
4178         * tests/check/gst/struct_x86_64.h:
4179         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4180         * tests/check/libs/basesrc.c:
4181         * tests/check/libs/controller.c: (GST_START_TEST):
4182         * tests/check/libs/gdp.c:
4183         * tests/check/libs/gstnetclientclock.c:
4184         * tests/check/libs/gstnettimeprovider.c:
4185         * tests/check/libs/libsabi.c:
4186         * tests/check/libs/struct_hppa.h:
4187         * tests/check/libs/struct_i386.h:
4188         * tests/check/libs/struct_ppc32.h:
4189         * tests/check/libs/struct_ppc64.h:
4190         * tests/check/libs/struct_x86_64.h:
4191         * tests/check/pipelines/cleanup.c:
4192         * tests/check/pipelines/simple-launch-lines.c:
4193         * tests/check/pipelines/stress.c:
4194         And correct even more valid sparse warnings.
4195
4196         * win32/common/libgstreamer.def:
4197         Add gst_poll_fd_init to the list of symbols.
4198
4199 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4200
4201         * gst/gstconfig.h.in:
4202         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4203         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4204         (gst_check_log_critical_func), (gst_check_drop_buffers),
4205         (gst_check_element_push_buffer_list):
4206         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4207         (gst_controller_get_type):
4208         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4209         (gst_object_get_controller), (gst_object_get_control_source):
4210         * libs/gst/controller/gstinterpolationcontrolsource.c:
4211         (gst_interpolation_control_source_new):
4212         * libs/gst/controller/gstlfocontrolsource.c:
4213         (gst_lfo_control_source_new):
4214         * libs/gst/dataprotocol/dataprotocol.c:
4215         (gst_dp_event_from_packet_0_2):
4216         * plugins/elements/gstfdsrc.c:
4217         * plugins/elements/gstmultiqueue.c:
4218         * plugins/elements/gsttee.c:
4219         * plugins/elements/gsttypefindelement.c:
4220         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4221         (gst_file_index_add_association):
4222         * plugins/indexers/gstmemindex.c:
4223         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4224         * tests/check/elements/queue.c: (setup_queue):
4225         * tests/check/gst/gstpipeline.c:
4226         * tests/check/libs/collectpads.c: (setup), (teardown),
4227         (gst_collect_pads_suite):
4228         * tests/examples/adapter/adapter_test.c:
4229         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4230         * tests/examples/xml/createxml.c:
4231         * tests/examples/xml/runxml.c:
4232         * tools/gst-inspect.c:
4233         * tools/gst-run.c:
4234         Correct all relevant warnings found by the sparse semantic code
4235         analyzer. This include marking several symbols static, using
4236         NULL instead of 0 for pointers, not using variable sized arrays
4237         on the stack, moving variable declarations to the beginning of
4238         a block and using "foo (void)" instead of "foo ()" for declarations.
4239
4240 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4241
4242         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4243         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4244         Don't reset GstPollFDs, this is not necessary at all.
4245
4246         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4247         (delayed_restart), (delayed_control):
4248         Use GST_POLL_FD_INIT.
4249
4250 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4251
4252         * gst/gstpoll.c: (gst_poll_fd_init):
4253         * gst/gstpoll.h:
4254         Added Since tags.
4255
4256         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4257         Use some more init macros.
4258
4259 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4260
4261         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4262         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4263         Use init macros and functions.
4264
4265 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4266
4267         * docs/gst/gstreamer-sections.txt:
4268         * gst/gstpoll.c: (gst_poll_fd_init):
4269         * gst/gstpoll.h:
4270         Add INIT macro and _init method for initializing the GstPollFD.
4271
4272 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4273
4274         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4275         (gst_fd_sink_update_fd):
4276         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4277         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4278         (delayed_restart), (delayed_control):
4279         Initialize some uninitialized variables as spotted by valgrind.
4280
4281 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4282
4283         * tests/benchmarks/Makefile.am:
4284         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4285         (main):
4286         Add poll stress test.
4287
4288 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4289
4290         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4291
4292         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4293         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4294         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4295         * plugins/elements/gstfdsink.h:
4296         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4297         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4298         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4299         (gst_fd_src_uri_set_uri):
4300         * plugins/elements/gstfdsrc.h:
4301         Port to GstPoll. See #505417.
4302
4303 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4304
4305         * win32/common/libgstreamer.def:
4306         Add new gst_poll_ symbols to win32 defs.
4307
4308 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4309
4310         * docs/libs/gstreamer-libs-sections.txt:
4311         * libs/gst/net/gstnetclientclock.c:
4312         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4313         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4314         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4315         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4316         * libs/gst/net/gstnetclientclock.h:
4317         * libs/gst/net/gstnettimeprovider.c:
4318         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4319         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4320         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4321         (gst_net_time_provider_new):
4322         * libs/gst/net/gstnettimeprovider.h:
4323         Use a private stuct to not break ABI.
4324
4325 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4326
4327         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4328
4329         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4330         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4331         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4332         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4333         * libs/gst/net/gstnetclientclock.h:
4334         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4335         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4336         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4337         (gst_net_time_provider_new):
4338         * libs/gst/net/gstnettimeprovider.h:
4339         Massive code removal and cleanups because of GstPoll.
4340         Fixes #505417.
4341
4342 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4343
4344         * configure.ac:
4345         Add checks for poll, ppoll and pselect.
4346
4347         * docs/gst/gstreamer-docs.sgml:
4348         * docs/gst/gstreamer-sections.txt:
4349         Add docs for GstPoll.
4350
4351         * gst/Makefile.am:
4352         * gst/gst.h:
4353         * gst/gstpoll.c: (find_index), (selectable_fds),
4354         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4355         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4356         (gst_poll_set_mode), (gst_poll_get_mode),
4357         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4358         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4359         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4360         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4361         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4362         (gst_poll_fd_can_write), (gst_poll_wait),
4363         (gst_poll_set_controllable), (gst_poll_restart),
4364         (gst_poll_set_flushing):
4365         * gst/gstpoll.h:
4366         Add generic poll abstraction. We ideally don't want to have this in core
4367         here but in glib intead...
4368         This code will be used in various network elements and ultimately for
4369         the nanosecond precision monotonic clock (that's why it's here in core).
4370         It'll allow us to implement cancelable socket operations for windows too.
4371
4372         * tests/check/Makefile.am:
4373         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4374         (delayed_stop), (delayed_restart), (delayed_flush),
4375         (delayed_control), (gst_poll_suite):
4376         Add GstPoll unit test.
4377
4378 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4379
4380         * gst/gstfilter.c:
4381           Improve documentation of gst_filter_run(). Fixes #518627.
4382
4383 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4384
4385         * docs/README:
4386           Add a few lines about the new 'check-inspected-versions' target.
4387
4388 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4389
4390         * tests/check/gst/gstevent.c:
4391           Add qos to the event test. Rename tcase/tsuite; is not only about
4392           custom events.
4393
4394 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4395
4396         * plugins/elements/gstqueue.c:
4397           Ensure that buffer metadata is writeable, before modifying. Spotted by
4398           Mike.
4399
4400 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4401
4402         * plugins/elements/gstqueue.c:
4403         * plugins/elements/gstqueue.h:
4404           When dropping buffers in leaky modes, mark next buffers we sent as
4405           DISCONT.
4406
4407 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4408
4409         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4410           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4411
4412 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4413
4414         * plugins/elements/Makefile.am:
4415         * plugins/elements/gstbufferstore.c:
4416         * plugins/elements/gstbufferstore.h:
4417         * plugins/elements/gsttypefindelement.h:
4418           Remove GstBufferStore, no idea why we were still building it.
4419           It's not used anywhere and superseded by GstAdapter.
4420
4421         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4422           (gst_file_src_create_mmap):
4423         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4424           Printf format fixes for 64-bit integers.
4425
4426 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4427
4428         * configure.ac:
4429         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4430         We're not in 0.8 times anymore.
4431
4432 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4433
4434         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4435         (gst_check_element_push_buffer_list):
4436         * libs/gst/check/gstcheck.h:
4437         Make the declaration in the header for
4438         gst_check_element_push_buffer_list match the implementation.
4439
4440         Fix up spelling, grammar and wording of the documentation in a few
4441         places, and add the Since keyword to new API functions.
4442         Use g_list_delete_link instead of g_list_remove in
4443         gst_check_drop_buffers, since it's immeasurably more efficient.
4444
4445         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4446         Use new gst_check_drop_buffers function where appropriate.
4447
4448         * win32/common/libgstbase.def:
4449         * win32/common/libgstreamer.def:
4450         Add new symbols gst_collect_pads_take_buffer, 
4451         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4452         exports
4453
4454         Changelog surgery to add API keyword to new gst_check API.
4455
4456 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4457
4458         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4459         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4460         Update pre-generated flex files with flex 2.3.34.
4461
4462 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4463
4464         * gst/gstminiobject.c:
4465           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4466           friendly to subclasses and not require them to know all internals
4467           of their parent class.
4468
4469 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4470
4471         * docs/libs/gstreamer-libs-sections.txt:
4472         * libs/gst/base/gstcollectpads.c:
4473         * libs/gst/base/gstcollectpads.h:
4474           Add sub-buffer functions to collectpads. Fixes #516187.
4475           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4476
4477 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4478
4479         * gst/gstbuffer.c:
4480           Copy selected buffer-flags when creating subbuffers.
4481           Fixes #516395.
4482
4483 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4484
4485         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4486         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4487         * gst/gstmessage.c: (gst_message_class_init),
4488         (gst_message_finalize):
4489         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4490         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4491         (gst_mmap_buffer_finalize):
4492         Properly chain up finalize functions to the parent class.
4493
4494 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4495
4496         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4497
4498         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4499         (gst_index_set_resolver_full):
4500         * gst/gstindex.h:
4501         Add new function with option to dispose of user_data in resolver.
4502         Actually call the dispose function when finalizing the object and not
4503         just when changing the resolver/filter.
4504         API: GstIndex::gst_index_set_resolver_full()
4505
4506         * docs/gst/gstreamer-sections.txt:
4507         Add new function to docs. Fixes #515469.
4508
4509 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4510
4511         * gst/gstindex.c: (gst_index_finalize):
4512         Chain up finalize to the parent class. Fixes leaking the GstObject
4513         name and other things.
4514
4515 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4516
4517         * configure.ac:
4518         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4519         pre-releases or releases.
4520
4521         * docs/faq/gst-uninstalled:
4522         Add gst-plugins-gl
4523
4524         * docs/random/release:
4525         Change one of the steps - we only upload core & base to Gnome FTP
4526
4527 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4528
4529         * gst/gstconfig.h.in:
4530           Add 'id' for example.
4531
4532         * gst/gstpad.c:
4533         * gst/gstutils.c:
4534         * plugins/elements/gstfdsink.c:
4535           Link to signals. Doc and comment fixes.
4536
4537 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4538
4539         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4540         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4541           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4542           unused and unimplemented; finally, it is plugin features, not
4543           plugins, that have ranks.
4544           
4545 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4546
4547         * gst/gstpluginfeature.h:
4548           Clarify GstRank range docs.
4549
4550 2008-02-05  David Schleef  <ds@schleef.org>
4551
4552         * gst/gst.c: Add a separate gst_deinitialized that prevents
4553           gst_init() from being called after gst_deinit().  Fixes #509559
4554
4555 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4556
4557         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4558         (gst_bin_class_init):
4559         * gst/gstelement.c: (gst_element_base_class_init),
4560         (gst_element_class_add_pad_template):
4561         * gst/gstpadtemplate.c: (gst_pad_template_init):
4562         * gst/gstpipeline.c: (gst_pipeline_get_type),
4563         (gst_pipeline_base_init), (gst_pipeline_class_init):
4564         * libs/gst/base/gstbasesink.c:
4565         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4566         (gst_base_src_base_init), (gst_base_src_class_init):
4567         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4568         (gst_capsfilter_class_init):
4569         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4570         (gst_fake_sink_class_init):
4571         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4572         (gst_fake_src_class_init):
4573         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4574         (gst_fd_sink_class_init):
4575         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4576         (gst_fd_src_class_init):
4577         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4578         (gst_file_sink_class_init):
4579         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4580         (gst_file_src_class_init):
4581         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4582         (gst_identity_class_init):
4583         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4584         (gst_multi_queue_class_init):
4585         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4586         (gst_queue_class_init):
4587         * plugins/elements/gsttee.c: (gst_tee_base_init),
4588         (gst_tee_class_init):
4589         * plugins/elements/gsttypefindelement.c:
4590         (gst_type_find_element_base_init),
4591         (gst_type_find_element_class_init):
4592         * tests/check/gst/gstelement.c: (gst_element_suite):
4593         Revert previous changes to the behaviour of GstPadTemplates, etc
4594         and the possiblity to call them in class_init as it breaks too
4595         many elements. Reopens bug #491501.
4596
4597         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4598         several places.
4599
4600 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4601
4602         * tools/gst-launch.c:
4603         Dump one graph per pipeline state-change and state change name
4604         (if GST_DEBUG_DUMP_DOT_DIR is set).
4605
4606 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4607
4608         * gst/gstpad.c:
4609         * tests/check/gst/gstpad.c:
4610         Be sure that we have a new copy of the caps and not
4611         reffed caps from a template
4612
4613 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4614
4615         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4616         * gst/gstpipeline.c: (gst_pipeline_get_type),
4617         (gst_pipeline_class_init):
4618         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4619         (gst_base_sink_class_init):
4620         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4621         (gst_base_src_class_init):
4622         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4623         (gst_base_transform_class_init):
4624         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4625         (gst_collect_pads_class_init):
4626         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4627         * libs/gst/net/gstnettimeprovider.c:
4628         (gst_net_time_provider_base_init),
4629         (gst_net_time_provider_class_init):
4630         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4631         (gst_capsfilter_class_init):
4632         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4633         (gst_fake_sink_class_init):
4634         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4635         (gst_fake_src_class_init):
4636         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4637         (gst_fd_sink_class_init):
4638         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4639         (gst_fd_src_class_init):
4640         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4641         (gst_file_sink_class_init):
4642         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4643         (gst_file_src_class_init):
4644         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4645         (gst_identity_class_init):
4646         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4647         (gst_multi_queue_class_init):
4648         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4649         (gst_queue_class_init):
4650         * plugins/elements/gsttee.c: (gst_tee_base_init),
4651         (gst_tee_class_init):
4652         * plugins/elements/gsttypefindelement.c:
4653         (gst_type_find_element_base_init),
4654         (gst_type_find_element_class_init):
4655         Don't use base_init where not absolutely necessary. For example it's
4656         not necessary anymore for adding pad templates or setting element
4657         details.
4658
4659         Leave empty base_init functions in several places as GST_BOILERPLATE
4660         still defines and uses them.
4661
4662 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4663
4664         * gst/gstelement.c: (gst_element_base_class_init),
4665         (gst_element_class_add_pad_template):
4666         * gst/gstpadtemplate.c:
4667         Make it possible (and recommended) to set element details and add
4668         pad templates in the class_init functions by copying the details/pad
4669         templates in GstElement's base_init.
4670
4671         Also make it possible to replace existing pad templates by adding
4672         a new one with the same name. This was done in a hackish fashion
4673         in same elements before already.
4674
4675         Don't reference pad templates that are added a second time. A
4676         new pad template has a refcount of one and is not floating anymore
4677         and to be owned by the element's class. Make this more explicit by
4678         mentioning it in the docs of gst_element_class_add_pad_template().
4679
4680         These changes are backwards compatible. Fixes bug #491501.
4681
4682         * tests/check/gst/gstelement.c:
4683         Add unit test for setting element details, adding pad templates and
4684         replacing them in a subclass.
4685
4686 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4687
4688         * tools/gst-inspect.c: (print_interfaces),
4689         (print_element_properties_info), (print_pad_info),
4690         (print_signal_info), (print_element_info):
4691         Fix a few memory leaks.
4692
4693 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4694
4695         * docs/libs/gstreamer-libs-sections.txt:
4696         * libs/gst/check/gstcheck.c:
4697         * libs/gst/check/gstcheck.h:
4698         Add more functions for unit testing: gst_check_drop_buffers,
4699         gst_check_caps_equal, gst_check_element_push_buffer_list,
4700         gst_check_element_push_buffer
4701         API: gst_check_drop_buffers
4702         API: gst_check_caps_equal
4703         API: gst_check_element_push_buffer_list
4704         API: gst_check_element_push_buffer
4705
4706 2008-02-01  Julien Moutte  <julien@fluendo.com>
4707
4708         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4709         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4710         (gst_index_finalize), (gst_index_entry_free),
4711         (gst_index_add_association): Fix memory leaks.
4712         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4713         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4714         (gst_mem_index_free_format), (gst_mem_index_free_id),
4715         (gst_mem_index_finalize): Fix memory leaks.
4716         * win32/common/config.h: Updated to CVS HEAD.
4717
4718 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4719
4720         * docs/README:
4721           Some more details about how the plugin docs works.
4722
4723         * docs/plugins/gstreamer-plugins-sections.txt:
4724           Whitespace cleanup.
4725
4726 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4727
4728         * gst/parse/grammar.tab.pre.c:
4729         * gst/parse/grammar.tab.pre.h:
4730         * gst/parse/grammar.y:
4731         * gst/parse/lex._gst_parse_yy.pre.c:
4732           Add delayed set-property. This allows to set properties on dynamicaly
4733           created objects (pads in videomxer). Fixes #509391.
4734
4735 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4736
4737         * gst/gstutils.c:
4738         Check if caps are not NULL (fix bug #510194)
4739
4740 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4741
4742         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4743         (gst_base_sink_get_position_paused):
4744         Add fixme regarding EOS in pull mode.
4745         Fix position reporting in PAUSED for negative rates.
4746
4747 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4748
4749         * gst/gstminiobject.c: (gst_mini_object_replace):
4750         When replacing a miniobject, do a quick equality check first so that we
4751         can avoid a ref/unref pair.
4752
4753 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4754
4755         * docs/design/part-synchronisation.txt:
4756         Update some docs.
4757
4758         * docs/plugins/Makefile.am:
4759         * docs/plugins/gstreamer-plugins-docs.sgml:
4760         * docs/plugins/gstreamer-plugins-sections.txt:
4761         * plugins/elements/gstmultiqueue.c:
4762         Add multiqueue to the docs.
4763
4764 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4765
4766         * configure.ac:
4767           Back to CVS
4768
4769 === release 0.10.17 ===
4770
4771 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4772
4773         * configure.ac:
4774           releasing 0.10.17, "Due Negligence"
4775
4776 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4777
4778         * gst/gstutils.c:
4779         Revert caps != NULL check temporarily for 0.10.17 release.
4780
4781 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4782
4783         * gst/gstutils.c:
4784         Check if caps are not NULL (fix bug #510194)
4785
4786 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4787
4788         * gst/gstutils.c:
4789         Fix compilation on systems that have posix timers but no
4790         monotonic clock.
4791         Fixes: #512715
4792         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4793         dot net>
4794
4795 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4796
4797         * tools/gst-inspect.c:
4798         Revert previous commit in preparation for an impromptu 0.10.17 release
4799
4800 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4801
4802         * tools/gst-inspect.c: (print_interfaces),
4803         (print_element_properties_info), (print_pad_info),
4804         (print_signal_info), (print_element_info):
4805         Fix a few memory leaks.
4806
4807 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4808
4809         * configure.ac:
4810         Back to CVS
4811
4812 === release 0.10.16 ===
4813
4814 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4815
4816         * configure.ac:
4817           releasing 0.10.16, "Special Dispensation"
4818
4819 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4820
4821         * configure.ac:
4822           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4823           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4824           not fail when trying to crosscompile on OpenEmbedded (#511750).
4825
4826 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4827
4828         * docs/manuals.mak:
4829         Use $(MAKE) instead of make to fix the build if GNU make is
4830         called different. Fixes bug #510747.
4831
4832 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4833
4834         * gst/gstplugin.c: (_gst_plugin_initialize):
4835           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4836           again, which I broke two commits ago when changing the API
4837           of gst_plugin_register_static(): the g_list_foreach() in
4838           _gst_plugin_register_static still assumed the old function
4839           signature and would therefore fail (re-fixes #510187).
4840
4841         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4842           (_gst_plugin_register_static), (gst_plugin_register_static):
4843           Revert the (technically correct) change to call g_thread_init() from
4844           the pre-main() constructor. This will break programs which call
4845           g_thread_init() without an if (!g_thread_supported()) guard in their
4846           main function. We could just blame it on GLib or the application, but
4847           it's probably best to just avoid this altogether and simply not use
4848           any GLib functions here and use plain old malloc() with a simple
4849           array to store the plugins to register later when gst_init() is
4850           finally called (re-fixes #510187).
4851
4852         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4853           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4854           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4855           (GST_START_TEST), (gst_plugin_suite):
4856           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4857           works.
4858
4859 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4860
4861         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4862           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4863           This makes gtk-doc complain, but results in slightly better
4864           compiler errors. The old _gst_plugin_register_static() is
4865           still guarded, so there'll be a compiler warning about that
4866           instead. Fixes #510187 too.
4867
4868 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4869
4870         * gst/gst.c: (init_post):
4871         * gst/gstplugin.c: (_gst_plugin_register_static),
4872           (gst_plugin_register_static), (_gst_plugin_initialize):
4873         * gst/gstplugin.h: (GstPluginFilter):
4874           Change API of gst_plugin_register_static() to not take
4875           a GstPluginDesc, but rather just take all the arguments
4876           in a GstPluginDesc directly. This is more intuitive and
4877           avoids certain mistakes when porting code from
4878           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4879           Fixes #510187.
4880
4881         * tests/check/gst/gstplugin.c:
4882           Fix up for changed API.
4883
4884 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4885
4886         * docs/faq/legal.xml:
4887           Update FAQ, Totem actually has an exception these days.
4888
4889 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4890
4891         * win32/common/libgstreamer.def:
4892         Add new API declarations
4893
4894 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4895
4896         * gst/gstminiobject.c:
4897           Spelling fixes for the API docs.
4898
4899 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4900
4901         * libs/gst/base/gstbasetransform.c:
4902           Fix long property description for QoS.
4903
4904 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4905
4906         * gst/gst.c:
4907         _gst_trace_on is already provided by gsttrace.h, no need to declare
4908         it ourselves.
4909
4910         * docs/libs/gstreamer-libs-sections.txt:
4911         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4912         and remove strange tcase_add_test which is outputting a warning.
4913
4914         * libs/gst/check/gstcheck.c:
4915         * libs/gst/check/gstcheck.h:
4916         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4917         and define them in gstcheck.c instead of having every .c file whcih
4918         includes gstcheck.h be defining its own copy and relying on symbol
4919         interposing to marry them all, which doesn't work on Solaris.
4920
4921         * tests/check/elements/identity.c: (GST_START_TEST):
4922         Don't define 'buffers' locally, it comes from libgstcheck.
4923
4924         * tests/check/generic/sinks.c: (send_buffer):
4925         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4926
4927         * tests/check/gst/gststructure.c: (GST_START_TEST):
4928         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4929         * tests/check/gst/gstutils.c: (GST_START_TEST):
4930         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4931         Add a bunch of casts to make various constants fit the types
4932         they're being assigned to.
4933
4934 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
4935
4936         * gst/gstchildproxy.c:
4937           Improve docs and add some ideas for making this more general-purpose.
4938
4939 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4940
4941         * gst/gst_private.h: (GST_CAT_TYPES):
4942           Add GST_CAT_TYPES, for consistency, and so that the other
4943           debug categories don't make fun of it. Spotted by Saur on IRC.
4944
4945 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4946
4947         * gst/parse/Makefile.am:
4948           Move types.h from EXTRA_DIST to noinst_HEADERS.
4949
4950 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4951
4952         * autogen.sh:
4953           Add -Wno-portability to the automake parameters to stop warnings
4954           about GNU make extensions being used. We require GNU make in almost
4955           every Makefile anyway.
4956
4957         * configure.ac:
4958           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4959           at the same time is required for per target flags.
4960
4961 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4962
4963         * gst/gstmacros.h:
4964           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4965           __GNUC__ is defined before using it.
4966
4967 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4968
4969         * docs/gst/gstreamer-sections.txt:
4970         * gst/gst.c: (init_post):
4971         * gst/gstplugin.c: (_gst_plugin_register_static),
4972           (gst_plugin_register_static), (_gst_plugin_initialize),
4973           (gst_plugin_register_func):
4974         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4975           API: add gst_plugin_register_static() and deprecate
4976           GST_PLUGIN_DEFINE_STATIC, since it's not portable
4977           (#498924).
4978           Also, in _gst_plugin_register_static(), make sure to call
4979           g_thread_init() before calling GLib functions such as
4980           g_list_append() if we're not initialised yet, since that
4981           may lead to random crashes with older GSlice/GLib versions.
4982
4983         * tests/check/gst/gstplugin.c:
4984           Adapt unit test to above changes.
4985
4986 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4987
4988         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4989         * gst/gstcaps.c: (gst_caps_to_string):
4990         * gst/gststructure.c: (GST_ASCII_IS_STRING),
4991           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4992           Yet another gratuitous GString micro-optimisation: add a (private)
4993           function that serialises a structure appending to an existing
4994           GString, so that when we serialise caps we don't need to alloc+free
4995           a throwaway GString for each structure (each of which also entailing
4996           multiple reallocs on the way); also use g_string_sized_new() in
4997           various places with an approximate string length to avoid reallocs
4998           within GString. See #500143.
4999
5000 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5001
5002         * gst/gststructure.c: (gst_structure_id_set_value):
5003           Always check UTF-8 conformance of structure strings and not only
5004           if the debugging system is enabled; reasoning: the behaviour of
5005           the actual code shouldn't really change depending on whether the
5006           debugging system is enabled or not (#508291).
5007
5008 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5009
5010         * Makefile.am:
5011           Remove old coverage target in favour of "make lcov".
5012
5013 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5014
5015         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5016         (gst_base_src_loop):
5017         The start segment for reverse playback goes from start to last_stop.
5018
5019 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5020
5021         Patch by: Peter Kjellerstedt <pkj axis com>
5022
5023         * gst/gstclock.h:
5024         Cast the results from the timeval/spec_to_time macros to what the
5025         docs say it casts to, a GstClockTime. fixes #508175.
5026
5027 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5028
5029         * gst/gstbuffer.c:
5030         Update some comments.
5031
5032         * tools/gst-inspect.c: (print_element_properties_info):
5033         Improve printing of flags.
5034
5035 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5036
5037         * libs/gst/base/gstbasetransform.c:
5038           (gst_base_transform_transform_size):
5039           Print element name with g_warning() if there's a problem
5040           with the unit size.
5041
5042 2008-01-07  David Schleef  <ds@schleef.org>
5043
5044         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5045
5046         * libs/gst/controller/gstcontroller.h:
5047         * libs/gst/controller/gstcontrolsource.h:
5048         * libs/gst/controller/gstinterpolationcontrolsource.h:
5049         * libs/gst/controller/gstlfocontrolsource.h:
5050         * libs/gst/dataprotocol/dataprotocol.h:
5051           Fix empty prototypes.  Fixes bug #507957.
5052
5053 2008-01-07  David Schleef  <ds@schleef.org>
5054
5055         * docs/faq/dependencies.xml: Fix typo.
5056
5057 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5058
5059         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5060         (gst_base_src_loop):
5061         Don't update the last_stop position in do_seek, that's the position we
5062         did a seek to.
5063         Read backwards when we have a negative rate.
5064
5065         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5066         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5067         (filesrc_suite):
5068         Add check for reverse reading.
5069
5070 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5071
5072         Patch by: Alexis Ballier <aballier at gentoo org>
5073
5074         * tests/check/gst/gstabi.c:
5075         * tests/check/gst/struct_ppc64.h:
5076         * tests/check/libs/libsabi.c:
5077         * tests/check/libs/struct_ppc64.h:
5078           Decide which header to include based on the userland ABI target
5079           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5080           for 64-bit userland (#503590).  Might need something similar for
5081           x86 too.
5082
5083 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5084
5085         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5086           Log the reason why fopen fails in addition to the fact that it failed.
5087           
5088 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5089
5090         * gst/parse/parse.l:
5091         Use "%option never-interactive" to prevent useless calls to isatty()
5092         on every input when parsing. Also use "%option noinput" to not define
5093         the static input/yyinput functions which we don't use anyway. This
5094         removes a compiler warning with gcc 4.3 and saves some bytes in the
5095         library.
5096         
5097         * gst/parse/lex._gst_parse_yy.pre.c:
5098         Regenerated for the above change.
5099
5100 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5101
5102         * gst/gstpad.c: (fixate_value):
5103         Don't crash when trying to fixate and empty list.
5104         Fixes #506643.
5105
5106 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5107
5108         * docs/faq/gst-uninstalled:
5109         Clarify the comments to make the usage of this script and what it
5110         does easier to understand.
5111
5112 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5113
5114         * tools/gst-plot-timeline.py:
5115         Add more options to gst-plot-timeline
5116
5117 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5118
5119         * docs/design/part-synchronisation.txt:
5120         Some more info on how the stream_time in GstBaseSink is done.
5121
5122 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5123
5124         * tests/check/generic/sinks.c: (gst_sinks_suite):
5125           Put back the tcase_set_timeout(), apparently it's needed after
5126           all; fix it up in a way that makes things work with valgrind too.
5127
5128 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5129
5130         * gst/gstdebugutils.c:
5131           Add warning when failed to open file for writing.
5132
5133 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5134
5135         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5136
5137         * gst/gstvalue.c: (gst_value_is_fixed):
5138           Optimisation: bail out of the loop as early as possible (#500143).
5139
5140 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5141
5142         * gst/gstcaps.c: (gst_caps_to_string):
5143         * gst/gstinfo.c: (gst_debug_construct_term_color):
5144         * gst/gstparse.c: (gst_parse_launchv):
5145         * gst/gstutils.c: (gst_util_dump_mem):
5146         * gst/gstvalue.c: (gst_value_serialize_any_list),
5147           (gst_value_transform_any_list_string):
5148           Bunch of gratuitous nano-optimisations.
5149
5150 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5151
5152         * tests/check/generic/sinks.c: (async_done_func),
5153           (async_done_eos_func):
5154           Fix leak in unit test (bus sync handler must unref the message
5155           if it returns GST_BUS_DROP). Don't fiddle with the default test
5156           timeout, this is smaller than the current preconfigured value
5157           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5158           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5159
5160 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5161
5162         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5163
5164         * configure.ac:
5165         Check for stdio_ext.h for the filesink changes.
5166
5167         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5168         (gst_file_sink_class_init), (gst_file_sink_init),
5169         (gst_file_sink_dispose), (gst_file_sink_set_property),
5170         (gst_file_sink_get_property), (gst_file_sink_open_file),
5171         (gst_file_sink_close_file):
5172         * plugins/elements/gstfilesink.h:
5173         Add two properties to control the buffering mode and size.
5174         API: GstFileSink::buffer-mode
5175         API: GstFileSink::buffer-size
5176         Fixes #500150.
5177
5178 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5179
5180         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5181         Add some more docs to explain why a FIXME was wrongly added. 
5182
5183 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5184
5185         * gst/gstobject.c:
5186           Fix typo in the gst_object_{ref,unref} documentation.
5187
5188 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5189
5190         * tests/check/libs/controller.c:
5191         * tests/check/libs/typefindhelper.c:
5192         * tests/check/pipelines/parse-launch.c:
5193           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5194           going to be deprecated (see #498924).
5195
5196 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5197
5198         * gst/gsttypefind.c: (gst_type_find_register):
5199           Make gst_type_find_register work for static typefind functions,
5200           ie. allow passing plugin == NULL (prerequisite for #498924).
5201
5202         * gst/gstelementfactory.c: (gst_element_register):
5203           Small docs addition.
5204
5205 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5206
5207         * gst/gstpad.c: (gst_pad_dispose):
5208         Really unlink the peer pad instead of setting the peer pointer to NULL
5209         when we dispose the pad.
5210         This correctly calls the unlink functions and makes sure that the peer
5211         does not have a handle to invalid memory. See #504671.
5212
5213         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5214         Add testsuite for above case.
5215
5216 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5217
5218         Patch by: Peter Kjellerstedt <pkj axis com>
5219
5220         * libs/gst/check/gstcheck.h:
5221           Fix detection of the check version we're compiling against (would
5222           otherwise break if check goes v0.10.0); correctly report the
5223           name of the failed test again in case of failure, instead of
5224           just 'tf' (fixes #504499).
5225
5226 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5227
5228         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5229         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5230         (gst_base_src_loop), (gst_base_src_set_flushing),
5231         (gst_base_src_change_state):
5232         Allow sending EOS to the source to make it send out an EOS event from
5233         the streaming thread.
5234         Update docs and deprecate the old NULL/READY shutdown method.
5235
5236         * tests/check/libs/basesrc.c: (GST_START_TEST),
5237         (gst_basesrc_suite):
5238         Add unit test for controlled shutdown.
5239
5240 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5241
5242         * docs/design/part-synchronisation.txt:
5243         Small updates.
5244
5245         * gst/gstsegment.c: (gst_segment_set_seek),
5246         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5247         (gst_segment_to_running_time):
5248         The seek format can be different from the segment format when the start
5249         and stop values are not to be updated, when we only do a rate change for
5250         example.
5251
5252         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5253         (gst_segment_suite):
5254         Add a testcase for the rate-only seeks, checking that the format is
5255         correctly ignored when start and stop are not updated.
5256
5257 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5258
5259         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5260
5261         * win32/vs8/grammar.vcproj:
5262         * win32/vs8/libgstcontroller.vcproj:
5263         * win32/vs8/libgstreamer.vcproj:
5264         Fix compilation with VS8 and include some missing files.
5265
5266 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5267
5268         * gst/gsttaglist.c:
5269           Small docs addition: mention that the strings returned by
5270           gst_tag_list_get_string*() are in UTF-8 encoding.
5271
5272 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5273
5274         * Makefile.am:
5275           The check-exports stuff moved to common/win32.mak, so include that.
5276
5277 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5278
5279         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5280         (gst_base_src_perform_seek), (gst_base_src_get_range),
5281         (gst_base_src_set_playing), (gst_base_src_change_state):
5282         Make _wait_playing() not check any variables so that we can call this
5283         function from subclasses. Move the checks elsewhere similar to
5284         _wait_preroll() in basesink.
5285         Add some debugging.
5286         Only signal the LIVE cond when we are going back to PLAYING.
5287
5288 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5289
5290         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5291           Use g_remove() and g_rename(). Check result of g_rename(), and
5292           don't leak the open file descriptor if we error out when writing.
5293
5294         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5295           Must check the return value of close() after writing out the new
5296           registry file.  Sometimes write problems such as out-of-diskspace
5297           are only reported when the file is closed and not already during
5298           the write.  This may have caused partial/broken registry files in
5299           some rare circumstances. Should fix #503675.
5300
5301 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5302
5303         * docs/gst/.cvsignore:
5304         * docs/libs/.cvsignore:
5305         * docs/plugins/.cvsignore:
5306         Ignore files generated by new common/* modifications
5307
5308 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5309
5310         * win32/common/libgstbase.def:
5311           Yes, you can also have a <TAB> if you want.
5312
5313 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5314
5315         * win32/common/libgstbase.def:
5316           Add new basetransform API to win export file.
5317
5318 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5319
5320         * tests/check/gst/gstbin.c:
5321           Adjust the test to the refcount change two days ago.
5322
5323 2007-12-14  David Schleef  <ds@schleef.org>
5324
5325         * docs/faq/getting.xml: Fix typo.
5326
5327 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5328
5329         * docs/libs/gstreamer-libs-sections.txt:
5330         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5331           (gst_base_transform_prepare_output_buffer),
5332           (gst_base_transform_set_gap_aware):
5333         * libs/gst/base/gstbasetransform.h:
5334           API: Add gst_base_transform_set_gap_aware() to control whether
5335           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5336           get buffers with this flag at all. Fixes #503231.
5337
5338 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5339
5340         * libs/gst/base/gstbasesink.c:
5341         * libs/gst/base/gstbasesrc.c:
5342         * libs/gst/base/gstbasetransform.c:
5343           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5344           thread. Correct log message in gstbasesrc.c.
5345
5346 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5347
5348         * gst/gstutils.c: (element_find_unconnected_pad):
5349           Fix possible compiler warning (#503417).
5350
5351 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5352
5353         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5354           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5355
5356 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5357
5358         * tools/gst-inspect.c: (print_element_properties_info):
5359           Add support for GstFraction properties.
5360
5361 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5362
5363         * Makefile.am:
5364           Add check-exports target and run it as part of 'make check'
5365           (see #499140 and #493983).
5366
5367         * gst/gst_private.h:
5368         * gst/gstelementfactory.h:
5369         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5370         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5371           (_priv_gst_in_valgrind):
5372         * gst/gstinfo.h: (GstLogFunction):
5373         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5374           (gst_type_find_register):
5375         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5376           (gst_type_find_factory_get_type):
5377         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5378           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5379           (gst_controller_new_valist), (gst_controller_new_list),
5380           (_gst_controller_dispose), (_gst_controller_class_init):
5381         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5382         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5383           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5384           (gst_object_get_controller), (gst_object_set_controller),
5385           (gst_object_suggest_next_sync), (gst_object_sync_values),
5386           (gst_object_set_control_source), (gst_object_get_control_source),
5387           (gst_object_get_value_arrays), (gst_object_get_value_array),
5388           (gst_object_get_control_rate), (gst_object_set_control_rate):
5389         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5390         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5391           Make some functions that should be static static; rename some
5392           private symbols so that they don't get exported; add some FIXME
5393           comments so we can move accidentally exported functions into
5394           our private section in 0.11.
5395
5396         * win32/common/libgstreamer.def:
5397           Add gst_utils_get_timestamp().
5398
5399 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5400
5401         * gst/gstvalue.c:
5402         * gst/gstvalue.h:
5403           Add more missing "Since:" tags to docs.
5404
5405 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5406
5407         * gst/gstutils.c:
5408           Add mising "Since:" to docs.
5409
5410 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5411
5412         * gst/gstplugin.c:
5413           Include "glib-compat-private.h" to fix the build on system with
5414           glib < 2.10. Fixes #503131.
5415
5416 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5417
5418         * gst/gstutils.c:
5419         * gst/gstutils.h:
5420           Actually its not PURE as it gets the time from elsewhere.
5421
5422 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5423
5424         * docs/gst/gstreamer-sections.txt:
5425         * gst/gstclock.h:
5426         * gst/gstdebugutils.c:
5427         * gst/gstinfo.c:
5428         * gst/gstutils.c:
5429         * gst/gstutils.h:
5430         * libs/gst/base/gstbasesink.c:
5431         * tools/gst-launch.c:
5432           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5433           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5434           Thanks Tim for spotting.
5435           API: gst_util_get_timestamp
5436
5437 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5438
5439         * configure.ac:
5440           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5441
5442 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5443
5444         * gst/gststructure.c: (gst_structure_validate_name),
5445           (gst_structure_new_valist), (gst_structure_parse_value),
5446           (gst_structure_from_string):
5447           Don't crash in _from_string() if the structure name is not valid
5448           (fixes #501560).  Allow structure names to start with a number
5449           again (this apparently broke the ubuntu codec installer).
5450
5451         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5452           (GST_START_TEST):
5453           Add unit test for the crash; update unit tests for new behaviour.
5454
5455 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5456
5457         * gst/gstutils.c:
5458         Clarify gst_element_get_compatible_pad() documentation.
5459         Fixes #500919.
5460
5461 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5462
5463         * tests/check/Makefile.am:
5464           Don't forget to dist {gst,libs}/struct_hppa.h.
5465
5466 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5467
5468         * libs/gst/base/gstbasesink.c:
5469           Use new API to get elapsed time.
5470
5471 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5472
5473         * gst/gstdebugutils.c:
5474         * gst/gstinfo.c:
5475           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5476
5477         * tools/gst-launch.c:
5478           Use new API to get elapsed time.
5479
5480 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5481
5482         * docs/gst/gstreamer-sections.txt:
5483         * gst/gstclock.h:
5484         * gst/gstdebugutils.c:
5485         * gst/gstinfo.c:
5486           Rename new API + ChangeLog surgery to remove old name from last entry..
5487
5488 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5489
5490         * docs/gst/gstreamer-sections.txt:
5491         * gst/gstclock.h:
5492         * gst/gstdebugutils.c:
5493         * gst/gstinfo.c:
5494           Now hide the different clock stuff behind a macro.
5495
5496 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5497
5498         * configure.ac:
5499         * gst/gstdebugutils.c:
5500         * gst/gstinfo.c:
5501           Apply the posix-timer check from #361155. Conditionally use the posix
5502           timer for logging. This gives better timestamp precission, less
5503           overhead and no ntp jitter.
5504
5505 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5506
5507         * gst/gstminiobject.c: (gst_mini_object_get_type),
5508         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5509         (gst_mini_object_finalize), (gst_mini_object_copy),
5510         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5511         (gst_mini_object_replace), (param_mini_object_validate),
5512         (gst_param_spec_mini_object_get_type):
5513         Some cleanup and checking against invalid function parameters.
5514
5515 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5516
5517         * docs/gst/gstreamer-sections.txt:
5518         * gst/gstclock.h:
5519         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5520         (gst_systemclock_suite):
5521         Start merging in the easy bits of #361155, the monotonic clock patch.
5522         This one adds a few handy macros with docs and a testsuite.
5523
5524 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5525
5526         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5527         Be a bit smarter when seeking, like, don't try to do a seek when it's
5528         not needed. This avoids errors when the file is not seekable.
5529         Fixes #499771.
5530
5531 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5532
5533         * docs/gst/gstreamer-docs.sgml:
5534         * docs/gst/gstreamer-sections.txt:
5535         * docs/gst/gstreamer.types.in:
5536         * gst/Makefile.am:
5537         * gst/gst.h:
5538         * gst/gstpreset.c:
5539         * gst/gstpreset.h:
5540         * plugins/elements/gstqueue.c:
5541           Due to popular request remove preset interface again. :-(.
5542
5543 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5544
5545         * tools/gst-inspect.c:
5546           Print 'default value' for enums and flags too.
5547
5548 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5549
5550         * docs/random/ensonic/profiling.txt:
5551           More ideas.
5552
5553         * gst/gstbin.c:
5554           Fix typo and give better log output.
5555
5556         * gst/gstdebugutils.c:
5557         * gst/gstdebugutils.h:
5558           More ideas, make graphs a bit smaller and fix param name in macro.
5559
5560 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5561
5562         * gst/gstpreset.c:
5563           Try harder to use the return value from fgets().
5564
5565 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5566
5567         * gst/gstpreset.c:
5568           For theses two fgets we handle the error below.
5569
5570 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5571
5572         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5573         Only send upstream events upstream. Fixes #498746.
5574
5575 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5576
5577         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5578
5579         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5580         (gst_identity_init), (gst_identity_transform_ip),
5581         (gst_identity_set_property), (gst_identity_get_property):
5582         * plugins/elements/gstidentity.h:
5583         Add property to disable handoff signal emission. Fixes #498694.
5584         API: GstIdentity::signal-handoffs
5585
5586 2007-11-21  Julien Moutte  <julien@fluendo.com>
5587
5588         * docs/faq/gst-uninstalled: Yet another missing library for the
5589         uninstalled script (fft)
5590
5591 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5592
5593         * docs/faq/developing.xml:
5594         Add a question about how to submit new translations.
5595
5596         * docs/random/release:
5597         Update the contact email address for the Translation Project
5598
5599         * plugins/elements/gstfdsrc.c:
5600         The parent_class for fdsrc is pushsrc, not GstElement.
5601
5602 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5603
5604         * gst/gstpreset.c:
5605           Plug a leak and fix saving.
5606
5607 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5608
5609         * docs/gst/gstreamer-sections.txt:
5610         Add new gst_preset__get_property_names() function to the docs
5611         to fix the build.
5612
5613 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5614
5615         * gst/gstpreset.c:
5616         * gst/gstpreset.h:
5617           Change _get_preset_names API to return a strv with copies. Add
5618           _get_property_names to allow implementations to filter and provide
5619           good default implementation.
5620
5621 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5622
5623         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5624         script (sdp).
5625
5626 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5627
5628         * gst/gstpreset.c:
5629           More cleanups, docs, and TODOs from comments that now slowly come in.
5630
5631 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5632
5633         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5634         search path.
5635
5636 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5637
5638         * gst/gstpreset.c:
5639           Fix bogus warning and make the property type specific code more
5640           similar.
5641
5642 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5643
5644         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5645         it build on OS X.
5646
5647 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5648
5649         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5650         (gst_bin_add_func), (gst_bin_remove_func),
5651         (gst_bin_change_state_func), (gst_bin_continue_func):
5652         Change email, cleanups add some more debug and comments.
5653         Also set bus and clock on new elements when the pipeline was in error.
5654
5655 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5656
5657         * gst/gstbin.c:
5658         * gst/gstdebugutils.c:
5659           Fix build with --disable-gst-debug. Fixes #497859.
5660           Spotted by Sameer Naik.
5661
5662 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5663
5664         * gst/gstevent.c:
5665           Little documentation improvment.
5666
5667         * gst/gstpreset.c:
5668           More TODO cleanups. Remove c++ comments.
5669
5670         * libs/gst/controller/gstcontroller.c:
5671           Add TODO and use quark from static string.
5672
5673         * tests/check/gst/gstmessage.c:
5674         * tests/check/gst/gststructure.c:
5675           Use quark from static string.
5676
5677 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5678
5679         * gst/gstpreset.c:
5680           Add some comments and TODOs.
5681
5682         * gst/gstpreset.h:
5683           Add padding for future changes.
5684
5685         * plugins/elements/gstqueue.c:
5686           Implement the iface.    
5687
5688 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5689
5690         * docs/gst/gstreamer-docs.sgml:
5691         * docs/gst/gstreamer-sections.txt:
5692         * docs/gst/gstreamer.types.in:
5693         * gst/Makefile.am:
5694         * gst/gst.h:
5695         * gst/gstpreset.c:
5696         * gst/gstpreset.h:
5697           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5698
5699 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5700
5701         * configure.ac:
5702
5703         Back to CVS
5704
5705 === release 0.10.15 ===
5706
5707 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5708
5709         * configure.ac:
5710           releasing 0.10.15, "October"
5711
5712 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5713
5714         * win32/vs6/libgstreamer.dsp:
5715         Convert line endings back to DOS.
5716
5717 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5718
5719         * docs/design/draft-tagreading.txt:
5720         * docs/random/ensonic/profiling.txt:
5721         Update fast tagreading draft and performance profiling ideas.
5722
5723 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5724
5725         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5726         Don't hold the object lock when unreffing a buffer because it could
5727         cause a deadlock when the finalize function wants to grab the object
5728         lock too. Fixes #495133.
5729
5730 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5731
5732         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5733         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5734         Also accumulate time correctly when doing reverse playback. Fixes
5735         #488201,
5736         When converting to running and stream time, use default values for
5737         start/stop/time/accum when comparing different formats. Fixes #494245.
5738
5739         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5740         Do running/stream time in TIME format.
5741
5742         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5743         (gst_segment_suite):
5744         2 new unit tests for segment accumulation.
5745
5746 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5747
5748         * gst/gst.c: (init_pre):
5749         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5750           (_gst_debug_bin_to_dot_file):
5751           Move getenv() back into gst_init, so everyone can live happily
5752           ever after. Make sure the symbol isn't exported though.
5753
5754 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5755
5756         Patch by: Sebastien Moutte  <sebastien moutte net>
5757
5758         * win32/common/gstenumtypes.c:
5759         * win32/common/gstenumtypes.h:
5760           Update enum types.
5761
5762         * win32/vs6/libgstreamer.dsp:
5763           Update vs6 project files (#494343).
5764
5765 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5766
5767         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5768         (gst_base_src_perform_seek), (gst_base_src_default_event),
5769         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5770         (gst_base_src_activate_pull):
5771         Unify flushing code, remove some old unlock code that is no longer used.
5772         Take the streaming lock when seeking to avoid races. Fixes #492729.
5773         Added some more comments.
5774
5775 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5776
5777         * gst/gst.c: (_gst_disable_segtrap):
5778           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5779           we can use gst_segtrap_is_enabled() there now that we have that API.
5780           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5781           to do the getenv here (and export the variable).
5782
5783         * gst/gstdebugutils.c: (debug_dump_element),
5784           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5785           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5786
5787         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5788           (gst_debug_log_default):
5789           Rename _gst_info_start_time to priv_gst_info_start_time so it
5790           doesn't get exported (was never in any header).
5791
5792         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5793           (gst_plugin_loading_mutex):
5794           Make static mutex gst_plugin_loading_mutex really static (was never
5795           in any header), and use gst_segtrap_is_enabled() instead of
5796           _gst_disable_segtrap.
5797
5798         * gst/gsttrace.c: (_gst_trace_default):
5799           Make local _gst_trace_default static (was never in any header).
5800
5801 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5802
5803         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5804
5805         * win32/common/libgstbase.def:
5806         * win32/common/libgstcontroller.def:
5807         * win32/common/libgstdataprotocol.def:
5808         * win32/common/libgstnet.def:
5809         * win32/common/libgstreamer.def:
5810           Add more missing symbols, remove some duplicates, and sort
5811           as the 'sort' command sorts it (partially fixes #493983).
5812
5813 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5814
5815         * gst/gstelement.c: (gst_element_set_state_func):
5816         Only change the state cookie if a different state was set on the
5817         element. See #492729.
5818
5819 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5820
5821         * gst/gstvalue.c:
5822           Remove unused and uninitialised type variables that were still
5823           exported for some reason (they were never in any header files
5824           though).
5825
5826 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5827
5828         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5829         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5830         (gst_base_sink_event), (gst_base_sink_get_position_last),
5831         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5832         (gst_base_sink_change_state):
5833         Don't try to report a 0 position when we don't know, return -1 and FALSE
5834         instead. This mostly happens when we are prerolling.
5835         Make sure we can report the right position before we post the ASYNC_DONE
5836         message so that a message handler can query position without races.
5837
5838         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5839         (async_done_handoff), (async_done_func), (send_buffer),
5840         (async_done_eos_func), (gst_sinks_suite):
5841         Add two tests for the above.
5842
5843 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5844
5845         * MAINTAINERS:
5846         Update with new email address.
5847
5848         * docs/design/part-TODO.txt:
5849         Add some more info about future pad-block and negotiation changes.
5850
5851         * docs/design/part-buffering.txt:
5852         Add some ideas about buffering reporting.
5853
5854 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5855
5856         * tests/check/gst/gstobject.c:
5857         Disable silly racy test that always fails on this combination of CPU
5858         and kernel.
5859
5860 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5861
5862         Patch by: Murray Cumming  <murrayc@murrayc.com>
5863
5864         * gst/gstobject.c:
5865           Corrected the registration of the parent-set and parent-unset
5866           signals: The parameter is a GstObject, not a GObject (#493134).
5867
5868 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5869
5870         * gst/gst_private.h:
5871         * gst/gstbuffer.h:
5872         * gst/gstevent.h:
5873         * gst/gstformat.h:
5874         * gst/gstmessage.h:
5875         * gst/gstplugin.h:
5876         * gst/gstquery.h:
5877         * gst/gsttaglist.h:
5878         * gst/gstvalue.h:
5879           Move declaration of private _gst_foo_initialize() functions into
5880           our private header file where they should have been all along.
5881
5882 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5883
5884         * docs/plugins/gstreamer-plugins-sections.txt:
5885         * gst/gstdebugutils.h:
5886         * gst/gstxml.h:
5887         * plugins/elements/gstqueue.c:
5888           gtk-doc fixes; trailing-comma-in-enum fix.
5889
5890 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5891
5892         * gst/gst.c: (gst_deinit):
5893           Clean up on deinit (not the external ones though, doesn't seem to be
5894           needed for some reason).
5895
5896 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5897
5898         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5899           Remove __declspec(dllimport) for MSVC that was copied over into core
5900           from a plugin, obviously without ever having been tested (note the
5901           single underscore in _declspec in the initial commit), and that doesn't
5902           really make sense.  See #492077.
5903
5904 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5905
5906         * gst/gst.c: (init_post):
5907         * gst/gstevent.c: (_gst_event_initialize):
5908         * gst/gstquery.c: (_gst_query_initialize):
5909         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5910           g_type_class_ref() other types as well, see #349410 and #64764.
5911
5912         * gst/gstbuffer.c: (_gst_buffer_initialize):
5913         * gst/gstmessage.c: (_gst_message_initialize):
5914           Simplify existing g_type_class_ref().
5915
5916 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5917
5918         * gst/gstformat.c: (_gst_format_initialize):
5919           g_type_class_ref() our GstFormat type to make sure we avoid the
5920           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5921           bug #64764. Should fix intermittent tee unit test failures (#474823).
5922
5923 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5924
5925         * tests/check/elements/tee.c: (test_num_buffers):
5926           Simplify, simplify, simplify - or not.  Rewrite unit test
5927           not to use gst_parse_launch(); allow N sub-streams. Increasing
5928           the number of sub-streams seems to reproduce #474823 more easily.
5929
5930 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5931
5932         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5933
5934         * gst/gsttrace.c:
5935         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5936         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5937         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5938           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5939           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5940           so use _pipe() directly (#492077).
5941
5942         * win32/common/dirent.c: (_treaddir):
5943           Add a couple of casts to make it build without warnings with MSVC.
5944
5945         * win32/common/libgstreamer.def:
5946           Add some more symbols that need to be exported.
5947
5948 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5949
5950         * tests/examples/metadata/read-metadata.c: (message_loop):
5951           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5952           arriving in a second or third tag message are added to
5953           the tag list as well.
5954
5955 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
5956
5957         * libs/gst/base/gstbasesrc.c:
5958           Its "Since:" and not "@Since:". And remove an superflous cast.
5959
5960 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
5961
5962         * docs/libs/gstreamer-libs-sections.txt:
5963         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5964         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5965         (gst_base_sink_get_property), (gst_base_sink_render_object),
5966         (gst_base_sink_preroll_object),
5967         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5968         (gst_base_sink_change_state):
5969         * libs/gst/base/gstbasesink.h:
5970         Add a new last-buffer property that contains the last buffer used in
5971         basesink for preroll or rendering. useful for making snapshots.
5972         API: gst_base_sink_get_last_buffer()
5973         API: GstBaseSink::last-buffer
5974
5975 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5976
5977         * docs/gst/running.xml:
5978         * gst/gst.c:
5979         * gst/gstdebugutils.c:
5980         * gst/gstdebugutils.h:
5981         * tools/gst-launch.c:
5982           Improve bin graph dumping, by using the envvar to specify a path.
5983           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5984
5985 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
5986
5987         * plugins/elements/gsttypefindelement.c:
5988           (gst_type_find_element_handle_event),
5989           (gst_type_find_element_activate):
5990           Post special error message if we can't determine the type of a stream
5991           because it's empty.
5992
5993 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5994
5995         * docs/gst/running.xml:
5996         * gst/gstdebugutils.c:
5997           Document new env-var. Add one log-line after dumpng a graph.
5998
5999 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6000
6001         * configure.ac:
6002           Ugly hack to put the (recently removed and non-portable, apparently)
6003           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6004           GNU ld, because without that 'make check' fails miserably on my debian
6005           stable box.  Someone with more knowledge of linker intricacies and
6006           portability issues than me fix this properly please.
6007
6008 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6009
6010         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6011         Reset last seen position after flushing so that we don't report the old
6012         position anymore.
6013
6014 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6015
6016         * gst/gstelementfactory.c: (gst_element_register):
6017         * gst/gsturi.h:
6018         Patch from Alessandro Decina adding get_type_full and
6019         get_protocols_full private vfuncs to the URIHandler interface
6020         to allow bindings to support creating URI handlers. 
6021         Partially fixes: #339279
6022         API: GstURIHandlerInterface::get_type_full
6023         API: GstURIHandlerInterface::get_protocols_full
6024
6025 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6026
6027         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6028         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6029         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6030         Make it so that pads are considered linked until a buffer is pushed
6031         and discovered otherwise. This avoids problems with decodebin2 hanging
6032         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6033         case.
6034
6035         Make sure we lock the multiqueue when updating the max-size properties.
6036         
6037         Fix a crash on Solaris in a debug statement in get_request_pad that
6038         passes a NULL string to GST_DEBUG. 
6039
6040         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6041         (run_output_order_test):
6042         Fix the test to allow the first buffer on not-linked pads to come out
6043         of sequence while multiqueue discovers that they are not-linked.
6044
6045 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6046
6047         * configure.ac:
6048         * libs/gst/check/Makefile.am:
6049         Use a custom export symbol regex for libgstcheck, as it needs
6050         to export symbols that don't match the standard GStreamer gst_*
6051         pattern, and  --export-dynamic is not portable (only works on 
6052         GNU ld)
6053
6054         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6055         (gst_check_setup_sink_pad):
6056         Make sure to pass a message parameter to the fail_* macros.
6057
6058         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6059         Fix some compiler warnings.
6060
6061 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6062
6063         * tests/check/gst/gststructure.c: (test_to_string):
6064           Disable test that checks that white spaces are not allowed
6065           in structure names or field names, since we need to
6066           support that for now for backwards compatibility reasons.
6067
6068 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6069
6070         * docs/gst/gstreamer-sections.txt:
6071         * gst/gsttaglist.c:
6072         * gst/gsttaglist.h:
6073           API: add GST_TAG_ARTIST_SORTNAME
6074           API: add GST_TAG_ALBUM_SORTNAME
6075           API: add GST_TAG_TITLE_SORTNAME
6076           Add tag variants for sorting (#414539).
6077
6078 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6079
6080         * gst/gststructure.c:
6081           Also allow white space for names so we don't break
6082           backwards compatibility.
6083
6084 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6085
6086         * docs/design/part-TODO.txt:
6087         * docs/design/part-segments.txt:
6088         * docs/design/part-streams.txt:
6089         Small updates.
6090
6091 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6092
6093         * docs/gst/gstreamer-sections.txt:
6094          Fixed documentation from my previous commit (added new API add
6095          gst_value_set_structure(), add gst_value_get_structure() and
6096          GST_VALUE_HOLDS_STRUCTURE).
6097
6098 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6099
6100         * gst/gstdebugutils.c:
6101           Reflow code to fix uninitialized variable warning.
6102
6103 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6104
6105         * gst/gstcaps.c: (gst_caps_to_string),
6106         (gst_caps_from_string_inplace):
6107         * gst/gststructure.c: (gst_structure_get_abbrs),
6108         (gst_structure_to_string), (gst_structure_from_string):
6109         * gst/gstvalue.c: (gst_value_set_structure),
6110         (gst_value_get_structure), (gst_value_serialize_structure),
6111         (gst_value_deserialize_structure), (_gst_value_initialize):
6112         * gst/gstvalue.h:
6113         * tests/check/gst/gststructure.c: (GST_START_TEST),
6114         (gst_structure_suite):
6115         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6116          Added GstStructure to gst_value_table and its related functions.
6117          Changed gst_structure_to_string to print ';' in the end.
6118          Changed gst_caps_to_string to not print ';' beteween its
6119          fields (structures) anymore and remove the lastes ';' from latest
6120          structure. Now it is possible to have nested structures.
6121          In addition, backward compatibilty is assured by accepting '\0' as
6122          end delimiter. Fixes: #487969.
6123          API: add gst_value_set_structure()
6124          API: add gst_value_get_structure()
6125          API: add GST_VALUE_HOLDS_STRUCTURE
6126
6127 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6128
6129         * gst/gstbus.c:
6130           When no GSource callback has been set up, tell developer
6131           to use a function that actually exists.
6132
6133 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6134
6135         * docs/gst/gstreamer-sections.txt:
6136         * gst/Makefile.am:
6137         * gst/gst.c:
6138         * gst/gst.h:
6139         * gst/gstdebugutils.c:
6140         * gst/gstdebugutils.h:
6141         * gst/gstinfo.c:
6142         * gst/gstinfo.h:
6143         * tools/gst-launch.c:
6144           Allow dumping pipelines as dot graphs. Fixes #456573.
6145
6146 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6147
6148         * gst/gststructure.c:
6149           Allow '+' as well, it can be part of media or mime types
6150           such as image/svg+xml.
6151
6152 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6153
6154         * docs/gst/gstreamer-sections.txt:
6155         * gst/gstbus.c:
6156         * gst/gstbus.h:
6157           API: add gst_bus_pop_filtered
6158           API: add gst_bus_timed_pop_filtered
6159           Two new functions for waiting for specific message types on the
6160           bus for a specified amount of time without iterating any main
6161           loops or main contexts.
6162
6163         * tests/check/gst/gstbus.c:
6164           Some tests for the new functions.
6165
6166 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6167
6168         * docs/libs/gstreamer-libs-sections.txt:
6169           Make gtk-doc ignore stuff it should ignore.
6170
6171 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6172
6173         * libs/gst/check/gstcheck.c:
6174         * libs/gst/check/gstcheck.h:
6175           Allow runtime selection of unit tests to run via the GST_CHECKS
6176           environment variable (test case function names, comma-separated).
6177
6178 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6179
6180         * gst/gststructure.c:
6181         * tests/check/gst/gststructure.c:
6182           Revert serialisation change and constrain structure-names after
6183           consensus on irc. Update api documentation to reflect the change.
6184
6185 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6186
6187         * gst/gststructure.c:
6188           Improve serialization and fix tests.
6189
6190         * tests/check/gst/gststructure.c:
6191           Add another test that covers why I actually did the previous structure
6192           change.
6193
6194 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6195
6196         * tools/gst-inspect.c: (print_element_info):
6197         Don't crash when inspecting an element.
6198
6199 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6200
6201         * tests/check/gst/gststructure.c:
6202           Add unit test for escaping of structure name when serialising
6203           and deserialising to/from strings.
6204
6205 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6206
6207         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6208         (gst_single_queue_new):
6209         * plugins/elements/gstqueue.c: (gst_queue_init),
6210         (gst_queue_push_one):
6211         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6212         upstream is tricked into thinking it can suggest a format downstream
6213         while downstream does not support that format. The real problem is that
6214         core calls acceptcaps when pushing a buffer with new caps, for which we
6215         do a little workaround by setting the caps on the srcpad ourselves
6216         before pushing the buffer (until this is figured out). Fixes #486758.
6217
6218 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6219
6220         * gst/gststructure.c:
6221         * gst/gstvalue.c:
6222           Add some more comments and debug output. Quote structure name to fix
6223           deserialisation of some strings.
6224
6225 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6226
6227         * gst/gstbuffer.h:
6228           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6229           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6230
6231 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6232
6233         * tools/gst-inspect.c:
6234           Save approx. 400 1 byte allocs when printing. Use API to acces element
6235           details.
6236
6237         * tools/gst-run.c:
6238           Avoid a strdup.
6239
6240         * tools/gst-xmlinspect.c:
6241           Use API to acces element details.
6242
6243 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6244
6245         * gst/gstinfo.c:
6246           Fix some spelling errors.
6247
6248 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6249
6250         * gst/gstbin.c: (bin_handle_async_done):
6251         Correctly set the next state if all of our async children commited their
6252         state. This makes sure we can actually cancel the state change in
6253         progress. Fixes a regression in Rhythmbox when seeking.
6254
6255 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6256
6257         * gst/gstbin.c:
6258           Don't shadow local variable.
6259
6260         * gst/gstinfo.c:
6261           Don't shadow global function name.
6262
6263 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6264
6265         * gst/gstelementfactory.c:
6266         * gst/gstpluginfeature.c:
6267         * gst/gstpluginfeature.h:
6268         * gst/gstregistrybinary.c:
6269         * gst/gstregistryxml.c:
6270         * gst/gsttypefind.c:
6271           Use already-interned string for the private GstPluginFeature
6272           plugin_name field.
6273
6274 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6275
6276         * docs/libs/gstreamer-libs-sections.txt:
6277           Add new API to docs; fixes the build.
6278
6279 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6280         
6281         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6282
6283         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6284         (gst_base_sink_event):
6285         * libs/gst/base/gstbasesink.h:
6286         Add function to wait for EOS, subclasses can use this to correctly wait
6287         for devices to drain before performing the EOS logic. Fixes #485343.
6288         API: gst_base_sink_wait_eos()
6289
6290 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6291
6292         * gst/gstplugin.h:
6293           Cast description string constants in GST_PLUGIN_DEFINE macros
6294           to a (gchar*) to make C++ code using these macros compile
6295           without warning with g++-4.2 (see #462737).  Even if slightly
6296           ugly, this seems preferable to putting the description strings
6297           into the GLib quark table or making the structure member a
6298           const gchar * and doing casts in core code that allocs and
6299           frees these strings, or requiring a cast in the C++ code.
6300
6301 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6302
6303         * gst/gstinfo.h:
6304           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6305           to print the entire class/function signature into the log
6306           file for C++ code.  This only affects C++ code, for C code
6307           everything remains the same.
6308
6309 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6310
6311         * gst/gstbin.c: (remove_from_queue):
6312         Work around a problem with pipelines containing (semi)loops until a
6313         proper, more complicated solution is ready. See #475455.
6314
6315 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6316
6317         * gst/gstplugin.c:
6318         * gst/gstplugin.h:
6319         * gst/gstregistrybinary.c:
6320         * gst/gstregistryxml.c:
6321           Put more strings into the GLib quark table. No need to keep
6322           a hundred-something copies of identical version strings,
6323           license strings, package name strings and package origin
6324           strings around. 
6325
6326 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6327
6328         * docs/manual/advanced-dataaccess.xml:
6329           Don't imply that it's okay to unconditionally change
6330           buffer data or buffer metadata in a pad probe callback,
6331           and a bunch of other comments. Fixes #430031.
6332
6333 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6334
6335         * win32/common/gstenumtypes.c:
6336         * win32/common/gstenumtypes.h:
6337         * win32/common/gstversion.h:
6338           Update generated files.
6339
6340 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6341
6342         * docs/manual/advanced-autoplugging.xml:
6343           Prefix section with broken code with a warning (see #342432).
6344
6345 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6346
6347         * docs/manual/appendix-integration.xml:
6348         * docs/manual/basics-init.xml:
6349           Call g_thread_init() before g_option_context_new() to
6350           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6351
6352 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6353
6354         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6355         (gst_base_sink_queue_object_unlocked),
6356         (gst_base_sink_queue_object), (gst_base_sink_event),
6357         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6358         When we received EOS and are waiting for when to post the EOS message,
6359         our state is prerolled and we should not return ASYNC.
6360         Reorganize some code paths to implement this behavior.
6361
6362         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6363         (gst_sinks_suite):
6364         Add unit test to verify above EOS fix.
6365
6366 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6367
6368         * plugins/elements/gsttypefindelement.c:
6369         (gst_type_find_element_have_type), (gst_type_find_element_init),
6370         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6371         Move detecting the input caps of the sinkpad to the setcaps function.
6372         This allows us to update the output caps when we receive new input caps
6373         instead of always using the first detected caps.
6374
6375 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6376
6377         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6378         (gst_base_sink_get_position):
6379         Don't try to preroll non-async elements after a flush.
6380         Subtract latency form clock times when reporting position.
6381
6382 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6383
6384         * gst/gstpad.c: (gst_pad_pause_task):
6385         * gst/gstutils.c:
6386         Small comment and documentation update.
6387
6388 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6389
6390         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6391         (gst_base_src_set_live), (gst_base_src_is_live),
6392         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6393         (gst_base_src_default_event), (gst_base_src_wait),
6394         (gst_base_src_do_sync), (gst_base_src_get_range),
6395         (gst_base_src_pad_get_range), (gst_base_src_loop),
6396         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6397         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6398         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6399         (gst_base_src_change_state):
6400         Rework the locking of basesrc in a similar fashion to basesink. We
6401         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6402         us to handle live sources and semi live ones much better.
6403         Simplify flushing.
6404         Fix unlocking when seeking, shutting down and pausing in live sources.
6405
6406 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6407
6408         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6409         Fix compilation again.
6410
6411 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6412
6413         * gst/gstelement.c:
6414           Use meaningful categories for the logs to clean the default one.
6415
6416 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6417
6418         * tests/check/pipelines/cleanup.c:
6419           Print message name and not just number.
6420
6421 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6422
6423         * docs/design/draft-tagreading.txt:
6424           Add some more thoughts.
6425
6426 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6427
6428         * tests/check/pipelines/simple-launch-lines.c:
6429           Print message name and not just number.
6430
6431 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6432
6433         * libs/gst/base/gsttypefindhelper.c:
6434           Speedup typefinding. This is work in progress (see #459862).
6435
6436 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6437
6438         * gst/gstplugin.c:
6439           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6440           Spotted by Josep Torra Valles <josep@fluendo.com>.
6441
6442 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6443
6444         * gst/gstclock.h:
6445           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6446           field has moved to GstObject.
6447
6448 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6449
6450         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6451         (gst_base_src_get_range), (gst_base_src_change_state):
6452         Call unlock for live sources so that they can't get stuck in _create and
6453         produce a buffer before they are set back to PLAYING.
6454
6455 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6456
6457         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6458         (gst_queue_locked_dequeue):
6459         Comment the segment-related code... in the PROPER function.
6460         See #482147 and my commit from yesterday.
6461
6462 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6463
6464         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6465         Also initialize the counter that calculates the first timestamp on a
6466         buffer correctly for non-live sources.
6467
6468 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6469
6470         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6471         Disable code that's breaking the current-time-level reporting.
6472         See #482147
6473
6474 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6475
6476         * docs/gst/gstreamer-sections.txt:
6477         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6478         as they shouldn't show up. Fixes the docs build.
6479
6480 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6481         
6482         * gst/gstinfo.h:
6483         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6484         Define M_PI which is used in files which are including gstinfo.h. 
6485         VS6 includes doesn't define it.
6486         * win32/common/libgstbase.def:
6487         * win32/common/libgstcontroller.def:
6488         * win32/common/libgstreamer.def:
6489         Add new exported functions and variables.
6490         * win32/vs6/libgstcontroller.dsp:
6491         * win32/vs6/libgstreamer.dsp:
6492         Update the list of files to build.
6493         
6494 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6495
6496         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6497
6498         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6499         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6500         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6501         Improve debugging. Fixes #480858.
6502
6503 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6504
6505         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6506
6507         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6508         First patch of code cleanups, use the macros and right arguments in the
6509         macros to signal and lock the queue. See #480858.
6510
6511 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6512
6513         * gst/gstbus.c: (poll_func):
6514         Improve debugging when dealing with _poll().
6515
6516 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6517
6518         * gst/gstregistryxml.c:
6519           Fix memory leak I introduced a few days ago.
6520
6521 2007-09-26  Michael Smith <msmith@fluendo.com>
6522
6523         * gst/gstbuffer.c: (gst_buffer_finalize):
6524           Make it once again possible to free GstBuffers in the default
6525           build.
6526           The poisoning scribbles on parts of the miniobject we need in
6527           order to free it.
6528           Fixes #480341
6529
6530 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6531
6532         * docs/gst/gstreamer-sections.txt:
6533         * gst/gsttaglist.c:
6534         * gst/gsttaglist.h:
6535         API: add GST_TAG_COMPOSER, fixes #459809.
6536
6537 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6538
6539         * gst/gstplugin.c:
6540         * gst/gstplugin.h:
6541         Add the 3-clause BSD license and the MIT/X11 license to the license
6542         list. Fixes #479784.
6543
6544 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6545
6546         * docs/faq/getting.xml:
6547           Add Q+A about different GStreamer versions (#364056).
6548
6549 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6550
6551         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6552         (gst_base_sink_event), (gst_base_sink_change_state):
6553         Return correct gboolean from query function.
6554
6555 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6556
6557         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6558         (gst_base_sink_event), (gst_base_sink_query),
6559         (gst_base_sink_change_state):
6560         Simplify latency query.
6561         When not synchronizing, we can report latency without querying the peer
6562         element.
6563
6564 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6565
6566         * gst/gstobject.h:
6567         * gst/gstvalue.c:
6568         Fix small typos in the docs.
6569
6570 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6571
6572         * docs/design/draft-latency.txt:
6573         * docs/design/draft-push-pull.txt:
6574         * docs/design/draft-tagreading.txt:
6575         * docs/design/part-MT-refcounting.txt:
6576         * docs/design/part-activation.txt:
6577         * docs/design/part-block.txt:
6578         * docs/design/part-element-source.txt:
6579         * docs/design/part-events.txt:
6580         * docs/design/part-gstbin.txt:
6581         * docs/design/part-gstelement.txt:
6582         * docs/design/part-gstobject.txt:
6583         * docs/design/part-gstpipeline.txt:
6584         * docs/design/part-messages.txt:
6585         * docs/design/part-preroll.txt:
6586         * docs/design/part-push-pull.txt:
6587         * docs/design/part-qos.txt:
6588         * docs/design/part-query.txt:
6589         * docs/design/part-scheduling.txt:
6590         * docs/design/part-seeking.txt:
6591         * docs/design/part-segments.txt:
6592         * docs/design/part-states.txt:
6593         Documentation updates and typo fixes.
6594
6595 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6596
6597         * plugins/elements/gstfakesink.c:
6598           Add some debug text to error message to indicate that
6599           we errored out on request.
6600
6601         * tools/gst-launch.c:
6602           When the state change to PLAYING fails, check for an
6603           error message on the bus and print it.
6604
6605 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6606
6607         translated by: Jorge González González <aloriel@gmail.com>
6608
6609         * po/LINGUAS:
6610         * po/es.po:
6611           Added Spanish translation.
6612
6613 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6614
6615         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6616         Fix printf arguments.
6617
6618 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6619
6620         * tests/check/generic/states.c:
6621           Improved state change unit test.
6622
6623 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6624
6625         * gst/gstbin.h:
6626           Move priv to the right place.
6627
6628         * gst/gstsystemclock.c:
6629           Add FIXME: and improve log.
6630
6631         * tests/check/Makefile.am:
6632         * tests/examples/manual/Makefile.am:
6633           Work with all types of registries.
6634
6635 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6636
6637         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6638         Don't unref the event after pushing it. Fixes #478401.
6639
6640 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6641
6642         * .cvsignore:
6643         * tests/examples/manual/.cvsignore:
6644           Ignore registries in any format.
6645
6646 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6647
6648         * gst/glib-compat-private.h:
6649           Add compatibility macro for g_intern_string() for
6650           GLib-2.8 (any reason we can't just bump the
6651           requirement to at least 2.10?)
6652
6653         * gst/gstpadtemplate.h:
6654         * gst/gstelementfactory.c:
6655         * gst/gstregistryxml.c:
6656         * gst/gstregistrybinary.c:
6657           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6658           up the internal code accordingly.  This shouldn't be a problem, since
6659           there is no reason external code could ever assume the string in such
6660           a structure is dynamically allocated unless it did that itself;  the
6661           use of g_strdup() is private to element factories.  The new code also
6662           saves some memory by putting pad template name strings into the GLib
6663           quark table instead of allocating them dynamically.
6664           Declaring this field constant fixes warnings with g++-4.2 when using
6665           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6666
6667 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6668
6669         * gst/gstelementfactory.c:
6670           Release static caps. Fixes #475723.
6671
6672 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6673
6674         * gst/gstinfo.c:
6675         * gst/gstinfo.h:
6676           Make some internal API take const gchar * instead of just
6677           gchar * to avoid compiler warnings with g++-4.2.2 when
6678           passing string constants (partially fixes #478092).
6679
6680 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6681
6682         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6683         A latency query fails when one of the sinks fail.
6684
6685         * gst/gstelement.c: (gst_element_set_base_time):
6686         Improve debugging.
6687
6688 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6689
6690         * gst/gstbin.c: (gst_bin_continue_func):
6691         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6692         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6693         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6694
6695         Fix minor compilation warnings shown with Forte.
6696
6697 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6698
6699         * plugins/elements/gstqueue.c: (apply_buffer),
6700         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6701         Measure queue level based on the diff between head and tail timestamps
6702         even when pushing the first buffer.
6703
6704 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6705
6706         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6707         (gst_base_sink_event), (gst_base_sink_change_state):
6708         Sinks that don't preroll can always be queried for the latency.
6709         Don't post ASYNC start when we are not async.
6710
6711 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6712
6713         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6714         (gst_queue_handle_sink_event), (gst_queue_chain),
6715         (gst_queue_push_one), (gst_queue_handle_src_query),
6716         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6717         * plugins/elements/gstqueue.h:
6718         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6719         push more buffers but allow pushing of EOS and NEWSEGMENT.
6720         Add some more debug info here and there. Fixes #476514.
6721
6722 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6723
6724         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6725         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6726         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6727         (gst_base_sink_set_flushing), (gst_base_sink_query),
6728         (gst_base_sink_change_state):
6729         Latency query is allowed after we are prerolled. Introduce a new flag
6730         for this and stop abusing other variables.
6731
6732 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6733
6734         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6735         Push OOB events downstream when we get them in send_event. This allows
6736         the application to insert events in the pipeline.
6737         Add some more comments.
6738
6739 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6740
6741         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6742         (do_bin_latency), (gst_bin_change_state_func):
6743         * gst/gstpipeline.c: (gst_pipeline_change_state):
6744         Move latency query from GstPipeline to GstBin so that we can also
6745         use it when async-handling is enabled on bins.
6746
6747 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6748
6749         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6750         (gst_base_src_do_sync), (gst_base_src_change_state):
6751         Update docs.
6752         Clean up the timestamping and syncing code for pseudo live sources.
6753
6754 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6755
6756         Patch by: Steve Fink  <sphink gmail com>
6757
6758         * docs/manual/appendix-checklist.xml:
6759           Mention less -R switch in the section about debug output (#474055).
6760
6761 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6762
6763         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6764         Queue can latency to the pipeline up to the configured max size in time.
6765         Report this fact in the latency query.
6766
6767 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6768
6769         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6770
6771         * libs/gst/controller/gstinterpolation.c:
6772         * libs/gst/controller/gstlfocontrolsource.c:
6773         Use gst_guint64_to_gdouble() when converting from a uint64 or
6774         GstClockTime to double to fix the build on win32. Fixes #474371.
6775
6776 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6777
6778         * gst/gstbuffer.c: (gst_buffer_finalize):
6779         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6780         When finalizing a buffer the complete struct is filled with 0xff,
6781         thus making a use of the buffer after the final unref impossible.
6782
6783 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6784
6785         * tests/check/libs/controller.c: (GST_START_TEST):
6786         Use fail_unless_equals_int(a, b) instead of
6787         fail_unless_equals (a == b) to get better output on failures.
6788
6789 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6790
6791         * tests/check/gst/gsturi.c:
6792           Also check for the other file URI variant on win32.
6793
6794 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6795
6796         * gst/gsturi.c: (gst_uri_get_location):
6797           If there's no hostname, we want to return 'c:/foo/bar.txt'
6798           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6799
6800         * tests/check/gst/gsturi.c:
6801           Unit test for the above and a few more things.
6802
6803 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6804
6805         * docs/design/part-live-source.txt:
6806         Add docs on how live sources should timestamp.
6807
6808         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6809         Add some more debug info.
6810         For subclasses that are live and like to sync, add aditional startup
6811         latency to sync time and timestamps so that we timstamp according to the
6812         design doc.
6813
6814 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6815
6816         * gst/gstbuffer.c:
6817           Also do a g_type_class_ref() for the subbuffer type in
6818           the init function.
6819
6820 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6821
6822         * docs/gst/gstreamer-sections.txt:
6823         * gst/gstpad.c: (gst_pad_peer_query):
6824         * gst/gstpad.h:
6825         Add function to perform a query on the peer of a pad.
6826         API: gst_pad_peer_query()
6827
6828 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6829
6830         * tests/check/gst/gstsystemclock.c:
6831           Cleanup the test a little (use gst-logging and not g_message). Improve
6832           test to check if a wait reached the target.
6833
6834 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6835
6836         * docs/libs/gstreamer-libs-sections.txt:
6837           Add new API to docs and fix the build.
6838
6839 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6840
6841         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6842         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6843         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6844         (gst_base_src_get_property), (gst_base_src_do_sync):
6845         * libs/gst/base/gstbasesrc.h:
6846         Add property to make the basesrc timestamp buffers based on the current
6847         running time.
6848         API: GstBaseSrc::do-timestamp
6849         API: gst_base_src_set_do_timestamp()
6850         API: gst_base_src_get_do_timestamp()
6851
6852 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6853
6854         * docs/random/release:
6855           Really make sure translations are up-to-date before
6856           a release (#465010).
6857
6858 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6859
6860         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6861         Always destroy the timer, also in error cases.
6862
6863 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6864
6865         * docs/manual/highlevel-xml.xml:
6866         Fix XML example code. Fixes #472714.
6867
6868 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6869
6870         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6871         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6872         (gst_base_sink_query):
6873         Protect eos and have_preroll with the OBJECT lock so we don't need to
6874         take the PREROLL lock when querying the latency. Fixes #473846.
6875
6876 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6877
6878         * gst/gstelement.c:
6879           Give some log-messages a category.
6880
6881 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6882
6883         * gst/gststructure.c:
6884         (gst_structure_fixate_field_nearest_fraction):
6885         Fix fraction list fixation code. Take the fraction with the smallest
6886         difference with the target instead of the first one in the list.
6887
6888         * tests/check/gst/gststructure.c: (GST_START_TEST),
6889         (gst_structure_suite):
6890         Added test to verify correct fraction list fixation behaviour.
6891
6892 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6893
6894         * win32/common/libgstreamer.def:
6895           Export gst_bus_add_signal_watch too.
6896
6897 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6898
6899         * docs/libs/gstreamer-libs-sections.txt:
6900         Add new methods to docs.
6901
6902         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6903         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6904         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6905         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6906         * libs/gst/base/gstbasesink.h:
6907         Add ts-offset property to fine-tune the synchronisation.
6908         API: GstBaseSink::ts-offset property
6909         API: gst_base_sink_set_ts_offset()
6910         API: gst_base_sink_get_ts_offset()
6911
6912 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
6913
6914         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6915         (gst_base_sink_init), (gst_base_sink_set_sync),
6916         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6917         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6918         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6919         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6920         (gst_base_sink_get_property), (gst_base_sink_change_state):
6921         * libs/gst/base/gstbasesink.h:
6922         Add async property to instruct the sink never to inform the parent about
6923         ASYNC state changes, update docs.
6924         Check argument with g_return_* for the public functions.
6925         API: GstBaseSink::async property
6926         API: gst_base_sink_set_async_enabled()
6927         API: gst_base_sink_is_async_enabled()
6928
6929 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
6930
6931         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6932         Improve debugging.
6933
6934         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6935         (gst_base_src_default_query), (gst_base_src_wait),
6936         (gst_base_src_do_sync), (gst_base_src_change_state):
6937         Rearrange some code so that we can add support for measuring the 
6938         startup latency.
6939
6940 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
6941
6942         * docs/random/ensonic/dynlink.txt:
6943           More thoughs on this.
6944
6945         * plugins/elements/gstcapsfilter.c:
6946           Add bugzilla ticket number to FIXME comment.
6947
6948 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
6949
6950         * docs/design/part-TODO.txt:
6951         * docs/design/part-block.txt:
6952         Update some docs.
6953
6954 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6955
6956         * gst/Makefile.am:
6957           Revert patch which uses $(gst_headers) instead of $^ because it
6958           breaks make dist.
6959
6960 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6961
6962         * tests/check/gst/gstbin.c: (GST_START_TEST):
6963           Fix leaks in the new unit test.
6964
6965 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
6966
6967         * gst/gst.c:
6968           Don't use GST_INFO before the debug system is actually initialised
6969           (shouldn't do any harm, but won't print anything either, so we can
6970           just as well remove it).
6971
6972         * gst/gstinfo.h:
6973           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6974           compilers that don't support variadic macros (such as MSVC), should
6975           check for debug_level <= __gst_debug_min as well, since that's the
6976           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6977           inline helper functions. Should improve performance a bit, but also
6978           makes sure uses of GST_INFO et.al are ignored if the debugging
6979           system isn't initialised yet (instead of printing an assertion
6980           failure).
6981
6982 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
6983
6984         patch by: David Nečas <yeti@physics.muni.cz>
6985
6986         * gst/Makefile.am:
6987           Replace some non portable makefile constructs.
6988
6989 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
6990
6991         * common/gtk-doc-plugins.mak:
6992           Grrrrr. Don't remove the types file on make clean.
6993
6994 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
6995
6996         * tools/gst-launch.1.in:
6997         Add colorspace to example pipeline. Fixes #458274.
6998
6999 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7000
7001         * docs/random/release:
7002           The release manager should run 'make download-po' before making a
7003           release to make sure translations are up-to-date.
7004
7005         * po/LINGUAS:
7006         * po/be.po:
7007         * po/pl.po:
7008         * po/rw.po:
7009           Add some new translations.
7010
7011 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7012
7013         * tools/gst-launch.c: (event_loop), (main):
7014         Don´t try to do any state management when a live pipeline posts
7015         buffering messages.
7016         Also make the buffering string translatable.
7017
7018 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7019
7020         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7021         (bin_handle_async_start), (gst_bin_handle_message_func):
7022         Improve debugging.
7023         When adding elements, insert messages into the bus of the newly added
7024         element and make sure the element is the source of the message. This
7025         allows the parent bin to intercept the message and do the
7026         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7027         messages to the app (which is not allowed).
7028         Update some docs.
7029
7030         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7031         Fix testsuite so that is does not work around messages that should not
7032         have been posted in the first place.
7033
7034 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7035
7036         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7037         (update_degree), (gst_bin_sort_iterator_next):
7038         Fix annoying bug in the sorted iterator where a sink that is not really
7039         a sink (when it has downstream links) screwed up the iterator.
7040
7041         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7042         Unit test to verify the fix.
7043
7044 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7045
7046         * gst/gstmessage.h:
7047         Add some more docs for the messages.
7048
7049         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7050         (gst_base_sink_query):
7051         Add some more debugging.
7052
7053         * tools/gst-launch.c: (event_loop):
7054         When interrupting, don't try to set pipeline to PAUSED twice.
7055
7056 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7057
7058         
7059         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7060         (bin_handle_async_start), (gst_bin_handle_message_func):
7061         Move ASYNC_START message posting to where it belongs, similar to
7062         async_done. 
7063         Don't post ASYNC_START when we are in error. 
7064         Post ASYNC_START when we added an async element to a bin.
7065
7066 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7067
7068         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7069         generation from vargs. Fixes #466595.
7070
7071 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7072
7073         * gst/gstbin.c: (gst_bin_element_set_state):
7074         Always change the state of a NO_PREROLL element even if it has ASYNC
7075         elements inside (in case of a bin).
7076
7077         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7078         Unit test for this case.
7079
7080 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7081
7082         * libs/gst/check/gstbufferstraw.c:
7083         * libs/gst/check/gstcheck.h:
7084         * libs/gst/controller/gstcontroller.c:
7085         * libs/gst/controller/gstcontrolsource.h:
7086         * libs/gst/controller/gstlfocontrolsource.h:
7087         * plugins/elements/gstcapsfilter.h:
7088         * plugins/elements/gstfdsink.h:
7089         * plugins/elements/gstfdsrc.h:
7090           Add more missing docs.
7091
7092 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7093
7094         * gst/gststructure.c:
7095         Add Since tag to docs.
7096
7097 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7098
7099         * docs/gst/gstreamer-sections.txt:
7100         * gst/gststructure.c: (gst_structure_get_uint):
7101         * gst/gststructure.h:
7102         Add function to get uint from a structure.
7103         API: gst_structure_get_uint()
7104
7105 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7106
7107         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7108         (gst_caps_intersect):
7109         Fix proper check for simple caps.
7110
7111 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7112
7113         * docs/gst/Makefile.am:
7114         * docs/libs/Makefile.am:
7115           Remove cruft and do some cleanups.
7116
7117         * docs/gst/gstreamer-docs.sgml:
7118         * docs/libs/gstreamer-libs-docs.sgml:
7119           Prepare for comming gtkdoc features (rebase against online docs).
7120
7121 2007-08-10  Michael Smith <msmith@fluendo.com>
7122
7123         * docs/gst/gstreamer-sections.txt:
7124           Add gst_registry_add_path to docs.
7125
7126 2007-08-10  Michael Smith <msmith@fluendo.com>
7127
7128         * gst/gstregistry.h:
7129           Add gst_registry_add_path, which was missing from this header.
7130
7131 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7132
7133         * libs/gst/controller/gstlfocontrolsource.c:
7134           Printf format fix.
7135
7136 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7137
7138         * libs/gst/base/gstbasesink.c:
7139           Don't send an async_start message during downwards state change if 
7140           target state is less than READY
7141
7142 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7143
7144         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7145
7146         * po/LINGUAS:
7147         * po/hu.po:
7148           Added Hungarian translation.
7149
7150 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7151
7152         * po/fi.po:
7153         * po/it.po:
7154         * po/nl.po:
7155         * po/sv.po:
7156         * po/uk.po:
7157           Updated translations.
7158
7159 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7160
7161         * libs/gst/controller/Makefile.am:
7162         Dist gstlfocontrolsourceprivate.h
7163
7164 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7165
7166         * docs/libs/gstreamer-libs.types:
7167         Don't register the enum type gst_lfo_waveform_get_type() in the
7168         .types file - only GObject derived types belong.
7169
7170 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7171
7172         Patch by: <arenevier at fdn dot fr>
7173
7174         * gst/gstbuffer.h:
7175         Remove comma from last element in enum to avoid compile errors when
7176         using -pendantic. Fixes #464366.
7177
7178 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7179
7180         * docs/design/part-TODO.txt:
7181         Add some more TODO items
7182
7183         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7184         Improve debugging.
7185
7186         * gst/gstcaps.c: (gst_caps_intersect):
7187         Optimize trivial intersection case between identical caps pointers.
7188
7189         * gst/gstelement.c: (gst_element_continue_state),
7190         (gst_element_set_state_func):
7191         * gst/gstpad.c:
7192         Fix spelling and grammar mistakes.
7193
7194 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7195
7196         * po/POTFILES.in:
7197         * po/POTFILES.skip:
7198           Update POTFILES. Fixes #461599.
7199
7200 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7201
7202         * gst/gst.c:
7203         Fix confusing typo in debug output.
7204
7205 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7206
7207         reviewed by: Stefan Kost <ensonic@users.sf.net>
7208
7209         * libs/gst/controller/Makefile.am:
7210         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7211         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7212         (gst_lfo_control_source_new),
7213         (gst_lfo_control_source_set_waveform),
7214         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7215         (gst_lfo_control_source_finalize),
7216         (gst_lfo_control_source_dispose),
7217         (gst_lfo_control_source_set_property),
7218         (gst_lfo_control_source_get_property),
7219         (gst_lfo_control_source_class_init):
7220         * libs/gst/controller/gstlfocontrolsource.h:
7221         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7222         API: Add GstLFOControlSource, a control source that gives values
7223         for specific timestamps based on several periodic waveforms.
7224         Fixes #459717.
7225
7226         * tests/check/libs/controller.c: (GST_START_TEST),
7227         (gst_controller_suite):
7228         * docs/libs/gstreamer-libs-docs.sgml:
7229         * docs/libs/gstreamer-libs-sections.txt:
7230         * docs/libs/gstreamer-libs.types:
7231         Add documentation and unit tests for GstLFOControlSource.
7232
7233 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7234
7235         * configure.ac:
7236         Back to CVS
7237
7238 === release 0.10.14 ===
7239
7240 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7241
7242         * configure.ac:
7243           releasing 0.10.14, "Breathing Vacuum"
7244
7245 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7246
7247         * gst/gstelement.c: (gst_element_class_set_details_simple):
7248         * gst/gstelement.h:
7249           Make strings passed to gst_element_class_set_details_simple()
7250           constant, as they should be (#462752).
7251
7252 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7253
7254         * gst/gstbin.c: (gst_bin_change_state_func),
7255         (bin_handle_async_done), (gst_bin_handle_message_func):
7256         Don't forget about the fact that some element went ASYNC even after a
7257         resync. This makes us post the ASYNC_DONE message correctly.
7258         Fixes #462558.
7259
7260 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7261
7262         * gst/gstregistry.c: (gst_registry_add_feature):
7263         When replacing an existing feature in the registry, make sure to
7264         continue holding a reference until we've replaced the name string
7265         within our feature hash table. Make sure to use g_hash_table_replace
7266         instead of g_hash_table_insert to ensure the new name string is used
7267         as a key instead of the old one that we're about to free.
7268         Fixes: #462085
7269
7270 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7271
7272         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7273         (gst_plugin_feature_set_name):
7274         Revert patch from #459466 until after the release and we can work
7275         out exactly what the problem is (if any).
7276
7277 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7278
7279         * docs/gst/gstreamer-sections.txt:
7280         * gst/gsttaglist.c:
7281         * gst/gsttaglist.h:
7282           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7283
7284 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7285
7286         * docs/libs/Makefile.am:
7287         Include our build-prefix libs and includes before the generic ones to
7288         avoid linking against the installed libs when we want the build-tree
7289         ones.
7290
7291 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7292
7293         Patch by: Steve Fink  <sphink gmail com>
7294
7295         * docs/pwg/building-testapp.xml:
7296           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7297           if people try to build or install the example from the plugin
7298           template against a GStreamer from package using the configure
7299           defaults.
7300
7301 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7302
7303         Patch by: Steve Fink  <sphink gmail com>
7304
7305         * tools/gst-inspect.1.in:
7306           Document --print-all and --print-plugin-auto-install-info command
7307           line options in man page.
7308
7309 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7310
7311         * docs/gst/gstreamer-sections.txt:
7312         Add docs for new api function.
7313
7314 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7315
7316         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7317         * gst/gstelementfactory.h:
7318         API: gst_element_factory_has_interface()
7319         Added method to check if an element factory implements a named
7320         interface.
7321
7322 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7323
7324         * configure.ac:
7325         * docs/gst/gstreamer.types.in:
7326           Another conditional doc check.
7327
7328         * gst/gstmessage.c:
7329         * gst/gstparamspecs.h:
7330         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7331         * gst/gstvalue.c:
7332         * gst/gstxml.h:
7333           API-doc fixes.
7334
7335 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7336
7337         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7338         (gst_registry_binary_load_feature),
7339         (gst_registry_binary_load_plugin),
7340         (gst_registry_binary_read_cache):
7341           Print error just once and with additional info.
7342
7343 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7344
7345         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7346         (helper_find_suggest), (helper_find_get_length),
7347         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7348         (gst_type_find_helper_for_buffer):
7349           Cleanup the typefindhelper code and add private doc comments.
7350
7351 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7352
7353         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7354         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7355         Fix capsfilter for cases where the caps set on capsfilter will provide
7356         additional information.
7357         Fixes #449197
7358
7359 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7360
7361         * gst/gsttypefindfactory.c:
7362           Fix docs that recommened wrong function to use.
7363
7364 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7365
7366         * tools/gst-inspect.c: (print_plugin_features):
7367           Also give media-type for typefinders in element output.
7368
7369 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7370
7371         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7372         (gst_registry_remove_features_for_plugin_unlocked),
7373         (gst_registry_add_feature), (gst_registry_remove_feature),
7374         (gst_registry_lookup_feature_locked):
7375         * gst/gstregistry.h:
7376           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7377           Fixes #459501.
7378
7379 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7380
7381         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7382         (gst_plugin_feature_set_name):
7383           Avoid double memory usage for pluginfeature names. Fixes #459466.
7384
7385 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7386
7387         * gst/gstpad.h:
7388           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7389           driving the pipeline may need to explicitly check for NOT_LINKED as
7390           well, since IS_FATAL doesn't cover that.
7391
7392 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7393
7394         * docs/pwg/advanced-types.xml:
7395           Fix typo and duplicate entry in video formats list.
7396
7397 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7398
7399         * libs/gst/controller/gstinterpolation.c:
7400         Also round to the nearest int when using cubic interpolation.
7401
7402 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7403
7404         * libs/gst/controller/gstinterpolation.c:
7405         When linearly interpolating integer types, round to the nearest int
7406         by adding 0.5. Don't do it for float/double types.
7407         Fixes the failing controller test on my machine, which is somehow
7408         rounding differently than on the buildbots.
7409
7410 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7411
7412         * tools/gst-plot-timeline.py:
7413           Better log parsing (categories can have -). Adjust text vs. lines, so
7414           that they span the same y-range.        
7415
7416 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7417
7418         * docs/random/ensonic/audiobaseclasses.txt:
7419         * docs/random/ensonic/dynlink.txt:
7420         * docs/random/ensonic/profiling.txt:
7421           Save my thoughts.
7422
7423         * docs/random/moving-plugins:
7424           Add note to use g_assert type macros.
7425
7426 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7427
7428         * configure.ac:
7429         * libs/gst/check/Makefile.am:
7430           Add libm check as we use in for plugins.
7431
7432 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7433
7434         * gst/gstbin.c: (gst_bin_continue_func):
7435         Check that the state_cookie hasn't changed since the continue_func
7436         was scheduled. Avoids problems where the state changes back to
7437         something it shouldn't be because it was changed in the meantime.
7438
7439 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7440
7441         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7442         (gst_registry_binary_save_string),
7443         (gst_registry_binary_save_pad_template),
7444         (gst_registry_binary_save_feature),
7445         (gst_registry_binary_save_plugin),
7446         (gst_registry_binary_load_feature),
7447         (gst_registry_binary_load_plugin),
7448         (gst_registry_binary_read_cache):
7449           Fix memory leak. Be less verbose in the log.
7450
7451 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7452
7453         * tests/check/elements/.cvsignore:
7454         Add file to cvsignore as commanded.
7455
7456 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7457
7458         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7459         (mq_dummypad_event), (run_output_order_test):
7460         Use a GStaticMutex to protect all cases where libcheck
7461         fail_if/fail_unless macros might be called from multiple threads
7462         simultaneously to avoid errors like:
7463           "check_pack.c:107: :-1081725400:Bad message type arg"
7464
7465 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7466
7467         * tests/check/pipelines/stress.c: (GST_START_TEST):
7468         Make sure we set the pipeline back to the NULL state before
7469         dropping our final reference.
7470
7471 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7472
7473         * tests/check/elements/tee.c: (GST_START_TEST):
7474         Make the tee stress-test a little less stressful so it doesn't just
7475         time out on slow-machines, and remove a small race when it's starting 
7476         up by adding a get_state() call.
7477
7478 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7479
7480         * gst/gst.c:
7481           Avoid reading registry twice on startup. Fixes #457322.
7482
7483 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7484
7485         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7486         * pkgconfig/gstreamer-check.pc.in:
7487         Substitute the CFLAGS for libcheck into our .pc file too so that
7488         dependent modules will pick it up properly if libcheck is installed
7489         into some other prefix.
7490
7491 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7492
7493         * configure.ac:
7494         Revert the pkg-config check for libcheck, since it pulls in the
7495         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7496         a proper solution, either from the check project, or something else.
7497
7498 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7499
7500         * configure.ac:
7501           Use pkg-config to locate check.
7502
7503 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7504
7505         * gst/gsttaglist.c:
7506           Fix doc syntax.
7507
7508         * gst/gstutils.c:
7509         * gst/gstutils.h:
7510           Add deprecation guards.
7511
7512         * libs/gst/base/gstcollectpads.h:
7513           Don't document object (this is implicitly private).
7514
7515 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7516
7517         * gst/gststructure.c: (gst_structure_parse_value):
7518           When deserialising foo=bar without a type cast, check if it's a
7519           boolean before falling back to a string type, otherwise things like
7520           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7521           because the filtercaps end up having a signed=(string)true field,
7522           which causes problems later when intersection caps.
7523
7524         * tests/check/gst/gststructure.c: (GST_START_TEST):
7525           Add a unit test for this.
7526
7527 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7528
7529         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7530
7531         * libs/gst/controller/Makefile.am:
7532         * libs/gst/controller/gstcontroller.c:
7533         (gst_controlled_property_add_interpolation_control_source),
7534         (gst_controlled_property_new), (gst_controlled_property_free),
7535         (gst_controller_find_controlled_property),
7536         (gst_controller_new_valist), (gst_controller_new_list),
7537         (gst_controller_new), (gst_controller_remove_properties_valist),
7538         (gst_controller_remove_properties_list),
7539         (gst_controller_remove_properties),
7540         (gst_controller_set_property_disabled),
7541         (gst_controller_set_disabled), (gst_controller_set_control_source),
7542         (gst_controller_get_control_source), (gst_controller_get),
7543         (gst_controller_sync_values), (gst_controller_get_value_array),
7544         (_gst_controller_dispose), (gst_controller_get_type),
7545         (gst_controlled_property_set_interpolation_mode),
7546         (gst_controller_set), (gst_controller_set_from_list),
7547         (gst_controller_unset), (gst_controller_unset_all),
7548         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7549         * libs/gst/controller/gstcontroller.h:
7550         * libs/gst/controller/gstcontrollerprivate.h:
7551         * libs/gst/controller/gstcontrolsource.c:
7552         (gst_control_source_class_init), (gst_control_source_init),
7553         (gst_control_source_get_value),
7554         (gst_control_source_get_value_array), (gst_control_source_bind):
7555         * libs/gst/controller/gstcontrolsource.h:
7556         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7557         (gst_object_get_control_source):
7558         * libs/gst/controller/gstinterpolation.c:
7559         (gst_interpolation_control_source_find_control_point_node),
7560         (gst_interpolation_control_source_get_first_value),
7561         (_interpolate_none_get), (interpolate_none_get),
7562         (interpolate_none_get_boolean_value_array),
7563         (interpolate_none_get_enum_value_array),
7564         (interpolate_none_get_string_value_array),
7565         (_interpolate_trigger_get), (interpolate_trigger_get),
7566         (interpolate_trigger_get_boolean_value_array),
7567         (interpolate_trigger_get_enum_value_array),
7568         (interpolate_trigger_get_string_value_array):
7569         * libs/gst/controller/gstinterpolationcontrolsource.c:
7570         (gst_control_point_free), (gst_interpolation_control_source_reset),
7571         (gst_interpolation_control_source_new),
7572         (gst_interpolation_control_source_set_interpolation_mode),
7573         (gst_interpolation_control_source_bind),
7574         (gst_control_point_compare), (gst_control_point_find),
7575         (gst_interpolation_control_source_set_internal),
7576         (gst_interpolation_control_source_set),
7577         (gst_interpolation_control_source_set_from_list),
7578         (gst_interpolation_control_source_unset),
7579         (gst_interpolation_control_source_unset_all),
7580         (gst_interpolation_control_source_get_all),
7581         (gst_interpolation_control_source_get_count),
7582         (gst_interpolation_control_source_init),
7583         (gst_interpolation_control_source_finalize),
7584         (gst_interpolation_control_source_dispose),
7585         (gst_interpolation_control_source_class_init):
7586         * libs/gst/controller/gstinterpolationcontrolsource.h:
7587         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7588         API: Refactor GstController into the core controller which can take
7589         a GstControlSource for providing actual values for timestamps.
7590         Implement a interpolation control source and use this for backward
7591         compatibility, deprecate a bunch of functions that are now handled
7592         by GstControlSource or GstInterpolationControlSource.
7593         Make it possible to disable the controller completely or only for
7594         specific properties. Fixes #450711.
7595         * docs/libs/gstreamer-libs-docs.sgml:
7596         * docs/libs/gstreamer-libs-sections.txt:
7597         * docs/libs/gstreamer-libs.types:
7598         Add new functions and classes to the docs.
7599         * tests/check/libs/controller.c: (GST_START_TEST),
7600         (gst_controller_suite):
7601         * tests/examples/controller/audio-example.c: (main):
7602         Port unit test and example to the new API and add some new
7603         unit tests.
7604
7605 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7606
7607         Patch by: Mark Nauwelaerts <manauw at skynet be>
7608
7609         * plugins/elements/gstmultiqueue.c:
7610         (gst_multi_queue_get_internal_links), (apply_buffer),
7611         (single_queue_overrun_cb), (gst_single_queue_new):
7612         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7613         the pipeline layout can be tracked correctly. Fixes #453732.
7614
7615 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7616
7617         * docs/gst/Makefile.am:
7618         * docs/libs/Makefile.am:
7619         * docs/plugins/Makefile.am:
7620           Simplify --extra-dir as gtkdoc scans recursively.
7621
7622 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7623
7624         * tools/gst-launch.c: (main):
7625         When we got an error, there is no point in waiting for preroll when
7626         shutting down.
7627
7628 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7629
7630         * plugins/elements/gsttee.c: (gst_tee_base_init),
7631         (gst_tee_request_new_pad), (gst_tee_release_pad),
7632         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7633         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7634         (gst_tee_chain):
7635         Be a lot smarter when deciding what srcpad to use for proxying
7636         the buffer_alloc. Also handle pad added/removed when doing so.
7637         Fixes #357959.
7638         Keep track of what pads we already pushed on in case we have pads
7639         added/removed while pushing. Fixes #374639 
7640
7641         * tests/check/Makefile.am:
7642         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7643         (tee_suite):
7644         Added unit test for pad resync.
7645
7646 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7647
7648         * po/nl.po:
7649         * po/sv.po:
7650           Updated translations.
7651
7652 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7653
7654         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7655
7656         * po/LINGUAS:
7657         * po/fi.po:
7658           Added new Finnish translation.
7659
7660 2007-06-28  Wim Taymans  <wim@fluendo.com>
7661
7662         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7663         (single_queue_overrun_cb):
7664         When figuring out when a queue is filled, use our internal time estimate
7665         based on segments, just like check_full does.
7666
7667 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7668
7669         * gst/gstminiobject.c: (gst_mini_object_get_type):
7670           Remove 3 do-nothing methods.
7671
7672 2007-06-27  Wim Taymans  <wim@fluendo.com>
7673
7674         Patch by: Tim Angus <tim at ngus dot net>
7675
7676         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7677         (gst_capsfilter_set_property):
7678         Take a reference instead of a copy when setting "caps".
7679         Fix documentation to clarify this behaviour. Fixes #449414.
7680
7681 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7682
7683         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7684         * gst/gstplugin.c: (gst_plugin_init):
7685         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7686         * gst/gstquery.c: (gst_query_get_type):
7687         * gst/gstregistry.c: (gst_registry_init):
7688         * gst/gsturi.c: (gst_uri_handler_base_init):
7689           Remove empty instance_init() functions to save relocs and lessen the
7690           noise. Remove some of the function prototypes that are doubled by
7691           G_DEFINE_TYPE.
7692           
7693 2007-06-27  Wim Taymans  <wim@fluendo.com>
7694
7695         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7696
7697         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7698         Add peer and direction in the XML serialisation of ghostpads.
7699         Fixes #449226.
7700
7701 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7702
7703         * configure.ac:
7704           Preserve useful information, thanks Tim.
7705
7706 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7707
7708         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7709         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7710         (gst_single_queue_push_one), (gst_multi_queue_loop),
7711         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7712         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7713         (compute_high_id), (gst_single_queue_new):
7714         * plugins/elements/gstmultiqueue.h:
7715         Take the multiqueue lock when updating the fill level so we don't get
7716         confused. 
7717
7718         After applying a buffer or event on the src pad segment, make sure to
7719         call gst_data_queue_limits_changed() to get the data queue to unblock
7720         and check the filled state again.
7721         
7722         Rework the not-linked pad handling so the logic is that not-linked 
7723         pads can push as fast as they like, but only so they never get 
7724         ahead of any linked pads.
7725
7726         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7727         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7728         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7729
7730         Add a test to check that not-linked pads always stay behind
7731         linked pads.
7732
7733         Fixes: #430682
7734
7735 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7736
7737         * docs/random/release:
7738           Some updates to the release procedure.
7739
7740 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7741
7742         * gst/gstelementfactory.c: (__gst_element_details_clear):
7743           Microoptimization that saves stunning 80 bytes.
7744
7745 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7746
7747         * docs/plugins/gstreamer-plugins.args:
7748         * docs/plugins/inspect/plugin-coreelements.xml:
7749         * docs/plugins/inspect/plugin-coreindexers.xml:
7750           Update docs with caps info.
7751
7752 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7753
7754         * po/it.po:
7755           Updated Italian translation.
7756
7757 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7758
7759         * ChangeLog:
7760         * po/vi.po:
7761           Update Vietnamese translations.
7762
7763 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7764
7765         * libs/gst/base/gstbasesink.c:
7766           Remove unused signal enum.
7767
7768 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7769
7770         * docs/gst/gstreamer-sections.txt:
7771         * gst/gstelement.c:
7772         * gst/gstutils.c: (gst_type_register_static_full):
7773         Beef up and include the docs for gst_type_register_static_full and
7774         gst_element_class_set_details_simple and add the API keyword
7775         in the ChangeLog.
7776
7777 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7778
7779         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7780         (update_time_level), (gst_single_queue_push_one),
7781         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7782         (single_queue_overrun_cb), (single_queue_underrun_cb),
7783         (single_queue_check_full):
7784         Fix setting max-* properties after adding queues.
7785         Use IS_FILLED for checking visible items.
7786         Signal overrun if multiple queues overrun.
7787         Add extra debug output.
7788         Patch by: Wim Taymans <wim@fluendo.com>
7789
7790 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7791
7792         * gst/gstelement.c: (gst_element_class_set_details_simple):
7793         * gst/gstelement.h:
7794         * gst/gstutils.c: (gst_type_register_static_full):
7795         * gst/gstutils.h:
7796         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7797         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7798         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7799         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7800         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7801         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7802         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7803         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7804         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7805         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7806         (apply_buffer), (gst_queue_chain):
7807         * plugins/elements/gsttee.c: (gst_tee_base_init):
7808         * plugins/elements/gsttypefindelement.c:
7809         (gst_type_find_element_base_init),
7810         (gst_type_find_element_class_init):
7811           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7812           API: add gst_type_register_static_full
7813           API: add gst_element_class_set_details_simple
7814
7815 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7816
7817         * docs/pwg/advanced-types.xml:
7818           Fix typo in iana.org URI.
7819
7820 2007-06-19  Andy Wingo  <wingo@pobox.com>
7821
7822         * tests/check/pipelines/simple-launch-lines.c
7823         (test_state_change_returns): Enable pull-mode tests now that
7824         basesink has been fixed.
7825
7826         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7827         Changed from gst_base_sink_is_prerolled, reversing the sense of
7828         the return value. Returns FALSE also if the sink is in pull mode,
7829         in which case it needs no preroll.
7830         (gst_base_sink_query, gst_base_sink_change_state): Update for
7831         needs_preroll change.
7832         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7833         chaining up, in which we return SUCCESS directly if we activated
7834         in pull mode instead of ASYNC. Involves countering an async_start
7835         message sent before chaining up; not sure if this is correct, in
7836         an ideal world we only send async-start when activating in push
7837         mode.
7838
7839         * tests/check/pipelines/simple-launch-lines.c
7840         (test_state_change_returns): New test, partially disabled until
7841         basesink is fixed.
7842
7843 2007-06-19  Wim Taymans  <wim@fluendo.com>
7844
7845         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7846         (gst_multi_queue_sink_event):
7847         Fix event leak.
7848
7849 2007-06-19  Wim Taymans  <wim@fluendo.com>
7850
7851         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7852         (gst_bin_change_state_func), (bin_push_state_continue),
7853         (bin_handle_async_start), (bin_handle_async_done),
7854         (gst_bin_handle_message_func):
7855         Move the common code for posting state-change messages into
7856         one function.
7857         Broadcast the state signal after we posted the messages.
7858         Mark the bin as busy when it's doing a state-change.
7859         Make sure async-start/done messages don't interfere with the bin's
7860         state when it's busy.
7861         After the state change, let the bin check which elements completed the
7862         state change while it was busy so that it can update its state.
7863
7864 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7865
7866         * docs/random/release:
7867         Add a note about updating the doap file to the release checklist
7868
7869 2007-06-18  Wim Taymans  <wim@fluendo.com>
7870
7871         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7872         (gst_single_queue_push_one), (gst_multi_queue_chain),
7873         (gst_multi_queue_sink_event):
7874         Make sure we don't reference the buffer/event after we have given away
7875         ownership in the queue.
7876
7877 2007-06-18  Wim Taymans  <wim@fluendo.com>
7878
7879         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7880         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7881         Update queue state _after_ adding the item in the queue because else we
7882         could end up being full without the element added yet.
7883
7884 2007-06-18  Wim Taymans  <wim@fluendo.com>
7885
7886         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7887         (gst_bin_remove_func), (gst_bin_get_state_func),
7888         (gst_bin_element_set_state), (gst_bin_continue_func),
7889         (bin_push_state_continue), (bin_handle_async_start),
7890         (bin_handle_async_done), (gst_bin_handle_message_func):
7891         * gst/gstbin.h:
7892         Immediatly commit the toplevel bin state when receiving an async-done
7893         message. This enables us to avoid spawning a thread to commit the state
7894         in some common cases and it also avoids some races.
7895         Avoid spawning a state thread when adding/removing async elements to a
7896         toplevel bin. Instead we immediatly update the bin state.
7897         Get rid of iterating all the children when getting the state in the bin
7898         because it is now always up-to-date.
7899         Fix bug where locked elements would always return _SUCCESS even it they
7900         returned NO_PREROLL before being locked.
7901         Fix the order of the state_change, async-start/done messages that was
7902         sometimes incorrect.
7903         Mark the state_dirty field as deprecated, we don't need it anymore as we
7904         are always up-to-date.
7905
7906         * gst/gstelement.c: (gst_element_get_state_func),
7907         (gst_element_continue_state):
7908         Small debug inprovements.
7909         Return the previous element state return when nothing is pending instead
7910         of blindly returning SUCCESS.
7911
7912         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7913         (gst_sinks_suite):
7914         Add a whole bunch of new testcases.
7915
7916 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
7917
7918         * po/uk.po:
7919         * po/vi.po:
7920           Update translations.
7921
7922 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
7923
7924         * gst/gstpad.c:
7925         Fix typo in the docs.
7926
7927 2007-06-15  Wim Taymans  <wim@fluendo.com>
7928
7929         * docs/libs/gstreamer-libs-sections.txt:
7930         Add docs for new methods.
7931
7932 2007-06-15  Wim Taymans  <wim@fluendo.com>
7933
7934         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7935         (gst_multi_queue_item_new):
7936         Don't use GSlice because we don't depend on >= 2.10 yet.
7937
7938 2007-06-15  Wim Taymans  <wim@fluendo.com>
7939
7940         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7941         (update_time_level), (apply_segment), (apply_buffer),
7942         (gst_single_queue_push_one), (gst_multi_queue_item_new),
7943         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7944         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7945         (single_queue_underrun_cb), (single_queue_check_full):
7946         Remove debug printf.
7947
7948 2007-06-15  Wim Taymans  <wim@fluendo.com>
7949
7950         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7951         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7952         (gst_data_queue_set_flushing), (gst_data_queue_push),
7953         (gst_data_queue_pop), (gst_data_queue_drop_head),
7954         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7955         * libs/gst/base/gstdataqueue.h:
7956         Various cleanups.
7957         Added methods to get the current levels and to inform the queue that the
7958         'full' limits changed.
7959
7960         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7961         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7962         (gst_single_queue_flush), (update_time_level), (apply_segment),
7963         (apply_buffer), (gst_single_queue_push_one),
7964         (gst_multi_queue_item_steal_object),
7965         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7966         (gst_multi_queue_loop), (gst_multi_queue_chain),
7967         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7968         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7969         (gst_multi_queue_src_query), (single_queue_overrun_cb),
7970         (single_queue_underrun_cb), (single_queue_check_full),
7971         (gst_single_queue_new):
7972         Keep track of time in the queue by measuring the difference between
7973         running_time on input and output. This gives more accurate results and
7974         can compensate for segments correctly.
7975         Make a queue by default only 5 buffers deep. We will now increase the
7976         buffer size depending on the filledness of the other queues.
7977         Factor out commong flush code.
7978         Make sure we don't add additional refcounts to buffers when we can avoid
7979         it.
7980         Propagate GstFlowReturn differently.
7981         Use GSlice for intermediate GstMultiQueueItems.
7982         Keep track of EOS.
7983         Resize queues on over and underruns based on filled level of other
7984         queues.
7985         When checking if the queue is filled, prefer to measure in time if we
7986         can and fall back to bytes when no time is known.
7987
7988         * plugins/elements/gstqueue.c:
7989         Fix return value.
7990
7991 2007-06-15  Wim Taymans  <wim@fluendo.com>
7992
7993         * libs/gst/base/gstbasetransform.c:
7994         (gst_base_transform_sink_event):
7995         Work around the brokenness of the event vmethod in basetransform. Prefer
7996         to return TRUE when the subclass returned FALSE (meaning don't forward
7997         the event). 
7998
7999         * libs/gst/base/gstbasetransform.h:
8000         Clarify the docs.
8001
8002 2007-06-15  Wim Taymans  <wim@fluendo.com>
8003
8004         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8005         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8006         (gst_base_src_default_query), (gst_base_src_get_range),
8007         (gst_base_src_start):
8008         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8009         Improve debugging.
8010
8011 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8012
8013         * docs/pwg/advanced-types.xml:
8014           Added more formats to caps table.
8015
8016 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8017
8018         * tools/gst-launch.c: (main):
8019           Remove crufy code. GOption does not need this workaround.
8020
8021 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8022
8023         * libs/gst/controller/gstcontroller.c:
8024         (gst_controlled_property_set_interpolation_mode):
8025           Fix wrong getter for enums in controller.
8026
8027 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8028
8029         * libs/gst/check/gstcheck.c: (gst_check_init):
8030           Intercept criticals and warnings in the Gst-Phonon log domain, so
8031           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8032           well.
8033         
8034 2007-06-14  Edward Hervey  <edward@fluendo.com>
8035
8036         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8037         Since this file doesn't include "gst.h" it will not go through the
8038         macros that disable GST_LOG if debugging was disabled.
8039
8040 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8041
8042         * libs/gst/check/Makefile.am:
8043         * libs/gst/check/gstcheck.h:
8044         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8045         * pkgconfig/gstreamer-check.pc.in:
8046           Ugly 'fix' for the controller unit test on the p5 bot: in
8047           fail_unless_equals_float() check whether the values are 'almost
8048           equal' by allowing a small absolute error, which should be good
8049           enough for our use cases (normal numbers and values close to 0).
8050           Proper fixage left to floating point arithmetic aficionados.
8051
8052 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8053
8054         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8055         (gst_base_sink_render_object), (gst_base_sink_get_position):
8056           Add two breaks thats where missing.
8057
8058 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8059
8060         * docs/libs/gstreamer-libs-sections.txt:
8061         * libs/gst/check/gstcheck.h:
8062           API: add fail_unless_equals_float() and assert_equals_float().
8063           Add documentation for some of the macros.
8064
8065         * tests/check/libs/controller.c: (GST_START_TEST):
8066           Use newly-added asserts.
8067
8068 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8069
8070         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8071           Show the caps change in the log to help spotting the case of not
8072           exactly matching caps.
8073
8074 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8075
8076         * docs/pwg/building-boiler.xml:
8077           Fix typos, spotted by Thijs Vermeir (#447190).
8078
8079 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8080
8081         * docs/plugins/tmpl/.cvsignore:
8082         Ignore file to keep the buildbots happy
8083
8084 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8085
8086         * docs/plugins/Makefile.am:
8087         * docs/plugins/gstreamer-plugins-docs.sgml:
8088         * docs/plugins/gstreamer-plugins-sections.txt:
8089         Pull fdsink into the docs too.
8090
8091 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8092
8093         * libs/gst/controller/gstinterpolation.c:
8094         Actually use the new functions with min/max checks for the trigger and
8095         none interpolation modes for get() and get_value_array() instead of
8096         just the latter.
8097
8098 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8099
8100         * libs/gst/controller/gstcontroller.c:
8101         (gst_controlled_property_free):
8102         Unset the minimum and maximum GValues when freeing the corresponding
8103         GstControllerProperty struct.
8104
8105 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8106
8107         * libs/gst/controller/gstcontroller.c:
8108         (gst_controlled_property_new):
8109         * libs/gst/controller/gstcontrollerprivate.h:
8110         * libs/gst/controller/gstinterpolation.c:
8111         (gst_controlled_property_find_control_point_node),
8112         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8113         (interpolate_none_get_string_value_array),
8114         (interpolate_trigger_get),
8115         (interpolate_trigger_get_enum_value_array),
8116         (interpolate_trigger_get_string_value_array):
8117         Protect against values larger or smaller than the minimum or maximum
8118         allowed value for the property when using values that can be compared.
8119
8120         Optimize trigger interpolator a bit by taking the last requested value
8121         into account instead of always looping through the complete list.
8122
8123         Fix coding style a bit, everywhere else we use "return foo" instead
8124         of "return (foo)".
8125         
8126         * tests/check/libs/controller.c: (GST_START_TEST),
8127         (gst_controller_suite):
8128         Add unit test for the protection against too large or too small
8129         values.
8130
8131 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8132
8133         * docs/random/slomo/controller.txt:
8134         Add some thoughts about the future of the controller.
8135
8136 2007-06-08  Wim Taymans  <wim@fluendo.com>
8137
8138         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8139         Don't overflow in retimestamping code.
8140
8141 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8142
8143         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8144         Use gst_util_guint64_to_gdouble for conversions.
8145         * win32/common/libgstreamer.def:
8146         Add new exported functions.
8147
8148 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8149
8150         * gst/gstutils.c:
8151           Small docs addition.
8152
8153 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8154
8155         * README:
8156           Remove that test line again.
8157
8158 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8159
8160         * README:
8161           Test commit mail sending.
8162
8163 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8164
8165         * configure.ac:
8166           Fix typo and test commit mail sending.
8167
8168 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8169
8170         * tests/examples/controller/audio-example.c:
8171           Improve comment and test commit mail sending.
8172
8173 2007-06-07  Wim Taymans  <wim@fluendo.com>
8174
8175         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8176         (gst_bin_remove_func), (gst_bin_element_set_state),
8177         (bin_handle_async_start), (bin_handle_async_done),
8178         (gst_bin_handle_message_func):
8179         Add helper function to find messages.
8180         Generate the async-done messages together with the state change
8181         messages.
8182         Small cleanups in handling toplevel bins.
8183
8184 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8185
8186         * libs/gst/base/gstdataqueue.c:
8187         * libs/gst/base/gstdataqueue.h:
8188         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8189         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8190         (gst_multi_queue_sink_event):
8191         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8192           Fix multiqueue leaking buffers and events when downstream or the
8193           queue are flushing. Make refcounting assumptions explicit and
8194           document them (shouldn't break existing code that uses it other than
8195           maybe leak miniobjects, but that already happens anyway). Add unit
8196           test for the most common flushing case. Fixes #423700.
8197           
8198 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8199
8200         * libs/gst/controller/gstcontroller.c:
8201         Clarify docs: The get_all, get_value_array(s) functions
8202         don't modify the GObject properties.
8203
8204 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8205
8206         * libs/gst/controller/gstcontroller.c:
8207         (gst_controlled_property_set_interpolation_mode),
8208         (gst_controlled_property_prepend_default),
8209         (gst_controlled_property_new), (gst_controller_set_unlocked),
8210         (gst_controller_set), (gst_controller_set_from_list),
8211         (gst_controller_unset), (gst_controller_unset_all):
8212         * libs/gst/controller/gstcontrollerprivate.h:
8213         * libs/gst/controller/gstinterpolation.c:
8214         Factor out the 'set' logic into gst_controller_set_unlocked for the
8215         gst_controller_set and gst_controller_set_from_list functions.
8216
8217         To make life of the interpolators easier always add a control point
8218         at timestamp zero with the default value.
8219
8220         In the linear interpolator make things more obvious by better variable
8221         naming (slope).
8222
8223         Implement cubic interpolation mode (by using a natural cubic spline)
8224         and map the quadratic interpolation mode to this too (as quadratic
8225         doesn't make much sense, see discussion on the list).
8226
8227         * tests/check/libs/controller.c: (GST_START_TEST),
8228         (gst_controller_suite):
8229         Add unit test for the cubic interpolation mode and check everywhere
8230         if the interpolation mode could be set as expected.
8231
8232 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8233
8234         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8235           Don't use GLib-2.10 functions, we still depend on
8236           GLib-how-old-is-it-again-2.8.
8237
8238 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8239
8240         * docs/gst/gstreamer-sections.txt:
8241         * gst/Makefile.am:
8242         * gst/gst.c:
8243         * gst/gst.h:
8244         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8245         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8246         (_gst_param_fraction_values_cmp),
8247         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8248         * gst/gstparamspecs.h:
8249         * gst/gstvalue.c:
8250         * tests/check/Makefile.am:
8251         * tests/check/gst/.cvsignore:
8252         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8253         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8254         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8255         (GST_START_TEST), (gst_param_spec_suite):
8256           API: add GstParamSpecFraction, so elements can have fraction
8257           properties without lots of painful string parsing (#444648).
8258
8259 2007-06-05  Wim Taymans  <wim@fluendo.com>
8260
8261         * gst/gstobject.c: (gst_object_class_init):
8262         Fix signal signature.
8263
8264         * gst/gstsegment.c:
8265         Add small clarification in the api docs.
8266
8267         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8268         States are protected with object lock.
8269
8270 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8271
8272         * AUTHORS:
8273         I should probably be listed as an author by now.
8274
8275         * docs/random/release:
8276         Update the release doc
8277
8278 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8279
8280         * gst/gstvalue.c:
8281           Make docs for gst_value_compare() mention return enums that
8282           actually exist.
8283
8284 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8285
8286         * configure.ac:
8287           Back to CVS
8288
8289 === release 0.10.13 ===
8290
8291 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8292
8293         * configure.ac:
8294           releasing 0.10.13, "With or without you"
8295
8296 2007-05-25  Wim Taymans  <wim@fluendo.com>
8297
8298         * gst/gstbin.c: (bin_handle_async_done):
8299         Make sure that the child bin stops after completing the async state
8300         change so that the parent can continue the state change to PLAYING.
8301         Fixes #441159.
8302
8303 2007-05-25  Wim Taymans  <wim@fluendo.com>
8304
8305         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8306         (unref_data), (gst_collect_pads_remove_pad),
8307         (gst_collect_pads_check_pads):
8308         Use additional refcounting to avoid crashes when dynamically adding and
8309         removing pads. Fixes #420206.
8310
8311 2007-05-24  Wim Taymans  <wim@fluendo.com>
8312
8313         * tools/gst-launch.c: (event_loop):
8314         When buffering goes from a two digit to a single digit number, make sure
8315         to remove the old second digit by writing a blank over it.
8316
8317 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8318
8319         * libs/gst/base/gstdataqueue.c:
8320           Eliminate tabs and trailing comma in enum list; fix some typos.
8321
8322 2007-05-24  Wim Taymans  <wim@fluendo.com>
8323
8324         * tests/check/gst/gstbin.c: (GST_START_TEST):
8325         Allow refcount of 3 and 4 because some state thread might still be busy
8326         with it.
8327
8328 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8329
8330         * plugins/elements/Makefile.am:
8331         * plugins/elements/gstmultiqueue.h:
8332         * plugins/elements/gstqueue.h:
8333           These are not installed headers, no need for padding.
8334
8335 2007-05-24  Wim Taymans  <wim@fluendo.com>
8336
8337         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8338         (gst_bin_continue_func):
8339         Enable latency for next release.
8340         Restore STATE_LOCK around recalc_state that was left out during the
8341         rewrite and could result in racy behaviour when _get_state and
8342         recalc_state are run concurrently. See #440463.
8343
8344 2007-05-23  Wim Taymans  <wim@fluendo.com>
8345
8346         * tests/check/gst/gstsystemclock.c: (store_callback),
8347         (GST_START_TEST):
8348         Improve test_async_order to also work when both timers are already
8349         expired when we get scheduled to check it.
8350
8351 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8352
8353         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8354         (gst_bin_set_property), (gst_bin_get_property),
8355         (gst_bin_remove_func), (gst_bin_handle_message_func):
8356         * gst/gstbin.h:
8357           'private' is a c++ keyword, let's not use that in header files,
8358           otherwise c++ compilers will throw a tantrum.
8359
8360 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8361
8362         * plugins/elements/gstelements.c:
8363         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8364         (gst_file_sink_get_current_offset):
8365         * plugins/indexers/gstindexers.c: (plugin_init):
8366           Use #ifdef for HAVE_XYZ for consistency.
8367
8368         * tests/check/Makefile.am:
8369         * tests/check/elements/.cvsignore:
8370         * tests/check/elements/filesink.c: (setup_filesink),
8371         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8372           Add some unit tests for filesink.
8373
8374 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8375
8376         Patch by: Mark Nauwelaerts <manauw at skynet be>
8377
8378         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8379         (gst_file_sink_query), (gst_file_sink_do_seek),
8380         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8381         * plugins/elements/gstfilesink.h:
8382           Fix position reporting; rename data_written member to current_pos to
8383           reflect its real meaning (fixes #412648).
8384
8385 2007-05-22  Edward Hervey  <edward@fluendo.com>
8386
8387         * docs/gst/gstreamer-sections.txt:
8388         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8389         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8390         (gst_bin_remove_func), (gst_bin_handle_message_func):
8391         * gst/gstbin.h:
8392         Add a property for bins that handle the state change of their childs.
8393         Fixes #435880
8394
8395 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8396
8397         * libs/gst/controller/gstinterpolation.c:
8398         Use an array of the correct type when using _get_value_array with
8399         linear interpolation.
8400
8401 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8402
8403         * gst/gstelement.c (gst_element_requires_clock,
8404           gst_element_provides_clock, gst_element_request_pad,
8405           gst_element_class_set_details, gst_element_class_set_details_simple,
8406           gst_element_default_send_event, gst_element_abort_state,
8407           gst_element_continue_state, gst_element_set_state,
8408           gst_element_set_state_func, iterator_activate_fold_with_resync):
8409         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8410           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8411           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8412           gst_pad_get_range, gst_pad_pull_range):
8413         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8414           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8415           GstPadActivateModeFunction, GstPadChainFunction,
8416           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8417           GstPadFixateCapsFunction, GstPadTemplate):
8418         * gst/gstpipeline.c (gst_pipeline_change_state,
8419           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8420           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8421           gst_pipeline_get_delay):
8422           Whitespace and docs fixes.
8423
8424 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8425
8426         * libs/gst/controller/gstinterpolation.c:
8427         (interpolate_trigger_get_enum_value_array),
8428         (interpolate_trigger_get_string_value_array):
8429         Add support for retrieving value arrays when using the trigger
8430         interpolation mode. 
8431
8432 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8433
8434         * libs/gst/controller/gstcontroller.c:
8435         (gst_controller_get_value_array):
8436         * libs/gst/controller/gstcontroller.h:
8437         Clarify the docs of gst_controller_get_value_array(): The array where
8438         the values should be written to must be allocated as there seems to be
8439         no way to get the size of a random GType. This doesn't change any
8440         behaviour. Also fix some typos all over the place and remove an unused,
8441         commented function that is not necessary as g_object_set() could be
8442         used instead.
8443         * tests/check/libs/controller.c: (GST_START_TEST),
8444         (gst_controller_suite):
8445         Add unit test for gst_controller_get_value_array().
8446
8447 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8448
8449         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8450
8451         Disable part of the gst_buffer_try_new_and_alloc test, because
8452         it can happily succeed on 64-bit systems where there's more address
8453         space available.
8454
8455 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8456
8457         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8458         Add unit test for the improved caps checking from bug #421543.
8459
8460 2007-05-21  Wim Taymans  <wim@fluendo.com>
8461
8462         * docs/design/part-synchronisation.txt:
8463         Small addition.
8464
8465         * gst/gstbin.c: (gst_bin_query):
8466         * plugins/elements/gstqueue.c: (apply_segment):
8467         Improve debugging.
8468
8469         * gst/gstmessage.h:
8470         Improve docs.
8471
8472 2007-05-21  Wim Taymans  <wim@fluendo.com>
8473
8474         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8475         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8476         (gst_pad_configure_src):
8477         Added simple version of improved caps checking. It was previously
8478         assumed that a setcaps function would check the validity of the caps but
8479         people prefer us to check caps against the template automatically. 
8480         Fixes #421543.
8481
8482 2007-05-21  Wim Taymans  <wim@fluendo.com>
8483
8484         * libs/gst/base/gstbasetransform.h:
8485         Fix macro for locking/unlocking the transform lock.
8486
8487 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8488
8489         * docs/plugins/tmpl/.cvsignore:
8490           Ignore more.
8491
8492 2007-05-18  Edward Hervey  <edward@fluendo.com>
8493
8494         * plugins/elements/gstqueue.c: (gst_queue_loop):
8495         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8496         for the subtle art of warning a potentially blocking thread that it
8497         should check the source pad return value, and relay the information
8498         upstream.
8499
8500 2007-05-18  Edward Hervey  <edward@fluendo.com>
8501
8502         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8503         Release the queue lock !
8504
8505 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8506
8507         * docs/libs/gstreamer-libs-sections.txt:
8508         Add the two new controller functions to the appropiate places.
8509
8510 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8511
8512         reviewed by: Stefan Kost <ensonic@users.sf.net>
8513
8514         * libs/gst/controller/gstcontroller.c:
8515         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8516         (_gst_controller_get_property), (_gst_controller_set_property),
8517         (_gst_controller_init), (_gst_controller_class_init):
8518         * libs/gst/controller/gstcontroller.h:
8519         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8520         (gst_object_get_control_rate), (gst_object_set_control_rate):
8521         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8522         Add API that provides sync suggestion timestamps for elements that
8523         call gst_object_sync_values() from which those elements can subdivide
8524         their processing loop to get the best results for the controlled
8525         properties. For now it just suggests last_sync + control_rate as
8526         new timestamp but this will be improved in the future.
8527
8528         While doing that change the control-rate property to a GstClockTime
8529         from guint and change it's meaning from samples to nanoseconds as
8530         the GstController doesn't know anything about sampling rate. Strictly
8531         speaking this breaks ABI but as the control-rate property didn't do
8532         anything in the past and as such couldn't be used this should be no
8533         problem.        
8534
8535 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8536
8537         reviewed by: Stefan Kost <ensonic@users.sf.net>
8538
8539         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8540         (gst_controller_unset_all):
8541         * libs/gst/controller/gstcontrollerprivate.h:
8542         * libs/gst/controller/gstinterpolation.c:
8543         (gst_controlled_property_find_control_point_node):
8544         Save last synced value from the list to continue searching from there
8545         in future syncs. This speeds everything up a bit.
8546         
8547 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8548
8549         reviewed by: Stefan Kost <ensonic@users.sf.net>
8550
8551         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8552         (gst_control_point_find), (gst_controlled_property_new),
8553         (gst_control_point_free), (gst_controlled_property_free),
8554         (gst_controller_set), (gst_controller_set_from_list),
8555         (gst_controller_unset), (gst_controller_unset_all),
8556         (gst_controller_sync_values):
8557         * libs/gst/controller/gstcontroller.h:
8558         * libs/gst/controller/gstcontrollerprivate.h:
8559         * libs/gst/controller/gstinterpolation.c:
8560         (gst_controlled_property_find_control_point_node),
8561         (interpolate_none_get), (interpolate_trigger_get):
8562         Add a new private GstControlPoint struct which "inherits" from
8563         GstTimedValue to allow different interpolators to store internal
8564         values next to each control point. From the outside everything is
8565         still a GstControlPoint so we don't loose binary compatibility.
8566         Also fixup all the GValue handling to not leak GValues or list nodes.
8567         * tests/check/libs/controller.c: (GST_START_TEST):
8568         Free the list nodes and GValues in the controller_misc test.
8569
8570 2007-05-17  Edward Hervey  <edward@fluendo.com>
8571
8572         * gst/gstsegment.c:
8573         Small doc fix.
8574
8575 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8576
8577         * gst/gstplugin.c: (gst_plugin_load_file):
8578           If we fail to load a plugin because of unresolved symbols or missing
8579           libraries and spew a warning to stderr, we may just as well mention
8580           which plugin it was that failed to load.
8581
8582 2007-05-13  David Schleef  <ds@schleef.org>
8583
8584         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8585           handles the case when ENABLE_GTK_DOC is false, and installs
8586           the prebuilt documentation.  So gtk-doc subdirs are 
8587           unconditionally enabled.  Fixes: #349099.
8588
8589 2007-05-13  David Schleef  <ds@schleef.org>
8590
8591         * gst/gstutils.h: Reword some documentation.
8592
8593 2007-05-12  David Schleef  <ds@schleef.org>
8594
8595         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8596           do anything with the passed "module" parameter, so remove it.
8597           Allows removal of additional vestigal code.
8598
8599 2007-05-12  David Schleef  <ds@schleef.org>
8600
8601         * gst/gstplugin.c:
8602           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8603           Switch to using g_stat() because it's more portable.
8604
8605 2007-05-12  David Schleef  <ds@schleef.org>
8606
8607         * gst/gst.c:
8608           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8609           parsing for embedded systems.
8610         * gst/gstelementfactory.c:
8611           Allow gst_element_register() to be called with plugin==NULL.
8612           Did nobody notice that static elements were broken?
8613
8614 2007-05-12  Wim Taymans  <wim@fluendo.com>
8615
8616         * tools/gst-launch.c: (event_loop):
8617         Give more interesting info when buffering starts and stops.
8618         Fix case where buffering starts but we fail to update the buffering flag
8619         because the target state is not PLAYING.
8620
8621 2007-05-12  Wim Taymans  <wim@fluendo.com>
8622
8623         * plugins/elements/gstqueue.c: (gst_queue_init),
8624         (gst_queue_finalize), (update_time_level), (apply_segment),
8625         (apply_buffer), (gst_queue_locked_flush),
8626         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8627         (gst_queue_handle_sink_event), (gst_queue_chain),
8628         (gst_queue_push_one), (gst_queue_loop):
8629         * plugins/elements/gstqueue.h:
8630         Refactor an cleanup queue a bit.
8631         Do better time level calculations that also work when the srcpad is not
8632         yet running.
8633         Remove some unneeded debug lines.
8634
8635         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8636         Added testcase for time level measurement.
8637         Try to make some stuff more racefree.
8638
8639 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8640
8641         * gst/gsturi.c: (gst_element_make_from_uri):
8642           Don't leak plugin feature.
8643
8644         * tests/check/Makefile.am:
8645         * tests/check/gst/.cvsignore:
8646         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8647           Add brain-dead unit test.
8648
8649 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8650
8651         Patch by: Jeroen Wouters <woutersj at gmail com>
8652
8653         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8654           Treat protocol strings in a case-insensitive way (#437563).
8655
8656 2007-05-11  Michael Smith <msmith@fluendo.com>
8657
8658         * gst/gstplugin.c: (gst_plugin_load_file):
8659         * gst/gstregistry.c: (gst_registry_scan_path_level):
8660           Don't print a g_warning for any failure to load a shared object.
8661           Instead, push this down into gstplugin.c, and warn _only_ if we
8662           failed to open the module (i.e. failure to link).
8663           Avoids warnings on normal, working, non-plugin .so files.
8664
8665 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8666
8667         * gst/gstplugin.c (gst_plugin_load_file):
8668         * gst/gstregistry.c (GST_CAT_DEFAULT,
8669           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8670           Print a g_warning if there was an error when loading a plugins during
8671           registry scan. The shuld help beginners starting with gst-plugin
8672           template.
8673
8674 2007-05-10  Wim Taymans  <wim@fluendo.com>
8675
8676         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8677         (update_time_level), (gst_queue_locked_flush),
8678         (gst_queue_handle_sink_event), (gst_queue_chain),
8679         (gst_queue_push_one), (gst_queue_loop):
8680         * plugins/elements/gstqueue.h:
8681         Be smarter when calculating the current amount of data in the queue by
8682         measuring the difference between start and end timestamps (in running
8683         time) inside the queue. Fixes #432876.
8684         API: GstQueue::pushing to notify elements that we are pushing data again
8685         since the running signal is rather broken for this purpose.
8686
8687 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8688
8689         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8690           gst_queue_base_init, gst_queue_init):
8691           use GST_BOILERPLATE
8692
8693 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8694
8695         * win32/common/libgstreamer.def:
8696         Add new exported functions.
8697         * win32/vs6/grammar.dsp:
8698         Use grammar pre-generated files.
8699
8700 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8701
8702         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8703
8704         * gst/Makefile.am:
8705         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8706         * gst/gstparse.h:
8707         * gst/gstutils.c: (gst_parse_bin_from_description):
8708         * gst/gstutils.h:
8709           Maintain API and ABI when --disable-parse is used. Now that
8710           we have an appropriate error code, we can just return NULL and the
8711           appropriate error when gst_parse_launch() is used despite it having
8712           been disabled (#342564).
8713
8714         * tests/check/Makefile.am:
8715         * tests/check/pipelines/.cvsignore:
8716         * tests/check/pipelines/parse-disabled.c:
8717           Make sure these functions exist and return NULL plus a GError when
8718           --disable-parse is used.
8719
8720 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8721
8722         * tests/benchmarks/complexity.c: (main):
8723         * tests/benchmarks/mass-elements.c: (main):
8724           Set a good example and don't leak messages.
8725
8726 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8727
8728         * docs/gst/Makefile.am:
8729         * docs/libs/Makefile.am:
8730           Correct fixxrefs options.
8731
8732         * docs/plugins/Makefile.am:
8733         * docs/plugins/gstreamer-plugins-docs.sgml:
8734         * docs/plugins/gstreamer-plugins-sections.txt:
8735         * plugins/elements/Makefile.am:
8736         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8737         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8738           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8739           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8740           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8741           _GstCapsFilterClass, trans_class):
8742         * plugins/elements/gstelements.c (name, rank, type, _elements):
8743         * plugins/elements/gstidentity.c
8744           (gst_identity_check_imperfect_timestamp,
8745           gst_identity_check_imperfect_offset):
8746           Document capsfilter and add doc-blurb to identity.
8747
8748 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8749
8750         * libs/gst/controller/gstcontroller.c:
8751         (gst_controlled_property_set_interpolation_mode):
8752         * libs/gst/controller/gstinterpolation.c:
8753           Don't crash if someone tries to set an interpolation mode that
8754           is invalid or that isn't supported yet. Fixes #422295.
8755
8756         * tests/check/libs/controller.c: (GST_START_TEST),
8757         (gst_controller_suite):
8758           Add a test case for the above.
8759
8760 2007-05-03  Edward Hervey  <edward@fluendo.com>
8761
8762         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8763         Properly set the last_stop position on GstSegment. This will only happen
8764         if there is a buffer to push out.
8765
8766 2007-05-03  Wim Taymans  <wim@fluendo.com>
8767
8768         * libs/gst/base/gstbasetransform.c:
8769         (gst_base_transform_buffer_alloc):
8770         always_in_place does not mean that the sink and source caps are the
8771         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8772
8773 2007-05-03  Wim Taymans  <wim@fluendo.com>
8774
8775         * docs/libs/gstreamer-libs-sections.txt:
8776         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8777         (gst_base_src_default_query), (gst_base_src_get_range):
8778         * libs/gst/base/gstbasesrc.h:
8779         API: gst_base_src_query_latency(). Added method so that subclasses can
8780         easily get the latency values of the base source class.
8781
8782 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8783
8784         * tools/gst-inspect.c (print_implementation_info):
8785         Remove 0.8 cruft.
8786
8787 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8788
8789         * tools/Makefile.am:
8790         * tools/gst-launch.1.in:
8791           Don't create a customised man page based on the host architecture,
8792           describe the default registry path generically. That way the man
8793           page is the same for all architectures and packagers have one
8794           multilib issue less to deal with. Fixes #434926.
8795
8796 2007-05-02  Wim Taymans  <wim@fluendo.com>
8797
8798         * gst/gstpad.c:
8799         Fix documentation as spotted by rg on IRC. 
8800
8801 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8802
8803         * gst/gstutils.c:
8804           Improve docs for gst_element_{link,unlink}.
8805
8806 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8807
8808         * docs/design/part-events.txt:
8809         * docs/design/part-overview.txt:
8810         * gst/gstevent.c:
8811         * gst/gsturi.c:
8812         * gst/gsturi.h:
8813         * libs/gst/base/gstbasesink.c:
8814           Typo fixes; minor docs addition.
8815
8816 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8817
8818         * docs/gst/gstreamer-sections.txt:
8819         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8820         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8821         * gst/gsturi.h:
8822         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8823         or src that supports a given URI protocol exists.
8824
8825 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8826
8827         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8828         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8829         Set the location to NULL if "file://" is set as URI. Otherwise
8830         some random previous URI would still be set if "file://" is
8831         set on an already used filesink/filesrc.
8832
8833 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8834
8835         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8836         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8837         Special case the "file://" URI as as this is used by some
8838         applications to test with gst_element_make_from_uri if there's
8839         an element that supports the URI protocol.
8840         Also move the g_path_is_absolute() check for the location part
8841         of the URI to also check this for "file://localhost/bla" URIs.
8842
8843 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8844
8845         * docs/gst/gstreamer-sections.txt:
8846         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8847         * gst/gstbuffer.h:
8848         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8849         (gst_buffer_suite):
8850           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8851
8852 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8853
8854         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8855         (gst_registry_binary_load_pad_template),
8856         (gst_registry_binary_load_plugin),
8857         (gst_registry_binary_read_cache):
8858         * gst/gstregistrybinary.h:
8859           Implement no-mmap alternative for registry reading. Do code cleanups.
8860           Add more comments about avoiding strdups for all text data. Comments
8861           welcome.
8862
8863 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8864
8865         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8866           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8867           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8868           Comment structs and reformat to fix the build (that stuff should go
8869           into a priv. header).
8870
8871 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8872
8873         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8874         (gst_registry_binary_load_feature):
8875         * gst/gstregistrybinary.h:
8876           Refactor so that we can implement multiple features. Add support for
8877           TypeFindFactory features.
8878
8879 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8880
8881         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8882
8883         * configure.ac:
8884           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8885
8886 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8887
8888         * gst/gstbin.c: (gst_bin_element_set_state),
8889         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8890         (bin_handle_async_done), (gst_bin_handle_message_func):
8891           Fix build with --gst-disable-gst-debug
8892
8893 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8894
8895         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8896           Make sure streaming has finished before calling the ::stop() vfunc,
8897           since that vfunc might clear state which is being used in the
8898           streaming thread. This fixes a race that caused crashes in
8899           audioresample when shutting down a pipeline (#420106).
8900
8901 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8902
8903         * docs/gst/gstreamer-sections.txt:
8904           That was one byte missing.
8905
8906 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8907
8908         * configure.ac:
8909         * docs/gst/gstreamer-sections.txt:
8910         * gst/Makefile.am:
8911         * gst/gstconfig.h.in:
8912         * gst/gstobject.c: (gst_object_class_init),
8913         (gst_signal_object_class_init):
8914         * gst/gstobject.h:
8915           2nd attempt to have a xml-less build as a joined effort of #413123
8916           and #421480.
8917
8918 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8919
8920         * docs/design/draft-tagreading.txt:
8921           Added open issues/thoughts to draft.
8922
8923 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8924
8925         * gst/parse/grammar.tab.pre.c:
8926         * gst/parse/grammar.tab.pre.h:
8927         * gst/parse/lex._gst_parse_yy.pre.c:
8928         Update the prebuild parser sources.
8929
8930 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8931
8932         * gst/parse/Makefile.am:
8933         And now fix the building of the flex sources. Now everything should
8934         work as expected.
8935
8936 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8937
8938         * gst/parse/Makefile.am:
8939         Now hopefully fix the build failures by setting proper rule
8940         dependencies and moving instead of copying.
8941
8942 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8943
8944         * tests/benchmarks/complexity.gnuplot:
8945         * tests/benchmarks/complexity.scm:
8946         * tests/benchmarks/mass-elements.gnuplot:
8947         * tests/benchmarks/mass-elements.scm:
8948           Total licensification.
8949
8950 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8951
8952         * gst/parse/Makefile.am:
8953           Fix the build by correcting the rule that gave wrong files to flex.
8954
8955 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8956
8957         * tests/benchmarks/complexity.c:
8958         * tests/benchmarks/mass-elements.c:
8959           Change licence to LGPL as granted by Benjamin and Andy.
8960
8961 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8962
8963         * gst/parse/Makefile.am:
8964         Add correct grammar.tab.h dependency if compiling without new enough
8965         flex. Fixes #431150.
8966
8967 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8968
8969         * gst/parse/Makefile.am:
8970         Fix typo and use outdated sources if the flex/bison sources are newer
8971         than the pregenerated ones but flex is too old. Print a warning in
8972         that case. This should fix the build on the build bot.
8973
8974 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8975
8976         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8977         * gst/parse/Makefile.am:
8978         * gst/parse/grammar.y:
8979         * gst/parse/parse.l:
8980         Make the parser reentrant and recursively callable. This requires flex
8981         >= 2.5.31, for older versions pregenerated sources are used as we
8982         can't bump the build dependency. Finally fixes #349180.
8983
8984         * gst/gstparse.c: (gst_parse_launch):
8985         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8986         now anyway.
8987
8988         * docs/gst/Makefile.am:
8989         * docs/gst/Makefile.am:
8990         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8991         (__gst_parse_strfree), (__gst_parse_link_new),
8992         (__gst_parse_link_free), (__gst_parse_chain_new),
8993         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8994         (gst_parse_element_set), (gst_parse_free_link),
8995         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8996         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8997         (_gst_parse_launch):
8998         * gst/parse/grammar.tab.pre.h:
8999         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9000         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9001         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9002         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9003         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9004         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9005         (_gst_parse_yypop_buffer_state),
9006         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9007         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9008         (yy_fatal_error), (_gst_parse_yyget_extra),
9009         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9010         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9011         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9012         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9013         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9014         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9015         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9016         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9017         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9018         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9019         (_gst_parse_yyfree):
9020         If the installed flex version is too old use pre-generated parser
9021         sources. These pre-generated parser sources are always updated when
9022         the actual flex/bison sources change but require everybody who wants
9023         to change something in the parser to have flex >= 2.5.31 installed.
9024
9025 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9026
9027         * common/m4/gst-gettext.m4:
9028         * gst/gst-i18n-lib.h:
9029           Make --disable-nls to work
9030
9031 2007-04-17  Wim Taymans  <wim@fluendo.com>
9032
9033         * gst/gstconfig.h.in:
9034         Revert previous change that broke the build.
9035
9036 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9037
9038         * configure.ac:
9039         * gst/Makefile.am:
9040         * gst/gstconfig.h.in:
9041           Drop libxml2 dependency when building with 
9042           --enable-binary-registry --disable-loadsave
9043
9044 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9045
9046         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9047         (gst_registry_binary_read_cache):
9048         * gst/gstregistrybinary.h:
9049           Remove unnecessary <sys/mman.h> include which broke the win32 build
9050           with MingW; move includes from header file to .c file, even if the
9051           header file isn't installed; use g_strerror() where UTF-8 strings
9052           are expected, such as in GST_DEBUG messages.
9053
9054 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9055
9056         * docs/libs/gstreamer-libs-sections.txt:
9057         Remove bogus addition for API I didn't end up keeping.
9058
9059         * libs/gst/base/gstbasesrc.h:
9060         Mention Since: 0.10.13 in the documentation.
9061
9062         Add the API keyword to the previous ChangeLog entry.
9063
9064 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9065
9066         * docs/libs/gstreamer-libs-sections.txt:
9067         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9068         (gst_base_src_default_prepare_seek_segment),
9069         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9070         * libs/gst/base/gstbasesrc.h:
9071         Allow basesrc derived classes to execute seeks in other formats
9072         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9073         to prepare the GstSegment in any format that their perform_seek method
9074         will be able to understand. The default implementation provides the
9075         old behaviour of attempting to convert the seek offsets to the 
9076         configured native format.
9077
9078         API: basesrc::prepare_seek_segment vmethod.
9079
9080 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9081
9082         * gst/gstelement.c: (gst_element_get_state_func):
9083         Don't output the same debug statement twice.
9084
9085         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9086         (gst_adapter_peek), (gst_adapter_take_buffer):
9087         Optimise the case where we have buffers at the head of the queue that
9088         can be joined quickly (because they're contiguous sub-buffers) by
9089         merging them together rather than copying data out into new memory.
9090
9091         * gst/parse/grammar.y:
9092         * tests/check/pipelines/parse-launch.c:
9093         Fix a leak in an error path for parse_launch, and add a check 
9094         for it to the testsuite.
9095
9096 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9097
9098         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9099           Don't deadlock when releasing a pad - gst_pad_set_active may try
9100           and take the multiqueue lock too.
9101
9102 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9103
9104         * gst/gsterror.c: (_gst_core_errors_init):
9105         * gst/gsterror.h:
9106           API: add GST_CORE_ERROR_DISABLED (#392804).
9107
9108 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9109
9110         * docs/faq/gst-uninstalled:
9111           don't get empty paths on the PATH variables
9112         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9113           Don't format for the uncommon terminal width of 84 characters.
9114
9115 2007-04-06  Wim Taymans  <wim@fluendo.com>
9116
9117         * gst/gstpipeline.c: (reset_stream_time),
9118         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9119         Only try to select a different pipeline clock when we went back to
9120         PAUSED and not when we merely got flushed.
9121
9122 2007-04-05  Michael Smith  <msmith@fluendo.com>
9123
9124         * tools/gst-launch.1.in:
9125           fractions are better supported in gstreamer than ractions, so
9126           suggest using those.
9127
9128 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9129
9130         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9131
9132         * po/LINGUAS:
9133         * po/da.po:
9134           Added Danish translation.
9135
9136 2007-04-05  Wim Taymans  <wim@fluendo.com>
9137
9138         * libs/gst/base/gstbasesink.c:
9139         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9140         Fix leak caused when refusing newsegment after EOS.
9141
9142         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9143         (gst_fake_sink_init), (gst_fake_sink_set_property),
9144         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9145         (gst_fake_sink_render), (gst_fake_sink_change_state):
9146         * plugins/elements/gstfakesink.h:
9147         Add num-buffers property to make the element generate EOS after a
9148         configurable amount of buffers.
9149         API: fakesink::num-buffers property.
9150
9151         * tests/check/elements/fakesink.c: (GST_START_TEST),
9152         (fakesink_suite):
9153         Fix GstBus leak in test.
9154         Test for fakesink num-buffers.
9155
9156 2007-04-05  Wim Taymans  <wim@fluendo.com>
9157
9158         * libs/gst/base/gstbasesink.c:
9159         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9160         (gst_base_sink_change_state):
9161         Don't accept anything after an EOS, return UNEXPECTED instead.
9162
9163         * tests/check/elements/fakesink.c: (GST_START_TEST),
9164         (fakesink_suite):
9165         Unit test for new EOS behaviour.
9166
9167 2007-04-05  Wim Taymans  <wim@fluendo.com>
9168
9169         * gst/gstelement.c: (gst_element_get_request_pad):
9170         Make padtemplates also work when they don't contain %s or %d.
9171
9172 2007-04-05  Wim Taymans  <wim@fluendo.com>
9173
9174         * docs/gst/gstreamer-sections.txt:
9175         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9176         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9177         * gst/gstclock.h:
9178         Improve _adjust_unlocked() so that it overflows less.
9179         Add gst_clock_unadjust_unlocked to convert from external time to
9180         internal time based on calibration.
9181         Add some more debug.
9182         API: GstClock::gst_clock_unadjust_unlocked()
9183
9184 2007-04-03  Wim Taymans  <wim@fluendo.com>
9185
9186         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9187
9188         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9189         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9190         when releasing sink pad. Fixes #425400.
9191
9192 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9193
9194         * docs/random/ensonic/dynlink.txt:
9195           More work on proposal for new core api.
9196
9197         * docs/libs/gstreamer-libs-sections.txt:
9198         * libs/gst/base/gstbasetransform.h:
9199           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9200           
9201         * libs/gst/controller/gstcontroller.c:
9202         (on_object_controlled_property_changed),
9203         (gst_controller_sync_values),
9204         (gst_controller_set_interpolation_mode):
9205         * libs/gst/controller/gstcontroller.h:
9206           Less verbose logging add docs for unimplemented parts and correctly
9207           return when using unavailable parts.
9208
9209 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9210
9211         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9212         Move all the debug to the CLOCK category, and associate it with
9213         the clock object.
9214
9215 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9216
9217         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9218         Make take_buffer a bit quicker by removing redundant checks
9219         caused by calling gst_adapter_take.
9220
9221 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9222
9223         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9224           Don't leak GCond.
9225
9226         * tests/check/Makefile.am:
9227         * tests/check/elements/.cvsignore:
9228         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9229         (GST_START_TEST), (multiqueue_suite):
9230           Add some dead simple unit tests for the 'multiqueue' element
9231           (some bits don't work yet and are disabled for now).
9232
9233 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9234
9235         * gst/gstelement.c: (gst_element_get_request_pad),
9236         (gst_element_class_get_request_pad_template):
9237           Make gst_element_get_request_pad() create request pads only for
9238           request pad templates and not for, say, sometimes pad templates.
9239
9240 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9241
9242         * docs/design/draft-klass.txt:
9243           Add example that needs more thinking.
9244         
9245         * docs/design/draft-missing-plugins.txt:
9246           More thoughts about wrapper plugins.
9247         
9248         * docs/random/ensonic/embedded.txt:
9249         * docs/random/ensonic/profiling.txt:
9250           More design work.
9251
9252 2007-03-25  Wim Taymans  <wim@fluendo.com>
9253
9254         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9255         (gst_base_src_loop):
9256         Only push the segment events in the PLAYING state for live sources.
9257
9258 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9259
9260         * gst/gstpipeline.c: (gst_pipeline_change_state):
9261         Modify the clock distribution path in PAUSED->PLAYING so that we 
9262         never attempt to choose a new clock unless we're actually leaving
9263         the PAUSED state for the first time. This prevents choosing a
9264         different clock when the state_change gets called for a 2nd time due
9265         to some element doing an async state change.
9266
9267 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9268
9269         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9270         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9271         (gst_pad_chain_unchecked), (gst_pad_push):
9272         Revert last commit. This needs some more thoughts.
9273
9274 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9275
9276         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9277         (gst_pad_chain_unchecked), (gst_pad_push):
9278         Check in set_caps if the caps are compatible with the pad and remove
9279         two functions that are redundant now. Fixes #421543.
9280
9281 2007-03-22  Wim Taymans  <wim@fluendo.com>
9282
9283         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9284         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9285         Unref some more to make valgrind happy.
9286
9287 2007-03-22  Wim Taymans  <wim@fluendo.com>
9288
9289         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9290         (gst_system_clock_id_wait_jitter),
9291         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9292         Fix anoying regression that survived a few releases. When adding an
9293         async entry while blocking on a sync entry, the sync entry will unblock
9294         but still be busy, so it should continue to wait instead of returning
9295         _BUSY to the app.
9296         Add some comments here and there.
9297
9298         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9299         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9300         Add testcase for this.
9301
9302 2007-03-22  Wim Taymans  <wim@fluendo.com>
9303
9304         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9305         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9306         WRONG_STATE and can silently pause the task. All other cases should
9307         error out.
9308
9309 2007-03-22  Wim Taymans  <wim@fluendo.com>
9310
9311         Patch by: Ville Syrjala <syrjala at sci dot fi>
9312
9313         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9314         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9315         Improve debugging.
9316
9317 2007-03-21  Michael Smith  <msmith@fluendo.com>
9318
9319         * docs/pwg/advanced-types.xml:
9320           Fix some errors in the typefinding docs pointed out on irc.
9321
9322 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9323
9324         * libs/gst/base/gstbasesrc.c:
9325         Clarify FIXME comment in the face of having added unlock_stop()
9326
9327 2007-03-21  Wim Taymans  <wim@fluendo.com>
9328
9329         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9330         Prepare for release where we warn against possible app breakage in the
9331         case of live pipelines along with an env var to enable/disable live
9332         preroll mode (GST_COMPAT=[no-]live-preroll).
9333
9334 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9335
9336         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9337         So we should use correct constants for checking for None offset.
9338
9339 2007-03-20  Wim Taymans  <wim@fluendo.com>
9340
9341         * docs/design/part-block.txt:
9342         Mention the fact that the newly switched element should be set to at
9343         least PAUSED.
9344
9345 2007-03-20  Wim Taymans  <wim@fluendo.com>
9346
9347         * gst/gst.c:
9348         Fix compilation with registry disabled as spotted by Saur.
9349
9350 2007-03-20  Wim Taymans  <wim@fluendo.com>
9351
9352         Patch by: Olivier Crete <tester at tester dot ca>
9353
9354         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9355         Look at the pending state too when syncing the element state to the
9356         parent. Fixes #420133.
9357
9358 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9359
9360         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9361         (gst_base_sink_change_state):
9362         * libs/gst/base/gstbasesink.h:
9363         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9364         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9365         (gst_base_src_deactivate):
9366         * libs/gst/base/gstbasesrc.h:
9367         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9368         for sub-classes to correctly clear any state they set trying to
9369         unlock, such as clearing out unlock commands from a command fd.
9370         API: basesrc::unlock_stop
9371         API: basesink::unlock_stop
9372
9373         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9374         (gst_fd_sink_render), (gst_fd_sink_unlock),
9375         (gst_fd_sink_unlock_stop):
9376         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9377         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9378         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9379
9380         Implement unlock_stop in fdsrc and fdsink.
9381         Implement seeking in fdsrc when a seekable fd is passed, as in
9382         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9383
9384 2007-03-19  Wim Taymans  <wim@fluendo.com>
9385
9386         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9387
9388         * gst/gstelement.c: (gst_element_class_init):
9389         Fix pad-added and pad-removed signal signatures so that the pad type is
9390         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9391
9392 2007-03-19  Wim Taymans  <wim@fluendo.com>
9393
9394         * docs/gst/gstreamer-sections.txt:
9395         Add new element field and method.
9396
9397         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9398         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9399         (gst_bin_recalc_state), (gst_bin_get_state_func),
9400         (gst_bin_element_set_state), (gst_bin_change_state_func),
9401         (gst_bin_continue_func), (bin_bus_handler),
9402         (bin_push_state_continue), (bin_handle_async_start),
9403         (bin_handle_async_done), (gst_bin_handle_message_func):
9404         Make async state changes a bit smarter by using new ASYNC_START and
9405         ASYNC_DONE messages. This reduces the number of times we run the state
9406         recalculation thread.
9407         Don't change state of element with a pending ASYNC_START message.
9408         Deprecate STATE_DIRTY messages.
9409         
9410         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9411         (gst_element_get_state_func), (gst_element_continue_state),
9412         (gst_element_lost_state), (gst_element_set_state_func),
9413         (gst_element_change_state):
9414         * gst/gstelement.h:
9415         Keep the state that was last set by the app in a new element field.
9416         Don't allow state changes when handling an element event.
9417         Post ASYNC_START and ASYNC_DONE messages.
9418         Change lost_state so that we go to PAUSED and wait for the parent to set
9419         us to PLAYING again (so latency calculation can be performed)
9420         Export gst_element_change_state() method so that subclasses can use it.
9421         API: gst_element_change_state()
9422         API: GST_STATE_TARGET
9423
9424         * gst/gstpipeline.c: (gst_pipeline_class_init),
9425         (reset_stream_time), (gst_pipeline_change_state),
9426         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9427         Using the new ASYNC_START message we can reset the base_time when
9428         needed. This can then be used to implement base_time redistribution in
9429         flushing seeks so that we can remove the explicit seek handling.
9430         Perform latency query and configuration when going to PLAYING.
9431
9432         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9433         (gst_base_sink_query), (gst_base_sink_change_state):
9434         Post new ASYNC_START/ASYNC_DONE messages.
9435
9436         * tests/check/generic/sinks.c: (GST_START_TEST):
9437         Fix test because the bin will not set the async element to PLAYING right
9438         away.
9439
9440         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9441         Make the message check a little stronger.
9442         Handle ASYNC messages.
9443
9444         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9445         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9446         Expect ASYNC_DONE messages.
9447
9448 2007-03-19  Wim Taymans  <wim@fluendo.com>
9449
9450         * docs/gst/gstreamer-sections.txt:
9451         * gst/gstmessage.c: (gst_message_new_async_start),
9452         (gst_message_new_async_done), (gst_message_parse_info),
9453         (gst_message_parse_async_start):
9454         * gst/gstmessage.h:
9455         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9456         support.
9457
9458 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9459
9460         * tools/gst-inspect.c:
9461         (print_plugin_automatic_install_info_codecs):
9462           Now that we don't check for the 'Codec' keyword any longer in the
9463           klass, we shouldn't spew a warning if the klass isn't a decoder or
9464           encoder (since it might be a Source/Network, for example).
9465
9466 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9467
9468         * tools/gst-inspect.c:
9469         (print_plugin_automatic_install_info_codecs):
9470           Don't require decoder/demuxer/depayloader elements or
9471           encoder/muxer/paylader elements to have 'Codec' as part of their
9472           factory class string when introspecting a plugin's capabilities.
9473           draft-klass.txt mentions that it might be removed in future, and
9474           flump3dec doesn't have it as part of its class string, so chances
9475           are others might also not have it.
9476
9477 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9478
9479         * po/af.po:
9480         * po/az.po:
9481         * po/bg.po:
9482         * po/ca.po:
9483         * po/cs.po:
9484         * po/de.po:
9485         * po/en_GB.po:
9486         * po/fr.po:
9487         * po/it.po:
9488         * po/nb.po:
9489         * po/nl.po:
9490         * po/ru.po:
9491         * po/sq.po:
9492         * po/sr.po:
9493         * po/sv.po:
9494         * po/tr.po:
9495         * po/uk.po:
9496         * po/vi.po:
9497         * po/zh_CN.po:
9498         * po/zh_TW.po:
9499           Update translations from translation project
9500
9501 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9502
9503         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9504         (gst_child_proxy_set_property):
9505           Invert precondition check to be alike the ones in the mimiced gobject
9506           api.
9507
9508 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9509
9510         * docs/design/draft-tagreading.txt:
9511         * docs/random/ensonic/audiobaseclasses.txt:
9512           Do some Architect work.
9513
9514         * gst/gstobject.c: (gst_object_set_name):
9515           Add a WARNING.
9516
9517         * gst/gstpad.c:
9518           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9519
9520 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9521
9522         * gst/gstsystemclock.c: (gst_system_clock_init),
9523         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9524         Defer starting the async system clock thread until the first async
9525         wait is scheduled. Fixes #414986.
9526
9527 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9528
9529         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9530         (gst_single_queue_free):
9531           Fix small leak (free GstSingleQueue structure too, not only contents).
9532
9533 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9534
9535         * gst/gstbin.c:(gst_bin_add):
9536         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9537         * win32/common/libgstbase.def:
9538         * win32/common/libgstreamer.def:
9539         Add new exported functions.
9540
9541 2007-03-09  Wim Taymans  <wim@fluendo.com>
9542
9543         * docs/plugins/gstreamer-plugins-sections.txt:
9544         Fix GstTee docs.
9545
9546 2007-03-09  Wim Taymans  <wim@fluendo.com>
9547
9548         * docs/gst/gstreamer-sections.txt:
9549         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9550         * gst/gstbuffer.h:
9551         Add metadata copy functions. Fixes #393099.
9552         API: gst_buffer_copy_metadata()
9553
9554         * gst/gstutils.c: (gst_buffer_stamp):
9555         * libs/gst/base/gstbasetransform.c:
9556         (gst_base_transform_prepare_output_buffer):
9557         Use new metadata copy functions.
9558
9559 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9560
9561         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9562         (gst_identity_init), (gst_identity_check_perfect),
9563         (gst_identity_check_imperfect_timestamp),
9564         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9565         (gst_identity_set_property), (gst_identity_get_property):
9566         * plugins/elements/gstidentity.h:
9567         Separate out check-imperfect-timestamp and check-imperfect-offset.
9568         Put back check-perfect as it was to keep compatibility.
9569
9570 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9571
9572         * gst/gstelement.c: (gst_element_dispose):
9573         There's no need to warn if VOID_PENDING is not NONE here, as
9574         long as the state is NULL it's ok, and that's checked immediately
9575         above.
9576
9577 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9578
9579         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9580         Fix check for perfect stream to ignore buffers with -1 
9581         offsets/offset ends when checking data contiguity.
9582
9583 2007-03-08  Wim Taymans  <wim@fluendo.com>
9584
9585         * tools/gst-launch.c: (event_loop):
9586         Print INFO messages.
9587
9588 2007-03-08  Wim Taymans  <wim@fluendo.com>
9589
9590         * libs/gst/base/gstbasetransform.c:
9591         (gst_base_transform_sink_eventfunc),
9592         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9593         (gst_base_transform_activate):
9594         * libs/gst/base/gstbasetransform.h:
9595         Add support for dropping buffers with custom GstFlowReturn.
9596         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9597         buffers or dropped buffers.
9598
9599         * docs/libs/gstreamer-libs-sections.txt:
9600         docs for new custom return code.
9601
9602         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9603         Use drop support in base class to implement drop-probability.
9604
9605 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9606
9607         * gst/gst.c: (load_plugin_func):
9608         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9609         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9610         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9611           Remove newlines at end of debug log strings.
9612
9613 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9614
9615         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9616         Only post bus message at max, once per buffer received.
9617
9618 2007-03-07  Wim Taymans  <wim@fluendo.com>
9619
9620         * docs/design/Makefile.am:
9621         * docs/design/part-synchronisation.txt:
9622         Add doc about synchronisation
9623
9624         * docs/design/draft-latency.txt:
9625         * docs/design/part-TODO.txt:
9626         * docs/design/part-clocks.txt:
9627         * docs/design/part-events.txt:
9628         * docs/design/part-gstbus.txt:
9629         * docs/design/part-gstpipeline.txt:
9630         * docs/design/part-live-source.txt:
9631         * docs/design/part-messages.txt:
9632         * docs/design/part-overview.txt:
9633         * docs/design/part-streams.txt:
9634         * docs/design/part-trickmodes.txt:
9635         Documentation updates.
9636
9637 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9638
9639         * gstreamer.doap:
9640         Update the doap file.
9641
9642 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9643
9644         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9645         Rename non-perfect to imperfect for Mike and for the sanctity of the
9646         language.
9647         Also make sure bus message gets emitted for data-incontiguities.
9648
9649 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9650
9651         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9652         (gst_identity_start):
9653         * plugins/elements/gstidentity.h:
9654         Emit bus message if check-perfect is true and we encounter a
9655         non-perfect stream between 2 consecutive buffers.
9656         Fixes #415394.
9657
9658 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9659
9660         * configure.ac:
9661         Back to CVS
9662
9663 === release 0.10.12 ===
9664
9665 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9666
9667         * configure.ac:
9668           releasing 0.10.12, "Inevitable Demise"
9669
9670 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9671
9672         * configure.ac:
9673          Version 0.10.11.2 (0.10.12 pre-release)
9674          Bump libtool versioning.
9675
9676 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9677
9678         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9679           Log flow-names and not numbers.
9680
9681 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9682
9683         * configure.ac:
9684           Convert to new AG_GST style.
9685
9686 2007-02-28  Wim Taymans  <wim@fluendo.com>
9687
9688         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9689         Don't unref query twice.
9690
9691 2007-02-28  Wim Taymans  <wim@fluendo.com>
9692
9693         * gst/gstvalue.c: (gst_value_transform_object_string),
9694         (_gst_value_initialize):
9695         Implement GstObject -> string transform so we print object names
9696         when serializing GValues containing GstObjects.
9697
9698 2007-02-28  Wim Taymans  <wim@fluendo.com>
9699
9700         * docs/gst/gstreamer-sections.txt:
9701         Add new stuff to docs.
9702
9703 2007-02-28  Wim Taymans  <wim@fluendo.com>
9704
9705         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9706         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9707         (gst_base_sink_change_state):
9708         Improve latency query code.
9709         Don't leak latency events.
9710
9711         * tests/check/gst/gstbin.c: (GST_START_TEST):
9712         Improve debugging.
9713
9714 2007-02-28  Wim Taymans  <wim@fluendo.com>
9715
9716         * gst/gstelement.c: (gst_element_message_full),
9717         (gst_element_get_state_func):
9718         * gst/gstelement.h:
9719         Improve docs a little. Added Since: for new macro.
9720
9721         * gst/gstobject.c: (gst_object_sink):
9722         * gst/gstpipeline.c: (gst_pipeline_change_state),
9723         (gst_pipeline_set_new_stream_time):
9724         * gst/gstpipeline.h:
9725         Improve debugging and docs.
9726
9727         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9728         Improve debugging.
9729
9730 2007-02-28  Wim Taymans  <wim@fluendo.com>
9731
9732         * gst/gstelement.c: (gst_element_message_full),
9733         (gst_element_set_locked_state), (gst_element_get_state_func),
9734         (gst_element_change_state):
9735         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9736         Documentation updates.
9737         Small code cleanups.
9738
9739         * gst/gstmessage.c: (gst_message_new_info),
9740         (gst_message_parse_info):
9741         * gst/gstmessage.h:
9742         API: gst_message_new_info()
9743         API: gst_message_parse_info()
9744         Add INFO message create and parse code.
9745
9746 2007-02-28  Wim Taymans  <wim@fluendo.com>
9747
9748         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9749         (bin_query_latency_done):
9750         Also report the live parameter of a latency query.
9751
9752 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9753
9754         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9755           Copy the current generic/states example from -base and adapt so
9756           we can use the exact same code everywhere.
9757           Check a STATES_IGNORE_ELEMENTS env var which can be used
9758           to ignore certain element factories for this test, which is
9759           what is being done in -base
9760         * tests/check/Makefile.am:
9761           Mention this environment variable.
9762
9763 2007-02-27  Wim Taymans  <wim@fluendo.com>
9764
9765         * docs/gst/gstreamer-sections.txt:
9766         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9767         (gst_bus_timed_pop), (gst_bus_pop):
9768         * gst/gstbus.h:
9769         API: gst_bus_timed_pop()
9770         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9771         message to arrive on the bus.
9772
9773         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9774         (gst_bus_suite):
9775         Two unit tests for new _timed_pop() function.
9776
9777 2007-02-23  Wim Taymans  <wim@fluendo.com>
9778
9779         * gst/gstpipeline.c: (gst_pipeline_change_state),
9780         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9781         Don't ref a NULL clock in _provide_clock_func().
9782         Don't allow an INVALID delay.
9783         Don't try to calculate base_time with an invalid start_time.
9784         Also distribute and notify a NULL clock when it was selected.
9785
9786         * tools/gst-launch.c: (event_loop):
9787         Don't crash when a NULL clock was selected in the pipeline.
9788
9789 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9790
9791         * docs/design/Makefile.am:
9792         * docs/design/draft-missing-plugins.txt:
9793         * docs/random/draft-missing-plugins.txt:
9794           Some small updates: update plugin system identifier prefix
9795           ('gstreamer.net' to 'gstreamer'), mention our new install
9796           API in libgstbaseutils rather than libgimme-codec, add
9797           reference to the online docs.
9798
9799 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9800
9801         * win32/common/config.h:
9802           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9803           use moap cl ci to only check in what is mentioned in the ChangeLog.
9804
9805 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9806
9807         * docs/gst/gstreamer-sections.txt:
9808         * gst/gstelement.h:
9809           Fix up documentation to link to the correct GstGError section.
9810           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9811
9812 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9813
9814         * tools/gst-launch.c: (event_loop):
9815           Make sure that we actually show the important message part of a
9816           warning message.
9817           No need to check if the gerror is not NULL to free; first of all
9818           g_free accepts NULL; and second the default error handler would
9819           segfault if gerror was NULL.
9820
9821 2007-02-21  Wim Taymans  <wim@fluendo.com>
9822
9823         * docs/gst/gstreamer-sections.txt:
9824         Removed docs as well.
9825
9826 2007-02-21  Wim Taymans  <wim@fluendo.com>
9827
9828         * gst/gstmessage.c: (gst_message_parse_duration):
9829         * gst/gstmessage.h:
9830         Remove new messages for release.
9831
9832 2007-02-20  Wim Taymans  <wim@fluendo.com>
9833
9834         * docs/design/part-gstghostpad.txt:
9835         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9836         (gst_ghost_pad_new_full):
9837         Make the ghostpad a parent of the internal pad again for better backward
9838         compatibility. Don't write code that relies on this however.
9839
9840         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9841         (gst_pad_link_check_hierarchy):
9842         Require that parents should be GstElements in the hierarchy check.
9843
9844 2007-02-20  Wim Taymans  <wim@fluendo.com>
9845
9846         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9847         (gst_bin_change_state_func), (bin_query_min_max_init),
9848         (bin_query_latency_fold), (bin_query_latency_done),
9849         (gst_bin_query):
9850         Improve debug info.
9851         Implement latency query.
9852
9853 2007-02-20  Wim Taymans  <wim@fluendo.com>
9854
9855         * docs/design/part-gstghostpad.txt:
9856         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9857         (gst_ghost_pad_internal_do_activate_push),
9858         (gst_ghost_pad_internal_do_activate_pull),
9859         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9860         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9861         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9862         Do not set the internal pad as a parent anymore so we can avoid
9863         hierarchy linking errors when the ghostpad has no parent yet. This also
9864         fixes failed activation because of unlinked internal pads, which in
9865         turn fixes the impossible case where you have to activate a pad before
9866         you can add it to a running element.
9867         Also fix the docs.
9868
9869         * gst/gstpad.c: (pre_activate), (post_activate),
9870         (gst_pad_set_active), (gst_pad_activate_pull),
9871         (gst_pad_activate_push), (gst_pad_check_pull_range):
9872         Add some more debug info.
9873         Mark activation mode in pre_activate so that we don't try to activate in
9874         endless loops. Fixes #385084.
9875
9876 2007-02-19  Wim Taymans  <wim@fluendo.com>
9877
9878         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9879         (gst_base_transform_check_get_range):
9880         Implement a checkgetrange function instead of relying on the default
9881         core behaviour that assumes we can operate in pull mode if we have a
9882         getrange function. First step at fixing #385084.
9883
9884 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9885
9886         * gst/gstchildproxy.h:
9887         * libs/gst/base/gstbasesink.h:
9888         * libs/gst/base/gstbasesrc.h:
9889         * libs/gst/base/gstbasetransform.h:
9890         More docs coverage and some ChangeLog surgery (add missing names)
9891
9892 2007-02-15  Wim Taymans  <wim@fluendo.com>
9893
9894         * docs/design/part-TODO.txt:
9895         * docs/design/part-activation.txt:
9896         * docs/design/part-block.txt:
9897         * docs/design/part-buffering.txt:
9898         * docs/design/part-clocks.txt:
9899         * docs/design/part-element-source.txt:
9900         * docs/design/part-events.txt:
9901         * docs/design/part-gstbin.txt:
9902         * docs/design/part-gstbus.txt:
9903         * docs/design/part-gstpipeline.txt:
9904         * docs/design/part-live-source.txt:
9905         * docs/design/part-messages.txt:
9906         * docs/design/part-overview.txt:
9907         * docs/design/part-qos.txt:
9908         * docs/design/part-query.txt:
9909         * docs/design/part-states.txt:
9910         * docs/design/part-trickmodes.txt:
9911         Some doc updates. Start renaming from stream_time to running_time where
9912         it was used wrongly.
9913
9914 2007-02-15  Wim Taymans  <wim@fluendo.com>
9915
9916         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9917         Answer LATENCY query.
9918
9919 2007-02-15  Wim Taymans  <wim@fluendo.com>
9920
9921         * tests/check/gst/gstevent.c: (event_probe), (test_event),
9922         (GST_START_TEST):
9923         Improve debugging.
9924
9925 2007-02-15  Wim Taymans  <wim@fluendo.com>
9926
9927         * gst/gstpad.c: (gst_pad_get_internal_links_default),
9928         (gst_pad_dispatcher):
9929         Improve debugging of default pad dispatcher and query functions.
9930
9931 2007-02-15  Wim Taymans  <wim@fluendo.com>
9932
9933         * docs/gst/gstreamer-sections.txt:
9934         Remove old unused method.
9935
9936 2007-02-13  Wim Taymans  <wim@fluendo.com>
9937
9938         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9939         Fix check
9940
9941 2007-02-13  Wim Taymans  <wim@fluendo.com>
9942
9943         * docs/design/part-seeking.txt:
9944         Some small update.
9945
9946         * gst/gstsegment.c: (gst_segment_set_seek):
9947         Revert old bogus change that should make seeking work again.
9948
9949 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9950
9951         * docs/random/ensonic/dynlink.txt:
9952         * docs/random/ensonic/interfaces.txt:
9953         * docs/random/ensonic/receipies.txt:
9954           Possible dynamic reconnection api, plus some type fixes the other two
9955           docs.
9956
9957 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
9958
9959         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9960         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9961         Also check for an absolute path following file:// in the filesrc
9962         element. Remove redundant check and call g_path_is_absolute() on the
9963         unescaped location.
9964
9965 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9966
9967         * docs/design/draft-klass.txt:
9968           Add existing category analysis.
9969           
9970         * gst/gstcaps.c:
9971           Fix doc example, framerate is a fraction.
9972
9973 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9974
9975         * configure.ac:
9976         * docs/gst/Makefile.am:
9977         * docs/gst/gstreamer-sections.txt:
9978         * docs/libs/Makefile.am:
9979           Erm, forgot a bunch of --extra-dir.
9980
9981 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9982
9983         * configure.ac:
9984         * docs/gst/Makefile.am:
9985         * docs/libs/Makefile.am:
9986         * docs/plugins/Makefile.am:
9987           Add crossreferences to glib/gobject docs.
9988
9989 2007-02-12  Wim Taymans  <wim@fluendo.com>
9990
9991         * docs/design/draft-latency.txt:
9992         Small update.
9993
9994         * docs/libs/gstreamer-libs-sections.txt:
9995         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9996         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9997         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9998         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9999         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10000         (gst_base_sink_get_position), (gst_base_sink_query),
10001         (gst_base_sink_change_state):
10002         * libs/gst/base/gstbasesink.h:
10003         API: gst_base_sink_query_latency() to let subclasses query the upstream
10004         latency.
10005         API: gst_base_sink_get_latency() to let subclasses query the configured
10006         latency in the sink.
10007         Implement query and set latency.
10008         Update some docs.
10009         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10010         don't continue preroll when we are flushing. Fixes #405284.
10011
10012         * tests/check/pipelines/stress.c: (change_state_timeout),
10013         (quit_timeout), (GST_START_TEST), (stress_suite):
10014         Test for #405284.
10015
10016 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10017
10018         Patch by: René Stadler <mail at renestadler de>
10019
10020         * docs/gst/gstreamer-sections.txt:
10021         * gst/gsttaglist.c: (_gst_tag_initialize):
10022         * gst/gsttaglist.h:
10023           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10024
10025 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10026
10027         * docs/libs/Makefile.am:
10028           Fix path to core docs.
10029
10030         * gst/gstbin.c: (gst_bin_get_by_interface),
10031         (gst_bin_iterate_all_by_interface):
10032           Refix docs by also renaming 'interface' to 'iface' in implementation.
10033
10034         * docs/gst/gstreamer-sections.txt:
10035         * gst/gstcaps.c:
10036         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10037         * gst/gstchildproxy.h:
10038         * gst/gstelementfactory.c:
10039         * gst/gstpadtemplate.h:
10040         * libs/gst/controller/gstcontroller.c:
10041         (gst_controlled_property_new):
10042           Document more.
10043
10044 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10045
10046         * gst/gstbin.h:(gst_bin_get_by_interface),
10047         (gst_bin_iterate_all_by_interface):
10048         Replace interface parameter name by iface as interface is 
10049         a reserved keyword in Visual Studio for C++ projects so it removes
10050         a build error for application developpers using VS.
10051         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10052         Fix a bug on Windows in uri format check. Now the prefix checked
10053         is file:// and next we check if the path after file:// is absolute.
10054         * win32/common/libgstbase.def:
10055         * win32/common/libgstdataprotocol.def:
10056         * win32/common/libgstgstreamer.def:
10057         Add new exported functions.
10058
10059 2007-02-09  Andy Wingo  <wingo@pobox.com>
10060
10061         * tests/check/pipelines/simple-launch-lines.c
10062         (simple_launch_lines_suite, test_tee): Disable tee test until I
10063         have time to fix it :-(
10064
10065         * tests/check/Makefile.am (noinst_HEADERS): 
10066         * tests/check/libs/libsabi.c: 
10067         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10068         * tests/check/gst/gstabi.c: 
10069         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10070
10071         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10072         tests for push and pull tee behavior.
10073
10074         * plugins/elements/gsttee.h: 
10075         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10076         mark as deprecated as well as unimplemented. It was a crack idea.
10077         Add support for tee operating in pull mode, off by default.
10078
10079         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10080         normal-case logs down to LOG, raise errors to WARNING.
10081         (gst_registry_xml_read_cache): Don't log before calling a function
10082         that logs.
10083
10084         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10085         exit (registry finalize).
10086         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10087         DEBUG log when we emit signals that people don't even have the
10088         chance to connect to.
10089         (gst_registry_scan_path_level): Less logging in the normal case.
10090
10091 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10092
10093         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10094
10095         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10096         Correctly generate EOS for non-seekable files. We don't have a total
10097         length for them and would get an unexpected end of file if we only
10098         special-cased for regular files. (Fixes: #404569)
10099
10100 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10101
10102         * tests/check/elements/filesrc.c: (GST_START_TEST),
10103         (filesrc_suite):
10104         Add unit test for the GstURIHandler interface in filesrc. This also
10105         tests the newly added file://localhost/foo/bar support.
10106
10107 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10108
10109         * gst/gstelementfactory.h:
10110           The klass string is not a hierarchy. Add reference to the design doc
10111           for more information and common types.
10112
10113 2007-02-02  Wim Taymans  <wim@fluendo.com>
10114
10115         * gst/gstquery.c: (gst_query_new_latency):
10116         Remove old structure field.
10117
10118 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10119
10120         * tools/gst-launch.1.in:
10121           Give example for network streaming (#351998)
10122
10123 2007-02-02  Wim Taymans  <wim@fluendo.com>
10124
10125         * docs/gst/gstreamer-sections.txt:
10126         Add docs for new methods.
10127
10128         * gst/gstevent.c: (gst_event_new_latency),
10129         (gst_event_parse_latency):
10130         * gst/gstevent.h:
10131         Add new LATENCY event to configure latency in a pipeline.
10132         API: gst_event_new_latency
10133         API: gst_event_parse_latency
10134
10135         * gst/gstmessage.c: (gst_message_new_buffering),
10136         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10137         (gst_message_new_latency), (gst_message_parse_buffering),
10138         (gst_message_parse_lost_preroll):
10139         * gst/gstmessage.h:
10140         Added messages used in draft-latency.
10141         API: gst_message_new_lost_preroll
10142         API: gst_message_parse_lost_preroll
10143         API: gst_message_new_prerolled
10144         API: gst_message_new_latency
10145
10146         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10147         (gst_query_parse_latency):
10148         * gst/gstquery.h:
10149         Implemented new latency query as in design doc.
10150         API: gst_query_new_latency
10151         API: gst_query_set_latency
10152         API: gst_query_parse_latency
10153
10154 2007-02-02  Wim Taymans  <wim@fluendo.com>
10155
10156         * docs/design/draft-latency.txt:
10157         Slight redesign to allow for dynamic latency adjustments.
10158
10159         * docs/design/part-negotiation.txt:
10160         Fix some typos.
10161
10162 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10163
10164         reviewed by: Wim Taymans <wim@fluendo.com>
10165
10166         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10167         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10168         Allow file://localhost/foo/bar URLs and correctly fail for every other
10169         hostname that one sets. This was gnomevfssrc is linked for those if
10170         installed as it can handle it (#403172)
10171
10172 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10173
10174         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10175
10176         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10177         (unref_data), (gst_collect_pads_add_pad_full):
10178         * libs/gst/base/gstcollectpads.h:
10179         Don't put the previously added destroy notify in the GstCollectData
10180         struct as all it's padding is already used and we don't want to break
10181         ABI. Instead put in the pad's GObject data for now. This should be
10182         cleaned up for 0.11 (#402393).
10183
10184 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10185
10186         reviewed by: Wim Taymans <wim@fluendo.com>
10187
10188         * docs/libs/gstreamer-libs-sections.txt:
10189         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10190         (unref_data), (gst_collect_pads_add_pad),
10191         (gst_collect_pads_add_pad_full):
10192         * libs/gst/base/gstcollectpads.h:
10193         API: Add function to specify a destroy notification for custom
10194         GstCollectData when adding new pads in GstCollectPads (#402393).
10195
10196 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10197
10198         * po/sv.po:
10199           Update Swedish translation (#378255).
10200
10201 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10202
10203         * docs/design/draft-klass.txt:
10204           Fix the previous change, this is a list of categories and not a hierarchy.
10205
10206 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10207
10208         * docs/design/draft-klass.txt:
10209           Add info about how to get a list of used classes.
10210
10211 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10212
10213         * plugins/elements/gsttypefindelement.c:
10214         (gst_type_find_element_chain_do_typefinding),
10215         (gst_type_find_element_change_state):
10216           Don't leak found caps in chain function (no idea why that never
10217           showed up as a leak anywhere).
10218
10219 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10220
10221         * gst/gstplugin.h:
10222           Fix and expand GstPluginDesc API docs.
10223
10224 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10225
10226         * gst/gstcaps.c:
10227         * gst/gstelementfactory.c:
10228         * gst/gstpadtemplate.h:
10229           api doc fixes
10230
10231         * libs/gst/controller/gstcontroller.c:
10232         (gst_controlled_property_new):
10233         * tests/examples/controller/audio-example.c:
10234           comment fixes
10235
10236 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10237
10238         * configure.ac:
10239           comment about refining the xml deps
10240
10241         * docs/manuals.mak:
10242           comments about moving away from jade for docs
10243         
10244         * gst/gst.c:
10245           recommit the ifdefs to use the binary registry
10246         
10247         * gst/gstbin.c: (gst_bin_change_state_func):
10248           this break is obsolete
10249
10250         * gst/gstelementfactory.h:
10251           better GST_ELEMENT_DETAILS docs, add comment about translation
10252
10253         * gst/gstinfo.h:
10254           remove eol slash
10255
10256         * gst/gstobject.c: (gst_signal_object_get_type):
10257           add G_UNLIKELY as usual
10258
10259         * gst/gstpad.c: (gst_pad_event_default):
10260           add fall trhu comment
10261
10262         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10263         (gst_registry_binary_initialize_magic),
10264         (gst_registry_binary_save_string),
10265         (gst_registry_binary_save_pad_template),
10266         (gst_registry_binary_save_feature),
10267         (gst_registry_binary_save_plugin),
10268         (gst_registry_binary_write_cache),
10269         (gst_registry_binary_check_magic),
10270         (gst_registry_binary_load_pad_template),
10271         (gst_registry_binary_load_feature),
10272         (gst_registry_binary_load_plugin),
10273         (gst_registry_binary_read_cache):
10274           comment typo and formatting
10275
10276         * gst/gstutils.c: (gst_element_state_get_name),
10277         (gst_element_state_change_return_get_name):
10278           remove obsolete breaks
10279
10280         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10281           add FIXME 0.11 and remove cpp comment
10282
10283 2007-01-29  Edward Hervey  <edward@fluendo.com>
10284
10285         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10286         Fix print statement in an even more portable way.
10287
10288 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10289
10290         * docs/gst/gstreamer-sections.txt:
10291         * gst/gstutils.h:
10292           API: add GST_ROUND_DOWN_* macros (#401781).
10293
10294 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10295
10296         * docs/gst/gstreamer.types.in:
10297         * gst/gstregistry.c: (gst_registry_class_init):
10298           Document registry signals and make gtk-doc pick them up (#401381).
10299
10300 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10301
10302         * docs/pwg/building-testapp.xml:
10303           Add some audioconverts and audioresample to the pipeline, and some
10304           more comments and error handling.
10305
10306 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10307
10308         * docs/manual/manual.xml:
10309         * docs/pwg/pwg.xml:
10310           Fix typo (#400987).
10311
10312 2007-01-26  Wim Taymans  <wim@fluendo.com>
10313
10314         * gst/gstcaps.c: (gst_static_caps_get):
10315         Init caps flags too.
10316
10317 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10318
10319         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10320
10321         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10322         If not using mmap'ed files try to seek to the end instead of the
10323         start to determine whether we can seek at all. This fixes the case
10324         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10325         seeks for everything afterwards fail. Fixes #400656
10326
10327 2007-01-25  Wim Taymans  <wim@fluendo.com>
10328
10329         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10330         Add some refcount debugging.
10331         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10332         in multiple streaming threads.
10333
10334 2007-01-25  Wim Taymans  <wim@fluendo.com>
10335
10336         Patch by: David Schleef <ds at schleef dot org>
10337
10338         * docs/libs/gstreamer-libs-sections.txt:
10339         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10340         * libs/gst/base/gstadapter.h:
10341         API: gst_adapter_copy() that can reduce the amount of memcpy when
10342         getting data from the adapter. Fixes #388201.
10343
10344 2007-01-25  Edward Hervey  <edward@fluendo.com>
10345
10346         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10347         In print statements, "%x" is for guint. Fixes build on macosx.
10348
10349 2007-01-24  Edward Hervey  <edward@fluendo.com>
10350
10351         * plugins/elements/gstmultiqueue.c:
10352         (gst_multi_queue_loop):
10353         Small fix.
10354         (single_queue_overrun_cb), (single_queue_underrun_cb),
10355         (single_queue_check_full), (gst_single_queue_new):
10356         Implement single queue growth system.
10357         This uses the extra-size properties, and will grow single queues by
10358         that much if one goes full whereas there are others empty. This is
10359         called extra-mode in the code.
10360         When a single queue's levels go back below the initial max-size
10361         limits, it is no longer in extra-mode. This is to ensure we don't
10362         consume too much memory.
10363         Fixes #399875
10364
10365 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10366
10367         * gst/gst.c: (gst_init_get_option_group):
10368           Make warning about late g_thread_init() calls a bit more explicit,
10369           so that it's more obvious to application developers what they need
10370           to do if a user files a bug against their application.
10371
10372 2007-01-22  Edward Hervey  <edward@fluendo.com>
10373
10374         * plugins/elements/gstmultiqueue.c:
10375         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10376         Remove previous hack of unsetting the flushing flag for the source pad
10377         instead of activating it. Instead, fix the source pad activate function
10378         so that it no longer depends on having a parent set or not.
10379
10380 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10381
10382         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10383
10384         * docs/manual/basics-bus.xml:
10385           Fix example code, gst_element_unref() doesn't exist any longer.
10386
10387 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10388
10389         Patch by: Mark Nauwelaerts <manauw at skynet be>
10390
10391         * gst/gstpad.c:
10392           Fix two docs typoes (#399094).
10393
10394 2007-01-19  Edward Hervey  <edward@fluendo.com>
10395
10396         * docs/faq/gst-uninstalled:
10397         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10398         depending on libgstbaseutils can work in uninstalled environment.
10399
10400 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10401
10402         * gst/gsttaglist.h:
10403         * gst/gsttagsetter.c:
10404         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10405         statement for new tag.
10406
10407 2007-01-17  Edward Hervey  <edward@fluendo.com>
10408
10409         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10410         When dynamically creating single queues, activate sinkpad before adding
10411         it.
10412         We should be doing the same thing for the source pad, but we can't
10413         since it would call a method which needs the parent to be set in order
10414         to work propertly. Instead of activating the source pad, we just unset
10415         the flushing flag, which is the minimal requirement for adding a pad
10416         to an element in a state greater than READY.
10417
10418 2007-01-17  Edward Hervey  <edward@fluendo.com>
10419
10420         * docs/faq/gst-uninstalled:
10421         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10422         Mac OS X.
10423
10424 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10425
10426         * tests/check/gst/gstabi.c:
10427         * tests/check/gst/struct_hppa.h:
10428         * tests/check/libs/libsabi.c:
10429         * tests/check/libs/struct_hppa.h:
10430           Add ABI structs for HPPA (see #393796).
10431
10432 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10433
10434         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10435           Actually write ABI structs to the file specified in the GST_ABI
10436           environment variable, as the message we print claims we would.
10437
10438 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10439
10440         * tests/check/gst/gsttask.c:
10441           Fix header comment.
10442
10443 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10444
10445         * gst/gsttaglist.c: (_gst_tag_initialize):
10446           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10447           previous two entries.
10448
10449 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10450
10451         * docs/gst/gstreamer-sections.txt:
10452         * gst/gsttaglist.c: (_gst_tag_initialize):
10453         * gst/gsttaglist.h:
10454           Add tag support for beat-per-minute.
10455
10456 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10457
10458         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10459         (gst_registry_binary_initialize_magic),
10460         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10461         (gst_registry_binary_save_pad_template),
10462         (gst_registry_binary_save_feature),
10463         (gst_registry_binary_save_plugin),
10464         (gst_registry_binary_write_cache),
10465         (gst_registry_binary_check_magic),
10466         (gst_registry_binary_load_pad_template),
10467         (gst_registry_binary_load_feature),
10468         (gst_registry_binary_load_plugin),
10469         (gst_registry_binary_read_cache):
10470         * gst/gstregistrybinary.h:
10471           Use glib types, cleanup comments, impement interfaces and uri-types.
10472
10473 2007-01-13  Andy Wingo  <wingo@pobox.com>
10474
10475         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10476         getrange() to return buffers with other caps, while we fix
10477         demuxers and typefind, or otherwise change part-negotiation.txt.
10478
10479 2007-01-12  Andy Wingo  <wingo@pobox.com>
10480
10481         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10482         Factor start/stop into this private function instead of partially
10483         in activate functions and partially in the change_state function.
10484         Fixes setup before the element has changed from READY->PAUSED, as
10485         is the case in pull-mode pipelines.
10486         (gst_base_transform_sink_activate_push)
10487         (gst_base_transform_src_activate_pull): Refactor to use
10488         gst_base_transform_activate().
10489         (gst_base_transform_change_state): Removed, not needed any more.
10490
10491         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10492         Truncate before fixating.
10493         
10494         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10495         Don't set_caps() if the result of fixating is ANY, as it's not
10496         supported, and not necessary in the case of a link with no
10497         template caps on either side. Fixes tests/check/libs/basesrc in
10498         some pull-mode tests.
10499
10500         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10501         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10502         (gst_base_transform_src_activate_pull): 
10503         Track the activation mode.
10504         (gst_base_transform_setcaps): In pull mode, when activating the
10505         src pad, after activating the sink pad, activate the sink pad's
10506         peer, as discussed in part-negotiation.txt.
10507
10508         * libs/gst/base/gstbasesrc.h: 
10509         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10510         vmethod, as in basesink.
10511
10512         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10513
10514         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10515         mode, first proxy the setcaps to the peer pad.
10516         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10517         new fixate vmethod.
10518         (gst_base_sink_default_activate_pull): Rename from
10519         gst_base_sink_activate_pull.
10520         (gst_base_sink_negotiate_pull): New function, performs negotiation
10521         in pull mode before calling ::activate_pull().
10522         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10523         vmethod instead of the default implementation. I have no idea how
10524         this worked before. Negotiate before calling activate_pull.
10525
10526         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10527         sink pads in pull mode. In addition to being correct, fixes
10528         filesrc ! decodebin ! identity ! fakesink.
10529         (gst_pad_get_range, gst_pad_pull_range): Don't call
10530         gst_pad_set_caps() if the caps changes; instead error out with
10531         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10532
10533 2007-01-12  Andy Wingo  <wingo@pobox.com>
10534
10535         * docs/design/part-negotiation.txt: Update with more policy.
10536
10537 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10538
10539         * libs/gst/check/gstbufferstraw.h:
10540         * libs/gst/check/gstcheck.h:
10541           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10542           belongs.
10543
10544 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10545
10546         * tests/check/Makefile.am:
10547         * tests/check/gst/.cvsignore:
10548         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10549         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10550         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10551         (GST_START_TEST), (gst_tag_setter_suite):
10552           Add minimal unit test for beforementioned GstTagSetter bug.
10553
10554 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10555
10556         Patch by: René Stadler <mail at renestadler dot de>
10557
10558         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10559           gst_tag_list_merge() returns a new list, so it's not the best idea
10560           to ingore its return value. Effectively meant that tags could only
10561           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10562           Also add function guard to require a non-NULL taglist as input (has
10563           always been so due to gst_tag_list_copy(), just making it explicit).
10564
10565 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10566
10567         * docs/random/draft-missing-plugins.txt:
10568           Some additions: mention new API that is supposed to be used at the
10569           various stages; short blob about new gst-inspect introspection
10570           option; mention potential future problem with plugins that have
10571           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10572
10573 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10574
10575         * tools/gst-inspect.c:
10576         (print_plugin_automatic_install_info_codecs),
10577         (print_plugin_automatic_install_info_protocols),
10578         (print_plugin_automatic_install_info), (main):
10579         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10580         introspect plugin files and get machine-parsable output that corresponds
10581         to the last bit of the missing-plugin installer string (small gotcha:
10582         doesn't take into account ranks).
10583
10584 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10585
10586         * configure.ac:
10587         * docs/gst/gstreamer-sections.txt:
10588         * gst/Makefile.am:
10589         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10590         (gst_registry_lookup_locked):
10591         * gst/gstregistry.h:
10592         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10593         (gst_registry_binary_initialize_magic),
10594         (gst_registry_binary_save_string),
10595         (gst_registry_binary_save_pad_template),
10596         (gst_registry_binary_save_feature),
10597         (gst_registry_binary_save_plugin),
10598         (gst_registry_binary_write_cache),
10599         (gst_registry_binary_check_magic),
10600         (gst_registry_binary_load_pad_template),
10601         (gst_registry_binary_load_feature),
10602         (gst_registry_binary_load_plugin),
10603         (gst_registry_binary_read_cache):
10604         * gst/gstregistrybinary.h:
10605         * gst/gstregistryxml.c: (load_feature),
10606         (gst_registry_xml_read_cache):
10607           commit binary registry (disabled by default, see #359653)
10608
10609 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10610
10611         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10612           Fix 'make check' too.
10613
10614 2007-01-10  Andy Wingo  <wingo@pobox.com>
10615
10616         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10617         notes.
10618         
10619         * docs/design/part-negotiation.txt: Update with, um, one way that
10620         pull-mode negotiation might work?
10621
10622         * gst/gstpad.h: 
10623         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10624         that the pad must be a src pad; makes sense to call it the other
10625         way in pull mode, and the logic is symmetric anyway.
10626
10627 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10628
10629         * plugins/elements/gstfilesink.c:
10630           Include <stdio.h> for fseeko().
10631
10632 2007-01-10  Wim Taymans  <wim@fluendo.com>
10633
10634         * gst/gstevent.c:
10635         * gst/gstevent.h:
10636         Reserve LATENCY event.
10637
10638 2007-01-09  Wim Taymans  <wim@fluendo.com>
10639
10640         * docs/design/draft-latency.txt:
10641         Updates.
10642
10643 2007-01-09  Wim Taymans  <wim@fluendo.com>
10644
10645         * docs/design/draft-latency.txt:
10646         Updates.
10647
10648         * gst/gstelement.h:
10649         * gst/gststructure.c:
10650         * gst/gsttrace.c:
10651         Small typo fixes.
10652
10653 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10654
10655         * tests/check/.cvsignore:
10656           Ignore test-registry.xml as well.
10657
10658 2007-01-09  Wim Taymans  <wim@fluendo.com>
10659
10660         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10661         unref data at the end when we are done with the pad.
10662
10663 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10664
10665         * docs/gst/gstreamer-sections.txt:
10666         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10667         (init_post), (gst_deinit), (gst_update_registry):
10668         * gst/gst.h:
10669           API: add gst_update_registry() (#391296).
10670
10671         * tests/check/Makefile.am:
10672         * tests/check/gst/gstregistry.c:
10673         * tests/check/gst/.cvsignore:
10674           Simple unit test for the above.
10675
10676 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10677
10678         * gst/gstregistry.c: (gst_registry_scan_path_level):
10679           Plugin extension on HP-UX is .sl, add that to the list of approved
10680           plugin extensions (see #393796).
10681
10682         * tests/check/gst/gstpad.c: (GST_START_TEST):
10683           ulong => gulong. Fixes compilation with HP-UX compiler.
10684
10685         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10686           Fix compilation if valgrind headers are not available.
10687
10688 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10689
10690         * win32/common/libgstreamer.def: 
10691           Add new exported function.
10692         * win32/vs6/libgstbase.dsp: 
10693           Add gstdataqueue.c to the build.
10694         * win32/vs6/libgstcoreelements.dsp:
10695           Add gstmultiqueue.c to the build.
10696         
10697 2007-01-06  Andy Wingo  <wingo@pobox.com>
10698
10699         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10700         activate_pull(), providing for a way to specialize the process of
10701         spawning a thread to pull on the sink pad. There is a default
10702         implementation.
10703
10704         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10705         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10706         (gst_base_sink_init): Renamed pad activation functions (inserting
10707         "_pad" in their names). Refactor to use the new activate_pull
10708         vmethod, as appropriate.
10709         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10710         default activate_pull function to start a task pulling from the
10711         sink pad, as before.
10712
10713         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10714         on the pads if necessary, as in push()/chain(). Update docs.
10715         Shouldn't affect existing pull() usage as it is currently only
10716         being used on buffers without caps.
10717
10718 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10719
10720         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10721         (init_pre):
10722           Call g_thread_init() first thing in gst_init() / gst_check_init().
10723           When initialisation is done via gst_init_get_option_group() and
10724           GOption parsing, issue a warning if the GLib thread system has not
10725           been initialised yet by the time gst_init_get_option_group() is
10726           called, as it's quite likely other GLib functions such as
10727           g_option_context_new() have been called already then, and
10728           g_thread_init() must be called before any other GLib function. The
10729           application in question must be fixed in that case, since memory
10730           corruption might happen otherwise.
10731           We issue the warning because even if the GLib folks decide to work
10732           around the problem on their end in future, this is still an issue
10733           with all GLib versions >= 2.10.0, so we should warn until we depend
10734           on a GLib version we know to be safe.
10735           Update documentation as well.
10736           Closes bug #391278.
10737
10738 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10739
10740         * tools/gst-inspect.c: (main):
10741         * tools/gst-launch.c: (main):
10742         * tools/gst-typefind.c: (main):
10743         * tools/gst-xmlinspect.c: (main):
10744           Call g_thread_init() really really early, before any other GLib
10745           function (see #342564 and recent discussion on gtk-devel-list).
10746
10747 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10748
10749         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10750
10751         * gst/gst_private.h:
10752         * gst/gstconfig.h.in:
10753         * gst/gstinfo.h:
10754           On win32, all the __declspec stuff for symbol exporting is
10755           apparently only needed with MSVC, but doesn't work with MingW.
10756           Fixes compilation with MingW and #391909.
10757
10758 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10759
10760         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10761           Change some GST_ERROR_OBJECT that aren't really errors to
10762           GST_WARNING_OBJECT in order to reduce terminal spam.
10763
10764 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10765
10766         * tests/check/Makefile.am:
10767           disable test again, as there seem to be still race problems
10768
10769 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10770
10771         * tests/check/Makefile.am:
10772         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10773         (GST_START_TEST), (queue_suite):
10774           enable queue test again, add tests for the leaky behaviour
10775
10776 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10777
10778         * configure.ac:
10779         * tests/examples/Makefile.am:
10780           Compile adapter test/example only if the required headers are
10781           available (fixes #391915).
10782
10783 2007-01-01  David Schleef  <ds@schleef.org>
10784
10785         * gst/gstplugin.c:
10786           Restore the previous signal handler for SIGSEGV instead of
10787           setting to default, since we may have stolen it away from
10788           someone.  (i.e., Mono)
10789
10790 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10791
10792         * docs/random/draft-missing-plugins.txt:
10793           Some small additions and clarifications.
10794
10795 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10796
10797         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10798           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10799           since that can lead to random memory corruptions and crashes
10800           (may or may not be related to #383244, #386711, and #386711).
10801
10802 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10803
10804         * tests/check/.cvsignore:
10805         * tests/check/Makefile.am:
10806           sync .cvsignome and CLEANFILES
10807
10808 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10809
10810         * tests/check/Makefile.am:
10811           fix distcheck
10812
10813 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10814
10815         * docs/design/part-states.txt:
10816           two tiny additional comments
10817         
10818         * gst/gststructure.c:
10819           doc fixing
10820
10821         * tests/check/Makefile.am:
10822         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10823         (GST_START_TEST):
10824           disable test for now, unless it gets fixed
10825
10826 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10827
10828         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10829         (GST_START_TEST):
10830           fix race in underrun test
10831
10832 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10833
10834         * tests/check/elements/.cvsignore:
10835           ignore more
10836
10837         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10838         (GST_START_TEST):
10839           try to narrow test failure
10840
10841 2006-12-21  David Schleef  <ds@schleef.org>
10842
10843         * plugins/elements/gstfakesrc.c:
10844           Use g_random_int_range(), since it produces better random
10845           numbers in a range than almost-correct floating point code.
10846
10847 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10848
10849         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10850         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10851         (gst_check_teardown_sink_pad):
10852           do not automatically (de)activate pads
10853
10854         * tests/check/Makefile.am:
10855         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10856         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10857           add new, yet simple tests for queue
10858
10859         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10860         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10861         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10862         (GST_START_TEST):
10863         * tests/check/elements/identity.c: (cleanup_identity):
10864           consistent pad (de)activation
10865
10866 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10867
10868         Patch by: Sebastian Dröge  <slomo ubuntu com>
10869
10870         * libs/gst/base/gstcollectpads.c:
10871           Fix two doc typos (#387866).
10872
10873 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10874
10875         * docs/manual/advanced-dparams.xml:
10876           Fix typo (g_object_control_properties() doesn't exist).
10877
10878 2006-12-19  Edward Hervey  <edward@fluendo.com>
10879
10880         * gst/gstsegment.c: (gst_segment_set_seek):
10881         Fine tune the cases where the segment start/stop values are really
10882         updated.
10883         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10884         Add tests for the return values of gst_segment_set_seek().
10885
10886 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10887
10888         * gst/gst.c:
10889           Docs typo fix.
10890
10891         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10892         (gst_queue_init):
10893           Fix incorrect documentation and flesh it out a bit more.
10894           Set default values for the max properties on the GParamSpec as well,
10895           so it shows up correctly in gst-inspect.
10896
10897 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10898
10899         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10900           Correct docs of queue, add more detail and crosslink it more.
10901
10902 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10903
10904         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10905           Print additional debug info when the stream isn't perfectly
10906           timestamped; don't try to use invalid durations.
10907
10908 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10909
10910         * docs/design/Makefile.am:
10911           Dist new design docs.
10912
10913 2006-12-16  Wim Taymans  <wim@fluendo.com>
10914
10915         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10916
10917         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10918         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10919         (gst_collect_pads_stop), (gst_collect_pads_event),
10920         (gst_collect_pads_chain):
10921         * libs/gst/base/gstcollectpads.h:
10922         Add refcounting to the collectpads data so we can track when it's safe
10923         to free the data. Fixes #383382.
10924
10925 2006-12-15  Wim Taymans  <wim@fluendo.com>
10926
10927         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10928         (gst_collect_pads_remove_pad):
10929         Automatically activate/deactivate pads when they are added to a
10930         started/stoped collectpads.
10931
10932 2006-12-15  Wim Taymans  <wim@fluendo.com>
10933
10934         * gst/gstelement.c: (gst_element_add_pad):
10935         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10936         * gst/gstpad.c: (gst_pad_init):
10937         Set pads to FLUSHING when they are created. Check, warn and fix when a
10938         demuxer adds an inactive pad to itself when running. Fixes #339326.
10939
10940 2006-12-15  Wim Taymans  <wim@fluendo.com>
10941
10942         * gst/gstelement.c: (gst_element_class_init),
10943         (gst_element_default_send_event), (gst_element_send_event),
10944         (gst_element_default_query), (gst_element_query):
10945         Expose default element send_event and query handling as vmethods that
10946         subclasses can chain up to.
10947
10948 2006-12-15  Wim Taymans  <wim@fluendo.com>
10949
10950         * gst/gstelement.c: (gst_element_set_state_func):
10951         Small documentation fixes.
10952
10953 2006-12-15  Wim Taymans  <wim@fluendo.com>
10954
10955         * docs/design/draft-latency.txt:
10956         Checked in draft for handling latency in pipelines.
10957
10958 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10959
10960         * Makefile.am:
10961         * gstreamer.doap:
10962         * gstreamer.spec.in:
10963           adding .doap file
10964
10965 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
10966
10967         * gst/gst.c: (init_pre), (init_post):
10968           init_pre() and init_post() might be called via our GOptionGroup or
10969           from gst_init(), and we should skip both of them if we've already
10970           been initialised, otherwise we will init some things twice or add
10971           two default log functions.
10972
10973 2006-12-13  Edward Hervey  <edward@fluendo.com>
10974
10975         * docs/manual/basics-bus.xml:
10976         No, gst_main_loop does not exist. Its g_main_loop.
10977         Discovered by somebody who abused the copy-paste technique of coding :)
10978
10979 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
10980
10981         * gst/gstghostpad.c:
10982           Log ghostpad debug stuff to the GST_PADS category as well rather
10983           than just to the default category.
10984
10985 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
10986
10987         * configure.ac:
10988         * gst/gst.c: (init_pre):
10989           Add some basic system details such as OS and architecture
10990           to the debug output if possible, courtesy of uname().
10991
10992 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10993
10994         * docs/gst/running.xml:
10995           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10996           environment variables.
10997
10998 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10999
11000         * tests/check/gst/gstbin.c: (GST_START_TEST):
11001         It is acceptable to have a refcount of 2 or 3 at this point in the
11002         test, because the pipeline might be just posting its state_change
11003         message. The next line then waits for that message to appear using
11004         bus_poll, so that should be fine too.
11005
11006 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11007
11008         * gst/gst.c: (ensure_current_registry_forking):
11009         Ignore EINTR when reading from the child registry pipe.
11010         Explicitly ignore the return value from close, since it makes no
11011         difference.
11012
11013         * gst/gstminiobject.c: (gst_mini_object_ref),
11014         (gst_mini_object_unref):
11015         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11016
11017         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11018         When removing cached plugins, remove their features too, so they're
11019         not visible after they've disappeared.
11020
11021         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11022         In the unlikely case that we are linking pads with no parents, don't
11023         crash trying to get the non-existent parent bin.
11024
11025         * gst/parse/grammar.y:
11026         Output debug in the PIPELINE category
11027
11028 2005-03-08  Wim Taymans  <wim@fluendo.com>
11029
11030         Patch by: René Stadler <mail at renestadler dot de>
11031
11032         * gst/gstclock.c: (gst_clock_new_periodic_id):
11033         Reject invalid clock times for interval of periodic ids.
11034         Fixes ##383506.
11035
11036 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11037
11038         * gst/gstelementfactory.c: (gst_element_factory_create):
11039         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11040         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11041         * tools/gst-inspect.c: (print_element_info):
11042         Fix refcounting of gst_plugin_feature_load to match the docs. 
11043         Fixes: #380129
11044
11045 2006-12-07  Wim Taymans  <wim@fluendo.com>
11046
11047         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11048         (gst_base_sink_get_position):
11049         Improve debugging of events.
11050
11051 2006-12-07  Wim Taymans  <wim@fluendo.com>
11052
11053         Patch by: René Stadler <mail at renestadler dot de>
11054
11055         * gst/gstclock.c: (gst_clock_id_wait):
11056         Make period ids add the interval to the origial requested time instead
11057         of the possibly updated time which can be wrong when there are multiple
11058         waiters for the same id. Fixes #382592.
11059
11060         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11061         (gst_system_clock_id_wait_jitter_unlocked),
11062         (gst_system_clock_id_wait_jitter):
11063         Fix restart in the async notify thread when an async entry is added to
11064         the front of the list. Fixes #381492. 
11065
11066         * tests/check/gst/gstsystemclock.c: (store_callback),
11067         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11068         Added test for multiple async waits.
11069         Added test for async wait order.
11070
11071 2006-12-07  Wim Taymans  <wim@fluendo.com>
11072
11073         * gst/gstbin.c: (gst_bin_query):
11074         Add some more docs about the POSITION query.
11075
11076 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11077
11078         * configure.ac:
11079         Bump version nano - back to CVS.
11080
11081 === release 0.10.11 ===
11082
11083 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11084
11085         * configure.ac:
11086           releasing 0.10.11, "Love never runs on time"
11087
11088 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11089
11090         * win32/common/libgstbase.def:
11091         * win32/common/libgstreamer.def:
11092         * win32/vs8/libgstbase.vcproj:
11093         * win32/vs8/libgstcoreelements.vcproj:
11094         * win32/vs8/libgstreamer.vcproj:
11095         Fix compilation on win32 under VS8
11096         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11097         Partially fixes #381175
11098
11099 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11100
11101         * gst/gstvalue.c: (gst_value_compare_fraction):
11102         If someone is foolish enough to compare 2 fractions with denominator =
11103         0, return UNORDERED rather than aborting.
11104
11105 2006-11-28  Edward Hervey  <edward@fluendo.com>
11106
11107         * libs/gst/base/Makefile.am:
11108         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11109         (gst_data_queue_base_init), (gst_data_queue_class_init),
11110         (gst_data_queue_init), (gst_data_queue_new),
11111         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11112         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11113         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11114         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11115         (gst_data_queue_set_flushing), (gst_data_queue_push),
11116         (gst_data_queue_pop), (gst_data_queue_drop_head),
11117         (gst_data_queue_set_property), (gst_data_queue_get_property):
11118         * libs/gst/base/gstdataqueue.h:
11119         New GstDataQueue object for threadsafe queueing. Most useful for
11120         elements that need some queueing functionnality.
11121         * docs/libs/gstreamer-libs-docs.sgml:
11122         * docs/libs/gstreamer-libs-sections.txt:
11123         Insert documentation for GstDataQueue
11124         * plugins/elements/Makefile.am:
11125         * plugins/elements/gstelements.c:
11126         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11127         (gst_multi_queue_class_init), (gst_multi_queue_init),
11128         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11129         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11130         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11131         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11132         (gst_multi_queue_loop), (gst_multi_queue_chain),
11133         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11134         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11135         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11136         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11137         (wake_up_next_non_linked), (compute_next_non_linked),
11138         (single_queue_overrun_cb), (single_queue_underrun_cb),
11139         (single_queue_check_full), (gst_single_queue_new):
11140         * plugins/elements/gstmultiqueue.h:
11141         New multiqueue element, using GstDataQueue. Used for queuing multiple
11142         streams.
11143         Closes #344639 and #347785
11144
11145 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11146
11147         * docs/pwg/advanced-types.xml:
11148           add more missing type details
11149
11150         * tools/gst-run.c: (main):
11151           remove unused variable
11152
11153 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11154
11155         * docs/libs/Makefile.am:
11156         * docs/libs/gstreamer-libs.types:
11157           add types of base classes to enable gobject specific stuff in the docs
11158
11159         * docs/random/ensonic/embedded.txt:
11160           more ideas about isolating platform specific things
11161
11162 2006-11-20  Wim Taymans  <wim@fluendo.com>
11163
11164         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11165
11166         * libs/gst/check/gstcheck.h:
11167         Fix compilation and running against 0.9.4. Fixes #377332.
11168
11169 2006-11-20  Wim Taymans  <wim@fluendo.com>
11170
11171         * gst/gstsegment.c: (gst_segment_set_seek),
11172         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11173         (gst_segment_to_running_time):
11174         Fix boundary checking in to_running_time() and to_stream_time().
11175         Fixes #377183.
11176
11177         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11178         stream and running time can now be calculated for the complete
11179         clipped segment.
11180
11181 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11182
11183         * gst/gstpad.c: (gst_pad_push_event):
11184           Can't access event structure after giving away ownership of
11185           the event.
11186
11187 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11188
11189         * docs/random/ensonic/embedded.txt:
11190         * docs/random/ensonic/profiling.txt:
11191         * docs/random/ensonic/receipies.txt:
11192           more thinking
11193
11194 2006-11-13  Wim Taymans  <wim@fluendo.com>
11195
11196         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11197
11198         * gst/gstpad.c:
11199         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11200
11201 2006-11-13  Wim Taymans  <wim@fluendo.com>
11202
11203         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11204
11205         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11206         Store new length in segment duration so we don't keep on calling the
11207         potentially expensize get_size() call. Fixes #370865.
11208
11209 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11210
11211         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11212
11213         * win32/common/libgstreamer.def:
11214           Add two missing symbols (#366492).
11215
11216 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11217
11218         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11219         (gst_adapter_take_buffer):
11220         Fix format string to use all its arguments.
11221         Remove useless >= check on a guint
11222
11223 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11224
11225         * tests/examples/adapter/.cvsignore:
11226         Ignore build file as commanded by the build-bot
11227
11228 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11229
11230         * tests/examples/adapter/Makefile.am:
11231         * tests/examples/adapter/adapter_test.c: (run_test_take),
11232         (run_test_take_buffer), (run_tests), (main):
11233
11234         Add new files from the previous commit
11235
11236 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11237
11238         * Makefile.am:
11239         * configure.ac:
11240         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11241         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11242         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11243         * libs/gst/base/gstadapter.h:
11244         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11245         (GST_START_TEST), (gst_adapter_suite):
11246         * tests/examples/Makefile.am:
11247         Do some optimisation work in GstAdapter to avoid copies in more cases.
11248         It could still do slightly better by merging buffers when
11249         gst_buffer_is_span_fast is true, but is already faster. 
11250
11251         Also, avoid traversing a single-linked list to append each incoming 
11252         buffer inside the adapter.
11253
11254         Add simple test app that times the adapter behaviour in different
11255         situations, and extend the unit test to check that bytes enter and
11256         exit the adapter in their original order.
11257
11258 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11259
11260         * docs/random/draft-missing-plugins.txt:
11261           Update: use element message instead of adding a new message
11262           type to the core; don't provide GStreamer API to initiate the
11263           plugin download, just provide API to compose the strings needed
11264           and let an external libgimmestuff handle the rest.
11265
11266 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11267
11268         * tools/gst-inspect.c: (print_element_properties_info):
11269         Print a string instead of 'unknown type' for GValueArray properties
11270
11271 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11272
11273         * docs/random/draft-missing-plugins.txt:
11274         More small fixes.
11275
11276 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11277
11278         * tests/examples/typefind/typefind.c: (type_found), (main):
11279           Make typefind element example work again (#371894); add a
11280           license header.
11281
11282 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11283
11284         * docs/random/draft-missing-plugins.txt:
11285           Commit initial draft about how to deal with missing plugins,
11286           needs work (API too).
11287
11288 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11289
11290         * docs/pwg/advanced-types.xml:
11291           documents the new caps elements (see #363118)
11292
11293 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11294
11295         * gst/gstplugin.c: (gst_plugin_load_file):
11296         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11297         (gst_file_src_map_region), (gst_file_src_start):
11298         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11299         (gst_file_index_commit):
11300           Use g_strerror() instead of strerror() - we want UTF-8.
11301
11302 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11303
11304         Patch by: Peter Kjellerstedt <pkj at axis com>
11305
11306         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11307           Another printf fix (#371493).
11308
11309 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11310
11311         * tests/check/gst/gsttag.c:
11312           relicence (okay with author=company)
11313
11314 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11315
11316         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11317         (gst_pad_push_event):
11318           Enhance debug and improve docs
11319         
11320         * gst/gsturi.c:
11321           Fix docs
11322
11323 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11324
11325         * docs/random/ensonic/distributed.txt:
11326         * docs/random/ensonic/profiling.txt:
11327           more ideas
11328
11329 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11330
11331         * docs/gst/gstreamer-sections.txt:
11332           add new API and fix the build
11333           
11334         * gst/gstbin.c: (gst_bin_recalc_state):
11335         * gst/gstelement.c: (gst_element_message_full),
11336         (gst_element_get_state_func), (gst_element_set_state_func):
11337           use new API and improve logging
11338         
11339         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11340         * gst/gstutils.h:
11341           API: add function to get StateChangereturn names to improve logs 
11342
11343 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11344
11345         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11346           I'm considering shooting the next person to put strerror stuff
11347           in the translateable part of the message.
11348
11349 2006-11-03  Wim Taymans  <wim@fluendo.com>
11350
11351         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11352         Get the type and printf conversion specifiers right.
11353
11354 2006-11-03  Wim Taymans  <wim@fluendo.com>
11355
11356         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11357
11358         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11359         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11360         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11361         Some small cleanups. Improve debugging.
11362         * gst/gstpad.h:
11363         Signal all waiting threads with a broadcast instead of just one.
11364         Fixes #369942.
11365
11366 2006-11-03  Wim Taymans  <wim@fluendo.com>
11367
11368         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11369         (gst_fd_src_create):
11370         Add some debugging. 
11371         Only update fd when it's different from the old.
11372
11373 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11374
11375         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11376           Printf fixes for PPC/OSX, take two (#369366).
11377
11378 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11379
11380         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11381
11382         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11383         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11384         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11385           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11386           don't cast to long long for portability reasons, but use
11387           GLib's types instead.
11388
11389 2006-10-30  Michael Smith  <msmith@fluendo.com>
11390
11391         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11392           Get the arguments to lseek() the right way around.
11393           Fixes 367677.
11394
11395 2006-10-30  Wim Taymans  <wim@fluendo.com>
11396
11397         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11398
11399         * gst/gstinfo.h:
11400         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11401
11402 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11403
11404         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11405
11406         * docs/design/part-MT-refcounting.txt:
11407         * docs/random/wtay/capsnego2-docs:
11408         * gst/gstclock.c:
11409         * gst/gstxml.c:
11410           Typo fixes (#366212).
11411
11412 2006-10-28  Wim Taymans  <wim@fluendo.com>
11413
11414         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11415
11416         * gst/gst.c:
11417         * win32/common/libgstbase.def:
11418         * win32/common/libgstreamer.def:
11419         * win32/vs8/libgstbase.vcproj:
11420         * win32/vs8/libgstcontroller.vcproj:
11421         Add needed entries in .def files.
11422         Use HAVE_UNISTD_H.
11423         Rearrange def files in vs8 solutions. Fixes #366286.
11424
11425 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11426
11427         * win32/common/gstconfig.h:
11428           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11429           hand-made win32 gstconfig.h. Fixes #366321.
11430
11431 2006-10-27  Wim Taymans  <wim@fluendo.com>
11432
11433         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11434         (gst_ghost_pad_new_full):
11435         Make acceptcaps return TRUE when we don't have a target, just like
11436         setcaps does.
11437
11438 2006-10-27  Wim Taymans  <wim@fluendo.com>
11439
11440         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11441         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11442
11443 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11444
11445         * gst/gststructure.c: (gst_structure_id_set_value):
11446           If someone tries to set a non-UTF8 string field on a structure,
11447           don't just print a warning, but also ignore the request and do
11448           not change/add that field to the structure.
11449
11450         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11451           Test for the above.
11452
11453 2006-10-25  David Schleef  <ds@schleef.org>
11454
11455         * gst/gstinfo.c:
11456           g_hash_table_insert() needs a cast to a non-const pointer duh.
11457
11458 2006-10-25  David Schleef  <ds@schleef.org>
11459
11460         * gst/gstinfo.c:
11461         * gst/gstinfo.h:
11462           Change name parameter of _gst_debug_register_funcptr to const
11463           to reflect the constness of its use in the function as well
11464           as to quiet a gcc warning.
11465
11466 2006-10-25  Edward Hervey  <edward@fluendo.com>
11467
11468         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11469         Don't push the buffer if it's empty.
11470         Closes #363095
11471
11472 2006-10-24  Wim Taymans  <wim@fluendo.com>
11473
11474         * gst/gstevent.h:
11475         Add small comment.
11476
11477         * libs/gst/base/gstbasetransform.c:
11478         (gst_base_transform_sink_eventfunc):
11479         Debug segment values *after* updating them as this is more
11480         interesting.
11481
11482 2006-10-23  Wim Taymans  <wim@fluendo.com>
11483
11484         * docs/design/part-events.txt:
11485         Update some docs.
11486
11487         * docs/design/part-block.txt:
11488         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11489         (gst_pad_push_event):
11490         Revert BLOCKING patch, it tries to be smart without really having a
11491         clear idea what or how. So, now we discard all FLUSHING events again on
11492         a blocking pad. Should fix gnonlin again.
11493
11494 2006-10-23  Wim Taymans  <wim@fluendo.com>
11495
11496         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11497
11498         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11499         (gst_base_src_start), (gst_base_src_activate_push):
11500         Make sure size is always initialized. Fixes #364388.
11501
11502 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11503
11504         * docs/random/ensonic/distributed.txt:
11505           add some ideas about doing distributed processing
11506
11507         * docs/random/ensonic/profiling.txt:
11508           get_rusage look promising
11509
11510 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11511
11512         * docs/manual/basics-helloworld.xml:
11513           Add a cast in example to fix compile warning
11514
11515 2006-10-18  Wim Taymans  <wim@fluendo.com>
11516
11517         * gst/gstsegment.c: (gst_segment_set_last_stop),
11518         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11519         Relax arg checking again, -1 is allowed.
11520
11521 2006-10-18  Wim Taymans  <wim@fluendo.com>
11522
11523         * gst/gstsegment.c: (gst_segment_set_last_stop),
11524         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11525         _set_last_stop() must be with a value != -1
11526         A _TYPE_SET to -1 means seek to 0.
11527         Calc last_stop correctly for negative rates.
11528         Make sure we work with positive durations when updating a segment.
11529
11530 2006-10-18  Wim Taymans  <wim@fluendo.com>
11531
11532         * docs/design/part-live-source.txt:
11533         * gst/gstclock.h:
11534         Small docs fixes.
11535
11536 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11537
11538         * gst/gstbuffer.h:
11539           Add an explicit cast to GstBuffer** to keep old code that added an
11540           explicit cast to GstMiniObject** for gst_mini_object_replace()
11541           compiling without warning.
11542
11543 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11544
11545         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11546           check for validity of dates
11547
11548 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11549
11550         * docs/gst/gstreamer-sections.txt:
11551           Forgot this one, makes gtk-doc shut up.
11552
11553 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11554
11555         Patch by: Peter Kjellerstedt <pkj at axis com>
11556
11557         * gst/gstobject.h:
11558           Don't define xmlNodePtr to gpointer if the core was built with
11559           --disable-loadsave and --disable-registry, this will break
11560           applications that want to use libxml2 but are buildling against a
11561           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11562           instead so we don't have to mess with the libxml2 namespace
11563           (#361675).
11564
11565 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11566
11567         * gst/gstbuffer.h:
11568           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11569           type-punned pointer warnings.
11570
11571 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11572
11573         * gst/gstelement.h:
11574           Add casts to the correct return type to state <=> state transition
11575           macros.
11576
11577 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11578
11579         * docs/design/part-live-source.txt:
11580           describe howto handle latency
11581         
11582         * docs/random/ensonic/profiling.txt:
11583           more ideas
11584
11585         * tools/gst-plot-timeline.py:
11586           fix log parsing for solaris, remove unused function
11587
11588 2006-10-16  Wim Taymans  <wim@fluendo.com>
11589
11590         * docs/design/part-trickmodes.txt:
11591         * gst/gstevent.c:
11592         Update some docs regarding reverse playback.
11593
11594 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11595
11596         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11597
11598         * win32/vs8/grammar.vcproj:
11599           Error out with a warning if glib-genmarshal.exe is not in path,
11600           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11601
11602 2006-10-13  Wim Taymans  <wim@fluendo.com>
11603
11604         * gst/gstsegment.c: (gst_segment_set_seek):
11605         When seeking to stop -1, set last_stop (current position) to the
11606         duration of the segment.
11607
11608 2006-10-13  Wim Taymans  <wim@fluendo.com>
11609
11610         * gst/gstelement.h:
11611         Clarify _NO_PREROLL a bit more.
11612
11613         * gst/gstevent.c:
11614         Fix docs.
11615
11616         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11617         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11618         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11619         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11620         due to wrong locking order. Fixes #361769.
11621         Remove some redundant/misplaced checks in pad_block.
11622
11623         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11624         For negative rates, count backwards from the duration.
11625
11626 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11627
11628         * gst/gsterror.c: (_gst_library_errors_init):
11629           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11630           up with something better).
11631
11632 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11633
11634         * win32/vs6/libgstreamer.dsp:
11635         * win32/vs7/libgstreamer.vcproj:
11636         * win32/vs8/libgstreamer.vcproj:
11637           Don't reference glib-compat.c which is currently not used and not
11638           disted; add gstquark.c which was recently added. Fixes #361730.
11639
11640 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11641
11642         * win32/common/libgstbase.def:
11643         * win32/common/libgstcontroller.def:
11644         * win32/common/libgstreamer.def:
11645           Add gst_caps_merge() and a bunch of other recently-added functions.
11646           Fixes #361732.
11647
11648 2006-10-11  Wim Taymans  <wim@fluendo.com>
11649
11650         * docs/plugins/gstreamer-plugins.args:
11651         * docs/plugins/inspect/plugin-coreelements.xml:
11652         * docs/plugins/inspect/plugin-coreindexers.xml:
11653         Update element args.
11654
11655         * gst/gstsystemclock.c:
11656         Small comment update.
11657
11658         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11659         (gst_tee_request_new_pad), (gst_tee_release_pad),
11660         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11661         (gst_tee_sink_activate_pull):
11662         * plugins/elements/gsttee.h:
11663         Some tee loving:
11664         Add default property defines.
11665         Implement release pad function.
11666         Give properties better blubs etc.
11667         Activate pads before adding them to a running tee.
11668         Do simple buffer_alloc on the first requested pad.
11669         Post error when activation fails.
11670
11671 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11672
11673         * gst/gst.c: (ensure_current_registry_forking):
11674           Check return value of write() to make compiler happy.
11675
11676 2006-10-11  Wim Taymans  <wim@fluendo.com>
11677
11678         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11679
11680         * plugins/elements/gstqueue.c: (gst_queue_chain):
11681         Recheck queue filledness after signalling the overrun when we're about
11682         to leak downstream because we released the lock when emitting the signal
11683         and the queue could be empty again. Fixes #352345.
11684
11685 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11686
11687         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11688           Fix refcounting here too, just like we did for _new_valist() a few
11689           days ago (#357180) (thanks to René Stadler). Also remove all those
11690           'Since: 0.9' from the gtk-doc blobs.
11691
11692         * tests/check/libs/controller.c: (controller_refcount_new_list),
11693         (gst_controller_suite):
11694           Unit test for the above.
11695
11696 2006-10-10  Wim Taymans  <wim@fluendo.com>
11697
11698         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11699
11700         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11701         (gst_pad_save_thyself):
11702         Update some docs.
11703         Write pad direction in XML output. Fixes #345496.
11704
11705 2006-10-10  Wim Taymans  <wim@fluendo.com>
11706
11707         Patch by: René Stadler <mail at renestadler dot de>
11708
11709         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11710         (gst_controller_new_list), (_gst_controller_dispose),
11711         (_gst_controller_finalize), (_gst_controller_class_init):
11712         Take ref to controlled object so that it cannot disappear. 
11713         Fixes #357432.
11714
11715 2006-10-10  Wim Taymans  <wim@fluendo.com>
11716
11717         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11718         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11719         (gst_check_teardown_sink_pad):
11720         Activate/deactivate pads in setup/teardown respectively.
11721
11722 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11723
11724         Patch by: Josep Torra Valles <josep@fluendo.com>
11725
11726         * gst/Makefile.am:
11727         Cast values when making gstenumtypes.h.  This pacifies Forte
11728         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11729         in the enumeration.
11730
11731 2006-10-09  Wim Taymans  <wim@fluendo.com>
11732
11733         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11734         Rename some more @cur to @start to fix docs. 
11735
11736         * gst/gstsegment.c: (gst_segment_set_seek):
11737         Fix typo.
11738         time and start must always stay in sync as defined in design doc.
11739
11740         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11741         Rename param to fix docs.
11742
11743         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11744         Check that start and time are in sync.
11745
11746         * tests/check/pipelines/parse-launch.c:
11747         (gst_parse_test_element_change_state):
11748         Activate pad before adding to the element.
11749
11750 2006-10-09  Wim Taymans  <wim@fluendo.com>
11751
11752         * docs/design/part-qos.txt:
11753         Fix typo.
11754
11755         * gst/gstevent.c:
11756         * gst/gstevent.h:
11757         Update seek event docs regarding negative rates.
11758         Rename @cur to @start. 
11759
11760         * gst/gstsegment.c: (gst_segment_set_seek):
11761         * gst/gstsegment.h:
11762         Update set_seek docs regarding negative rates.
11763         Correctly update last_stop to @stop when dealing with negative
11764         rates.
11765         Rename @cur to @start. 
11766
11767         * tests/check/gst/gstpad.c: (GST_START_TEST):
11768         Activate pads before trying to use them.
11769
11770         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11771         (gst_segment_suite):
11772         Add simple check for segments and negative rates.
11773
11774 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11775
11776         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11777         * gst/gsttaglist.h:
11778         * docs/gst/gstreamer-sections.txt:
11779           API: add gst_tag_list_is_empty() (#360467).
11780
11781         * tests/check/gst/gsttag.c: (GST_START_TEST):
11782           And a test case.
11783
11784 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11785
11786         * gst/gstmessage.h:
11787         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11788         a value that doesn't fit on enumeration.
11789
11790 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11791
11792         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11793         Remove local debugging system and use Gstreamer's instead.
11794
11795 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11796
11797         Patch by: Josep Torra Valles <josep@fluendo.com>
11798
11799         * common/m4/gst-error.m4:
11800         Disable warning of statement not reached on Forte.
11801         * gst/gstmessage.h:
11802         Fix warning on Forte (value doesn't fit on enumeration).
11803         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11804         Fix warning on Forte (value doesn't fit on enumeration).
11805         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11806         DEBUG macro says it takes minimum of 2 args and so Forte
11807         complains about the use with just 1 arg.
11808         * plugins/elements/gstfdsink.c:
11809         * plugins/elements/gstfdsrc.c:
11810         * plugins/elements/gstfilesink.c:
11811         * plugins/elements/gstfilesrc.c:
11812         Use correct return type for the uri handler implementations.
11813
11814         All these fix warnings in Forte.  Fixes bug #360860.
11815
11816 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11817
11818         * gst/gstelement.h:
11819           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11820           format string, so don't use G_GNUC_PRINTF for those versions.
11821
11822 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11823
11824         * gst/gsttaglist.c: (gst_is_tag_list):
11825         * gst/gsttaglist.h:
11826           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11827
11828         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11829           Small test for the above.
11830
11831 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11832
11833         * gst/gsttaglist.h:
11834           Less tabs, more spaces.
11835
11836 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11837
11838         * gst/gstinfo.h:
11839           Those two function declarations do actually belong there, revert
11840           commit from yesterday that turned them intro macros.
11841
11842 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11843
11844         Patch by: Josep Torra Valles <josep@fluendo.com>
11845
11846         * gst/gst.c: (gst_init_get_option_group):
11847         Fix empty declaration and type mismatch.
11848         * gst/gstbin.c: (gst_bin_change_state_func):
11849         Fix type mismatch.
11850         * gst/gstelement.c: (gst_element_continue_state),
11851         (gst_element_set_state_func), (gst_element_change_state),
11852         (gst_element_change_state_func):
11853         Fix type mismatches.
11854         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11855         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11856         Cast as appropriate.
11857         * gst/gstobject.c: (gst_class_signal_connect):
11858         Cast as appropriate.  The function pointer parameter really
11859         has the wrong type but would break API if we change it.
11860         * gst/gstquery.c:
11861         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11862         order of including string.h.
11863         * gst/gstutils.c: (gst_element_state_get_name):
11864         Remove unreachable line.
11865         * gst/gstxml.c: (gst_xml_parse_doc):
11866         Fix type mismatch.
11867         All these caught by Forte.
11868
11869 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11870
11871         Patch by: Josep Torra Valles <josep@fluendo.com>
11872
11873         * common/m4/gst-error.m4:
11874         Fixed bug #360151.
11875         We need to disable warnings on Forte for empty declarations
11876         due to gst-indent adding ;s to lines that just use macros
11877         where the macro actually doesn't need a ; at end to end
11878         statement.
11879
11880 2006-10-06  Wim Taymans  <wim@fluendo.com>
11881
11882         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11883         (gst_file_sink_close_file), (gst_file_sink_event),
11884         (gst_file_sink_render):
11885         Add some FIXME for the NEWSEGMENT handling.
11886
11887 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11888
11889         * gst/parse/grammar.y:
11890         Remove static function gst_parse_element_lock as all it does
11891         is return.  Looks like cruft from 0.8.
11892
11893 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11894
11895         Patch by: Josep Torra Valles <josep@fluendo.com>
11896
11897         * common/m4/gst-error.m4:
11898         * configure.ac:
11899         * libs/gst/net/Makefile.am:
11900         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11901         libresolv.
11902
11903 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11904
11905         * gst/gstpad.c: (pre_activate):
11906         * gst/gstregistry.c: (gst_registry_scan_path_level):
11907         * gst/gstregistryxml.c: (load_plugin):
11908         * libs/gst/controller/gstcontroller.c:
11909         (gst_controlled_property_set_interpolation_mode):
11910         * libs/gst/dataprotocol/dataprotocol.c:
11911         (gst_dp_packet_from_event_1_0):
11912         * libs/gst/net/gstnetclientclock.c:
11913         (gst_net_client_clock_observe_times):
11914         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11915           Printf fixes.
11916
11917 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11918
11919         * configure.ac:
11920         * docs/gst/gstreamer-sections.txt:
11921         * gst/gstconfig.h.in:
11922         * gst/gstelement.h:
11923         * gst/gstinfo.h:
11924           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11925           whether we can use G_GNUC_PRINTF in other header files and at
11926           least check the printf format/arguments of debug messages and
11927           GST_ELEMENT_ERROR messages when the printf extension is not
11928           being used.
11929           Replace more tabs with spaces in gstinfo.h and remove two spurious
11930           function declarations in GST_DISABLE_DEBUG part with macros.
11931
11932 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
11933
11934         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11935           More docs for the sync-message signal (mention that it is not
11936           emitted by default); log message structures of messages posted on
11937           the bus as well.
11938
11939 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
11940
11941         * gst/gst.c: (ensure_current_registry_forking):
11942         Use a pipe pair to receive status results from the forked child, and
11943         ignore the result from waitpid. Fixes #355499
11944
11945 2006-10-02  Wim Taymans  <wim@fluendo.com>
11946
11947         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11948         (gst_ghost_pad_suite):
11949         Fix leak in check.
11950
11951 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11952
11953         * gst/gstpad.c:
11954           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11955
11956 2006-10-02  Edward Hervey  <edward@fluendo.com>
11957
11958         * docs/design/part-block.txt:
11959         Further explain the use of flushing on blocked pads.
11960         * docs/gst/gstreamer-sections.txt:
11961         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11962         (gst_pad_push_event):
11963         * gst/gstpad.h:
11964         Added new GstPadFlag : GST_PAD_BLOCKING.
11965         Adds the notion of pads really blocking, which enables to properly
11966         handle FLUSH_START/FLUSH_STOP events on blocked pads.
11967         Fixes #358999
11968         API: gst_pad_is_blocking()
11969         API: GST_PAD_IS_BLOCKING() macro
11970         API: GST_PAD_BLOCKING GstPadFlag
11971         
11972 2006-10-02  Wim Taymans  <wim@fluendo.com>
11973
11974         Patch by: mrcgran <mrc.gran at gmail dot com>
11975
11976         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11977         Filter the proxied caps against the padtemplate if we have one.
11978
11979         * gst/gstquery.c: (gst_query_new_segment):
11980         Add include for gstinfo.h so that compilation with
11981         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11982
11983 2006-10-02  Wim Taymans  <wim@fluendo.com>
11984
11985         Patch by: Alessandro Decina  <alessandro at nnva org>
11986
11987         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11988         (gst_file_sink_set_location), (gst_file_sink_open_file),
11989         (gst_file_sink_close_file), (gst_file_sink_event),
11990         (gst_file_sink_render):
11991         Set file to NULL when closing filesink so that we can set a new filename
11992         in READY. Fixes #358613.
11993
11994 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11995
11996         Patch by: Alessandro Decina  <alessandro at nnva org>
11997
11998         * gst/gstevent.c: (_gst_event_copy):
11999           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12000           with event structures by setting the parent refcount address of the
12001           copied structure to the address of the refcount member of the newly
12002           copied event rather than the address of the refcount member of the
12003           original event. Fixes #358737.
12004
12005         * tests/check/gst/gstevent.c: (GST_START_TEST):
12006           Unit test for the above.
12007
12008 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12009
12010         * docs/design/Makefile.am:
12011           Dist some more files.
12012
12013 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12014
12015         * tests/check/libs/controller.c: (GST_START_TEST),
12016         (gst_controller_suite):
12017           Add test for the previous fix; add some more tests
12018           for correct refcounting behaviour; fix a few leaks
12019           in test cases; call gst_controller_init() at start
12020           of all tests.
12021
12022 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12023
12024         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12025         (gst_controller_set_from_list):
12026           Don't g_return_val_if_fail() on timed values with invalid timestamps
12027           inside a critical section without unlocking the mutex. Spotted by
12028           René Stadler. (#357617)
12029           Also, fix up refcounting properly: when returning an existing
12030           controller, we should increase the reference only once and not
12031           once per property and when trying to control a property again
12032           we should also increase the refcount.
12033
12034 2006-09-29  Wim Taymans  <wim@fluendo.com>
12035
12036         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12037         * libs/gst/net/gstnettimeprovider.c:
12038         (gst_net_time_provider_thread):
12039         Stop reading commands when EOF as well.
12040
12041         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12042         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12043         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12044         Unify description of the dump property.
12045
12046 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12047
12048         * tests/examples/manual/.cvsignore:
12049         OK, so it's actually cvsignore that needs changing. Stop laughing.
12050
12051 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12052
12053         * tests/examples/manual/Makefile.am:
12054         Gah, declare vars *before* using them
12055
12056 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12057
12058         * gst/gst.c: (init_pre), (scan_and_update_registry),
12059         (ensure_current_registry_nonforking),
12060         (ensure_current_registry_forking), (ensure_current_registry),
12061         (init_post), (gst_debug_help), (gst_deinit):
12062         * gst/gst_private.h:
12063         * gst/gstregistry.c: (gst_registry_finalize),
12064         (gst_registry_remove_features_for_plugin_unlocked),
12065         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12066         (gst_registry_scan_path),
12067         (_priv_gst_registry_remove_cache_plugins),
12068         (_priv_gst_registry_cleanup):
12069         * gst/gstregistry.h:
12070         Re-commit the registry changes, along with an extra fix:
12071           When a cached plugin is encountered at a different file path,
12072           update the stored path in the registry cache so that the parent
12073           process knows where it actually is now when it re-reads the registry
12074           cache. Fixes the thing that broke distcheck with the previous commit.
12075
12076         * tests/check/Makefile.am:
12077         Clean up files named 'core' too when running make clean.
12078
12079         * tests/examples/manual/Makefile.am:
12080         Set up a registry path for running these tests, and clean it properly
12081         for distcheck.
12082
12083 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12084
12085         * configure.ac:
12086         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12087         want gmodule-no-export-2.0.pc instead so that we don't drag in
12088         --export-dynamic on every project that links to GStreamer.
12089
12090         Also, make our export regex only match the start of symbols, rather 
12091         than any symbol that contains '_gst' somewhere.
12092
12093         * libs/gst/check/Makefile.am:
12094         The libgstcheck we build does however need export-dynamic, as it
12095         produces some symbols that don't match our _gst... style regex.
12096         Fixes: #318031
12097
12098 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12099
12100         * gst/gst.c: (init_pre), (scan_and_update_registry),
12101         (ensure_current_registry_nonforking),
12102         (ensure_current_registry_forking), (ensure_current_registry),
12103         (init_post), (gst_debug_help), (gst_deinit):
12104         * gst/gst_private.h:
12105         * gst/gstregistry.c: (gst_registry_finalize),
12106         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12107         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12108         (_gst_registry_cleanup):
12109         * gst/gstregistry.h:
12110           Revert previous change until I figure out why it breaks distcheck.
12111
12112 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12113
12114         * gst/gst.c: (init_pre), (scan_and_update_registry),
12115         (ensure_current_registry_nonforking),
12116         (ensure_current_registry_forking), (ensure_current_registry),
12117         (init_post), (gst_debug_help), (gst_deinit):
12118
12119           Make init_pre and init_post take the full complement of GOptionFunc
12120           args so they can return useful GErrors. Make the registry updating
12121           functions do so.
12122
12123           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12124           ensure that the registry we're about to write out doesn't contain
12125           stale information about old-deleted plugin files.
12126
12127           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12128           that deletion of plugin files is considered a registry change.
12129
12130         * gst/gst_private.h:
12131         * gst/gstregistry.c: (gst_registry_finalize),
12132         (gst_registry_remove_features_for_plugin_unlocked),
12133         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12134         (gst_registry_scan_path),
12135         (_priv_gst_registry_remove_cache_plugins),
12136         (_priv_gst_registry_cleanup):
12137         * gst/gstregistry.h:
12138         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12139         by adding _priv prefix, so that they won't appear in the global
12140         symbol table. They still do atm though because of #318031. Move the
12141         prototypes to gst_private.h
12142
12143         When removing a plugin, remove all features for that plugin too. 
12144         Fixes #340878.
12145
12146 2006-09-27  Wim Taymans  <wim@fluendo.com>
12147
12148         * docs/random/moving-plugins:
12149         Make it clear that the "compiled-in descriptions" really mean
12150         the element details.
12151
12152         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12153         (gst_base_sink_wait_preroll):
12154         Update docs.
12155
12156         * docs/libs/gstreamer-libs-sections.txt:
12157         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12158         (gst_base_src_get_range), (gst_base_src_activate_push):
12159         * libs/gst/base/gstbasesrc.h:
12160         Added function to block while waiting for PLAYING, this function
12161         is used by live sources that block on the clock.
12162         API: gst_base_src_wait_playing()
12163
12164 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12165
12166         Patch by: Peter Kjellerstedt <pkj at axis com>
12167
12168         * Makefile.am:
12169           gst-element-check.m4 is generated and should therefore be
12170           copied from the build dir rather than the source dir (#357593).
12171           'make distcheck' hasn't noticed this because we were disting
12172           the file as well, so stop doing that.
12173
12174 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12175
12176         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12177           Add some tests for gst_caps_intersect().
12178
12179         * tools/gst-launch.c: (event_loop):
12180           Print all buffering percentages we get, even the 100% one.
12181
12182 2006-09-26  Wim Taymans  <wim@fluendo.com>
12183
12184         * tools/gst-inspect.c: (print_element_properties_info),
12185         (print_signal_info):
12186         Fix printing of flags to match the look of enums.
12187
12188 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12189
12190         * gst/gstelementfactory.c:
12191           Fix typo in docs blurb.
12192
12193 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12194
12195         * gst/gsturi.c: (search_by_entry):
12196           Don't assert/crash here if a uri handler doesn't return any
12197           supported protocols. The list of protocols could be generated
12198           dynamically at runtime or at plugin registration, and an error
12199           in the underlying library shouldn't be fatal (#353301).
12200
12201 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12202
12203         * gst/gstinfo.c:
12204           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12205           (spotted by Peter Kjellerstedt).
12206
12207 2006-09-23  Wim Taymans  <wim@fluendo.com>
12208
12209         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12210
12211         * libs/gst/base/gstbasesrc.c:
12212         (gst_base_src_default_check_get_range), (gst_base_src_start),
12213         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12214         (gst_base_src_change_state):
12215         Match _start/_stop calls in the activate functions. Remove redundant
12216         _stop call from the state change function. Fixes #356910.
12217         Turn failure DEBUG into ERROR. 
12218
12219 2006-09-22  Wim Taymans  <wim@fluendo.com>
12220
12221         * docs/design/part-buffering.txt:
12222         * gst/gstmessage.c: (gst_message_new_buffering),
12223         (gst_message_parse_buffering):
12224         Update docs about buffering.
12225
12226         * docs/design/part-trickmodes.txt:
12227         Fix typo.
12228
12229 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12230
12231         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12232         (gst_controller_new_list):
12233           Ref instances when returning them again (fixes #357180)
12234
12235 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12236
12237         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12238           Don't forget to release proxy lock when there's an error.
12239
12240 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12241
12242         * gst/gstcaps.h:
12243           Add extra initialisers for Caps things, to fix some plugin warnings
12244           when using -Wextra
12245
12246 2006-09-18  Wim Taymans  <wim@fluendo.com>
12247
12248         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12249           Also set template on the internal pad so that a getcaps from the 
12250           target pad returns the template caps.
12251
12252 2006-09-18  Wim Taymans  <wim@fluendo.com>
12253
12254         * gst/gstelement.c: (gst_element_post_message),
12255         (gst_element_dispose):
12256         Use _DEBUG_OBJECT some more.
12257
12258         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12259         Avoid typechecks.
12260
12261         * tools/gst-launch.c: (main):
12262         If the toplevel element is not a GstPipeline, it must be put in a
12263         pipeline so that a bus and clock is selected.
12264
12265 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12266
12267         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12268           JITTER, RATE, and LATENCY query should be handled by the
12269           default case and not by the CONVERT query code.
12270
12271 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12272
12273         * gst/gstformat.c: (gst_format_register):
12274           Fix locking order (must take lock before using n_values).
12275
12276         * gst/gstvalue.c: (gst_value_serialize_enum),
12277         (gst_value_deserialize_enum_iter_cmp),
12278         (gst_value_deserialize_enum):
12279           Fix serialisation/deserialisation of custom registered GstFormats.
12280
12281         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12282           Unit test for custom format serialisation/deserialisation.
12283
12284 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12285
12286         * docs/pwg/building-boiler.xml:
12287         * plugins/elements/gstcapsfilter.c:
12288         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12289         section.
12290
12291 2006-09-16  Edward Hervey  <edward@fluendo.com>
12292
12293         * libs/gst/base/gstbasetransform.c:
12294         (gst_base_transform_buffer_alloc):
12295         Check if requested caps are the same as the sinks caps IF
12296         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12297         is FALSE.
12298         This fixes the renegotiation issues stated in #352827.
12299
12300 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12301
12302         * configure.ac:
12303         * docs/manual/advanced-autoplugging.xml:
12304         * tests/examples/Makefile.am:
12305         * tests/examples/manual/.cvsignore:
12306         * tests/examples/manual/Makefile.am:
12307         * tests/examples/manual/extract.pl:
12308           Extract the manual examples again like we used to do.
12309           Fix one of them.
12310
12311 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12312
12313         * win32/common/config.h:
12314           update for version
12315
12316 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12317
12318         * gst/gsterror.c:
12319           Documents how to receive errors.
12320
12321 2006-09-15  Wim Taymans  <wim@fluendo.com>
12322
12323         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12324         (event_loop), (main):
12325         Added some comments here and there.
12326         Post an application message when an interrupt is caught instead of doing
12327         an uncontrolled state change.
12328         Clean up the event loop.
12329         Handle buffering messages, pause/resume the pipeline.
12330         Make shutdown because of an interrupt more reliable.
12331
12332 2006-09-15  Wim Taymans  <wim@fluendo.com>
12333
12334         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12335         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12336         (gst_base_sink_preroll_object):
12337         Make sure that our internal state is correct when we commit our state
12338         asynchronously. This solves a race where a state change to PLAYING
12339         could cause the sink to remain blocked in preroll in some situations.
12340
12341 2006-09-15  Wim Taymans  <wim@fluendo.com>
12342
12343         * tools/gst-inspect.c: (print_element_properties_info),
12344         (print_signal_info):
12345         List flags as hex so it's easier to deal with.
12346
12347 2006-09-15  Wim Taymans  <wim@fluendo.com>
12348
12349         * docs/libs/gstreamer-libs-sections.txt:
12350         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12351         (gst_base_sink_do_sync):
12352         * libs/gst/base/gstbasesink.h:
12353         Expose logic to wait for preroll so that subclasses such as audiosink
12354         can also use this method.
12355         API: gst_base_sink_wait_preroll()
12356
12357 2006-09-15  Wim Taymans  <wim@fluendo.com>
12358
12359         * gst/gstobject.c: (gst_object_set_parent):
12360         * gst/gstpipeline.c: (do_pipeline_seek):
12361         Small cleanups in docs and code.
12362
12363         * gst/gstsegment.c: (gst_segment_clip):
12364         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12365         if stop == start and start is in the segment, no clipping should be
12366         done. Also add a test for this.
12367
12368 2006-09-15  Wim Taymans  <wim@fluendo.com>
12369
12370         * docs/design/part-buffering.txt:
12371         * docs/gst/gstreamer-sections.txt:
12372         * gst/gstmessage.c: (gst_message_new_buffering),
12373         (gst_message_parse_buffering):
12374         * gst/gstmessage.h:
12375         Added methods to create and parse BUFFERING messages.
12376         Added preliminary docs about buffering.
12377         API: gst_message_new_buffering
12378         API: gst_message_parse_buffering
12379
12380 2006-09-06  Wim Taymans  <wim@fluendo.com>
12381
12382         * gst/gstbin.c:
12383         Update documentation.
12384
12385         * gst/gstelement.c: (gst_element_class_init),
12386         (gst_element_release_request_pad), (gst_element_set_clock),
12387         (gst_element_get_index), (gst_element_add_pad),
12388         (gst_element_remove_pad), (gst_element_get_random_pad),
12389         (gst_element_send_event), (gst_element_get_query_types),
12390         (gst_element_query), (gst_element_post_message),
12391         (gst_element_message_full), (gst_element_continue_state),
12392         (gst_element_lost_state), (gst_element_save_thyself),
12393         (gst_element_restore_thyself):
12394         Documentation updates.
12395         Rename last bit of the new-pad -> pad-added signal rename.
12396         Fix the case where an element query would only work if the source
12397         pad was linked.
12398         Avoid some useless type checking in message handling.
12399
12400         * gst/gstevent.c:
12401         * gst/gstevent.h:
12402         * gst/gstutils.c:
12403         Documentation updates.
12404
12405 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12406
12407         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12408           add an INFO line for when we actually update the fd
12409
12410 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12411
12412         * configure.ac:
12413           back to TRUNK
12414
12415 === release 0.10.10 ===
12416
12417 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12418
12419         * configure.ac:
12420           releasing 0.10.10, "Pais"
12421
12422 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12423
12424         * docs/manual/advanced-position.xml:
12425           Fix typo in sample code.
12426
12427 2006-09-05  Wim Taymans  <wim@fluendo.com>
12428
12429         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12430         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12431         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12432         * libs/gst/net/gstnetclientclock.h:
12433         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12434         * libs/gst/net/gstnettimepacket.h:
12435         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12436         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12437         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12438         * libs/gst/net/gstnettimeprovider.h:
12439         Make stuff compile on windows. Fixes #345295.
12440
12441 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12442
12443         * gst/gst.c: (ensure_current_registry_forking):
12444           Print better details when child was terminated by signal.
12445
12446 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12447
12448         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12449           Print a warning rather than g_assert() if a plugin feature
12450           is a URI handler but returns no protocols (#353976).
12451
12452 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12453
12454         * docs/random/moving-plugins:
12455         Fix two typos.         
12456
12457 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12458
12459         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12460           Fix locking order, handle NULL function values properly.
12461
12462         * gst/gstinfo.h:
12463           Fix docs.
12464
12465         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12466           Initialise variable before using it and fix debug statement to
12467           print the address of the function rather than the address of the
12468           variable on the stack holding the address of the function.
12469
12470 2006-09-01  Wim Taymans  <wim@fluendo.com>
12471
12472         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12473         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12474         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12475         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12476         (gst_ghost_pad_parent_unset),
12477         (gst_ghost_pad_internal_do_activate_push),
12478         (gst_ghost_pad_internal_do_activate_pull),
12479         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12480         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12481         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12482         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12483         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12484         (gst_ghost_pad_new_no_target_from_template),
12485         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12486         More cleanups.
12487         Avoid needless typechecking in macros.
12488         Since the internal pad is always present and never changes, there is
12489         no need to locking or ref when retrieving it.
12490         Improve debugging a bit.
12491         Handle link errors when setting the target. Fixes #341029.
12492
12493 2006-09-01  Wim Taymans  <wim@fluendo.com>
12494
12495         * docs/libs/gstreamer-libs-sections.txt:
12496         * docs/plugins/gstreamer-plugins-sections.txt:
12497         Fix docs some more.
12498
12499         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12500         (gst_collect_pads_event):
12501         * libs/gst/base/gstcollectpads.h:
12502         Documentation updates.
12503         Free queued buffer when removing a pad.
12504
12505 2006-08-31  Michael Smith  <msmith@fluendo.com>
12506
12507         * gst/gstutils.c: (gst_element_link_pads),
12508         (gst_element_link_pads_filtered):
12509           Ensure that we set a capsfilter to NULL if we failed to link it
12510           when doing filtered linking, to avoid criticals.
12511
12512           No need to check for unreffing srcpad, which is explicly NULLed
12513           above (a trivial code cleanup).
12514
12515 2006-08-31  Wim Taymans  <wim@fluendo.com>
12516
12517         * docs/design/part-gstghostpad.txt:
12518         Update ascii art in documentation.
12519
12520         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12521         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12522         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12523         (gst_ghost_pad_internal_do_activate_push),
12524         (gst_ghost_pad_internal_do_activate_pull),
12525         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12526         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12527         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12528         (gst_ghost_pad_set_target):
12529         Small cleanups and leak fixes.
12530         Remove some checks now that the internal pad is never NULL.
12531         Fix the case where linking pads without a target would create nasty
12532         criticals. Fixes #341029.
12533         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12534         value of _set_target().
12535
12536         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12537         (gst_ghost_pad_suite):
12538         Some more tests for creating and linking untargeted ghostpads.
12539
12540 2006-08-31  Edward Hervey  <edward@fluendo.com>
12541
12542         * docs/gst/gstreamer-sections.txt:
12543         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12544         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12545         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12546         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12547         (gst_ghost_pad_new_from_template),
12548         (gst_ghost_pad_new_no_target_from_template):
12549         * gst/gstghostpad.h:
12550         Refactored *_new() functions.
12551         Templates are now used as a g_object_new() parameter.
12552         Use template in _do_getcaps() if we don't have a target.
12553         Small documentation cleanups.
12554         Added two new constructors:
12555         gst_ghost_pad_new_from_template()
12556         gst_ghost_pad_new_no_target_from_template()
12557         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12558         (gst_ghost_pad_suite):
12559         Added tests for new ghostpad instanciation functions.
12560
12561         API additions: gst_ghost_pad_new_from_template,
12562         gst_ghost_pad_new_no_target_from_template
12563
12564 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12565
12566         * docs/random/ensonic/profiling.txt:
12567           Ideas about qos profiling.
12568
12569 2006-08-29  Wim Taymans  <wim@fluendo.com>
12570
12571         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12572         Code cleanups.
12573         Fix memleak.
12574
12575 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12576
12577         * gst/gstxml.c:
12578           Improve and detypofy docs.
12579
12580         * tests/check/Makefile.am:
12581         * tests/check/gst/.cvsignore:
12582         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12583           Add a basic test suite for GstXML.
12584
12585 2006-08-29  Wim Taymans  <wim@fluendo.com>
12586
12587         * gst/gstelement.c: (activate_pads), (clear_caps),
12588         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12589         Clear the pad caps when the element shut down all of the pads and
12590         is not streaming data that could modify the caps. 
12591         Fixes #352958.
12592
12593 2006-08-28  Michael Smith  <msmith@fluendo.com>
12594
12595         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12596           Revert previous change; I misunderstood single-segment mode.
12597
12598 2006-08-28  Michael Smith  <msmith@fluendo.com>
12599
12600         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12601           Unset DISCONT on buffers when using single-segment mode.
12602
12603 2006-08-28  Wim Taymans  <wim@fluendo.com>
12604
12605         * gst/gstcaps.c: (gst_caps_merge_structure):
12606         * gst/gstcaps.h:
12607         Fix docs and indentation again.
12608
12609         * tests/check/gst/gstquery.c: (GST_START_TEST):
12610         Fix leak in tests and add some more tests.
12611
12612 2006-08-28  Edward Hervey  <edward@fluendo.com>
12613
12614         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12615         Inform GstSegment of the last stop position in order for the current
12616         segment to have a proper duration if it doesn't have a specific stop
12617         position from which a duration could be calculated.
12618         This bug was noticeable when a non-flushing, non-update new segment was
12619         followed by another segment (all buffers from the new segment were being
12620         dropped).
12621
12622 2006-08-28  Wim Taymans  <wim@fluendo.com>
12623
12624         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12625         Small comment update.
12626
12627         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12628         (gst_identity_transform_ip):
12629         Drop-probability is broken, mention this in the code with a 
12630         FIXME and also in the property description.
12631         Make silent also be silent about the drop messages.
12632
12633 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12634
12635         * docs/manual/appendix-win32.xml:
12636           Remove mention of popt, we don't depend on that any
12637           longer (#353136). Add some comments pointing out that
12638           this section is slightly outdated.
12639
12640 2006-08-28  Wim Taymans  <wim@fluendo.com>
12641
12642         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12643
12644         * gst/gstquery.c: (gst_query_new_segment):
12645         * tests/check/gst/gstquery.c: (GST_START_TEST):
12646         Initialize variables when creating a new segment query.
12647         Fixes #353121.
12648
12649 2006-08-28  Wim Taymans  <wim@fluendo.com>
12650
12651         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12652
12653         * gst/gstelement.c: (gst_element_get_bus):
12654         * tests/check/gst/gstelement.c: (GST_START_TEST):
12655         Check for NULL before _reffing the bus. Fixes #353122.
12656
12657 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12658
12659         * docs/manual/basics-bus.xml:
12660           Docs update: fix wrong callback return value explanation; add
12661           some lines about the implicit relationship between main loop
12662           and main context; remove duplicate main loop variable declaration.
12663
12664 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12665
12666         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12667           Don't leak caps in unit test; add a few more simple
12668           checks. 
12669
12670 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12671
12672         * docs/gst/gstreamer-sections.txt:
12673         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12674         (gst_caps_structure_is_subset), (gst_caps_merge),
12675         (gst_caps_merge_structure):
12676         * gst/gstcaps.h:
12677         * libs/gst/base/gstbasetransform.c:
12678         (gst_base_transform_transform_caps):
12679         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12680           implement caps merging (fixes #352580)
12681
12682 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12683
12684         * tools/Makefile.am:
12685         * tools/gst-plot-timeline.py:
12686           add debug-log plotting developer tool (#340674)
12687
12688 2006-08-23  Wim Taymans  <wim@fluendo.com>
12689
12690         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12691         (gst_pad_stop_task):
12692         Improve debugging for task functions.
12693
12694         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12695         (gst_task_start), (gst_task_pause), (gst_task_join):
12696         Make sure that the task function started and finished after a 
12697         join(). 
12698         Don't try to push the task function on the threadpool multiple
12699         times.
12700         Improve the g_warning message with some useful suggestions
12701         about how to fix the problem. 
12702
12703 2006-08-23  Wim Taymans  <wim@fluendo.com>
12704
12705         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12706         Handle RESYNC correctly in _proxy_getcaps.
12707
12708 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12709
12710         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12711         (gst_xml_parse_memory), (gst_xml_get_element):
12712           Chain up to parent class in dispose function and also
12713           unref the elements in the toplevel_elements GList.
12714           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12715           Always return a reference in gst_xml_get_element() rather
12716           than only sometimes.
12717
12718         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12719           Don't leak GstXml object.
12720
12721 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12722
12723         * docs/gst/gstreamer-sections.txt:
12724         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12725         (gst_caps_merge):
12726         * gst/gstcaps.h:
12727         * libs/gst/base/gstbasetransform.c:
12728         (gst_base_transform_transform_caps):
12729           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12730           in a better way
12731
12732 2006-08-21  Edward Hervey  <edward@fluendo.com>
12733
12734         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12735         Implement GObject::dispose virtual method in GstXML so we can free the
12736         top_elements GList.
12737
12738 2006-08-21  Wim Taymans  <wim@fluendo.com>
12739
12740         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12741         (gst_buffer_create_sub):
12742         Copy duration/offset_end/caps when creating a subbuffer of the
12743         complete parent.
12744         Make the subbuffer read-only when we make the metadata writable for
12745         now. Fixes #351768.
12746
12747         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12748         Added check for metadata copy when creating subbuffers.
12749
12750 2006-08-21  Edward Hervey  <edward@fluendo.com>
12751
12752         * libs/gst/base/gstbasetransform.c:
12753         (gst_base_transform_buffer_alloc):
12754         Only call downstream buffer_alloc if transform element is passthrough
12755         or always_in_place. Closes #350449.
12756
12757 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12758
12759         * ChangeLog:
12760           ChangeLog surgery to add comments to previous changes
12761
12762 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12763
12764         * gst/gst.c:
12765           Add comments
12766
12767         * gst/gstpad.c: (gst_pad_set_active):
12768           Be more verbose in the log
12769
12770         * libs/gst/base/gstbasetransform.c:
12771         (gst_base_transform_transform_caps):
12772           Simplify caps to get rid of duplicates, fixes #345444
12773
12774 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12775
12776         * gst/gstvalue.c:
12777         * gst/gstvalue.h:
12778           Use these optimizations only internally.
12779
12780 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12781
12782         * gst/gstvalue.c: (gst_value_compare_list),
12783         (gst_value_compare_fraction_range),
12784         (gst_value_intersect_fraction_fraction_range),
12785         (gst_value_intersect_fraction_range_fraction_range),
12786         (gst_value_subtract_fraction_fraction_range),
12787         (gst_value_subtract_fraction_range_fraction_range),
12788         (gst_value_get_compare_func), (gst_value_compare),
12789         (gst_value_compare_with_func):
12790         * gst/gstvalue.h:
12791           Saves the expensive lookup of the compare function in many cases
12792          (#345444)
12793
12794 2006-08-18  Edward Hervey  <edward@fluendo.com>
12795
12796         * tests/check/gst/gstinfo.c: (gst_info_suite):
12797         Disable test that require gstdebug if it wasn't built in core.
12798
12799 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12800
12801         * docs/random/ensonic/logging.txt:
12802           update ideas
12803           
12804         * gst/gstinfo.c: (gst_debug_log_default):
12805           reorder fields, save some columns, add optional color codes for log
12806           levels
12807
12808 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12809
12810         * docs/random/ensonic/logging.txt:
12811           add ideas about making the logs a bit more useful
12812
12813 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12814
12815         * docs/pwg/advanced-events.xml:
12816         * docs/pwg/titlepage.xml:
12817           Update for 0.10 API (#340627). Add myself
12818           to authors list.
12819
12820 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12821
12822         * docs/libs/gstreamer-libs-docs.sgml:
12823         * docs/libs/gstreamer-libs-sections.txt:
12824         * libs/gst/check/gstbufferstraw.c:
12825           Make gstcheck stuff show up in docs (still needs to
12826           be documented properly though).
12827
12828 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12829
12830         * docs/gst/gstreamer-sections.txt:
12831         * gst/Makefile.am:
12832         * gst/gst.c: (init_post):
12833         * gst/gst_private.h:
12834         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12835         * gst/gstquark.h:
12836         * gst/gstquery.c: (gst_query_new_position),
12837         (gst_query_set_position), (gst_query_parse_position),
12838         (gst_query_new_duration), (gst_query_set_duration),
12839         (gst_query_parse_duration), (gst_query_new_convert),
12840         (gst_query_set_convert), (gst_query_parse_convert),
12841         (gst_query_new_segment), (gst_query_set_segment),
12842         (gst_query_parse_segment), (gst_query_new_seeking),
12843         (gst_query_set_seeking), (gst_query_parse_seeking):
12844         Add internal helpers for pre-registering quarks from static strings
12845         and using the quark values directly instead of looking them up when
12846         creating and parsing queries. Can be used for event construction too.
12847         Closes #350432.
12848
12849 2006-08-16  Wim Taymans  <wim@fluendo.com>
12850
12851         * gst/gstbin.c:
12852         Fix bogus docs.
12853
12854 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12855
12856         * gst/gstutils.c: (gst_util_set_value_from_string):
12857           Fix memleak (#351502).
12858
12859         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12860           Add unit test for most of gst_util_set_value_from_string()
12861           (not that one would want to encourage use of this function).
12862
12863 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12864
12865         * libs/gst/check/gstcheck.h:
12866           Use const gchar * variables in fail_unless_equals_string
12867           macro to avoid compiler warnings (and don't use tabs for
12868           indenting).
12869
12870 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12871
12872         * tools/gst-launch.c: (print_tag):
12873           More space on the left for the tag names, to cater
12874           for the 'extended comment' tag (not touching the
12875           string for the first line since it's translated).
12876
12877 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12878
12879         * libs/gst/check/gstcheck.h:
12880           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12881           print something when they fail.
12882
12883 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12884
12885         * docs/gst/gstreamer-sections.txt:
12886         * gst/gsttaglist.c: (_gst_tag_initialize):
12887         * gst/gsttaglist.h:
12888           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12889           Also change merge function for GST_TAG_COMMENT to
12890           use_first.
12891
12892 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12893
12894         * gst/gstinfo.c: (gst_debug_print_object):
12895           Make GST_PTR_FORMAT print messages as well.
12896
12897         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12898         (GST_START_TEST), (gst_info_suite):
12899           More tests.
12900
12901 2006-08-14  Edward Hervey  <edward@fluendo.com>
12902
12903         * gst/gstelementfactory.c: (gst_element_register):
12904         If the GstElementClass doesn't have a GstElementDetails with all fields
12905         filled up correctly (longname, description AND author), then error out
12906         nicely instead of crashing.
12907
12908 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12909
12910         * gst/gststructure.c:
12911           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12912
12913         * gst/gstvalue.h:
12914           Expand on the difference between arrays and lists as we use them.
12915           
12916 2006-08-14  Wim Taymans  <wim@fluendo.com>
12917
12918         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12919         If the parent state change function failed, don't assume we can safely
12920         stop the source, this will be done when the pads are deactivated.
12921
12922 2006-08-14  Wim Taymans  <wim@fluendo.com>
12923
12924         * gst/gstbuffer.c:
12925         * gst/gsttask.c: (gst_task_join):
12926         Small doc updates.
12927
12928         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12929         (gst_pad_stop_task):
12930         When pad (de)activation failed for some reason, restore the old
12931         activation mode and set the pad to flushing instead of assuming the
12932         pad is deactivated.
12933         If the _task_join() failed, reinstall the task on the pad so that it can
12934         be stopped later and return an error.
12935
12936 2006-08-11  Andy Wingo  <wingo@pobox.com>
12937
12938         * configure.ac:
12939         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12940         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12941         is only for users of API that don't want to see deprecated
12942         functions in the headers; people that want to compile out
12943         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12944         CFLAGS. Fixes the build of multifdsink, or will soon..
12945
12946 2006-08-11  Wim Taymans  <wim@fluendo.com>
12947
12948         * docs/gst/gstreamer-sections.txt:
12949         Add GstClockClass vmethod docs.
12950
12951         * gst/gstcaps.h:
12952         Mark #endif with comment for associated #if
12953
12954         * gst/gstclock.c: (gst_clock_id_wait):
12955         * gst/gstclock.h:
12956         Add vmethod wait_jitter to avoid an unneeded _get_time() for
12957         most clock implementations.
12958         Document vmethods.
12959         Flesh out docs about resolution methods.
12960         API: GstClockClass::wait_jitter
12961
12962         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12963         (gst_system_clock_async_thread),
12964         (gst_system_clock_id_wait_jitter_unlocked),
12965         (gst_system_clock_id_wait_jitter):
12966         Use base class wait_jitter variant for improved performance
12967         due to less clock polling.
12968
12969 2006-08-11  Edward Hervey  <edward@fluendo.com>
12970
12971         * gst/gst.c: (gst_init_check), (init_post):
12972         Set gst as being initialized before scanning/updating the registry,
12973         since there might be my python plugin loader that calls gst_init() and
12974         we don't want to loop back in.
12975         Closes #350879
12976
12977 2006-08-11  Wim Taymans  <wim@fluendo.com>
12978
12979         * docs/design/part-qos.txt:
12980         Bring docs in line with the code. Mostly the sign of the jitter was
12981         wrong in the docs. Fixes #349943.
12982
12983         * gst/gstclock.c:
12984         Fix the docs for the jitter.
12985
12986         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12987         (gst_event_parse_tag), (gst_event_new_buffer_size),
12988         (gst_event_parse_buffer_size), (gst_event_parse_qos),
12989         (gst_event_new_seek), (gst_event_parse_seek),
12990         (gst_event_new_navigation):
12991         Make sure the GstStructure has no parent when creating custom
12992         events.
12993         Add some more argument checking so that we avoid 0.0 rates.
12994         Flesh out the docs for the QoS event some more.
12995
12996 2006-08-11  Wim Taymans  <wim@fluendo.com>
12997
12998         * docs/gst/gstreamer-sections.txt:
12999         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13000         (ensure_current_registry_forking), (ensure_current_registry),
13001         (parse_one_option), (parse_goption_arg), (gst_deinit),
13002         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13003         * gst/gst.h:
13004         Doc updates.
13005         Added API and command line option to disable registry forking in
13006         addition to the environment variable.
13007         Constify some static arrays.
13008         Added some more debug.
13009         Don't deinit twice.
13010         API: gst_registry_fork_is_enabled()
13011         API: gst_registry_fork_set_enabled()
13012         API: --gst-disable-registry-fork command line option
13013         Fixes #348918.
13014
13015 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13016
13017         * gst/gst.c: (gst_init):
13018           Fix typo in error message.
13019
13020 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13021
13022         * libs/gst/controller/gstcontroller.h:
13023           fix ABI size-correction
13024
13025         * tests/check/libs/gdp.c: (gst_dp_suite):
13026           make tests that use deprecated API conditional
13027
13028 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13029
13030         * docs/libs/gstreamer-libs-sections.txt:
13031         * libs/gst/controller/gstcontroller.c:
13032         (_gst_controller_get_property), (_gst_controller_set_property),
13033         (_gst_controller_init), (_gst_controller_class_init):
13034         * libs/gst/controller/gstcontroller.h:
13035         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13036         (gst_object_set_control_rate):
13037           API: add gst_object_{s,g}et_control_rate(), add private data section,
13038           fix docs
13039
13040         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13041         * libs/gst/dataprotocol/dataprotocol.h:
13042           add deprecation guards to make gtk-doc happy and allow disabling cruft
13043
13044 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13045
13046         * tests/check/Makefile.am:
13047         * tests/check/gst/.cvsignore:
13048           Let's enable the new unit test as well.
13049
13050 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13051
13052         * configure.ac:
13053         * docs/gst/gstreamer-sections.txt:
13054         * gst/gstconfig.h.in:
13055         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13056         (_gst_info_printf_extension_ptr),
13057         (_gst_info_printf_extension_segment):
13058           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13059           register that lets us easily dump GstSegments into debug
13060           logs (#350419).
13061
13062         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13063         (info_segment_format_printf_extension), (gst_info_suite):
13064           Add simple unit test that logs a bunch of different segments (not
13065           valgrinded at the moment because of leaks in
13066           gst_debug_add_log_function).
13067
13068 2006-08-09  Edward Hervey  <edward@fluendo.com>
13069
13070         * libs/gst/base/gstbasetransform.c:
13071         (gst_base_transform_buffer_alloc):
13072         Even if we can't figure out the proper format to request downstream,
13073         call buffer_alloc() downstream with the input parameters without setting
13074         the caps on the srcpad. This will force negotiation in the chain
13075         function.
13076         Closes #350449
13077
13078 2006-08-08  Edward Hervey  <edward@fluendo.com>
13079
13080         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13081         Unlinking from a pad without a target is now a perfectly valid case
13082         which should NOT raise an assertion.
13083         This case would happen if a linked ghostpad its target set to NULL after
13084         it was previously linked.
13085
13086 2006-08-08  Edward Hervey  <edward@fluendo.com>
13087
13088         * tests/check/libs/gdp.c:
13089         Also comment out the test (see below).
13090
13091 2006-08-08  Edward Hervey  <edward@fluendo.com>
13092
13093         * tests/check/libs/gdp.c: (gst_dp_suite):
13094         Use the architecture information from config.h and not gcc macros
13095         in order to properly disable a test that fails on PPC64.
13096
13097 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13098
13099         * gst/gstelement.c: (gst_element_remove_pad):
13100           Don't crash printing the warning if the pad has no parent.
13101
13102 2006-08-02  Wim Taymans  <wim@fluendo.com>
13103
13104         * libs/gst/dataprotocol/dataprotocol.c:
13105         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13106         (gst_dp_crc), (gst_dp_header_payload_length),
13107         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13108         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13109         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13110         (gst_dp_event_from_packet), (gst_dp_validate_header),
13111         (gst_dp_validate_payload):
13112         Make debug category static
13113         Constify the crc table.
13114         Do some more arg checking in public functions.
13115         Fix some docs and do some small cleanups.
13116
13117         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13118         Add some more checks to see if GDP deals with bogus input.
13119
13120 2006-07-31  Wim Taymans  <wim@fluendo.com>
13121
13122         * gst/gstvalue.c: (gst_value_compare_list):
13123         Fix GstValueList comparison code. Fixes #347293.
13124
13125         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13126         Check to test GstValueList comparison.
13127
13128 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13129
13130         * gst/gstelementfactory.c: (gst_element_factory_create):
13131         Remove unnecessary ref/unref pair
13132
13133         * gst/parse/grammar.y:
13134         Make sure to free the parse buffer on all code paths.
13135         Move a g_free up to the error handler where it's easier to see.
13136
13137         * tests/check/gst/gstevent.c: (test_event):
13138         Extending timeout for downstream travelling events to 10 seconds to
13139         hopefully avoid intermittent failure on the buildbots.
13140
13141         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13142         Don't manually set the state of the src element - it will happen as a
13143         natural consequence of the pipeline changing state, and that way it
13144         will do it in the right order too.
13145
13146 2006-07-31  Wim Taymans  <wim@fluendo.com>
13147
13148         * libs/gst/base/gstbasetransform.c:
13149         (gst_base_transform_buffer_alloc):
13150         Use OBJECT_LOCK and refcounting to get the pad caps in the
13151         buffer_alloc function because the caps could change while we are
13152         busy with them. Fixes #349105
13153
13154 2006-07-31  Wim Taymans  <wim@fluendo.com>
13155
13156         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13157         Protect _PAD_CAPS with OBJECT_LOCK.
13158
13159 2006-07-31  Wim Taymans  <wim@fluendo.com>
13160
13161         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13162         (gst_pad_get_property), (gst_pad_activate_pull),
13163         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13164         (gst_pad_set_activate_function),
13165         (gst_pad_set_activatepull_function),
13166         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13167         (gst_pad_set_getrange_function),
13168         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13169         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13170         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13171         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13172         (gst_pad_set_acceptcaps_function),
13173         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13174         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13175         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13176         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13177         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13178         (gst_pad_configure_sink), (gst_pad_configure_src),
13179         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13180         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13181         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13182         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13183         (gst_pad_send_event):
13184         Use _DEBUG_OBJECT when it makes sense.
13185         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13186         Small cleanups and code reflows.
13187         Avoid caps refcounting in _accept_caps.
13188         Refactor alloc_buffer so that the code performed on the peer is in a
13189         separate function. Also if the pad does not implement a buffer alloc
13190         function, we should still check if the pad is flushing before falling
13191         back to the default allocator.
13192
13193 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13194
13195         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13196         Make all uses of identity and fakesink have silent=true to avoid
13197         serialising every passing data structure, which is breaking tests
13198         on FC4 for some unknown reason.
13199
13200 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13201
13202         * gst/parse/Makefile.am:
13203         * gst/parse/grammar.y:
13204         * gst/parse/parse.l:
13205           Reverted previous patch as it required to bump the flex dependency to
13206           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13207
13208 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13209
13210         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13211
13212         * gst/parse/Makefile.am:
13213         * gst/parse/grammar.y:
13214         * gst/parse/parse.l:
13215           push & pop the state of the lexer for reentrant use case
13216           Fixes #349180
13217
13218 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13219
13220         * libs/gst/base/gstbasesrc.h:
13221           Note in the docs that the ::newsegment vfunc is not actually used by
13222           GstBaseSrc.
13223
13224 2006-07-28  Wim Taymans  <wim@fluendo.com>
13225
13226         * libs/gst/base/gstcollectpads.c:
13227         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13228         (gst_collect_pads_clear), (gst_collect_pads_flush),
13229         (gst_collect_pads_event), (gst_collect_pads_chain):
13230         When flushing a pad, also clear the queued buffer so that we don't
13231         accidentally use it when we shouldn't.
13232         Fix leaks by inreffing incomming buffer.
13233         Flush out queued buffers in case of errors.
13234         Fixes #347452.
13235
13236 2006-07-28  Wim Taymans  <wim@fluendo.com>
13237
13238         * docs/random/phonon-gst:
13239         Random notes about a Phonon backend.
13240
13241 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13242
13243         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13244         Extra debug output
13245         * tests/check/libs/gdp.c: (gst_dp_suite):
13246         Take a whack at fixing the ppc compile using a different define to
13247         disable the broken test.
13248
13249         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13250         Remove excess g_print()
13251
13252 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13253
13254         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13255         Oops, meant to uncomment this line too to dampen the noise a bit.
13256
13257 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13258
13259         * gst/parse/grammar.y:
13260         * gst/parse/parse.l:
13261         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13262         (GST_START_TEST), (parse_suite):
13263         Fix some of the leaks exposed by extending the parse-launch testsuite,
13264         and move the 3 I can't figure out into a separate test that won't run
13265         the pipelines unless the appropriate line is uncommented.
13266
13267 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13268
13269         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13270           Requesting 0 bytes before the end of the file should result in
13271           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13272           unit test.
13273
13274 2006-07-27  Wim Taymans  <wim@fluendo.com>
13275
13276         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13277         Fix useless assert, a uint is always positive.
13278
13279         * gst/gststructure.c: (gst_structure_nth_field_name),
13280         (gst_structure_foreach), (gst_structure_map_in_place):
13281         Check input arguments for public functions to avoid obvious crashes.
13282
13283         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13284         * plugins/elements/gstfakesink.h:
13285         Do less useless typechecking.
13286
13287 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13288
13289         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13290           Do not use mmap() by default since there are a number of error
13291           conditions that we would like to handle in a non-fatal way that
13292           will result in a SIGBUS if we use mmap(). Examples: external
13293           devices (USB harddrive, portable music player) being unplugged
13294           while in use; file on mounted CD/DVD that can't be read because
13295           the medium is partly damaged. Fixes #348455 and #348475.
13296
13297 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13298
13299         * gst/gstquery.h:
13300         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13301         rates are a gdouble
13302
13303 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13304
13305         * gst/gstregistry.c:
13306           Move big documentation comment into class section header, so that it
13307           appears in the API docs.
13308
13309 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13310
13311         * docs/gst/gstreamer-sections.txt:
13312         Oops. Commit the docs additions too for new API.
13313         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13314
13315 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13316
13317         * gst/gststructure.c: (gst_structure_id_set),
13318         (gst_structure_id_set_valist):
13319         * gst/gststructure.h:
13320         Add API for setting values into structures without performing
13321         a quark lookup, if the appropriate quark is already known.
13322
13323         API: gst_structure_id_set
13324         API: gst_structure_id_set_valist
13325
13326         * gst/parse/grammar.y:
13327         * gst/parse/parse.l:
13328         Remove some dead code shown by the coverage information.
13329         Don't throw a critical g_warning when encountering a syntax error,
13330         just warn and let the normal error path handle it.
13331
13332         * plugins/elements/gstelements.c:
13333         Bump the rank of filesink up to PRIMARY so that it is preferred over
13334         gnomevfssink for file:// sink uri's
13335
13336         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13337         (GST_START_TEST), (run_delayed_test),
13338         (gst_parse_test_element_base_init),
13339         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13340         (gst_parse_test_element_change_state),
13341         (gst_register_parse_element), (parse_suite):
13342         Beef up the tests for parse syntax to check that more error cases
13343         fail as they are supposed to. Increases the test coverage a bit.
13344
13345 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13346
13347         * docs/manual/basics-elements.xml:
13348           Fix gst_element_link() example.
13349
13350         * gst/gstutils.c:
13351           Mention in API docs that one should usually gst_bin_add()
13352           elements to a bin or pipeline before doing the linking.
13353           
13354 2006-07-26  Wim Taymans  <wim@fluendo.com>
13355
13356         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13357         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13358         Avoid function call for known types by keeping the buffer and
13359         subbuffer GType global.
13360
13361         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13362         Random silly optimisations in read() path.
13363
13364 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13365
13366         * tools/gst-launch.c: (main):
13367           If the top-level of the parse is a normal bin, it doesn't do the
13368           right logic to run as a top-level element, so place it inside a
13369           pipeline.
13370
13371 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13372
13373         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13374           Remove superfluous g_object_notify() calls, GObject does
13375           that for us automatically.
13376
13377 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13378
13379         * gst/gstinfo.h:
13380           on Win32, use dllspec to export the debug category symbols
13381
13382 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13383
13384         * gst/gsttaglist.c: (_gst_tag_initialize):
13385           Allow more than one GST_TAG_IMAGE per taglist.
13386
13387 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13388
13389         * gst/gstminiobject.c:
13390           update docs
13391         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13392         (gst_fd_src_create):
13393           log recurring events at LOG level
13394           add more debug for when the fd gets set
13395
13396 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13397
13398         * gst/gstparse.c: (gst_parse_launch):
13399           Also remove reentrance checks if flex is MT safe (#348179)
13400          Fix my empty ChangeLog entry below
13401
13402 2006-07-21  Andy Wingo  <wingo@pobox.com>
13403
13404         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13405
13406         * libs/gst/check/Makefile.am
13407         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13408         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13409         * libs/gst/check/gstbufferstraw.h:
13410         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13411         functions, thus proving I am still a GStreamer haxor. OK I wrote
13412         them a long time ago, but anyways.
13413
13414 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13415
13416         * configure.ac:
13417         * gst/gstparse.c: (gst_parse_launch):
13418           Check for flex version and omit mutex if we have a MT save flex
13419           (fixes #348179)
13420
13421 2006-07-21  Wim Taymans  <wim@fluendo.com>
13422
13423         * gst/gstparse.c: (gst_parse_launch):
13424         Protect recursive calls to _parse with a recursive mutex
13425         and busy flag.
13426
13427 2006-07-21  Wim Taymans  <wim@fluendo.com>
13428
13429         * tests/check/gst/gstpad.c: (GST_START_TEST):
13430         Fix leak in test.
13431
13432 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13433
13434         * gst/gstparse.c: (gst_parse_launch):
13435           Do not hang on recursive usage of gst_parse_launch()
13436
13437 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13438
13439         * gst/gsttaglist.c:
13440           Add some more docs, comments and FIXME 0.11s here and there
13441           and also fix some typos.
13442
13443 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13444
13445         * gst/gstsegment.h:
13446           Convert tabs to spaces for better readability. 
13447
13448 2006-07-20  Edward Hervey  <edward@fluendo.com>
13449
13450         * tests/check/libs/gdp.c: (gst_dp_suite):
13451         the test_buffer test fails at line 140 on ppc64 at the following
13452         check:
13453         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13454                 GST_BUFFER_FLAG_IN_CAPS),
13455                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13456         See bug #348114 for more details.
13457
13458 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13459
13460         * docs/pwg/advanced-scheduling.xml:
13461         * gst/gstpad.c:
13462           Fix typos (#348000).
13463
13464 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13465
13466         * docs/pwg/intro-basics.xml:
13467           Fix wrong links (#347927).
13468
13469 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13470
13471         * gst/gstregistry.h:
13472         * gst/gstregistryxml.c: (load_feature),
13473         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13474         * win32/common/config.h:
13475           make --disable-index work (#342564)
13476
13477 2006-07-18  Wim Taymans  <wim@fluendo.com>
13478
13479         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13480
13481         * gst/Makefile.am:
13482         * gst/gsttrace.h:
13483         The attached patch adds two missing defines to gsttrace.h when tracing
13484         is disabled.  It also corrects one existing define.
13485         Fixes #347756.
13486
13487 2006-07-17  Wim Taymans  <wim@fluendo.com>
13488
13489         * docs/gst/gstreamer-sections.txt:
13490         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13491         * gst/gst.h:
13492         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13493         Add two functions to check and change the SIGSEGV behaviour
13494         when loading plugins.
13495         Don't mess with the SIGSEGV handler when we were told not to.
13496         Fixes #347794.
13497         API: gst_segtrap_is_enabled
13498         API: gst_segtrap_set_enabled
13499
13500 2006-07-14  Wim Taymans  <wim@fluendo.com>
13501
13502         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13503         * tests/check/elements/filesrc.c: (GST_START_TEST):
13504         Revert fix for regression in #347408 after release.
13505
13506 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13507
13508         Patch by: Antoine Tremblay <hexa00 at gmail com>
13509
13510         * gst/gstutils.c: (gst_element_unlink):
13511           Free iterator when done (#347311).
13512
13513         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13514           And add a test case for this.
13515
13516 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13517
13518         * configure.ac:
13519         Bump nano back to CVS
13520
13521 === release 0.10.9 ===
13522
13523 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13524
13525         * configure.ac:
13526           releasing 0.10.9, "On the road again"
13527
13528 2006-07-13  Wim Taymans  <wim@fluendo.com>
13529
13530         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13531         * tests/check/elements/filesrc.c: (GST_START_TEST):
13532         Revert pull-0 fix for release. Disable check. Fixes #347408.
13533
13534 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13535
13536         * libs/gst/dataprotocol/dataprotocol.c:
13537         (gst_dp_event_from_packet_1_0):
13538           Fixes #347337: failure to deserialize event packets with
13539           empty payload (only event type)
13540
13541 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13542
13543         * gst/Makefile.am:
13544           do not install a .c file in the header directory
13545
13546 2006-07-13  Edward Hervey  <edward@fluendo.com>
13547
13548         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13549         GhostPad no longer implicitely use the padtemplates of the targets.
13550         Fixes #347384
13551
13552 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13553
13554         * gst/gstvalue.c: (gst_value_compare_list),
13555         (gst_value_compare_array), (_gst_value_initialize):
13556         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13557         Make GstValueArray comparison be order dependent as designed.
13558         Add checks for value lists and value array comparisons.
13559         Fixes #347221
13560
13561 2006-07-11  Edward Hervey  <edward@fluendo.com>
13562
13563         * gst/gstbin.c: (activate_pads),
13564         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13565         (gst_bin_change_state_func):
13566         (de)activate src pads before calling state_change on the childs.
13567         This is to avoid the case where a src ghostpad is blocked (holding the
13568         stream lock), which would block the deactivation of the ghostpad's
13569         target pad.
13570         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13571         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13572         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13573         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13574         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13575         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13576         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13577         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13578         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13579         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13580         (gst_ghost_pad_class_init),
13581         (gst_ghost_pad_internal_do_activate_push),
13582         (gst_ghost_pad_internal_do_activate_pull),
13583         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13584         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13585         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13586         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13587         GhostPads now create their internal GstProxyPad at creation (and not
13588         when they're linked, as it was being done previously).
13589         The internal and target pads are linked straight away.
13590         The data will also travel through the other pad in order to make
13591         pad blocking and probes non-hackish (the probe/block now really happens
13592         on the GhostPad and not on the target).
13593         * gst/gstpad.c: (gst_pad_set_blocked_async),
13594         (gst_pad_link_prepare), (gst_pad_push_event):
13595         Remove previous ghostpad cruft.
13596         * gst/gstutils.c: (gst_pad_add_data_probe),
13597         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13598         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13599         (gst_pad_remove_buffer_probe):
13600         Remove previous ghost pad cruft.
13601         Added more detailed debug statements.
13602         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13603         Fix the testsuite for refcounting changes.
13604         The comments about who has references were correct, but the refcount
13605         being checked wasn't the same (!?!).
13606
13607         Fixes #341029
13608
13609 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13610
13611         * docs/gst/gstreamer-sections.txt:
13612         * gst/gstconfig.h.in:
13613         More docs for configuration options, add docs to gtk-doc.
13614
13615 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13616
13617         * gst/Makefile.am:
13618         * gst/gstconfig.h.in:
13619         * win32/common/config.h:
13620         Fix build when disabling tracing (fixes #344016). Also start to document
13621         the defines that disable the sub-systems.
13622
13623 2006-07-10  Edward Hervey  <edward@fluendo.com>
13624
13625         * gst/gst.c: (ensure_current_registry_forking):
13626         let's make valgrind happy...
13627
13628 2006-07-09  Wim Taymans  <wim@fluendo.com>
13629
13630         * gst/gstelement.c: (activate_pads),
13631         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13632         Better pad activation code: Reset the collect value too on resync.
13633         Add some comments.
13634
13635 2006-07-09  Wim Taymans  <wim@fluendo.com>
13636
13637         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13638         (gst_pad_activate_push):
13639         Use some more macros where it makes sense.
13640         Allow pad mode switching instead of asserting. When a pad
13641         is activated in one mode and we activate it in another, 
13642         deactivate it first before activating it in a different mode.
13643         Fixes #329198.
13644
13645 2006-07-08  Andy Wingo  <wingo@pobox.com>
13646
13647         * tools/gst-launch.c (main): Handle err == NULL.
13648
13649         * gst/gst.c (init_post, ensure_current_registry)
13650         (ensure_current_registry_forking)
13651         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13652         factoring out the registry scanning into separate functions. Don't
13653         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13654         Better environment var name/interface suggestions accepted.
13655
13656 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13657
13658         * gst/gstobject.c: (gst_object_set_name_default),
13659         (gst_object_set_name):
13660           Random micro-optimisation: don't use a hash table
13661           with strings as keys and the usual strdup/strcmp
13662           involved, but rather just use the GQuark of the
13663           type name as key, since it needs to be looked up
13664           anyway to get the type name string.
13665
13666         * tests/check/gst/gstobject.c: (GST_START_TEST):
13667           Fix various leaks.
13668
13669 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13670
13671         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13672         (gst_bin_iterate_all_by_interface):
13673           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13674           GTypes are gulongs and thus the top 4 bytes might be cut
13675           off on some platforms when doing GPOINTER_TO_INT, leading
13676           to invalid GTypes and bad things happening (see RH bug #179654).
13677           Also add a check to make sure the type passed in is really
13678           an interface type.
13679
13680 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13681
13682         * .cvsignore:
13683           Ignore more.
13684
13685 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13686
13687         * Makefile.am:
13688         * configure.ac:
13689         * gst-element-check.m4:
13690         * gst-element-check.m4.in:
13691           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13692           instead of the unversioned gst-inspect (#324176, #168659).
13693
13694 2006-07-06  Wim Taymans  <wim@fluendo.com>
13695
13696         * gst/gstmessage.h:
13697         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13698         warnings.
13699
13700 2006-07-06  Wim Taymans  <wim@fluendo.com>
13701
13702         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13703         (gst_base_src_wait), (gst_base_src_update_length),
13704         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13705         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13706         (gst_base_src_loop), (gst_base_src_start),
13707         (gst_base_src_activate_pull):
13708         Update docs.
13709         blocksize == 0 now means the default blocksize when working in push
13710         based mode.
13711         Remove some pointless asserts in _wait function.
13712         Fix offset/length calculations and EOS handling. We can now pull 0
13713         bytes as well, which is allowed.
13714         use _check_get_range() to decide if we can operate in _pull based
13715         mode.
13716         Fix refcounting leak when check_get_range function was not 
13717         implemented.
13718         API GstBaseSrc::blocksize range can be 0 too now (default)
13719
13720         * tests/check/elements/filesrc.c: (GST_START_TEST),
13721         (filesrc_suite):
13722         Added check to test _get_range() behaviour.
13723
13724 2006-07-06  Wim Taymans  <wim@fluendo.com>
13725
13726         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13727         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13728         (gst_pad_pull_range):
13729         * gst/gstpad.h:
13730         Lots of comments and docs added to the pad functions.
13731         Flesh out the expected behaviour of the get_range() functions.
13732
13733 2006-07-06  Wim Taymans  <wim@fluendo.com>
13734
13735         * gst/gstbus.h:
13736         * gst/gstclock.h:
13737         * gst/gstevent.h:
13738         * gst/gstiterator.h:
13739         * gst/gstpad.h:
13740         * gst/gstplugin.h:
13741         * gst/gsttask.h:
13742         Remove comma at end of enumerator list. 
13743
13744 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13745
13746         * win32/common/libgstbase.def:
13747         * win32/common/libgstdataprotocol.def:
13748         * win32/common/libsgtreamer.def:
13749         Add new exported functions.
13750
13751 2006-07-05  Wim Taymans  <wim@fluendo.com>
13752
13753         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13754         Add some more docs here and there.
13755
13756 2006-07-05  Wim Taymans  <wim@fluendo.com>
13757
13758         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13759         (gst_base_sink_loop), (gst_base_sink_get_position):
13760         When operating in pull mode update the offset so that we
13761         read sequentially.
13762
13763 2006-07-05  Wim Taymans  <wim@fluendo.com>
13764
13765         * gst/gstregistryxml.c: (read_string):
13766         Avoid strdup. (will happen in libxml, but hey!)
13767
13768         * gst/gsturi.c:
13769         Add some more docs.
13770
13771 2006-07-05  Wim Taymans  <wim@fluendo.com>
13772
13773         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13774         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13775         (gst_buffer_suite):
13776         No point in checking if the size of the subbuffer > 0, the
13777         code handles it correclty as demonstrated by unit test.
13778         Also add a unit test for the zero sized _new_and_alloc and
13779         _copy. Fixes #346663.
13780
13781 2006-07-05  Wim Taymans  <wim@fluendo.com>
13782
13783         * libs/gst/base/gstbasetransform.c:
13784         (gst_base_transform_prepare_output_buffer),
13785         (gst_base_transform_buffer_alloc),
13786         (gst_base_transform_handle_buffer):
13787         Make sure the buffer we pass to transform_ip has a refcount of
13788         1 and thus is writable. Fixes #343196
13789
13790 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13791
13792         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13793         (gst_file_src_init), (gst_file_src_set_property),
13794         (gst_file_src_get_property), (gst_file_src_map_region):
13795         * plugins/elements/gstfilesrc.h:
13796         Add "sequential" property, off by default, to use madvise and hint
13797         to the kernel that sequential access is desired.
13798         Touch all retrieved pages by default to ensure they are pulled
13799         into memory. (Closes #345720)
13800
13801 2006-07-03  Wim Taymans  <wim@fluendo.com>
13802
13803         * docs/design/part-block.txt:
13804         * docs/design/part-dynamic.txt:
13805         Small docs updates.
13806
13807 2006-07-03  Wim Taymans  <wim@fluendo.com>
13808
13809         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13810         (gst_caps_unref), (gst_static_caps_get),
13811         (gst_caps_append_structure):
13812         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13813         Use GSlice when the glib we build against is >= 2.10
13814
13815 2006-07-03  Wim Taymans  <wim@fluendo.com>
13816
13817         * gst/gstelement.c: (gst_element_pads_activate):
13818         Small cleanup in pad activation code.
13819
13820 2006-07-03  Wim Taymans  <wim@fluendo.com>
13821
13822         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13823
13824         * gst/gst-i18n-app.h:
13825         * gst/gst-i18n-lib.h:
13826         * tools/gst-inspect.c: (print_signal_info):
13827         The attached patch will make the inclusion of gettext.h unconditional in
13828         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13829         libintl.h in tools/gst-inspect.c.
13830         This allows use of --disable-nls again and fixes #344642.
13831
13832 2006-07-03  Edward Hervey  <edward@fluendo.com>
13833
13834         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13835         Implement pad blocking on events according to part-block.txt.
13836         More comments on behaviour.
13837         * tests/check/gst/gstevent.c: (test_event):
13838         Send event to peer pad of blocked pad (else it will block).
13839
13840 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13841
13842         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13843         (gst_check_run_suite):
13844           if we get the wrong message, give us the types as string
13845         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13846           Fix a translatable
13847         * tests/check/elements/filesrc.c: (GST_START_TEST):
13848           add a test for trying to open a non-existing file
13849
13850 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13851
13852         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13853           add a test for adding self
13854
13855 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13856
13857         * libs/gst/check/gstcheck.h:
13858           add some assert_ as alias for fail_unless_*
13859         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13860           increase test coverage
13861
13862 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13863
13864         * Makefile.am:
13865           include lcov.mak for lcov coverage generation
13866         * tools/Makefile.am:
13867           add to CLEANFILES
13868
13869 2006-07-02  Edward Hervey  <edward@fluendo.com>
13870
13871         * tests/check/elements/.cvsignore:
13872         moaping
13873
13874 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13875
13876         * configure.ac:
13877           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13878         * tests/check/Makefile.am:
13879           clean up gcov files
13880
13881 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13882
13883         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13884           remove gst_caps_simplify; it was not declared and not used
13885           and deprecated in 0.8
13886
13887 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13888
13889         * docs/faq/gst-uninstalled:
13890           don't put empty paths on PYTHONPATH
13891         * docs/gst/gstreamer-sections.txt:
13892           remove some symbols that are not there
13893
13894 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13895
13896         * gst/gstcaps.c: (gst_caps_compare_structures):
13897           whitespace fixes
13898         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13899         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13900           add more tests
13901
13902 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13903
13904         * libs/gst/dataprotocol/Makefile.am:
13905           build dataprotocol test by linking to the lib, instead of
13906           compiling the source, so we get coverage
13907         * tests/check/Makefile.am:
13908         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13909         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13910           add a test for filesrc
13911
13912 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13913
13914         * tests/check/gst/gststructure.c: (GST_START_TEST),
13915         (gst_structure_suite):
13916           Push coverage from 59.04% to 70.00%
13917
13918 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13919
13920         * tests/check/Makefile.am:
13921           gst-inspect every element; this makes sure that we also get
13922           coverage on element's get/set functions
13923
13924 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13925
13926         * configure.ac:
13927           set CFLAGS and friends to -O0 if gcov is being used
13928           add GCOV LIBS
13929         * gst/Makefile.am:
13930         * libs/gst/base/Makefile.am:
13931         * libs/gst/check/Makefile.am:
13932         * libs/gst/controller/Makefile.am:
13933         * libs/gst/dataprotocol/Makefile.am:
13934         * libs/gst/net/Makefile.am:
13935         * plugins/elements/Makefile.am:
13936         * plugins/indexers/Makefile.am:
13937           add makefile rules to generate gcov data and clean up
13938         * tests/check/Makefile.am:
13939           add a coverage target that generates an html overview
13940           of coverage data
13941
13942 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13943
13944         * tests/check/elements/fakesink.c:
13945         * tests/check/elements/fakesrc.c:
13946         * tests/check/elements/fdsrc.c:
13947         * tests/check/elements/identity.c:
13948         * tests/check/generic/sinks.c: (gst_sinks_suite):
13949         * tests/check/generic/states.c:
13950         * tests/check/gst/gst.c:
13951         * tests/check/gst/gstabi.c:
13952         * tests/check/gst/gstbin.c:
13953         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13954         * tests/check/gst/gstbus.c: (gst_bus_suite):
13955         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13956         * tests/check/gst/gstelement.c:
13957         * tests/check/gst/gstevent.c: (gst_event_suite):
13958         * tests/check/gst/gstghostpad.c:
13959         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13960         * tests/check/gst/gstmessage.c: (gst_message_suite):
13961         * tests/check/gst/gstminiobject.c:
13962         * tests/check/gst/gstobject.c:
13963         * tests/check/gst/gstpad.c:
13964         * tests/check/gst/gstpipeline.c:
13965         * tests/check/gst/gstplugin.c:
13966         * tests/check/gst/gstquery.c: (gst_query_suite):
13967         * tests/check/gst/gstsegment.c: (gst_segment_suite):
13968         * tests/check/gst/gststructure.c:
13969         * tests/check/gst/gstsystemclock.c:
13970         * tests/check/gst/gsttag.c:
13971         * tests/check/gst/gsttask.c: (gst_task_suite):
13972         * tests/check/gst/gstutils.c:
13973         * tests/check/gst/gstvalue.c:
13974         * tests/check/libs/adapter.c:
13975         * tests/check/libs/basesrc.c:
13976         * tests/check/libs/collectpads.c:
13977         * tests/check/libs/controller.c:
13978         * tests/check/libs/gdp.c: (gst_dp_suite):
13979         * tests/check/libs/gstnetclientclock.c:
13980         * tests/check/libs/gstnettimeprovider.c:
13981         * tests/check/libs/libsabi.c: (libsabi_suite):
13982         * tests/check/libs/typefindhelper.c:
13983         * tests/check/pipelines/cleanup.c:
13984         * tests/check/pipelines/parse-launch.c:
13985         * tests/check/pipelines/simple-launch-lines.c:
13986         * tests/check/pipelines/stress.c: (stress_suite):
13987           use the new macro
13988
13989 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13990
13991         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13992         * libs/gst/check/gstcheck.h:
13993           create a macro and function so that the simple unit test
13994           case can be just one macro to create main()
13995
13996 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
13997
13998         * gst/gstbin.c: (gst_bin_restore_thyself):
13999         * gst/gstxml.c: (gst_xml_make_element):
14000           Fix deserialisation from XML. Set parent manually
14001           instead of using gst_bin_add(), since gst_bin_add()
14002           will unlink all pads of the element being added.
14003           Fixes #341667.
14004
14005 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14006
14007         Patch by: Peter Kjellerstedt <pkj at axis com>
14008
14009         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14010           Fix missing g_strdup() and double free when using the
14011           --gst-plugin-load command line option (#346097).
14012
14013 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14014
14015         * gst/gstinfo.c:
14016           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14017
14018         * libs/gst/net/gstnetclientclock.c:
14019         * libs/gst/net/gstnettimeprovider.c:
14020           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14021
14022 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14023
14024         * docs/manual/advanced-dataaccess.xml:
14025           Fix buffer probe example compilation in
14026           ADM (#345708).
14027         
14028 2006-06-22  Edward Hervey  <edward@fluendo.com>
14029
14030         * gst/gstelement.c: (gst_element_pads_activate):
14031         We need to deactivate src pads first and then sink pads.
14032         The reason is the src pads might be blocking while holding the streaming
14033         lock, so we need to deactivate them first so that deactivating the sink
14034         pads doesn't block (since it will require the streaming lock).
14035
14036 2006-06-22  Wim Taymans  <wim@fluendo.com>
14037
14038         * libs/gst/base/gstbasetransform.c:
14039         (gst_base_transform_buffer_alloc):
14040         Forgot to remove two unneeded unrefs.
14041         Simplify a check _is_equal allready checks the obvious case.
14042
14043 2006-06-22  Wim Taymans  <wim@fluendo.com>
14044
14045         * docs/design/part-block.txt:
14046         Some docs about what pad_block should do.
14047
14048 2006-06-22  Wim Taymans  <wim@fluendo.com>
14049
14050         * gst/gstcaps.c: (gst_caps_replace):
14051         Fix crasher when passed NULL. Doc clarification.
14052         Optimize for the trivial case.
14053
14054         * gst/gstpipeline.c: (gst_pipeline_change_state):
14055         Small cleanups.
14056
14057         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14058         Small documentation cleanup.
14059
14060         * libs/gst/base/gstbasetransform.c:
14061         (gst_base_transform_buffer_alloc):
14062         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14063         is what we need and it avoids a whole lot of redundant 
14064         refcount operations.
14065
14066 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14067
14068         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14069
14070         * docs/manual/advanced-dataaccess.xml:
14071           Fix 'Embedding static elements' section to use
14072           GST_PLUGIN_DEFINE_STATIC (#345607).
14073
14074 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14075
14076         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14077           Attempt to 'fix' spuriously failing test case: it seems like the
14078           timeout of half a second is simply too small when the system is under
14079           load otherwise, and the timeout doesn't really seem to serve any
14080           particular purpose here. Give the pipeline a few seconds to preroll
14081           first, and then give it another half a second to go from PAUSED to
14082           PLAYING and marshal the message into the main thread.
14083
14084 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14085
14086         * tools/gst-feedback-m.m:
14087           Don't only use unversioned tools, try versioned tools as well
14088           (#345086).
14089
14090 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14091
14092         * gst/gstbus.c: (gst_bus_class_init):
14093           Fix some typos, make docs more explicit.
14094
14095 2006-06-20  Wim Taymans  <wim@fluendo.com>
14096
14097         * tests/check/gst/gstghostpad.c: (block_callback),
14098         (GST_START_TEST), (gst_ghost_pad_suite):
14099         Added some more ghostpad tests, mainly blocking
14100         and probes.
14101
14102 2006-06-16  Wim Taymans  <wim@fluendo.com>
14103
14104         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14105         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14106         (gst_file_sink_event), (gst_file_sink_render):
14107         * plugins/elements/gstfilesink.h:
14108         Check if we can seek in the file instead of assuming
14109         we always can. Post an error when we are asked to seek in a
14110         non-seekable file (like a fifo). Fixes #343312.
14111         Some cleanups.
14112
14113 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14114
14115         * tools/gst-launch.1.in:
14116           Un-garble (fourcc) bit in filtered caps section.
14117
14118 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14119
14120         * docs/manual/advanced-autoplugging.xml:
14121         * docs/manual/basics-helloworld.xml:
14122         * docs/manual/highlevel-components.xml:
14123           Don't leak bus reference in sample code.
14124
14125 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14126
14127         * autogen.sh:
14128           Add default for new --enable-plugin-docs switch.
14129
14130         * configure.ac:
14131           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14132           Fixes #344039.
14133
14134         * docs/Makefile.am:
14135           Use new ENABLE_PLUGIN_DOCS conditional.
14136
14137 2006-06-14  Wim Taymans  <wim@fluendo.com>
14138
14139         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14140         Make it clear with a FIXME and a real define what the #if 0
14141         previously disabled.
14142
14143 2006-06-14  Wim Taymans  <wim@fluendo.com>
14144
14145         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14146         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14147         * libs/gst/base/gstbasetransform.c:
14148         (gst_base_transform_sink_eventfunc):
14149         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14150         Don't randomly and silently reset a segment when the format 
14151         changes as this is a bug somewhere upstream. Fixes #330379.
14152
14153 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14154
14155         Patch by: Wouter Paesen  <wouter at kangaroot net>
14156
14157         * libs/gst/controller/gstcontroller.c:
14158         (gst_controlled_property_new):
14159           Fix controlling of float properties (#344849).
14160
14161         * tests/check/libs/controller.c:
14162         (gst_test_mono_source_get_property),
14163         (gst_test_mono_source_set_property),
14164         (gst_test_mono_source_class_init), (GST_START_TEST):
14165           While we're at it, add some float stuff to unit test.
14166
14167 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14168
14169         * docs/README:
14170         * docs/images/gdp-header.svg:
14171           add a gdp image
14172         * docs/libs/Makefile.am:
14173         * docs/libs/gdp-header.png:
14174         * libs/gst/dataprotocol/dataprotocol.c:
14175           add it to the API docs
14176         * docs/manual/intro-motivation.xml:
14177           fix typo
14178
14179 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14180
14181         * gst/gst.c: (scan_and_update_registry), (init_post):
14182           If the fork()'ed child process can't write the updated registry cache
14183           file to disk for some reason, make it exit with a failure exit code,
14184           so that the parent can then re-scan the plugins itself and update the
14185           registry structures in memory and work with that (rather than failing
14186           when creating elements because seemingly no plugins are available).
14187           Refactor registry scanning code into separate function for this and
14188           also separate fork() and non-fork() code paths. Fixes #344748.
14189
14190 2006-06-13  Wim Taymans  <wim@fluendo.com>
14191
14192         * docs/manual/advanced-dataaccess.xml:
14193         Fix wrong PluginDesc. Fixes #344755.
14194
14195 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14196
14197         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14198           Fix silly bug that prevented us from creating
14199           ~/.gstreamer-0.10 and writing the registry in one
14200           go (the first call to g_mkstemp() would overwrite the
14201           placeholder in the template string, so the second call
14202           to g_mkstemp() after creating the missing directory
14203           would then error out with 'invalid argument').
14204
14205 2006-06-13  Edward Hervey  <edward@fluendo.com>
14206
14207         * gst/gst.c: (init_post):
14208         Free string.
14209
14210 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14211
14212         * gst/glib-compat-private.h:
14213         * gst/glib-compat.c:
14214         * gst/glib-compat.h:
14215         * gst/gstvalue.c: (gst_value_serialize_flags):
14216           remove GLib 2.6 compatibility code
14217
14218 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14219
14220         * gst/parse/Makefile.am:
14221           Fix build with 'make -j N' even more (#340016).
14222
14223 2006-06-12  Wim Taymans  <wim@fluendo.com>
14224
14225         * docs/gst/gstreamer-sections.txt:
14226         Fix docs.
14227
14228 2006-06-12  Wim Taymans  <wim@fluendo.com>
14229
14230         * gst/gstsegment.c: (gst_segment_set_duration),
14231         (gst_segment_set_last_stop), (gst_segment_set_seek),
14232         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14233         (gst_segment_to_running_time), (gst_segment_clip):
14234         Use G_UNLIKELY to help the compiler a bit.
14235
14236 2006-06-12  Wim Taymans  <wim@fluendo.com>
14237
14238         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14239
14240         * gst/gstevent.c: (gst_event_get_type):
14241         * gst/gstmessage.c:
14242         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14243         (gst_pad_push):
14244         constify quark registration strings. Fixes #344115
14245         Avoid unneeded type checking is _pad_push() by internally
14246         calling gst_pad_chain_unchecked().
14247
14248 2006-06-12  Wim Taymans  <wim@fluendo.com>
14249
14250         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14251         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14252         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14253         (gst_buffer_is_span_fast), (gst_buffer_span):
14254         Init _type for consistency.
14255         Use _FLAGS macro to avoid type check.
14256         Avoid unneeded type checks in subbufer code.
14257
14258 2006-06-12  Wim Taymans  <wim@fluendo.com>
14259
14260         * gst/gst.c: (gst_debug_help):
14261         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14262         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14263         (gst_plugin_feature_list_free):
14264         * gst/gstregistry.c: (gst_registry_add_plugin),
14265         (gst_registry_add_feature), (gst_registry_plugin_filter),
14266         (gst_registry_feature_filter), (gst_registry_find_plugin),
14267         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14268         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14269         * gst/gstregistryxml.c: (load_feature),
14270         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14271         * gst/gstminiobject.c: (gst_mini_object_unref),
14272         (gst_mini_object_replace), (gst_value_mini_object_free),
14273         (gst_value_mini_object_copy):
14274         Use _CAST macros to avoid unneeded type checking.
14275         Added some more G_UNLIKELY.
14276
14277 2006-06-12  Wim Taymans  <wim@fluendo.com>
14278
14279         * gst/gstbuffer.h:
14280         Avoid unneeded type checking.
14281         API: GST_BUFFER_IS_DISCONT
14282
14283         * gst/gstminiobject.h:
14284         Avoid type check in flag accessor.
14285
14286         * gst/gstelementfactory.h:
14287         * gst/gstplugin.h:
14288         * gst/gstpluginfeature.h:
14289         Add _CAST macros.
14290         API: GST_ELEMENT_FACTORY_CAST
14291         API: GST_PLUGIN_CAST
14292         API: GST_PLUGIN_FEATURE_CAST
14293
14294 2006-06-12  Wim Taymans  <wim@fluendo.com>
14295
14296         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14297         (gst_object_unref):
14298         Add G_UNLIKELY in type registration.
14299         Avoid type check in _ref/_unref since that is also
14300         done in glib.
14301
14302 2006-06-12  Wim Taymans  <wim@fluendo.com>
14303
14304         * gst/gsterror.c: (gst_g_error_get_type):
14305         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14306         (gst_static_pad_template_get_type):
14307         * gst/gsttaglist.c: (gst_tag_list_get_type):
14308         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14309         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14310         * gst/gsturi.c: (gst_uri_handler_get_type):
14311         * gst/gstvalue.c: (gst_date_get_type):
14312         * gst/gstxml.c: (gst_xml_get_type):
14313         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14314         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14315         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14316         Add G_UNLIKELY in type registration.
14317
14318 2006-06-12  Wim Taymans  <wim@fluendo.com>
14319
14320         * tools/gst-inspect.c: (print_signal_info):
14321         Properly print enum values.
14322
14323 2006-06-12  Wim Taymans  <wim@fluendo.com>
14324
14325         * gst/gstinfo.c: (gst_debug_set_active),
14326         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14327         * gst/gstinfo.h:
14328         Add some G_[UN]LIKELY.
14329         Maintain __gst_debug_min to avoid formatting the arguments of
14330         debug messages that will be dropped anyway to avoid a lot of 
14331         overhead from the debugging system.
14332
14333 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14334
14335         * po/POTFILES.in:
14336         * po/POTFILES.skip:
14337           add missing files containing translatable strings, tell intltool about
14338           one exception
14339
14340 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14341
14342         * tests/check/libs/.cvsignore:
14343         add test-binary to ignore list
14344
14345 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14346
14347         * docs/libs/gstreamer-libs-docs.sgml:
14348         reorder (put dp into a chapter) and indent
14349
14350 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14351
14352         * configure.ac:
14353           back to HEAD
14354
14355 === release 0.10.8 ===
14356
14357 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14358
14359         * configure.ac:
14360           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14361
14362 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14363
14364         * gst/gst.c: (init_post):
14365           move pid declaration to declaration block
14366
14367 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14368
14369         * gst/gst.c: (init_post):
14370           use _exit() instead of exit() in our forked child; this ensures
14371           that none of the registered exit handlers from whatever is using
14372           GStreamer get executed.  This fixes gnome-mixer-applet failing
14373           to load, because ORBit would shut down.
14374           Spotted by: Edward Hervey  <edward@fluendo.com>
14375           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14376           Fixes #344474
14377
14378 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14379
14380         * configure.ac:
14381           back to TRUNK
14382
14383 === release 0.10.7 ===
14384
14385 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14386
14387         * configure.ac:
14388           releasing 0.10.7, "Soepeke, ik zie ou"
14389
14390 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14391
14392         * configure.ac:
14393         * po/af.po:
14394         * po/az.po:
14395         * po/bg.po:
14396         * po/ca.po:
14397         * po/cs.po:
14398         * po/de.po:
14399         * po/en_GB.po:
14400         * po/fr.po:
14401         * po/it.po:
14402         * po/nb.po:
14403         * po/nl.po:
14404         * po/ru.po:
14405         * po/sq.po:
14406         * po/sr.po:
14407         * po/sv.po:
14408         * po/tr.po:
14409         * po/uk.po:
14410         * po/vi.po:
14411         * po/zh_CN.po:
14412         * po/zh_TW.po:
14413         * win32/common/config.h:
14414           0.10.6.2 prerelease
14415
14416 2006-06-07  Wim Taymans  <wim@fluendo.com>
14417
14418         * gst/gstindex.c: (gst_index_gtype_resolver):
14419         * tools/gst-xmlinspect.c: (print_plugin_info):
14420         Fix leak spotted by coverity checker. Fixes #343827
14421         Fix another other leak found by paolo borelli.
14422
14423 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14424
14425         * libs/gst/dataprotocol/dataprotocol.c:
14426         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14427         (gst_dp_version_get_type), (gst_dp_init),
14428         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14429         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14430         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14431         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14432         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14433         (gst_dp_packetizer_free):
14434         * libs/gst/dataprotocol/dataprotocol.h:
14435           API: add a GstDPPacketizer object, and create/free functions
14436           API: add GstDPVersion enum
14437           Add 1.0 event function that uses the string serialization
14438           Serialize more useful buffer flags
14439           Fixes #343988
14440
14441 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14442
14443         * tests/check/Makefile.am:
14444         * tests/check/gst/gstabi.c:
14445         * tests/check/gst/struct_ppc64.h:
14446         * tests/check/libs/libsabi.c:
14447         * tests/check/libs/struct_ppc64.h:
14448           add ppc64 structure sizes
14449
14450 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14451
14452         * tests/check/Makefile.am:
14453         * tests/check/gst/gstabi.c:
14454         * tests/check/gst/struct_x86_64.h:
14455         * tests/check/libs/libsabi.c:
14456         * tests/check/libs/struct_x86_64.h:
14457           generate and add structure size lists for x86_64
14458
14459 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14460
14461         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14462         * libs/gst/check/gstcheck.h:
14463           factor out the method from tests that checks size of structures,
14464           and add code to generate the header containing these sizes
14465         * tests/check/gst/gstabi.c: (GST_START_TEST):
14466         * tests/check/gst/struct_i386.h:
14467         * tests/check/libs/libsabi.c: (GST_START_TEST):
14468         * tests/check/libs/struct_i386.h:
14469           use it
14470
14471 2006-06-06  Michael Smith  <msmith@fluendo.com>
14472
14473         * gst/gstsegment.h:
14474           Don't use c++-style comments, fixes #343929
14475
14476 2006-06-05  Edward Hervey  <edward@fluendo.com>
14477
14478         * gst/gst.c:
14479         plugin_paths is not used if we build without registry support.
14480
14481         * gst/gstsegment.c: (gst_segment_copy): 
14482         _copy() was always returning NULL...
14483
14484 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14485
14486         * libs/gst/dataprotocol/dataprotocol.c:
14487         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14488         (gst_dp_packet_from_event):
14489           factor out CRC code
14490
14491 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14492
14493         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14494           make sure we unset caps
14495
14496 2006-06-02  Michael Smith  <msmith@fluendo.com>
14497
14498         * libs/gst/check/gstcheck.c: (gst_check_init),
14499         (gst_check_chain_func):
14500         * libs/gst/check/gstcheck.h:
14501           Add a cond/mutex to the check support lib, signal this whenever we
14502           add to the buffers list. This will allow tests to not busy-wait on
14503           the buffer-list.
14504
14505 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14506
14507         * libs/gst/dataprotocol/dataprotocol.c:
14508         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14509         (gst_dp_packet_from_event):
14510           factor out some common header init code
14511
14512 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14513
14514         * docs/libs/gstreamer-libs-sections.txt:
14515         * docs/libs/tmpl/gstdataprotocol.sgml:
14516         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14517         * libs/gst/dataprotocol/dataprotocol.h:
14518           API: make gst_dp_crc() public
14519
14520 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14521
14522         * plugins/indexers/gstindexers.c: (plugin_init):
14523         conditionally register fileindexer (fixes #343598)
14524
14525 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14526
14527         * gst/gsttagsetter.h:
14528         Can't cast ifaces to a class
14529
14530         * libs/gst/net/gstnetclientclock.h:
14531         * libs/gst/net/gstnettimeprovider.h:
14532         * plugins/elements/gstfakesink.h:
14533         * plugins/elements/gstfakesrc.h:
14534         * plugins/elements/gstfdsink.h:
14535         * plugins/elements/gstfdsrc.h:
14536         * plugins/elements/gstfilesink.h:
14537         * plugins/elements/gstfilesrc.h:
14538         * plugins/elements/gstidentity.h:
14539         * plugins/elements/gstqueue.h:
14540         * plugins/elements/gsttee.h:
14541         * plugins/indexers/gstfileindex.c:
14542         * plugins/indexers/gstmemindex.c:
14543         * tests/old/examples/plugins/example.h:
14544         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14545
14546 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14547
14548         * libs/gst/dataprotocol/dataprotocol.c:
14549         (gst_dp_header_from_buffer):
14550           make sure we zero the whole ABI-compatible area
14551
14552 2006-06-01  Wim Taymans  <wim@fluendo.com>
14553
14554         Patch by: Alessandro Decina <alessandro at nnva dot org>
14555
14556         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14557         Make sure the EOS flag is cleared from pads after a flush
14558         or stop. Fixes #343538.
14559
14560         * tests/check/libs/collectpads.c: (GST_START_TEST),
14561         (gst_collect_pads_suite):
14562         Added test for collectpads reusage after EOS.
14563
14564 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14565
14566         * gst/gst.c:
14567          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14568         * win32/common/libgstbase.def:
14569          export gst_collect_pads_set_flushing
14570         * win32/common/libgstreamer.def:
14571          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14572          gst_value_fraction_multiply
14573         * win32/vs6/gst_inspect.dsp:
14574          add a link to intl.lib
14575
14576 2006-05-30  Wim Taymans  <wim@fluendo.com>
14577
14578         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14579         (gst_collect_pads_chain):
14580         Handle the case where a pad is removed from the collection
14581         that could cause the other pads to become collectable.
14582
14583 2006-05-30  Wim Taymans  <wim@fluendo.com>
14584
14585         * gst/gstelement.c:
14586         Clarify the use of _release_request_pad() and
14587         _get_request_pad() a bit better.
14588
14589         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14590         (gst_adapter_take_buffer):
14591         Fix some doc and comment typos.
14592
14593 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14594
14595         * docs/gst/gstreamer-sections.txt:
14596         * docs/libs/gstreamer-libs-sections.txt:
14597           add declared symbols
14598
14599 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14600
14601         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14602         Add debug that can be enabled using a #define at the top of the file,
14603         for dumping stats about how late/early we were when waking up from
14604         waiting on the clock.
14605
14606 2006-05-30  Wim Taymans  <wim@fluendo.com>
14607
14608         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14609         When rebuilding the pad list, don't leak the previous list.
14610
14611 2006-05-30  Wim Taymans  <wim@fluendo.com>
14612
14613         Patch by: Lutz Mueller <lutz at topfrose dot de>
14614
14615         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14616         (gst_base_src_get_query_types), (gst_base_src_update_length):
14617         Publish supported query types.
14618         Update last_stop field in get_range mode so the position
14619         query works. Fixes #342321.
14620
14621 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14622
14623         * docs/gst/gstreamer-sections.txt:
14624         * gst/gsttaglist.c: (_gst_tag_initialize):
14625         * gst/gsttaglist.h:
14626           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14627
14628 2006-05-30  Wim Taymans  <wim@fluendo.com>
14629
14630         Patch by: Alessandro Decina <alessandro at nnva dot org>
14631
14632         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14633         Unlock mutex when removing an unknown pad.
14634         Fixes #343334.
14635
14636         * tests/check/Makefile.am:
14637         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14638         (push_event), (setup), (teardown), (GST_START_TEST),
14639         (gst_collect_pads_suite), (main):
14640         Added collecpads check, disabled for now as check crashes for
14641         some reason.
14642
14643 2006-05-29  Wim Taymans  <wim@fluendo.com>
14644
14645         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14646         Don't leak pads lists.
14647
14648 2006-05-29  Wim Taymans  <wim@fluendo.com>
14649
14650         * docs/libs/gstreamer-libs-sections.txt:
14651         * libs/gst/base/gstcollectpads.c:
14652         (gst_collect_pads_set_flushing_unlocked),
14653         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14654         (gst_collect_pads_stop):
14655         * libs/gst/base/gstcollectpads.h:
14656         API: gst_collect_pads_set_flushing()
14657         Added api to set the pads to flushing, useful for seeking
14658         code in elements using collectpads.
14659         Clear segment when receiving a flush.
14660
14661 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14662
14663         * gst/gst.c: (add_path_func), (init_post):
14664           Don't scan registry paths passed via --gst-plugin-path immediately
14665           (will crash, because absolutely nothing is set up and no types are
14666           registered etc.); do this later in init_post(). Fixes #343057.
14667
14668 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14669
14670         * gst/gst.c: (init_post):
14671           if we have fork, fork while reading/rebuilding the registry
14672           so the parent doesn't take the hit of having all plugins loaded
14673           in memory.  Fixes #342777.
14674         * configure.ac:
14675           Check if we have fork()
14676         * win32/common/config.h.in:
14677           no fork() on win32
14678
14679 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14680
14681         * plugins/elements/gstelements.c:
14682         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14683         (gst_file_src_init), (gst_file_src_set_property),
14684         (gst_file_src_get_property), (gst_file_src_start):
14685         * plugins/elements/gstfilesrc.h:
14686           API: GstFileSrc::use-mmap
14687
14688         Add a use-mmap property to enable easier testing of all code paths.
14689         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14690         in the absence of gnomevfssrc. (Closes #340501)
14691
14692 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14693
14694         * tools/gst-inspect.c:
14695         Add missing include, removes warning of ngettext not being defined on
14696         some arches.
14697
14698 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14699
14700         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14701         Handle NULL input and output pointers silently as a failed conversion,
14702         rather than g_warnings.
14703
14704 2006-05-25  Wim Taymans  <wim@fluendo.com>
14705
14706         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14707         Initialize variable before using. Fixes #342820.
14708
14709 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14710
14711         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14712           Fix off-by-one bug that would only allow peeks of N-1 bytes
14713           from the start even if the buffer to typefind on contains
14714           in fact N bytes of data (makes vorbis typefinding from a
14715           vorbis identification header buffer work).
14716
14717         * tests/check/Makefile.am:
14718         * tests/check/libs/.cvsignore:
14719         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14720         (gst_typefindhelper_suite), (main), (foobar_typefind),
14721         (plugin_init):
14722           Add very basic unit test for gst_type_find_helper_for_buffer()
14723           that checks for the problem fixed above.
14724
14725 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14726
14727         * tools/gst-inspect.c: (print_interfaces),
14728         (print_element_properties_info), (print_element_list), (main):
14729           add more translatable strings
14730
14731 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14732
14733         Patch by: Julien Moutte  <julien at moutte net>
14734
14735         * docs/gst/gstreamer-sections.txt:
14736           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14737           
14738         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14739         (gst_fake_sink_preroll):
14740         * plugins/elements/gstfakesink.h:
14741           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14742
14743 2006-05-23  Wim Taymans  <wim@fluendo.com>
14744
14745         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14746         * gst/gstpad.h:
14747         Added _CUSTOM error and success GstFlowReturn that can be
14748         used be elements internally. 
14749         Added macro to check for SUCCESS flowreturns.
14750         API: GST_FLOW_CUSTOM_SUCCESS
14751         API: GST_FLOW_CUSTOM_ERROR
14752         API: GST_FLOW_IS_SUCCESS
14753
14754         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14755         Added check for GstFlowReturn sanity.
14756
14757 2006-05-23  Wim Taymans  <wim@fluendo.com>
14758
14759         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14760
14761         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14762         (gst_collect_pads_event):
14763         clear/reset segment info in FLUSH_STOP.
14764         Fixes #336929.
14765
14766 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14767
14768         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14769         (gst_collect_pads_check_collected):
14770         Flush queued buffer on _stop(), fixes playing again (#342454)
14771
14772 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14773
14774         * tests/check/gst/gststructure.c: (GST_START_TEST),
14775         (gst_structure_suite):
14776           add a test for a complete structure
14777
14778 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14779
14780         * docs/faq/developing.xml:
14781         * docs/faq/faq.xml:
14782         * docs/faq/troubleshooting.xml:
14783         * docs/faq/using.xml:
14784           Some minor FAQ updates that won't change the fact that
14785           our FAQ is badly structured, full of information hardly
14786           anyone new to GStreamer needs to know and lacking lots
14787           of information people constantly ask for.
14788           
14789 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14790
14791         * gst/gstpad.c: (gst_pad_set_caps):
14792           Short-circuit gst_pad_set_caps if setting the existing
14793           caps pointer again, and avoid printing debug and 
14794           reffing/unreffing the caps.
14795
14796         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14797           There's actually no need to set the caps before pushing -
14798           the acceptcaps method will handle it anyway.
14799
14800 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14801
14802         * docs/gst/gstreamer-sections.txt:
14803         * win32/common/libgstreamer.def:
14804         * gst/gstutils.c: (gst_element_seek_simple):
14805         * gst/gstutils.h:
14806           API: add gst_element_seek_simple() (#342238).
14807
14808 2006-05-18  Edward Hervey  <edward@fluendo.com>
14809
14810         * gst/gsttypefind.c: (gst_type_find_get_type):
14811         * gst/gsttypefind.h:
14812         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14813         registered for GstTypeFind pointers. This allows wrapping the structure
14814         in bindings (i.e. gst-python).
14815
14816 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14817
14818         * gst/gsttagsetter.c:
14819           Docs additions and fixes (see #339918).
14820
14821 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14822
14823         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14824         The caps intersection algorithm can produce multiple copies of the
14825         caps. Until that is fixed, we need to simplify the result to be
14826         sure whether the allowed caps are fixed or not.
14827
14828         * plugins/elements/gstqueue.c: (gst_queue_init),
14829         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14830         (gst_queue_push_one):
14831         Proxied buffer alloc should not set the caps on the source pad.
14832         When pushing buffers, we always accept the caps change that triggers.
14833         This prevents negotiation errors caused by caps changing mid-stream 
14834         and then being refused on our source pad (because upstream is now
14835         refusing those caps).
14836
14837 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14838
14839         * tests/examples/helloworld/helloworld.c: (main):
14840           Must plug audioconvert and audioresample between decoder
14841           and audio sink.
14842
14843 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14844
14845         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14846         (load_feature), (load_plugin):
14847         Allow empty strings for some of the plugin fields so we don't 
14848         drop valid plugin entries that were written out correctly
14849         (Fixes #341479)
14850
14851 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14852         
14853         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14854           Use g_remove and g_rename instead of remove and rename that don't 
14855           handle utf8 characters. rename was failing for users who had specific
14856           characters in their name then the registry was built at each 
14857           gstreamer init.
14858         * win32/vs6/gst_inspect.dsp:
14859         * win32/vs6/gst_launch.dsp:
14860         * win32/vs6/libgstbase.dsp:
14861         * win32/vs6/libgstcoreelements.dsp:
14862         * win32/vs6/libgstreamer.dsp:
14863           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14864           build of libgstreamer and clean unused libraries in projects link 
14865           settings.
14866
14867 2006-05-17  Edward Hervey  <edward@fluendo.com>
14868
14869         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14870         The queue is not responsible for pushing an EOS when receiving a fatal
14871         flow error. It's up to the real element driving the pipeline to do that.
14872
14873 2006-05-16  Edward Hervey  <edward@fluendo.com>
14874
14875         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14876         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14877         buffer returned a fatal error. It should just send an EOS and stop
14878         its task.
14879         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14880         when pushing buffers on the queue and will be able to handle the event.
14881
14882 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14883
14884         * docs/manual/basics-bins.xml:
14885         * docs/manual/basics-init.xml:
14886           Fix typos and minor errors in sample code (#341856).
14887
14888 2006-05-16  Wim Taymans  <wim@fluendo.com>
14889
14890         * docs/design/part-qos.txt:
14891         Fix indexes in formulas to make more sense.
14892
14893 2006-05-15  Wim Taymans  <wim@fluendo.com>
14894
14895         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14896         Don't report POSITION based on clock time if sync is
14897         disabled in a sink.
14898
14899 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14900
14901         * gst/gstobject.h:
14902           Add cast to make compiler happy - refcount variable was a gint
14903           in GstObject but is a guint in GObject and g_atomic_int_get()
14904           wants a gint *.
14905
14906 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14907
14908         * gst/parse/Makefile.am:
14909           chain commands using &&, which also makes parallel make work
14910
14911 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
14912
14913         * docs/gst/gstreamer-sections.txt:
14914         * gst/gstevent.c:
14915         * gst/gstevent.h:
14916         * gst/gstmessage.h:
14917           Minor docs fixes.
14918
14919 === release 0.10.6 ===
14920
14921 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
14922
14923         * configure.ac:
14924           releasing 0.10.6, "Take the cannoli"
14925
14926 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
14927
14928         * tools/gst-launch.c: (print_tag):
14929           Fix use of uninitialized variable in the hypothetical
14930           case that some broken plugin creates a GST_TAG_IMAGE
14931           tag containing a NULL buffer (#341667).
14932
14933 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
14934
14935         * tools/gst-launch.c: (print_tag):
14936           Print something more intelligible for image tags when
14937           using the -t switch (#341556).
14938
14939 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14940
14941         * Makefile.am:
14942           updates for win32
14943         * configure.ac:
14944           define GST_MAJORMINOR so we have it available in win32/common/config.h
14945           Possibly remove it from our Makefile.am files later
14946         * win32/common/config.h:
14947         * win32/common/config.h.in:
14948           added GST_MAJORMINOR
14949         * win32/common/gstenumtypes.c: (register_gst_resource_error):
14950         * win32/common/gstversion.h:
14951           updated
14952
14953 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
14954
14955         * win32/MANIFEST:
14956           Update win32 files listing.
14957         * win32/common/gstversion.h:
14958           Add GST_MAJORMINOR definition.
14959         * win32/common/libgstreamer.def:
14960           Add new exported functions.
14961           
14962 2006-05-12  Michael Smith  <msmith@fluendo.com>
14963
14964         * gst/gstplugin.c: (gst_plugin_load_file):
14965           If an so file has no plugin entry point, unload the module.
14966
14967 2006-05-11  Wim Taymans  <wim@fluendo.com>
14968
14969         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14970         (gst_queue_set_property):
14971         Don't forget to signal the _chain or _loop function 
14972         when the queue size or thresholds change since that might
14973         cause them to make progres again.
14974
14975 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
14976
14977         * gst/gstclock.c: (gst_clock_class_init):
14978         * gst/gstindex.c: (gst_index_class_init):
14979         * gst/gstobject.c: (gst_object_class_init):
14980         * gst/gstpad.c: (gst_pad_class_init):
14981         * gst/gstpipeline.c: (gst_pipeline_class_init):
14982         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14983         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14984         * libs/gst/base/gstbasetransform.c:
14985         (gst_base_transform_class_init):
14986         * libs/gst/net/gstnetclientclock.c:
14987         (gst_net_client_clock_class_init):
14988         * libs/gst/net/gstnettimeprovider.c:
14989         (gst_net_time_provider_class_init):
14990         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14991         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14992         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14993         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14994         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14995         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14996         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14997         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14998         * plugins/elements/gsttee.c: (gst_tee_class_init):
14999         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15000         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15001           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15002
15003 2006-05-11  Wim Taymans  <wim@fluendo.com>
15004
15005         * gst/gstbuffer.c: (_gst_buffer_initialize):
15006         Register subbufer along with the buffer type so that
15007         it does not accidentally gets registered from N
15008         different streaming threads in a non threadsafe way.
15009
15010 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15011
15012         * gst/gstbuffer.h:
15013         * gst/gstevent.h:
15014         * gst/gstmessage.h:
15015           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15016           gst_event_ref() and gst_message_ref() functions again
15017           (ugly hack, please do fix if there's a better way besides
15018           overrides.txt, which doesn't seem to work).
15019
15020 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15021
15022         * libs/gst/check/gstcheck.h:
15023           add an assert for setting state to avoid lots of repetitive code
15024           in the future
15025
15026 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15027
15028         * gst/gstvalue.c: (gst_value_serialize_flags):
15029           fix a leak if no flags are set
15030         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15031           fix leak in tests
15032
15033 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15034
15035         * docs/manual/basics-pads.xml:
15036           Expand a bit on caps and filtered links and update
15037           examples that were still using the no longer existing
15038           gst_pad_link_filtered() (#338206).
15039
15040 2006-05-10  Wim Taymans  <wim@fluendo.com>
15041
15042         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15043         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15044         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15045         (gst_collect_pads_stop):
15046         * libs/gst/base/gstcollectpads.h:
15047         No need to call _stop in _finalize.
15048         Iterate the main pad list in _finalize.
15049         Added some more debug.
15050         Free lists and data in the right order.
15051         Also free data whem doing _remove_pad when stopped for
15052         backward compatibility protect ::started with PAD_LOCK as
15053         well.
15054
15055 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15056
15057         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15058         (gst_structure_parse_value):
15059           add some comments
15060           rename a method so that it actually says what it does better
15061
15062 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15063
15064         * gst/gstevent.c: (_gst_event_initialize):
15065         * gst/gstformat.c: (_gst_format_initialize):
15066           make sure some essential types used by events are registered
15067           as part of gst_init()
15068         * gst/gstvalue.c: (gst_value_serialize_flags):
15069           if no flags are set, serialize them to a value that represents NONE
15070           so that deserializing them works
15071         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15072           add tests for serialization and deserialization of flags
15073
15074 2006-05-10  Wim Taymans  <wim@fluendo.com>
15075
15076         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15077         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15078         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15079         (gst_collect_pads_event), (gst_collect_pads_chain):
15080         Update docs.
15081         Better debug info.
15082         Catch and return errors from the collect function
15083         Refuse data on eos pads.
15084
15085 2006-05-10  Edward Hervey  <edward@fluendo.com>
15086
15087         * gst/gstinterface.h:
15088         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15089         GInterface type checking.
15090         They were previously using non-defined macros.
15091
15092 2006-05-09  Wim Taymans  <wim@fluendo.com>
15093
15094         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15095         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15096         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15097         (gst_collect_pads_start), (gst_collect_pads_stop),
15098         (gst_collect_pads_peek), (gst_collect_pads_pop),
15099         (gst_collect_pads_available), (gst_collect_pads_read),
15100         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15101         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15102         (gst_collect_pads_chain):
15103         * libs/gst/base/gstcollectpads.h:
15104         Clean up the mess that is collectpads, add comments and
15105         FIXMEs where needed.
15106         Maintain a separate pad list so we can add pads while
15107         collecting the other ones. For this we need a new separate 
15108         lock (see comics).
15109         Fix memory leak in finalize.
15110         Refactor some weird code to set/unset pad flushing flags, mark
15111         with comments.
15112         Don't crash in _available, _read, _flush when we're EOS.
15113
15114         * tests/check/libs/.cvsignore:
15115         Ignore adapter check binary.
15116
15117 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15118
15119         * gst/gstindex.c: (gst_index_resolver_get_type):
15120         * plugins/elements/gstfakesink.c:
15121         (gst_fake_sink_state_error_get_type):
15122         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15123         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15124         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15125           Const-ify GEnumValue arrays.
15126
15127 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15128
15129         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15130           Add test case for flags + gst_buffer_make_metadata_writable().
15131
15132 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15133
15134         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15135           gst_buffer_make_metadata_writable() should maintain the
15136           buffer flags (those that make sense at least) (see #340859).
15137
15138 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15139
15140         * tools/gst-inspect.c:
15141         * tools/gst-launch.c:
15142         * tools/gst-typefind.c:
15143         * tools/gst-xmlinspect.c:
15144         * tools/tools.h:
15145           Fix up includes: need to include stdlib.h in tools.h for exit().
15146
15147 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15148
15149         * gst/gsttaglist.c: (_gst_tag_initialize):
15150         * gst/gsttaglist.h:
15151           API: add GST_TAG_IMAGE tag (#340721).
15152
15153 2006-05-08  Wim Taymans  <wim@fluendo.com>
15154
15155         * gst/gstquery.c:
15156         Added some docs for the segment query.
15157
15158 2006-05-08  Wim Taymans  <wim@fluendo.com>
15159
15160         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15161         (gst_base_src_loop), (gst_base_src_change_state):
15162         Always push non-flushing serialized events in the streaming 
15163         thread.
15164
15165 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15166
15167         * gst/gsterror.c: (_gst_stream_errors_init):
15168           Add a missing error string.
15169
15170 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15171
15172         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15173         Add applied_rate to the debug
15174
15175         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15176         Copy applied_rate into the outgoing NEWSEGMENT event
15177
15178 2006-05-08  Wim Taymans  <wim@fluendo.com>
15179
15180         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15181
15182         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15183         (gst_base_sink_change_state):
15184         call ::unlock before taking the PREROLL_LOCK so we can safely
15185         handle elements that lock in ::render.
15186         Fixes #340174.
15187
15188 2006-05-08  Edward Hervey  <edward@fluendo.com>
15189
15190         * autogen.sh: (CONFIGURE_DEF_OPT): 
15191         Darwin's libtoolize is in fact called glibtoolize.
15192         Adding glibtoolize to the list of accepted names for libtoolize.
15193
15194 2006-05-08  Wim Taymans  <wim@fluendo.com>
15195
15196         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15197         Unify error handling, don't post an error message
15198         when a push() returns EOS but perform our normal EOS
15199         handling code. Fixes #340772.
15200
15201 2006-05-08  Wim Taymans  <wim@fluendo.com>
15202
15203         * docs/design/part-overview.txt:
15204         Make upsteam/downstream concepts more clear.
15205         Give an example of serialized/non-serialized events.
15206
15207         * docs/design/part-events.txt:
15208         * docs/design/part-streams.txt:
15209         Mention applied_rate.
15210
15211         * docs/design/part-trickmodes.txt:
15212         Mention applied rate, flesh out some more use cases.
15213
15214         * gst/gstevent.c: (gst_event_new_new_segment),
15215         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15216         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15217         (gst_event_parse_tag), (gst_event_new_buffer_size),
15218         (gst_event_parse_buffer_size), (gst_event_new_qos),
15219         (gst_event_parse_qos), (gst_event_parse_seek),
15220         (gst_event_new_navigation):
15221         * gst/gstevent.h:
15222         Add applied_rate field to NEWSEGMENT event.
15223         API: gst_event_new_new_segment_full()
15224         API: gst_event_parse_new_segment_full()
15225
15226         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15227         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15228         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15229         * gst/gstsegment.h:
15230         Add applied_rate to GstSegment structure.
15231         Make calculation of stream_time and running_time more correct
15232         wrt rate/applied_rate.
15233         Add some more docs.
15234         API: GstSegment::applied_rate field
15235         API: gst_segment_set_newsegment_full();
15236
15237         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15238         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15239         * libs/gst/base/gstbasetransform.c:
15240         (gst_base_transform_sink_eventfunc),
15241         (gst_base_transform_handle_buffer):
15242         Parse and use applied_rate in the GstSegment field.
15243
15244         * tests/check/gst/gstevent.c: (GST_START_TEST):
15245         Add check for applied_rate field.
15246
15247         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15248         (gstsegments_suite):
15249         Add more checks for various GstSegment operations.
15250
15251 2006-05-08  Wim Taymans  <wim@fluendo.com>
15252
15253         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15254         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15255         (gst_base_sink_get_position), (gst_base_sink_change_state):
15256         Store the sync time of the buffer end position separatly in a
15257         new variable eos_rtime so we can properly sync the EOS event.
15258         Fixes #340697.
15259         Fix the docs for gst_base_sink_set_qos_enabled().
15260         Don't set segment start to invalid value when we receive a 
15261         non TIME newsegment.
15262         get closer to handling position reporting for negative rates 
15263         correctly.
15264
15265 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15266
15267         * gst/gstcaps.c:
15268         Docs about how to print caps for debug purposes.
15269
15270         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15271         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15272
15273 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15274
15275         * gst/gstelement.c:
15276           use full enum names and preprend a '%' in docs strings to make recent 
15277           gtk-doc turn that into a link
15278
15279 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15280
15281         * docs/manual/basics-bins.xml:
15282         * docs/manual/basics-bus.xml:
15283         * docs/manual/basics-pads.xml:
15284           Some typo fixes, some additions, some clarifications. 
15285
15286 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15287
15288         * tools/gst-inspect.c: (main):
15289         * tools/gst-launch.c: (main):
15290         * tools/gst-run.c: (main):
15291         * tools/gst-typefind.c: (main):
15292         * tools/gst-xmlinspect.c: (main):
15293           Use the string passed to g_option_context_new() for
15294           what it's intended for - the program name is already
15295           printed elsewhere.
15296
15297 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15298
15299         * tools/Makefile.am:
15300         * tools/gst-inspect.c: (main):
15301         * tools/gst-launch.c: (main):
15302         * tools/gst-xmlinspect.c: (main):
15303         * tools/tools.h:
15304           Add back --version command line option (#340460).
15305
15306         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15307           Add --version option and use GOption for argument parsing; refactor a
15308           bit; accept directories as arguments and recurse into them; lastly,
15309           print a decent error message when things go wrong.
15310
15311 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15312
15313         * docs/manual/basics-bins.xml:
15314         Don't mention GstThread (#340611)
15315         * docs/manual/basics-elements.xml:
15316         Update link to GObject tutorial (#340607)
15317         
15318 2006-05-05  Wim Taymans  <wim@fluendo.com>
15319
15320         * gst/gstbuffer.h:
15321         * gst/gstminiobject.c:
15322         Add note about refcounting and miniobject/buffer writeability
15323         to docs. Fixes #340604
15324
15325         * gst/gstelementfactory.h:
15326         Added some explanation about @klass.
15327
15328 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15329
15330         * docs/manual/intro-motivation.xml:
15331         * docs/manual/manual.xml:
15332         Avoid CORBA & Bonobo references (#340598)
15333
15334 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15335
15336         * docs/manual/basics-bus.xml:
15337         * docs/manual/basics-pads.xml:
15338         Fix up some inaccuracies and omissions (#340609)
15339         
15340 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15341
15342         * gst/gstghostpad.c:
15343           Small typo in docs (#340625)
15344
15345 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15346
15347         * gst/parse/Makefile.am:
15348           Make 'make -j' proof (see #340698).
15349
15350 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15351
15352         * configure.ac:
15353           Require GLib-2.8 here as well.
15354
15355 2006-05-05  Wim Taymans  <wim@fluendo.com>
15356
15357         * gst/glib-compat.c:
15358         * gst/gst.c: (init_pre):
15359         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15360         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15361         (gst_object_dispatch_properties_changed):
15362         * gst/gstobject.h:
15363         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15364         * gst/gststructure.c: (gst_structure_set_valist):
15365         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15366         Remove pre glib2.8 compatibility, fixes #340508
15367
15368 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15369
15370         * gst/gsttaglist.h:
15371           Mention type of tags in doc blurbs.
15372
15373 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15374
15375         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15376         (gst_pad_configure_src), (gst_pad_push):
15377         Restore acceptcaps checking behaviour now that good plugins have
15378         been released.
15379
15380 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15381
15382         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15383
15384         * gst/gst.c:
15385         * gst/gstbus.c:
15386         * gst/gstclock.c:
15387         * gst/gstevent.c:
15388         * gst/gstformat.c:
15389         * gst/gstmessage.c:
15390         * gst/gstparse.c:
15391         * gst/gstquery.c:
15392         * gst/gstutils.c:
15393         * gst/parse/Makefile.am:
15394         * libs/gst/base/gstadapter.c:
15395         * libs/gst/base/gstbasesrc.c:
15396         * libs/gst/base/gstpushsrc.c:
15397         * libs/gst/base/gsttypefindhelper.c:
15398         * plugins/elements/gstfakesrc.c:
15399         * plugins/elements/gstidentity.c:
15400           Make sure gstprivate.h and/or config.h are
15401           always included first, otherwise some of our
15402           defines (like _FILE_OFFSET_BITS) might be
15403           redefined in the system headers. Fixes build
15404           on opensolaris (#340016).
15405
15406 2006-05-04  Wim Taymans  <wim@fluendo.com>
15407
15408         * docs/libs/gstreamer-libs-sections.txt:
15409         API: addition: gst_adapter_take_buffer()
15410         
15411         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15412         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15413         (gst_adapter_available_fast):
15414         * libs/gst/base/gstadapter.h:
15415         Prepare for optimizing the hell out of this hugely inefficient
15416         piece of code. 
15417         Added gst_adapter_take_buffer() so we can at least start thinking
15418         about subbuffering and merging.
15419         Added some comments.
15420
15421         * tests/check/Makefile.am:
15422         * tests/check/libs/adapter.c: (GST_START_TEST),
15423         (gst_adapter_suite), (main):
15424         Added GstAdapter check.
15425
15426 2006-05-04  Wim Taymans  <wim@fluendo.com>
15427
15428         * docs/design/part-overview.txt:
15429         Fix some typos, add blurb about buffer flags.
15430
15431 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15432
15433         * docs/libs/gstreamer-libs-sections.txt:
15434           make sure GstBaseTransformClass shows up in the docs
15435         * libs/gst/base/gstbasetransform.c:
15436         * libs/gst/base/gstbasetransform.h:
15437           move docs so gtk-doc picks it up now
15438
15439 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15440
15441         * docs/libs/gstreamer-libs-sections.txt:
15442           add missing symbols to docs
15443
15444 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15445
15446         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15447           back out the newsegment handling change, see #340060 for ongoing
15448           discussion
15449
15450 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15451
15452         * tools/gst-run.c: (get_candidates), (main):
15453           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15454           work); fix typo in error message. Fixes #340079.
15455
15456 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15457
15458         * common/Makefile.am:
15459         * docs/Makefile.am:
15460         * docs/faq/Makefile.am:
15461         * docs/gst/Makefile.am:
15462         * docs/libs/Makefile.am:
15463         * docs/manual/Makefile.am:
15464         * docs/plugins/Makefile.am:
15465         * docs/pwg/Makefile.am:
15466         * docs/slides/Makefile.am:
15467         * docs/upload.mak:
15468         * common/upload.mak:
15469           move upload.mak to common
15470
15471 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15472
15473         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15474           add more asserts on refcounts
15475           do more cleanup at end of tests
15476           fix test leaks showing in FC5
15477
15478 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15479
15480         * plugins/elements/gsttypefindelement.c:
15481         (gst_type_find_element_handle_event):
15482         reverted wrong change and reflowed code to avoid others falling into
15483         this trap
15484
15485 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15486
15487         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15488           fix changelog entry about last collectpads change,
15489           add notes about proper fix
15490
15491 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15492
15493         * gst/gst.c:
15494         * gst/gstregistry.c: (gst_registry_scan_path_level),
15495         (gst_registry_scan_path):
15496         * gst/gstregistry.h:
15497           only write out registry if it has changed, fixes #338339
15498
15499 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15500
15501         * gst/gstbin.c:
15502         * gst/gstpipeline.c:
15503         * plugins/elements/gstcapsfilter.c:
15504         * plugins/elements/gstfakesink.c:
15505         * plugins/elements/gstfakesrc.c:
15506         * plugins/elements/gstfdsink.c:
15507         * plugins/elements/gstfdsrc.c:
15508         * plugins/elements/gstfilesink.c:
15509         * plugins/elements/gstfilesrc.c:
15510         * plugins/elements/gstidentity.c:
15511         * plugins/elements/gstqueue.c:
15512         * plugins/elements/gsttee.c:
15513         * plugins/elements/gsttypefindelement.c:
15514         (gst_type_find_element_handle_event):
15515           make GstElementDetails const
15516
15517 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15518
15519         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15520         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15521         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15522           more detailed debug and formatting cleanup,
15523           forward newsegments to src-pad (so that e.g. adder not eats them)
15524
15525 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15526
15527         * gst/gstutils.c: (gst_element_link_pads):
15528           cleanup double code
15529
15530 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15531
15532         * libs/gst/controller/gstcontroller.c:
15533         (gst_controller_sync_values):
15534           some little tuning
15535         * tests/check/libs/controller.c: (GST_START_TEST),
15536         (gst_controller_suite):
15537           a new test for live value handling
15538
15539 2006-04-28  Wim Taymans  <wim@fluendo.com>
15540
15541         * gst/gstutils.c: (push_and_ref):
15542         Added some more docs.
15543         Fix refcount issue whith gst_element_found_tags() helper 
15544         function. Fixes #338335
15545
15546         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15547         Added testsuite for gst_element_found_tags().
15548
15549 2006-04-28  Michael Smith  <msmith@fluendo.com>
15550
15551         * gst/gstvalue.c: (gst_value_serialize_flags):
15552           Avoid NULL dereference when trying to serialize flags containing
15553           invalid values.
15554
15555 2006-04-28  Michael Smith  <msmith@fluendo.com>
15556
15557         * plugins/elements/gsttypefindelement.c:
15558         (gst_type_find_element_handle_event):
15559           If we get EOS before any data is accumulated, don't use
15560           uninitialised local variables.
15561
15562 2006-04-28  Michael Smith  <msmith@fluendo.com>
15563
15564         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15565         (gst_dp_event_from_packet):
15566           Fixes in reading/writing events over GDP (not currently used?) - 
15567           dereferencing NULL events for unknown/invalid event types, memory
15568           leak, and change g_warning to GST_WARNING.
15569
15570 2006-04-28  Wim Taymans  <wim@fluendo.com>
15571
15572         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15573         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15574         (gst_base_sink_get_position), (gst_base_sink_change_state):
15575         When frame dropping is enabled, we should not ignore frames
15576         without a duration.
15577         Update some documentation.
15578
15579 2006-04-28  Wim Taymans  <wim@fluendo.com>
15580
15581         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15582         (gst_base_src_send_event), (gst_base_src_change_state):
15583         Documentation updates.
15584
15585 2006-04-28  Wim Taymans  <wim@fluendo.com>
15586
15587         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15588         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15589         handle EAGAIN, EINTR and short writes correctly. Also clean
15590         up some error cases, avoid a deadlock on bad file descriptors and
15591         use GST_DEBUG_OBJECT.
15592         Fixes #339843
15593
15594 2006-04-28  Wim Taymans  <wim@fluendo.com>
15595
15596         * gst/gstvalue.c: (gst_value_serialize_buffer),
15597         (gst_value_deserialize_buffer):
15598         Don't try to serialize a GValue with a NULL buffer. 
15599         Fixes #339821.
15600
15601         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15602         Added check for serialisation of NULL buffers.
15603
15604 2006-04-28  Wim Taymans  <wim@fluendo.com>
15605
15606         * gst/gstminiobject.c: (gst_value_take_mini_object):
15607         Taking a NULL miniobject is valid, fix the case where
15608         we try to unref the NULL miniobject.
15609
15610 2006-04-28  Wim Taymans  <wim@fluendo.com>
15611
15612         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15613
15614         * gst/gstbin.c: (gst_bin_handle_message_func):
15615         Update docs.
15616         Don't leak bin refcount when a state recalc is
15617         in progress and we delay another one #339808.
15618
15619 2006-04-28  Wim Taymans  <wim@fluendo.com>
15620
15621         * docs/design/part-TODO.txt:
15622         Mention QoS as an ongoing work item.
15623
15624         * docs/design/part-buffering.txt:
15625         New doc about buffering that needs to be fleshed out
15626         at some point.
15627
15628         * docs/design/part-qos.txt:
15629         More QoS policy for decoders/demuxers/transforms
15630
15631         * docs/design/part-trickmodes.txt:
15632         Small update.
15633
15634 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15635
15636         * configure.ac:
15637           back to HEAD
15638
15639 === release 0.10.5 ===
15640
15641 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15642
15643         * configure.ac:
15644           releasing 0.10.5, "Fogo"
15645
15646 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15647
15648         patch by: Wim Taymans
15649
15650         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15651         (gst_pad_configure_src), (gst_pad_push):
15652         * gst/gstpipeline.c: (gst_pipeline_init):
15653           Fix internal data flow errors.  Fixes #338711.
15654
15655 2006-04-12  Wim Taymans  <wim@fluendo.com>
15656
15657         * tests/check/gst/gstelement.c: (GST_START_TEST):
15658         Don't leak the factory.
15659
15660 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15661
15662         * configure.ac:
15663         * win32/common/config.h:
15664           prerelease
15665
15666 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15667
15668         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15669         (gst_controller_unset_all):
15670           Free allocated GstTimedValues when freeing list nodes.
15671           Should fix leaks 'make check-valgrind' complains about.
15672
15673         * win32/common/libgstcontroller.def:
15674           Add gst_controller_unset_all.
15675
15676 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15677
15678         * docs/libs/gstreamer-libs-sections.txt:
15679         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15680         (gst_controller_unset_all):
15681         * libs/gst/controller/gstcontroller.h:
15682         API: Added new method gst_controller_unset_all()
15683         fixed gst_controller_unset()
15684         * tests/check/libs/controller.c: (GST_START_TEST),
15685         (gst_controller_suite):
15686         Added two testcases for new and fixed method
15687
15688 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15689
15690         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15691           MSG_DONTWAIT is not defined on Cygwin, so work
15692           around that (fixes #317048).
15693           
15694 2006-04-11  Wim Taymans  <wim@fluendo.com>
15695
15696         * gst/gstelementfactory.c: (gst_element_register),
15697         (gst_element_factory_create), (gst_element_factory_make):
15698         Some cleanups.
15699         Fixed a FIXME.
15700         Updated docs (Fixes #131079)
15701
15702         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15703         Small cleanups.
15704
15705         * tests/check/gst/gstelement.c: (GST_START_TEST),
15706         (gst_element_suite):
15707         Added testcase for elementfactory class field.
15708
15709 2006-04-10  Wim Taymans  <wim@fluendo.com>
15710
15711         * gst/gstsegment.c:
15712         Added some more docs.
15713
15714         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15715         (gst_base_sink_reset_qos):
15716         Calculate more accurate rate values.
15717
15718 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15719
15720         * gst/gst_private.h:
15721           add a new #ifdef to use __declspec(dllimport) only for
15722           other modules and not for gstreamer core
15723         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15724           use gst_guint64_to_gdouble for conversion
15725         * win32/common/libgstreamer.def:
15726           add new exported functions
15727         * win32/vs6/gst_inspect.dsp:
15728         * win32/vs6/gst_launch.dsp:
15729         * win32/vs6/libgstbase.dsp:
15730         * win32/vs6/libgstcontroller.dsp:
15731         * win32/vs6/libgstcoreelements.dsp:
15732         * win32/vs6/libgstdataprotocol.dsp:
15733         * win32/vs6/libgstnet.dsp:
15734           update project files
15735
15736 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15737
15738         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15739         * gst/gstclock.c: (gst_clock_class_init):
15740         * gst/gstelement.c: (gst_element_class_init):
15741         * gst/gstindex.c: (gst_index_class_init):
15742         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15743         * gst/gstobject.c: (gst_object_class_init),
15744         (gst_signal_object_class_init):
15745         * gst/gstpad.c: (gst_pad_class_init):
15746         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15747         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15748         * gst/gstregistry.c: (gst_registry_class_init):
15749         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15750         * gst/gsttask.c: (gst_task_class_init):
15751         * gst/gstxml.c: (gst_xml_class_init):
15752         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15753         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15754         (gst_base_src_loop):
15755         * libs/gst/controller/gstcontroller.c:/
15756         (_gst_controller_class_init):
15757         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15758         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15759         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15760         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15761         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15762         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15763
15764 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15765
15766         * gst/gstpad.c: (gst_pad_link):
15767           Must set peer pads before calling the link function, otherwise
15768           a task started from a link function might get a flow-not-linked
15769           result when trying to push because the other thread where the
15770           linking happens hasn't had a chance to set the peers yet. This
15771           might happen for example when a queue gets linked to a downstream
15772           element, as queue starts a streaming task when its source pad
15773           gets linked. Happens in real life when playing back flac/musepack
15774           files in playbin (#332390).
15775           
15776 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15777
15778         * gst/gstindex.h:
15779         * gst/gstxml.h:
15780         * libs/gst/base/gstadapter.h:
15781         * libs/gst/base/gstbasesink.h:
15782         * libs/gst/base/gstbasesrc.h:
15783         * libs/gst/base/gstbasetransform.h:
15784         * libs/gst/base/gstcollectpads.h:
15785         * libs/gst/base/gstpushsrc.h:
15786         Fix broken GObject macros
15787
15788 2006-04-07  Wim Taymans  <wim@fluendo.com>
15789
15790         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15791         Initialize start and stop times, thanks valgrind.
15792
15793 2006-04-07  Wim Taymans  <wim@fluendo.com>
15794
15795         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15796         Be a bit nicer to badly behaving upstream elements that expect
15797         us to deal with non TIME segments and timestamps (such as fakesrc
15798         in the testsuite).
15799
15800 2006-04-07  Wim Taymans  <wim@fluendo.com>
15801
15802         * gst/gstbus.c:
15803         Small documentation clarification about the signal watch.
15804
15805         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15806         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15807         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15808         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15809         (gst_base_sink_get_position_last),
15810         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15811         Convert and store timestamps in stream time and running time, the
15812         raw timestamps are not useful, also document this better.
15813         Use different window sizes for good and bad QoS observations so
15814         we react to badness a little quicker.
15815         Keep track of the amount of rendered and dropped buffers.
15816         Send QoS timestamps in running time.
15817
15818         * libs/gst/base/gstbasetransform.c:
15819         (gst_base_transform_sink_eventfunc),
15820         (gst_base_transform_handle_buffer):
15821         Compare QoS timestamps against running time.
15822
15823 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15824
15825         * gst/gstpad.c:
15826           Typo fixes in docs.
15827
15828 2006-04-06  Michael Smith  <msmith@fluendo.com>
15829
15830         * gst/gstpad.c: (gst_pad_set_property):
15831           Use g_value_get_object() instead of g_value_dup_gst_object(),
15832           to avoid double-reffing the pad template (which we then sink,
15833           so this worked previously if (and only if) the pad template
15834           was floating.
15835
15836         * gst/gstpadtemplate.c: (gst_pad_template_init),
15837         (gst_pad_template_pad_created):
15838           Never return floating references to pad templates, create
15839           them as initially-sunken.
15840
15841           Document an extra function (and make this stop sinking our
15842           pad template, since that is now guaranteed to do nothing,
15843           since we created it sunken).
15844
15845         * gst/gstghostpad.c:
15846           Fix docs typo.
15847
15848 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15849
15850         * gst/gstinfo.c: (__gst_in_valgrind):
15851           Add some newlines.
15852
15853         * plugins/elements/gsttypefindelement.c:
15854         (gst_type_find_element_chain):
15855           Don't leak buffer caps.
15856
15857 2006-04-06  Michael Smith  <msmith@fluendo.com>
15858
15859         * gst/parse/grammar.y:
15860           Fix a leak in parse-launch for any source-or-sink named element 
15861           references used.
15862
15863         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15864           Unref the pipeline if it exists after we've failed parsing.
15865
15866 2006-04-05  Michael Smith  <msmith@fluendo.com>
15867
15868         * gst/gstpipeline.c: (gst_pipeline_init):
15869           When we create a pipeline bus, initially create it in flushing mode.
15870           Fixes leaks in at least one test, and makes a new pipeline work the
15871           same as one that has gone to READY and then back to NULL.
15872
15873         * gst/gstelement.c:
15874           Typo fix in docs.
15875
15876 2006-04-05  Michael Smith  <msmith@fluendo.com>
15877
15878         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15879           Unref a pad we reffed.
15880         * tests/check/gst/gstutils.c: (GST_START_TEST):
15881           Unref bins
15882
15883 2006-04-05  Michael Smith  <msmith@fluendo.com>
15884
15885         * gst/gstquery.c: (gst_query_set_formats),
15886         (gst_query_set_formatsv):
15887           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15888
15889 2006-04-05  Michael Smith  <msmith@fluendo.com>
15890
15891         * tests/check/generic/sinks.c: (GST_START_TEST):
15892           Fix a variety of memleaks in sinks check, which are only sometimes 
15893           shown by running the tests under valgrind (weird?).
15894
15895 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15896
15897         * docs/version.entities.in:
15898           Fix the substituted entity name after thomas' changes on the
15899           weekend.
15900
15901 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15902
15903         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15904         VALGRIND_PRINTF
15905         
15906 2006-04-05  Andy Wingo  <wingo@pobox.com>
15907
15908         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15909
15910         * libs/gst/base/gstbasetransform.c
15911         (gst_base_transform_sink_eventfunc): When resetting our segment on
15912         FLUSH_STOP, also update the flag saying we haven't seen a
15913         newsegment.
15914
15915 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15916
15917         Patch by: Paolo Borelli  <pborelli at katamail dot com>
15918
15919         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15920         (gst_plugin_check_license):
15921           minor clean-ups: G_DEFINE_TYPE already takes care of the
15922           parent_class stuff, no need to do it twice. Mark array of
15923           license strings as constant. (#337103)
15924           
15925 2006-04-04  Michael Smith  <msmith@fluendo.com>
15926
15927         * tools/gst-inspect.c: (print_element_list):
15928           Free the right plugin list; fixes a memory leak.
15929
15930 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15931
15932         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
15933
15934         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15935           Don't error out on empty buffers (#336945).
15936           
15937 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
15938
15939         * docs/libs/gstreamer-libs-sections.txt:
15940         * gst/gsttaglist.c:
15941         * libs/gst/base/gstbasesink.c:
15942         * libs/gst/base/gstbasesink.h:
15943         * libs/gst/base/gstbasesrc.c:
15944         * libs/gst/base/gstbasesrc.h:
15945           Documentation updates. Make BaseSink and BaseSrc docs contain the
15946           class structure so that people can actually see the prototypes for
15947           virtual functions they're supposed to be overriding.
15948
15949 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15950
15951         * plugins/elements/gsttypefindelement.c:
15952         (gst_type_find_element_chain):
15953           More debug info; when skipping typefinding, send cached
15954           events in all cases.
15955
15956 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15957
15958         * configure.ac:
15959           use new AS_VERSION and AS_NANO macros
15960         * gst/gst-i18n-lib.h:
15961         * gst/gst.c:
15962         * gst/gsterror.c:
15963         * gst/gstversion.h.in:
15964         * win32/common/config.h:
15965         * win32/common/config.h.in:
15966           update accordingly
15967
15968 2006-03-31  Michael Smith  <msmith@fluendo.com>
15969
15970         * plugins/elements/gsttypefindelement.c:
15971         (gst_type_find_element_chain):
15972           Do not typefind content if the buffers already have caps.
15973           Neccesary for icydemux (#333657), and the right thing to do anyway.
15974
15975 2006-03-30  Wim Taymans  <wim@fluendo.com>
15976
15977         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15978         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15979         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15980         (gst_base_sink_record_qos_observation),
15981         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15982         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15983         (gst_base_sink_change_state):
15984         More QoS measurements as described in the design doc.
15985         Get rid of ringbuffer with observations, running average is
15986         more simple and equally good.
15987         Calculates valid proportion now.
15988         Added beginning of flood measurement.
15989
15990 2006-03-29  Wim Taymans  <wim@fluendo.com>
15991
15992         * docs/design/part-qos.txt:
15993         * gst/gstclock.c:
15994         Small documentation updates and additions.
15995
15996 2006-03-29  Wim Taymans  <wim@fluendo.com>
15997
15998         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15999         (gst_base_src_send_event), (gst_base_src_loop),
16000         (gst_base_src_change_state):
16001         Perform the EOS logic when we reach the segment stop position.
16002         Fix compilation on gcc4.1
16003
16004 2006-03-29  Wim Taymans  <wim@fluendo.com>
16005
16006         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16007
16008         * plugins/elements/gstqueue.c: (gst_queue_init),
16009         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16010         (gst_queue_set_property):
16011         * plugins/elements/gstqueue.h:
16012         In queue, when EOS is received, if minimum threshold > max_size -
16013         current_level, there is chance that queue blocks forever in conditional
16014         item del wait. This is because the queue is not emptied completely due
16015         to minimum threshold.  Here is another approach. Instead of setting
16016         cur_levels to max in EOS, just zero all minimum threshold levels. This
16017         should make sure that queue gives out all data. When going to READY
16018         (stop) state, just reset the original minimum threshold levels.
16019         Fixes #336336.
16020
16021 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16022
16023         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16024         (gst_type_find_element_handle_event),
16025         (gst_type_find_element_send_cached_events),
16026         (gst_type_find_element_change_state):
16027         * plugins/elements/gsttypefindelement.h:
16028           When typefinding is done in push mode, we should cache
16029           events we receive during typefinding instead of just
16030           dropping them (e.g. newsegment, custom events from
16031           dvdreadsrc etc.) and then send them out once we've
16032           determined the type of the stream (and decodebin
16033           has had a chance to plug in a decoder/demuxer).
16034           
16035 2006-03-27  Wim Taymans  <wim@fluendo.com>
16036
16037         * docs/design/part-qos.txt:
16038         First QoS ideas.
16039
16040 2006-03-27  Wim Taymans  <wim@fluendo.com>
16041
16042         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16043
16044         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16045         (gst_base_src_send_event), (gst_base_src_change_state):
16046         Handle element seek correctly when we are streaming.
16047         Fixes #326998.
16048
16049 2006-03-24  Michael Smith  <msmith@fluendo.com>
16050
16051         * docs/faq/gst-uninstalled:
16052           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16053           allow you to correctly run intalled applications built against old 
16054           core, using plugins that require updated core (e.g. running
16055           installed totem against a full uninstalled gstreamer stack)
16056
16057 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16058
16059         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16060         more debug details
16061
16062 2006-03-24  Wim Taymans  <wim@fluendo.com>
16063
16064         * docs/gst/gstreamer-sections.txt:
16065         Rearrange the order of the methods so that related methods
16066         are grouped together in sections.
16067
16068 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16069
16070         * gst/gstelement.c:
16071           Little clarification in the docs
16072
16073 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16074
16075         * docs/README:
16076         formatting fix
16077         * plugins/elements/gstidentity.c:
16078         * plugins/elements/gstqueue.c:
16079         * plugins/elements/gsttee.c:
16080         * plugins/elements/gsttypefindelement.c:
16081         GST_ELEMENT_DETAILS formatting
16082
16083 2006-03-24  Wim Taymans  <wim@fluendo.com>
16084
16085         * libs/gst/base/gstbasesink.h:
16086         Only add fields, not insert or we break ABI.
16087
16088 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16089
16090         * win32/common/libgstbase.def:
16091         * win32/common/libgstreamer.def:
16092           Update, add recently added functions.
16093
16094 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16095
16096         * docs/gst/gstreamer-sections.txt:
16097         * gst/gstutils.c: (gst_pad_query_peer_position),
16098         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16099         * gst/gstutils.h:
16100           API: add some new utility functions:
16101            - gst_pad_query_peer_position()
16102            - gst_pad_query_peer_duration()
16103            - gst_pad_query_peer_convert()
16104           
16105 2006-03-23  Wim Taymans  <wim@fluendo.com>
16106
16107         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16108         (gst_base_sink_init), (gst_base_sink_finalize),
16109         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16110         (gst_base_sink_set_property), (gst_base_sink_get_property),
16111         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16112         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16113         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16114         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16115         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16116         (gst_base_sink_preroll_object), (gst_base_sink_event),
16117         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16118         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16119         (gst_base_sink_query), (gst_base_sink_change_state):
16120         Decouple max-lateness and the fact that QoS messages are generated
16121         with a new property (qos).
16122         added API: GstBaseSink::async_play()
16123         Add vmethod so subclasses can be notified of ASYNC playing
16124         state changes.
16125         Collect timestamp start and stop to report better current
16126         position in EOS/PLAYING/PAUSED/READY/NULL.
16127         Refactor QoS/frame dropping and other measurements.
16128         API: GstBaseSrc::qos
16129         Fixes #326311
16130
16131         * libs/gst/base/gstbasesink.h:
16132         Added Private struct.
16133         API: gst_base_sink_set_qos_enabled()
16134         API: gst_base_sink_is_qos_enabled()
16135
16136 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16137
16138         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16139           If compiling against GLib-2.8 or newer, try to read the
16140           registry file using GMappedFile first before falling back
16141           to fopen() + fread() (#332151).
16142
16143 2006-03-22  Wim Taymans  <wim@fluendo.com>
16144
16145         * gst/gstinfo.c: (gst_debug_set_active),
16146         (gst_debug_category_set_threshold):
16147         Disable debugging unless explicitly activated.
16148         Fixes #335480.
16149
16150 2006-03-22  Wim Taymans  <wim@fluendo.com>
16151
16152         * gst/gstelement.c: (gst_element_set_locked_state),
16153         (gst_element_dispose):
16154         Cleanup the error case.
16155
16156         * gst/gstobject.c: (gst_object_dispose):
16157         print a critical when some object was disposed with
16158         a parent, also revive the object since it might
16159         crash the parent.
16160
16161 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16162
16163         * tools/gst-launch.1.in:
16164           Fix another typo.
16165
16166 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16167
16168         * configure.ac:
16169         * tests/check/Makefile.am:
16170           disable some tests when we don't have a registry
16171         * tests/check/gst/gstutils.c: (gst_utils_suite):
16172           don't build the part that needs parsing
16173
16174 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16175
16176         * gst/Makefile.am
16177         * tests/examples/Makefile.am:
16178           fix --disable-parse build
16179
16180 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16181
16182         * tools/gst-feedback.1.in:
16183           Fix typo: s/feeback/feedback/ (#133494).
16184
16185 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16186
16187         * tools/Makefile.am:
16188         * tools/gst-launch.1.in:
16189           Add FILES section and correct entry about GST_REGISTRY_PATH
16190           environment variable (#133495; #133494).
16191
16192 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16193
16194         * tools/Makefile.am:
16195         * tools/gst-md5sum.1.in:
16196         * tools/gst-md5sum.c:
16197           Remove gst-md5sum and man page (the md5sink element
16198           required was removed ages ago)
16199
16200 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16201
16202         * gst/gststructure.c: (gst_structure_id_set_value):
16203           Make sure that string fields in structures/taglists
16204           contain valid UTF-8 - we don't want to pass rubbish to
16205           applications because of a buggy plugin (cp. #334167).
16206
16207 2006-03-21  Edward Hervey  <edward@fluendo.com>
16208
16209         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16210         (gst_bin_handle_message_func):
16211         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16212         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16213         (gst_element_set_bus_func):
16214         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16215         * gst/gstminiobject.c: (gst_value_set_mini_object),
16216         (gst_value_take_mini_object):
16217         * gst/gstpad.c: (gst_pad_set_pad_template):
16218         * gst/gstpipeline.c: (gst_pipeline_dispose),
16219         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16220         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16221         (gst_collect_pads_chain):
16222         * libs/gst/net/gstnettimeprovider.c:
16223         (gst_net_time_provider_set_property):
16224         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16225         It's in fact all issues with gst_*object_replace().
16226
16227 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16228
16229         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16230         
16231         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16232         * pkgconfig/gstreamer-check.pc.in:
16233           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16234
16235 2006-03-21  Edward Hervey  <edward@fluendo.com>
16236
16237         * gst/gstbuffer.h:
16238         * gst/gstevent.h:
16239         * gst/gstmessage.h:
16240         gst_[buffer|event|message]_ref() macros are replaced by a static
16241         inline functions because gcc-4.1 will about if the return value
16242         isn't used.
16243         * tests/check/gst/gstevent.c: (event_probe):
16244         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16245
16246 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16247
16248         * gst/gstutils.h:
16249         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16250         the type' case. (Closes: #335195 for now). In the future, when we
16251         depend on GLib 2.10, we could also intern the type name using
16252         g_intern_static_string()
16253
16254 2006-03-20  Wim Taymans  <wim@fluendo.com>
16255
16256         * gst/gstbin.c: (gst_bin_handle_message_func),
16257         (bin_query_max_init), (bin_query_position_fold),
16258         (bin_query_position_done), (gst_bin_query):
16259         Position query should also take max of all streams.
16260
16261 2006-03-20  Wim Taymans  <wim@fluendo.com>
16262
16263         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16264         (gst_fake_src_finalize):
16265         Fix leaks in fakesrc.
16266
16267         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16268         Fix leaks in the testcase.
16269
16270 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16271
16272         * gst/gst_private.h:
16273           add win32 specific import decoration(__declspec(dllimport)) 
16274           for all extern GstDebugCategory * variables
16275         * win32/common/libgstbase.def:
16276         * win32/common/libgstcontroller.def:
16277         * win32/common/libgstreamer.def:
16278           Add some exports, remove empty lines
16279         * win32/common/libgstdataprotocol.def:
16280         * win32/common/libgstdataprotocol.dsp:
16281         * win32/common/libgstnet.def:
16282         * win32/common/libgstnet.dsp:
16283           new project files and exportation files added
16284         
16285 2006-03-19  Wim Taymans  <wim@fluendo.com>
16286
16287         * tests/check/libs/basesrc.c: (eos_event_counter):
16288         Use proper return value for probe.
16289
16290 2006-03-17  Wim Taymans  <wim@fluendo.com>
16291
16292         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16293         (gst_pad_push):
16294         Don't leak buffers, caps and pads on negotiation errors.
16295
16296 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16297
16298         * docs/faq/cvs.xml:
16299         * docs/faq/dependencies.xml:
16300         * docs/faq/developing.xml:
16301         * docs/faq/faq.xml:
16302         * docs/faq/general.xml:
16303         * docs/faq/getting.xml:
16304         * docs/faq/legal.xml:
16305         * docs/faq/troubleshooting.xml:
16306         * docs/faq/using.xml:
16307         Faq review and update.
16308
16309 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16310
16311         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16312         (gst_pad_push):
16313         Don't pound the cpu to pieces by checking get_caps when accept_caps
16314         is called with the same caps as the pad already has.
16315         Use GST_DEBUG_OBJECT when outputting caps change information.
16316
16317 2006-03-15  Wim Taymans  <wim@fluendo.com>
16318
16319         * gst/gstclock.c: (gst_clock_class_init):
16320         Fix docs.
16321
16322 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16323
16324         * gst/gstbuffer.h:
16325         Documentation fix.
16326
16327         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16328         (gst_pad_accept_caps), (gst_pad_configure_sink),
16329         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16330         Make the default acceptcaps behaviour be to check the requested 
16331         caps against the gst_pad_get_caps output. 
16332
16333         Ensure that gst_pad_accept_caps is used to check caps when a pad
16334         doesn't have a setcaps function, so that pads automatically refuse 
16335         caps that they don't allow in their pad template. (Fixes #332986)
16336
16337         When a buffer with attached caps is pushed, ensure that the source 
16338         pad receives those caps even if the element didn't call
16339         gst_pad_set_caps first.
16340
16341 2006-03-15  Wim Taymans  <wim@fluendo.com>
16342
16343         * libs/gst/base/gstadapter.c:
16344         Add some docs.
16345
16346 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16347
16348         * win32/common/libgstbase.def:
16349         * win32/common/libgstcontroller.def:
16350         * win32/common/libgstreamer.def:
16351           Add a whole bunch of missing functions (#334434).
16352
16353 2006-03-14  Wim Taymans  <wim@fluendo.com>
16354
16355         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16356         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16357         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16358         Better debug info when we receive a segment event.
16359         Reorganize a bit so we can pass the get_times() results around.
16360         Use the segment format when calculating the running time.
16361         Don't do QoS is sync is disabled or we have no clock or the
16362         element does not want us to sync to the clock.
16363         Don't drop buffers if QoS is disabled for now.
16364
16365 2006-03-14  Wim Taymans  <wim@fluendo.com>
16366
16367         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16368         Marked the stats property as unimplemented so people don't get
16369         wild ideas.
16370         Add debug message when regression goes wrong.
16371         Added some more docs.
16372
16373 2006-03-14  Wim Taymans  <wim@fluendo.com>
16374
16375         * gst/gstsegment.c: (gst_segment_to_stream_time):
16376         Return correct return type in case of errors.
16377
16378 2006-03-14  Wim Taymans  <wim@fluendo.com>
16379
16380         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16381           Don't segfault on invalid formats.
16382
16383 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16384
16385         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16386           Can't use gst_segment_to_running_time() when the segment
16387           is not in GST_TIME_FORMAT (like with filesink, for example).
16388           Stops flac encoding pipelines from spewing critical warnings
16389           at EOS (#331248).
16390           
16391 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16392
16393         * gst/gstpipeline.c: (gst_pipeline_class_init):
16394           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16395
16396         * plugins/elements/gsttypefindelement.c:
16397         (gst_type_find_element_handle_event):
16398           Don't try to typefind empty streams.
16399
16400 2006-03-14  Wim Taymans  <wim@fluendo.com>
16401
16402         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16403         (gst_base_sink_do_qos):
16404         Separate QoS calculation.
16405         Only drop buffers when lateness is bigger than the 
16406         duration of the buffer.
16407
16408 2006-03-13  Wim Taymans  <wim@fluendo.com>
16409
16410         * gst/gstpipeline.c: (gst_pipeline_set_property),
16411         (gst_pipeline_get_property), (do_pipeline_seek),
16412         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16413         (gst_pipeline_get_delay):
16414         Don't deadlock when reading properties.
16415
16416 2006-03-13  Wim Taymans  <wim@fluendo.com>
16417
16418         * libs/gst/base/gstbasetransform.c:
16419         (gst_base_transform_class_init), (gst_base_transform_init),
16420         (gst_base_transform_sink_event),
16421         (gst_base_transform_sink_eventfunc),
16422         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16423         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16424         (gst_base_transform_set_property),
16425         (gst_base_transform_get_property),
16426         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16427         (gst_base_transform_set_qos_enabled),
16428         (gst_base_transform_is_qos_enabled):
16429         * libs/gst/base/gstbasetransform.h:
16430         Make basetransform virtual method for src events too.
16431         Handle QOS in basetransform.
16432         API: gst_base_transform_update_qos()
16433         API: gst_base_transform_set_qos_enabled()
16434         API: gst_base_transform_is_qos_enabled()
16435
16436 2006-03-13  Wim Taymans  <wim@fluendo.com>
16437
16438         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16439         (gst_base_sink_do_sync):
16440         Small cleanups.
16441         Use QOS debug category.
16442
16443 2006-03-13  Wim Taymans  <wim@fluendo.com>
16444
16445         * plugins/elements/gstqueue.c:
16446         Very small doc update.
16447
16448 2006-03-13  Wim Taymans  <wim@fluendo.com>
16449
16450         * gst/gst_private.h:
16451         * gst/gstinfo.c: (_gst_debug_init):
16452         Added QOS debug category
16453
16454 2006-03-13  Wim Taymans  <wim@fluendo.com>
16455
16456         * docs/gst/gstreamer-sections.txt:
16457         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16458         * gst/gstbin.h:
16459         * gst/gstbus.c: (gst_bus_class_init):
16460         * gst/gstbus.h:
16461         * gst/gstclock.c:
16462         * gst/gstelement.c: (gst_element_set_locked_state):
16463         * gst/gstsegment.c:
16464         Documentation updates.
16465
16466         * gst/gstpipeline.c: (gst_pipeline_get_type),
16467         (gst_pipeline_class_init), (gst_pipeline_init),
16468         (gst_pipeline_dispose), (gst_pipeline_set_property),
16469         (gst_pipeline_get_property), (do_pipeline_seek),
16470         (gst_pipeline_send_event), (gst_pipeline_change_state),
16471         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16472         (gst_pipeline_get_delay):
16473         * gst/gstpipeline.h:
16474         Added methods for setting the delay.
16475         API: gst_pipeline_set_delay()
16476         API: gst_pipeline_get_delay()
16477         Add pipeline debug category
16478         Various cleanups.
16479         Updated docs.
16480         Don't reset stream time when seek failed.
16481
16482 2006-03-13  Wim Taymans  <wim@fluendo.com>
16483
16484         * docs/design/draft-klass.txt:
16485         * docs/design/part-clocks.txt:
16486         * docs/design/part-events.txt:
16487         * docs/design/part-gstbin.txt:
16488         * docs/design/part-gstpipeline.txt:
16489         * docs/design/part-messages.txt:
16490         * docs/design/part-negotiation.txt:
16491         * docs/design/part-overview.txt:
16492         * docs/design/part-preroll.txt:
16493         * docs/design/part-seeking.txt:
16494         * docs/design/part-states.txt:
16495         * docs/design/part-streams.txt:
16496         Documentation updates.
16497
16498 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16499
16500         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16501         us to leak strings...
16502
16503 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16504
16505         * libs/gst/net/gstnettimeprovider.c:
16506           fix docs
16507         * win32/common/config.h:
16508           update
16509
16510 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16511
16512         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16513
16514         * configure.ac:
16515           Don't check for libgnomeui (leftover from old examples
16516           that aren't built or disted any longer) (#334303).
16517           
16518 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16519
16520         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16521         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16522           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16523           there's no space left on the device.
16524
16525 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16526
16527         * gst/gstclock.h:
16528           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16529           to cast the input to GstClockTime before comparing with
16530           another GstClockTime value.
16531
16532 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16533
16534         * configure.ac:
16535           back to trunk
16536
16537 === release 0.10.4 ===
16538
16539 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16540
16541         * configure.ac:
16542           releasing 0.10.4, "Light"
16543
16544 2006-03-10  Michael Smith  <msmith@fluendo.com>
16545
16546         * libs/gst/dataprotocol/dataprotocol.c:
16547           Fix docs for dataprocotol to not get the return types completely
16548           wrong for a few functions.
16549
16550 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16551
16552         * docs/gst/gstreamer-sections.txt:
16553         * gst/gstpipeline.c: (gst_pipeline_class_init),
16554         (gst_pipeline_init), (gst_pipeline_set_property),
16555         (gst_pipeline_get_property), (gst_pipeline_change_state),
16556         (gst_pipeline_set_auto_flush_bus),
16557         (gst_pipeline_get_auto_flush_bus):
16558         * gst/gstpipeline.h:
16559           Add new API: gst_pipeline_set_auto_flush_bus() and
16560           gst_pipeline_get_auto_flush_bus() to disable automatic
16561           flushing of the pipeline's GstBus when going from READY
16562           to NULL state (#332045).
16563
16564 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16565
16566         * docs/gst/gstreamer-sections.txt:
16567         * gst/gsturi.c: (gst_uri_has_protocol):
16568         * gst/gsturi.h:
16569            Add new API: gst_uri_has_protocol() (#333779).
16570
16571 2006-03-09  Wim Taymans  <wim@fluendo.com>
16572
16573         * gst/gstclock.c: (gst_clock_entry_new),
16574         (gst_clock_id_compare_func), (gst_clock_id_wait),
16575         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16576         (gst_clock_init), (gst_clock_get_internal_time),
16577         (gst_clock_set_master), (do_linear_regression),
16578         (gst_clock_add_observation), (gst_clock_set_property):
16579         * gst/gstclock.h:
16580         Review docs.
16581         Small cleanups.
16582         Fix a possible segfault when the window-size is made smaller.
16583         Calculate jitter before performing the clock wait. Ideally
16584         the clock implementation should calculate jitter but we need
16585         API breakage for that.
16586
16587         * gst/gstsystemclock.c: (gst_system_clock_init):
16588         Docs review.
16589         
16590         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16591         Remove leftover else
16592
16593         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16594         (gst_systemclock_suite):
16595         Added check to test GST_CLOCK_DIFF.
16596
16597 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16598
16599         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16600         (gst_type_find_helper_get_range):
16601           If we are provided with the size, we should implement
16602           GstTypeFind::get_length, so that typefind functions who
16603           want to can actually peek at the middle of a file.
16604
16605 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16606
16607         * docs/manual/advanced-dataaccess.xml:
16608           Add some very very basic error checking.
16609
16610         * docs/pwg/appendix-checklist.xml:
16611           Some updates to the list of things to check when writing an element.
16612
16613 2006-03-08  Wim Taymans  <wim@fluendo.com>
16614
16615         * docs/design/part-element-transform.txt:
16616         Added some docs about the design of tranform elements.
16617
16618         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16619         (gst_base_src_loop), (gst_base_src_change_state):
16620         Mark buffers with the DISCONT flag.
16621
16622 2006-03-08  Michael Smith  <msmith@fluendo.com>
16623
16624         * gst/gstregistry.h:
16625         * gst/gstregistryxml.c: (gst_registry_save),
16626         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16627         (gst_registry_xml_save_pad_template),
16628         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16629         (gst_registry_xml_write_cache):
16630           Rewrite registry-saving to avoid race conditions and check for
16631           failed writes.
16632
16633 2006-03-08  Wim Taymans  <wim@fluendo.com>
16634
16635         * libs/gst/base/gstbasetransform.c:
16636         (gst_base_transform_transform_caps),
16637         (gst_base_transform_transform_size),
16638         (gst_base_transform_prepare_output_buffer),
16639         (gst_base_transform_get_unit_size),
16640         (gst_base_transform_buffer_alloc),
16641         (gst_base_transform_handle_buffer),
16642         (gst_base_transform_change_state):
16643         Cleanups, separate normal flow from errors, add sensible
16644         DEBUG lines.
16645         Don't try to renegotiate when allocating an output buffer.
16646         Also copy DISCONT buffer flag when copying a buffer.
16647         Reset the transform after we finish streaming, not during.
16648
16649 2006-03-08  Wim Taymans  <wim@fluendo.com>
16650
16651         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16652         Use last buffer timestamp in qos message.
16653
16654 2006-03-07  Wim Taymans  <wim@fluendo.com>
16655
16656         Patch by: Christophe Fergeau
16657
16658         * docs/pwg/advanced-tagging.xml:
16659         * docs/pwg/building-pads.xml:
16660           fixes #333416
16661
16662 2006-03-07  Wim Taymans  <wim@fluendo.com>
16663
16664         * docs/libs/gstreamer-libs-sections.txt:
16665         Added basesink new methods.
16666
16667         * gst/gstevent.c:
16668         * gst/gstevent.h:
16669         Docs updates. Flesh out the QoS docs.
16670
16671         * libs/gst/base/gstadapter.c:
16672         Small doc clarification about ownership and flushing.
16673
16674         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16675         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16676         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16677         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16678         * libs/gst/base/gstbasesink.h:
16679         API additions: 
16680         Added new methods to allow subclass to control max-lateness 
16681         and sync.
16682         Generate very basic QoS events based on last sync observation.
16683         Updated docs, fix typo, added some QoS blurb.
16684
16685         * libs/gst/base/gstbasesrc.c:
16686         Remove obsolete _get_state() calls from docs.
16687
16688 2006-03-07  Wim Taymans  <wim@fluendo.com>
16689
16690         * docs/libs/gstreamer-libs-sections.txt:
16691         * libs/gst/base/gstbasetransform.h:
16692         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16693         Fix docs for GstBaseSrc.
16694
16695 2006-03-07  Wim Taymans  <wim@fluendo.com>
16696
16697         * docs/gst/gstreamer-sections.txt:
16698         * gst/gstbuffer.h:
16699         * gst/gstvalue.c:
16700         * libs/gst/base/gstbasetransform.h:
16701         Small documentation fixes.
16702
16703 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16704
16705         * gst/gstvalue.c:
16706           Document thread-unsafety of gst_value_register_foo_func()
16707           when used at the same time as gst_value_foo() (#322628).
16708
16709 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16710
16711         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16712         (gst_push_src_check_get_range):
16713           Push sources don't support pull mode by default.
16714
16715 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16716
16717         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16718         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16719         (gst_base_src_default_check_get_range):
16720         * libs/gst/base/gstbasesrc.h:
16721           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16722           provide default implementation, and rename
16723           gst_base_src_check_get_range() to
16724           gst_base_src_pad_check_get_range() for clarity.
16725
16726 2006-03-06  Wim Taymans  <wim@fluendo.com>
16727
16728         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16729         Make property overridable.
16730
16731 2006-03-06  Wim Taymans  <wim@fluendo.com>
16732
16733         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16734         (gst_base_sink_init), (gst_base_sink_set_property),
16735         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16736         * libs/gst/base/gstbasesink.h:
16737         API addition: Make max-lateness a property.
16738
16739 2006-03-06  Wim Taymans  <wim@fluendo.com>
16740
16741         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16742         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16743         Don't ever draw a frame that is >10ms late.
16744
16745 2006-03-06  Michael Smith  <msmith@fluendo.com>
16746
16747         * gst/gstmessage.c: (_gst_message_copy):
16748           When copying a message, set the parent_refcount of the enclosed
16749           structure to point at the copy, not the original message.
16750
16751 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16752
16753         Patch by: Christophe Fergeau
16754
16755         * gst/gstutils.h:
16756           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16757           usable in c++ code (#333417)
16758
16759 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16760
16761         * gst/gstclock.h:
16762           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16763
16764 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16765
16766         * libs/gst/base/gstbasetransform.c:
16767         (gst_base_transform_transform_caps):
16768           Make sure caps are writable before passing them to
16769           gst_caps_append().
16770
16771 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16772
16773         * gst/gsterror.h:
16774           Fix some minor docs errors.
16775
16776 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16777
16778           Patch by: Ross Burton <ross at burtonini dot com>
16779
16780         * gst/gsterror.c: (_gst_resource_errors_init):
16781         * gst/gsterror.h:
16782           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16783
16784 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16785
16786         * gst/gst.c:
16787         Add a check and output a g_warning when GStreamer is built
16788         against GLib 2.6 but running against 2.8 or higher, and vice 
16789         versa. (Closes: #323542)
16790
16791 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16792
16793         * gst/parse/parse.l:
16794           Commit patch for parse_launch syntax from #331255. Removes 
16795           support for quoted strings and mimetypes when writing filtered 
16796           caps. See the bug report for more details - I'm pretty sure this
16797           obscure feature is not in use by _anyone_ anywhere.
16798
16799           With this simple change, the size of the gstreamer.so here 
16800           drops from 2193KB to 1565KB.
16801
16802 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16803
16804         * plugins/elements/gsttypefindelement.h:
16805         * plugins/elements/gsttypefindelement.c:
16806         (gst_type_find_element_src_event), (start_typefinding),
16807         (stop_typefinding), (gst_type_find_element_handle_event),
16808         (gst_type_find_element_chain),
16809         (gst_type_find_element_chain_do_typefinding):
16810           Use gst_type_find_helper_for_buffer() for chain-based
16811           typefinding.
16812
16813 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16814
16815         * plugins/elements/gsttypefindelement.c:
16816         (gst_type_find_element_class_init),
16817         (gst_type_find_element_set_property),
16818         (gst_type_find_element_get_property):
16819           Deprecate "maximum" property (not only was it only taken into
16820           account for typefinding in push-mode anyway, it also was never
16821           actually possible to set it in the first place because the
16822           property was registered with the numeric property ID for the
16823           "minimum" property). Register "maximum" property correctly,
16824           for the sake of future copy'n'pasters. Remove some cruft
16825           from property get/set functions.
16826
16827 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16828
16829         * plugins/elements/gsttypefindelement.c:
16830         (gst_type_find_element_activate):
16831           Use gst_type_find_helper_get_range() here, so we
16832           can honour the "minimum" property and also emit
16833           the signal with the correct probability of the found caps.
16834
16835 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16836
16837         * docs/libs/gstreamer-libs-sections.txt:
16838         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16839         (helper_find_suggest), (gst_type_find_helper_get_range),
16840         (gst_type_find_helper):
16841         * libs/gst/base/gsttypefindhelper.h:
16842           New API: gst_type_find_helper_get_range() (#333042).
16843
16844 2006-03-02  Michael Smith  <msmith@fluendo.com>
16845
16846         * gst/gstregistryxml.c: (load_feature):
16847           Asserting on a failure to read part of the registry is Not Cool.
16848           Just log a warning and return NULL (which is already handled)
16849
16850 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16851
16852         * win32/common/libgstbase.def:
16853           added export of gst_type_find_helper_for_buffer
16854         * win32/common/libgstbase.def:
16855           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16856           gst_ghost_pad_get_target
16857
16858 2006-02-28  Wim Taymans  <wim@fluendo.com>
16859
16860         * docs/design/draft-klass.txt:
16861         We use Filter now.
16862         Added Connector to mark elements that are only used to
16863         allow pipeline connections.
16864         Moved Debug to extra feature since most of them are 
16865         functionally something else.
16866
16867 2006-02-28  Wim Taymans  <wim@fluendo.com>
16868
16869         * docs/design/draft-klass.txt:
16870         Some updates and clarifications.
16871
16872 2006-02-28  Wim Taymans  <wim@fluendo.com>
16873
16874         * docs/design/draft-klass.txt:
16875         Proposal for klass field values.
16876
16877         * docs/design/part-streams.txt:
16878         Start of a doc describing stream anatomy.
16879
16880 2006-02-28  Wim Taymans  <wim@fluendo.com>
16881
16882         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16883         Help the compiler a bit with type registration.
16884         Use existing forward cod path instead of duplicating it when 
16885         handling a message.
16886         
16887         * gst/gstbus.c: (gst_bus_get_type):
16888         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16889         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16890         * gst/gstclock.c: (gst_clock_get_type):
16891         * gst/gstelement.c: (gst_element_get_type),
16892         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16893         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16894         * gst/gstminiobject.c: (gst_mini_object_get_type):
16895         * gst/gstpad.c: (gst_pad_get_type):
16896         * gst/gstsegment.c: (gst_segment_get_type):
16897         * gst/gststructure.c: (gst_structure_get_type):
16898         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16899         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16900         * gst/gstvalue.c:
16901         Help compiler with type registration.
16902
16903         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16904         Small doc update.
16905
16906 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16907
16908         * plugins/elements/gsttypefindelement.c:
16909         (gst_type_find_element_handle_event):
16910           When we get an EOS event and have not found a type yet
16911           (most likely because we had not yet accumulated
16912           TYPE_FIND_MIN_SIZE of data yet), try to determine the
16913           type given the data we have so far. Fixes typefinding
16914           for very short streams again, most notably quicktime
16915           redirections as used on Apple's trailer site (#331701).
16916
16917 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16918
16919         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16920         (gst_type_find_helper):
16921           Try typefinding factories with the highest rank first.
16922
16923 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16924
16925         * docs/libs/gstreamer-libs-docs.sgml:
16926         * docs/libs/gstreamer-libs-sections.txt:
16927         * libs/gst/base/gsttypefindhelper.c:
16928           Add section for typefind helper and add documentation
16929           for the old and the new function.
16930
16931 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16932
16933         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16934         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16935         (gst_type_find_helper_for_buffer):
16936         * libs/gst/base/gsttypefindhelper.h:
16937           New API: gst_type_find_helper_for_buffer() (#332723).
16938           
16939 2006-02-27  Michael Smith  <msmith@fluendo.com>
16940
16941         Patch by: Loïc Minier
16942
16943         * configure.ac:
16944         * docs/Makefile.am:
16945         * docs/slides/Makefile.am:
16946           prevent CVS directories getting disted.
16947
16948 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16949
16950         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16951           Use the REFCOUNTING category for caps refcounting.
16952           
16953 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16954
16955         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16956           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16957
16958 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16959
16960         * plugins/elements/gsttypefindelement.c:
16961         (gst_type_find_element_activate):
16962           Use gst_pad_check_pull_range() before _activate_pull()
16963           to avoid unnecessary open/close (see #331690).
16964
16965 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16966
16967         * gst/gstutils.c:
16968           Docs enhancement: make it crystal clear what the
16969           gst_pad_add_*_probe() callbacks should look like.
16970
16971 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16972
16973         * libs/gst/base/gstbasesrc.c:
16974           Document how applications can stop recording from
16975           live sources (see #330996).
16976
16977 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16978
16979         * tests/check/Makefile.am:
16980         * tests/check/libs/basesrc.c: (eos_event_counter),
16981         (basesrc_eos_events_pull), (basesrc_eos_events_push),
16982         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16983         (gst_basesrc_suite), (main):
16984           ... and add some tests for the base source EOS stuff.
16985
16986 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16987
16988         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16989           Test case originally showed the problem fixed below,
16990           but was then amended. Add checks back at the place
16991           where they used to be.
16992
16993 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16994
16995         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16996         (gst_base_src_init), (gst_base_src_loop),
16997         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16998         (gst_base_src_change_state):
16999         * libs/gst/base/gstbasesrc.h:
17000           Don't unconditionally send EOS when going from PAUSED to
17001           READY state, esp. make sure we don't send two EOS events
17002           in some cases (e.g. one when reaching EOS and one when
17003           going from PAUSED to READY). Also, we don't want to send
17004           EOS events when operating in pull mode. However, we do
17005           want to send an EOS event when shutting down a live
17006           source explicitly, for example (fixes #330996).
17007           
17008 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17009
17010         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17011           Update src->read_position after a seek when not using mmap.
17012           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17013
17014 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17015
17016         * gst/Makefile.am:
17017         * gst/gstparse.h:
17018         * gst/gstutils.c:
17019         * gst/gstutils.h:
17020         Make things work with --disable-parse as they do with 
17021         --disable-load-save - the symbols involved disappear, but the
17022         header is still installed and GST_DISABLE_PARSE is included via
17023         gstconfig.h
17024
17025 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17026
17027         * libs/gst/base/gstbasetransform.c:
17028         (gst_base_transform_change_state): Fix a stupid bug. I was 
17029         sure I compiled that.
17030
17031 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17032
17033         * gst/gstpad.c: (gst_pad_set_blocked_async):
17034         * gst/gstutils.c: (gst_pad_add_data_probe),
17035         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17036         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17037         (gst_pad_remove_buffer_probe): Make those function act on the
17038         ghostpad target when it's a ghostpad. (Closes #331727)
17039
17040 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17041
17042         * libs/gst/base/gstbasetransform.c:
17043         (gst_base_transform_change_state): Make basetransform reusable.
17044         (Closes #331898)
17045
17046 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17047
17048         * docs/random/release:
17049         Move the current documentation of how to do a release to the top
17050         of the file.
17051
17052         * gst/gstbin.c: (gst_bin_class_init),
17053         (gst_bin_handle_message_func):
17054         Allow multiple state-recalculation threads. (Closes #328873)
17055
17056 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17057
17058         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17059         * gst/gstpad.c: (gst_pad_set_event_function),
17060         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17061         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17062         2 strings. You can't use the STR_NULL macro on that.
17063
17064 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17065
17066         * gst/gstpad.c: (gst_pad_set_event_function),
17067         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17068         (gst_pad_set_getcaps_function)
17069         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17070           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17071           So now, we can use --gst-debug-level=5 on Windows
17072         * win32/common/libgstcontroller.def:
17073           Added export of gst_controller_init
17074         * win32/vs6/libgstcontroller.dsp:
17075           Fixed Release post build configuration
17076
17077 2006-02-17  Wim Taymans  <wim@fluendo.com>
17078
17079         * tests/check/gst/gstquery.c: (GST_START_TEST):
17080         Added another check.
17081
17082 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17083
17084         * plugins/elements/gsttypefindelement.c: (find_peek):
17085           We can do peeks at non-zero offsets, as long as they
17086           fall within the buffer we have.
17087
17088 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17089
17090         * tests/check/Makefile.am:
17091         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17092         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17093         (parse_suite), (main):
17094           Add testsuite for parse launch syntax
17095
17096 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17097
17098         * plugins/elements/gsttypefindelement.c:
17099         (gst_type_find_element_chain):
17100           When typefinding is unsuccessful in the chain function, don't
17101           error out immediately. Only error out with NO_CAPS_FOUND if
17102           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17103           otherwise simply wait for more data so we can try typefinding
17104           again with more data later. Also, don't attempt to typefind
17105           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17106           this should improve typefinding from network sources where the
17107           size of the first buffer can be somewhat random.
17108
17109 2006-02-14  Wim Taymans  <wim@fluendo.com>
17110
17111         * docs/gst/gstreamer-sections.txt:
17112         * gst/gstpadtemplate.c:
17113         * gst/gstpadtemplate.h:
17114         Fix padtemplate docs, fixes #328805.
17115
17116 2006-02-14  Wim Taymans  <wim@fluendo.com>
17117
17118         * tools/gst-launch.c: (main):
17119         NO_PREROLL is not an ERROR so don't send confusing messages
17120         to the user.
17121
17122 2006-02-14  Wim Taymans  <wim@fluendo.com>
17123
17124         Patch by: Torsten Schoenfeld
17125
17126         * gst/gstregistry.c: (gst_registry_get_default),
17127         (_gst_registry_cleanup):
17128         Protect default registry with lock and ref/sink it.
17129         Fixes #324818
17130
17131 2006-02-14  Wim Taymans  <wim@fluendo.com>
17132
17133         * gst/gstbuffer.c:
17134         * gst/gstquery.c: (gst_query_list_add_format),
17135         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17136         (gst_query_parse_formats_nth):
17137         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17138         Docs fixes.
17139
17140 2006-02-14  Wim Taymans  <wim@fluendo.com>
17141
17142         * docs/gst/gstreamer-sections.txt:
17143         Reworked query docs.
17144
17145         * gst/gstquery.c: (gst_query_new_formats),
17146         (gst_query_list_add_format), (gst_query_set_formats),
17147         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17148         (gst_query_parse_formats_nth):
17149         * gst/gstquery.h:
17150         Flesh out formats query, added some new methods.
17151         Fix part of #324398.
17152
17153         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17154         Added query creation tests.
17155
17156 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17157
17158         * gst/gstpad.c: (fixate_value):
17159         Add a default fixation for fraction lists.
17160
17161 2006-02-13  Wim Taymans  <wim@fluendo.com>
17162
17163         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17164         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17165         (gst_task_join):
17166         * gst/gsttask.h:
17167         Detect and warn for obvious deadlocks. fixes #320340
17168         Fix error case where lock was not released.
17169
17170         * tests/check/Makefile.am:
17171         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17172         (task_func), (gst_element_suite), (main):
17173         Add task check.
17174
17175 2006-02-13  Wim Taymans  <wim@fluendo.com>
17176
17177         * docs/gst/gstreamer-sections.txt:
17178         * gst/gstbus.c:
17179         Add new functions to docs.
17180
17181 2006-02-13  Wim Taymans  <wim@fluendo.com>
17182
17183         * docs/design/part-TODO.txt:
17184         Updated TODO list, basesrc supports seeking to non-bytes
17185         formats.
17186
17187         * docs/design/part-element-sink.txt:
17188         Update docs.
17189
17190         * gst/gstbin.c: (bin_replace_message),
17191         (gst_bin_handle_message_func):
17192         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17193         * gst/gstevent.c: (gst_event_finalize):
17194         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17195         (gst_pad_send_event):
17196         Use shiny new _TYPE_NAME macros.
17197
17198         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17199         Move debug statement up.
17200
17201         * gst/gstelement.c: (gst_element_set_locked_state):
17202         Add some debugging.
17203
17204 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17205
17206         * docs/gst/gstreamer-sections.txt:
17207         * gst/gstmessage.h:
17208         * gst/gstquery.h:
17209           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17210           macros (#330906). Also, document the already existing
17211           GST_QUERY_TYPE macro.
17212
17213 2006-02-13  Wim Taymans  <wim@fluendo.com>
17214
17215         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17216         (event_probe), (GST_START_TEST):
17217         Only events up to the pipeline EOS are counted, there are
17218         some more when going to NULL currently which we don't care
17219         about for now.
17220
17221 2006-02-13  Wim Taymans  <wim@fluendo.com>
17222
17223         * gst/gstpad.c: (gst_pad_send_event):
17224         Correctly check flushing and emit probes. fixes #330125
17225
17226 2006-02-10  Andy Wingo  <wingo@pobox.com>
17227
17228         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17229         structure.
17230         (gst_bus_init): Cache the location of the private data in the
17231         instance structure.
17232         (gst_bus_enable_sync_message_emission) 
17233         (gst_bus_disable_sync_message_emission): Implement new public
17234         functions.
17235         (gst_bus_post): Emit the sync-message signal if the user asked for
17236         it. Fixes #330684.
17237
17238         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17239         location of the bus-private structure.
17240         (gst_bus_enable_sync_message_emission)
17241         (gst_bus_disable_sync_message_emission): API addition
17242
17243 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17244
17245         Patch by: Vincent Torri
17246
17247         * docs/pwg/building-boiler.xml:
17248         PWG patch from #326800
17249
17250 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17251
17252         * configure.ac:
17253         * docs/Makefile.am:
17254         * docs/design/Makefile.am:
17255           Dist design docs.
17256
17257 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17258
17259         * configure.ac:
17260           back to CVS
17261
17262 === release 0.10.3 ===
17263
17264 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17265
17266         * configure.ac:
17267           releasing 0.10.3, "Like a virgin"
17268
17269 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17270
17271         * configure.ac:
17272           2nd prerelease of 0.10.3
17273           Bump libtool versioning.
17274
17275 2006-02-07  Andy Wingo  <wingo@pobox.com>
17276
17277         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17278         update last_stop if we're in TIME format and the timestamp is
17279         valid.
17280
17281         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17282         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17283         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17284         If we get a new newsegment with a different format, adapt
17285         accordingly.
17286
17287         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17288         of 0. Not a problem, really.
17289
17290         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17291         warn if sync=true.
17292
17293 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17294
17295         * configure.ac:
17296           Prelease of 0.10.3
17297
17298 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17299
17300         * win32/vs7:
17301           project files updated to the default vs7 configuration
17302         * win32/common/libgstbase.def:
17303         * win32/common/libgstreamer.def:
17304           added new symbols,
17305           removed empty lines,
17306           sorted all exported symbols alphabetically
17307         * win32/common/dirent.c:
17308         * win32/common/dirent.h:
17309         * win32/common/gchar.h:
17310           use windows line end.
17311           
17312 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17313
17314         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17315           Send EOS event when stopping.
17316
17317 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17318
17319         * docs/README:
17320           Tell folks what to do if the plugin-foobar.xml file
17321           hasn't been generated for a newly-added plugin.
17322
17323 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17324
17325         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17326         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17327         (gst_collect_pads_start), (gst_collect_pads_stop),
17328         (gst_collect_pads_event): Collectpads now holds a reference
17329         to the GstPad that was added. Indeed we don't want to look
17330         at pads that might just go away with no warning...
17331
17332 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17333
17334         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17335         (gst_collect_pads_start), (gst_collect_pads_stop),
17336         (gst_collect_pads_event), (gst_collect_pads_chain):
17337         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17338         Mark Nauwelaerts's patch on bug #328491.
17339
17340 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17341
17342         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17343         (gst_utils_suite):
17344           Add some simple tests for gst_parse_bin_from_description() and
17345           gst_bin_find_unconnected_pad() (#329069).
17346
17347 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17348
17349         * tools/gst-launch.c: (event_loop), (main):
17350           Catch errors during preroll (#320084).
17351
17352 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17353
17354         * plugins/elements/gsttypefindelement.c:
17355         (gst_type_find_element_activate):
17356           Post TYPE_NOT_FOUND error message when typefinding
17357           is unsuccessful in the activate function as well.
17358
17359 2006-02-02  Wim Taymans  <wim@fluendo.com>
17360
17361         * docs/design/part-element-sink.txt:
17362         Updated doc.
17363
17364 2006-02-02  Wim Taymans  <wim@fluendo.com>
17365
17366         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17367         (gst_base_sink_render_object),
17368         (gst_base_sink_queue_object_unlocked):
17369         Only keep track of prerollable items when we are 
17370         prerolling.
17371         Before rendering after preroll, always check if we
17372         have queued items.
17373         Added some more debugging.
17374
17375 2006-02-02  Wim Taymans  <wim@fluendo.com>
17376
17377         * gst/gstelement.c: (gst_element_continue_state),
17378         (gst_element_set_state_func), (gst_element_change_state):
17379         Fixed #326576, been running this for quite some time with
17380         no regressions at all.
17381
17382 2006-02-02  Wim Taymans  <wim@fluendo.com>
17383
17384         * common/gst.supp:
17385         Added more suppressions
17386
17387 2006-02-02  Wim Taymans  <wim@fluendo.com>
17388
17389         * docs/design/part-element-sink.txt:
17390         Updated document.
17391
17392         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17393         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17394         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17395         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17396         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17397         (gst_base_sink_preroll_object),
17398         (gst_base_sink_queue_object_unlocked),
17399         (gst_base_sink_queue_object), (gst_base_sink_event),
17400         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17401         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17402         (gst_base_sink_get_position), (gst_base_sink_change_state):
17403         * libs/gst/base/gstbasesink.h:
17404         Totally refactored matching the design doc.
17405         Use two segments, one to clip incomming buffers and another to
17406         perform sync.
17407         Handle queueing correctly, bypass the queue when playing.
17408         Make EOS cancelable.
17409         Handle errors correctly when operating in pull based mode.
17410
17411         * tests/check/elements/fakesink.c: (GST_START_TEST),
17412         (fakesink_suite):
17413         Added new check for sinks.
17414
17415 2006-02-02  Wim Taymans  <wim@fluendo.com>
17416
17417         * gst/gstsegment.c: (gst_segment_clip):
17418         No reason to refuse to clip when start == -1
17419
17420 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17421
17422         * docs/README:
17423         * docs/manual/intro-basics.xml:
17424         * docs/manual/intro-preface.xml:
17425         * docs/manual/manual.xml:
17426         * docs/pwg/advanced-dparams.xml:
17427         * docs/pwg/intro-basics.xml:
17428         * docs/pwg/intro-preface.xml:
17429         * docs/pwg/pwg.xml:
17430           describe dparams (controller) for plugins
17431           unify docs a little more
17432
17433 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17434
17435         * docs/gst/gstreamer-sections.txt:
17436         * gst/gstutils.c: (element_find_unconnected_pad),
17437         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17438         * gst/gstutils.h:
17439           Add new API: gst_parse_bin_from_description() and
17440           gst_bin_find_unconnected_pad() (#329069).
17441
17442 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17443
17444         * docs/manual/README:
17445           uncover a nasty detail of the docs build
17446
17447 2006-01-31  Wim Taymans  <wim@fluendo.com>
17448
17449         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17450         Don't cache duration messages if we're not going to use or
17451         free them.
17452
17453 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17454
17455         * docs/manual/advanced-dparams.xml:
17456         * docs/pwg/advanced-dparams.xml:
17457           more dparam docs
17458         * gst/gstindex.c:
17459           fix docs
17460         * libs/gst/controller/lib.c: (gst_controller_init):
17461           init just once
17462
17463 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17464
17465         * gst/gstelement.c: (gst_element_message_full):
17466           also show file/line/func if no additional debug was given
17467
17468 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17469         
17470         * win32/vs7/grammar.vcproj:
17471           activate copy of autogenerated files for Release mode
17472
17473 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17474         
17475         * win32/common/libgstreamer.def:
17476           export gst_value_compare
17477
17478 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17479
17480         * plugins/elements/Makefile.am:
17481         * plugins/elements/gstelements.c:
17482         * plugins/elements/gstfdsink.c: (_do_init),
17483         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17484         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17485         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17486         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17487         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17488         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17489         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17490         * plugins/elements/gstfdsink.h:
17491         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17492
17493 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17494
17495         * docs/manual/advanced-dparams.xml:
17496           describe controller
17497         * docs/manual/advanced-position.xml:
17498         * docs/manual/basics-init.xml:
17499         * docs/manual/manual.xml:
17500         * docs/manual/titlepage.xml:
17501         * docs/pwg/pwg.xml:
17502         * docs/pwg/titlepage.xml:
17503           cleanup xml (more to come)
17504         * libs/gst/controller/gstcontroller.c:
17505           fix typo
17506
17507 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17508         
17509         * win32/vs6/grammar.dsp:
17510           add autogen of gstmarshal.c,h for Release mode
17511                 
17512 2006-01-30  Wim Taymans  <wim@fluendo.com>
17513
17514         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17515         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17516         (gst_base_sink_handle_object), (gst_base_sink_event),
17517         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17518         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17519         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17520         (gst_base_sink_deactivate), (gst_base_sink_activate),
17521         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17522         (gst_base_sink_query), (gst_base_sink_change_state):
17523         Basesink cleanups, remove some old code.
17524         Handle the case where a subclass can preroll in the render
17525         method (mostly audiosinks).
17526         Handle more events.
17527         Remove some locks around variables that are now protected
17528         with the PREROLL_LOCK (clock_id, flushing, ..).
17529         Optimize position query some more, do correct locking.
17530         Remove old code to push queue in state change, this is not
17531         needed anymore since preroll blocks on all prerollable items 
17532         now.
17533         Almost implemented as described in design doc.
17534
17535 2006-01-30  Wim Taymans  <wim@fluendo.com>
17536
17537         * tests/check/gst/gstbin.c: (GST_START_TEST):
17538         Wait for refcount to settle down before checking.
17539
17540 2006-01-30  Wim Taymans  <wim@fluendo.com>
17541
17542         * docs/design/part-element-sink.txt:
17543         Pseudo code overview of desired sink behaviour regarding
17544         preroll.
17545
17546 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17547         * win32/vs6/grammar.dsp:
17548           fix some bugs in Release mode for autogenerated files
17549                 
17550 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17551         * win32/common/libgstbase.def:
17552         * win32/common/libgstreamer.def:
17553           export some new symbols: gst_base_src_set_format,
17554           gst_iterator_next, gst_structure_set_valist
17555
17556 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17557
17558         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17559         Set pad functions unconditionally. Fixes #329105.
17560
17561 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17562         * win32/vs8:
17563           add vs8 project files created by Sergey Scobich
17564
17565 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17566
17567         * gst/gstutils.c: (gst_element_unlink_pads):
17568         Don't leak pad references.
17569
17570         * tests/check/elements/fakesink.c: (GST_START_TEST):
17571         * tests/check/generic/sinks.c: (GST_START_TEST):
17572         * tests/check/generic/states.c: (GST_START_TEST):
17573         * tests/check/gst/gstbin.c: (GST_START_TEST):
17574         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17575         * tests/check/gst/gstelement.c: (GST_START_TEST):
17576         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17577         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17578         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17579         Fix a bunch of leaks. Make generic/sinks.c
17580         use a bit less cpu by slowing the buffer rate
17581         between fakesrc and fakesink.
17582         
17583 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17584         * gst/gstcaps.c:
17585         * gst/gstelement.c: (gst_element_send_event):
17586         * gst/gstevent.c:
17587         * gst/gstinfo.c:
17588         * gst/gstiterator.c:
17589         * gst/gstiterator.h:
17590         * gst/gstpad.c: (gst_pad_send_event):
17591         * gst/gststructure.c:
17592         * gst/gsturi.c:
17593         * gst/gstutils.c:
17594         * gst/gstvalue.c:
17595         * libs/gst/base/gstadapter.c:
17596           doc fixes, to link to function, just write gst_cool_function(), don't
17597           prefix with '#'
17598
17599 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17600
17601         * plugins/elements/gsttee.c: (gst_tee_do_push),
17602         (gst_tee_handle_buffer):
17603         Always prefer an actual return value from a src
17604         pad in place of NOT_LINKED. This means we return
17605         WRONG_STATE when all src pads are WRONG_STATE
17606         instead of NOT_LINKED.
17607
17608         Lock when replacing the last message to prevent
17609         racing with the get_property method.
17610
17611         Add debug output
17612
17613 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17614
17615         * tests/check/Makefile.am:
17616         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17617         (main):
17618         Add a very simple check that should have caught the memleak I fixed
17619         last night (if not for the slice allocator hiding it)
17620
17621 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17622
17623         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17624         (gst_bin_remove_func), (gst_bin_handle_message_func),
17625         (bin_query_duration_fold), (bin_query_generic_fold):
17626         Clean up references to the clock provider when disposed or when
17627         handling a clock-lost message from it.
17628
17629         Unref sinks when performing a query via gst_iterator_fold, as the
17630         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17631
17632         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17633         (gst_clock_set_master):
17634         Drop our reference to the master clock, if any, when we are disposed.
17635
17636         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17637         Chain up in dispose. 
17638
17639 2006-01-26  Wim Taymans  <wim@fluendo.com>
17640
17641         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17642         Add some debugging.
17643
17644 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17645
17646         * plugins/elements/gsttee.c: (gst_tee_do_push),
17647         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17648         handles pad being NOT_LINKED or in WRONG_STATE.
17649
17650 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17651
17652         * win32/MANIFEST:
17653           more updating
17654
17655 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17656
17657         * win32/MANIFEST:
17658           remove obsolete entry
17659
17660 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17661
17662         * docs/gst/gstreamer-sections.txt:
17663         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17664         (gst_bin_iterate_sources), (gst_bin_send_event):
17665         * gst/gstbin.h:
17666         * gst/gstelement.c: (gst_element_send_event):
17667         * gst/gstevent.c:
17668         * gst/gstpad.c: (gst_pad_send_event):
17669           added code for downstream events, reviewed docs in gstevent.c
17670
17671 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17672
17673         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17674         We only query position using the clock in the playing state.
17675         Query peer in the other cases.
17676         * win32/common/config.h: Updates.
17677
17678 2006-01-24  Wim Taymans  <wim@fluendo.com>
17679
17680         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17681         A clock entry that is scheduled for the exact time of the
17682         clock is still in time.
17683
17684         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17685         (gst_base_sink_do_sync):
17686         Add some more debug info.
17687
17688 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17689
17690         * win32/vs7:
17691           Add new vs7 project files and solution.
17692
17693 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17694
17695         * win32/vs7:
17696           all files removed as they were out-dated.
17697
17698 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17699
17700         * docs/random/release:
17701           update notes
17702         * gst/gstbin.c: (gst_bin_init):
17703         * gst/gstbus.c: (gst_bus_new):
17704         * gst/gstbus.h:
17705         * gst/gstpipeline.c: (gst_pipeline_init):
17706           use gst_bus_new(), improve logging, fix docs
17707         * win32/common/config.h:
17708           update for cvs build
17709
17710 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17711
17712         * autogen.sh:
17713           up required version of automake to 1.7
17714
17715 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17716
17717         * win32/common/libgstreamer.def:
17718           export gst_buffer_is_metadata_writable
17719
17720 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17721
17722         * docs/gst/gstreamer-sections.txt:
17723         * gst/gstevent.h:
17724           Add gst_event_replace() (#327001)
17725
17726 2006-01-20  Wim Taymans  <wim@fluendo.com>
17727
17728         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17729         Make it actually compile too..
17730
17731 2006-01-20  Wim Taymans  <wim@fluendo.com>
17732
17733         * gst/gstcaps.c:
17734         Clarify behaviour of _is_equal() when passing NULL parameters.
17735
17736         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17737         (gst_pad_set_caps):
17738         Cleanups. Don't unref NULL caps.
17739         When setting the same caps, protect caps of the pad with
17740         proper lock.
17741         Use full functionality of _is_equal() when comparing caps.
17742
17743 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17744
17745         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17746         Don't loop infinitely if there are no buffers to present. Partially
17747         fixes #327197, but collectpads is just broken for reusing elements
17748         to do multiple encodes atm.
17749
17750 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17751
17752         * tools/gst-inspect.c: (print_element_features):
17753         * tools/gst-xmlinspect.c: (main):
17754         URL_HANDLER is not a plugin feature we can search for in
17755         the registry.
17756
17757 2006-01-19  Edward Hervey  <edward@fluendo.com>
17758
17759         * gst/gstelement.c: (gst_element_pads_activate): 
17760         When activating, do src pads first, then sink pads.
17761         When de-activating, do sink pads first, then src pads.
17762
17763 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17764
17765         * docs/gst/gstreamer-sections.txt:
17766         Add gst_index_add_associationv to the docs
17767
17768 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17769
17770         * gst/gstevent.c:
17771           Fix docs typo
17772
17773         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17774         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17775           Do some refactoring. Doesn't actually change functionality,
17776           but makes landing the DRAIN event easier later.
17777
17778 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17779
17780         * docs/pwg/advanced-scheduling.xml:
17781           Update from 0.9.x to 0.10 API and make example a bit
17782           clearer.
17783
17784 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17785
17786         * docs/gst/gstreamer-sections.txt:
17787         Add gst_buffer_(is|make)_metadata_writable methods.
17788
17789 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17790
17791         * docs/design/part-sparsestreams.txt:
17792         Update sparse streams doc, hopefully for greater clarity
17793
17794 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17795
17796         * docs/design/part-events.txt:
17797         Remove mention of FILLER events.
17798         Add DRAIN event.
17799
17800         * docs/design/part-sparsestreams.txt:
17801         Write some things about using NEWSEGMENT to keep sparse streams
17802         flowing.
17803
17804 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17805
17806         * gst/gstbin.c: (gst_bin_dispose):
17807           Guard gst_object_unref call against a NULL object (dispose
17808           can theoretically be called multiple times).
17809           
17810 2006-01-18  Wim Taymans  <wim@fluendo.com>
17811
17812         * gst/gstbin.c: (gst_bin_element_set_state):
17813         * gst/gstclock.c: (gst_clock_id_wait):
17814         Added some more debug info.
17815
17816         * libs/gst/base/gstadapter.c:
17817         Added more docs.
17818
17819         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17820         (gst_base_sink_do_sync), (gst_base_sink_chain):
17821         Added some comments.
17822
17823 2006-01-18  Wim Taymans  <wim@fluendo.com>
17824
17825         * tests/check/Makefile.am:
17826         * tests/check/elements/fakesink.c: (chain_async_buffer),
17827         (chain_async), (chain_async_return), (GST_START_TEST),
17828         (fakesink_suite), (main):
17829         Added fakesink test that checks prerolling and clipping
17830         behaviour.
17831
17832         * tests/check/gst/gstutils.c: (GST_START_TEST):
17833         Make check run faster so that buildbots don't timeout.
17834
17835 2006-01-18  Wim Taymans  <wim@fluendo.com>
17836
17837         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17838         (gst_base_sink_do_sync):
17839         Some cleanups.
17840         When the sink finishes blocking on the preroll buffer, it can
17841         immediatly render it instead of rendering when the next buffer
17842         arrives.
17843
17844 2006-01-18  Wim Taymans  <wim@fluendo.com>
17845
17846         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17847         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17848         (gst_base_sink_chain):
17849         Small cleanups.
17850         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17851         Don't store _last_stop if the buffer is dropped.
17852
17853 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17854
17855         * plugins/elements/gsttypefindelement.c:
17856         (gst_type_find_element_class_init):
17857           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17858           object method handler that sets the caps on the pad and we want
17859           that to happen before we emit the signal (fixes e.g. feeding a
17860           plain text file to decodebin).
17861
17862 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17863
17864         * gst/gstplugin.c: Add MPL and Proprietary as license options
17865
17866 2006-01-18  Andy Wingo  <wingo@pobox.com>
17867
17868         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17869         symbol was exported before, it appears this was just an oversight.
17870         Fixes #168703.
17871         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17872
17873         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17874         prototype to gint. OK since this prototype was not in the header.
17875
17876 2006-01-17  Andy Wingo  <wingo@pobox.com>
17877
17878         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17879         registry while we remove plugins.
17880
17881         * tools/gst-inspect.c (print_element_info): Don't unref the
17882         factory arg, that should be the responsibility of whatever code
17883         received the ref. Fixes a double-free when called from
17884         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17885         (main): Unref the factory if we have one.
17886         (print_element_list): No change -- relies on the
17887         plugin_feature_list_free to free the list of features.
17888
17889 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17890
17891         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17892         (gst_buffer_make_metadata_writable):
17893         * gst/gstbuffer.h:
17894         * libs/gst/base/gstbasetransform.c:
17895         (gst_base_transform_prepare_output_buf):
17896         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17897         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17898           Replace gst_buffer_(make|is)_metadata_writable patch now
17899           that the release is out.
17900
17901 2006-01-17  Andy Wingo  <wingo@pobox.com>
17902
17903         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17904         in the present tense without reference to versions.
17905
17906         * gst/gstregistry.c (gst_registry_add_plugin)
17907         (gst_registry_remove_plugin, gst_registry_remove_feature)
17908         (gst_registry_find_feature, gst_registry_get_feature_list)
17909         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17910         (gst_registry_lookup, gst_registry_scan_path)
17911         (_gst_registry_remove_cache_plugins)
17912         (gst_registry_get_feature_list_by_plugin): Add argument
17913         validation.
17914
17915 === release 0.10.2 ===
17916
17917 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
17918
17919         * configure.ac:
17920           releasing 0.10.2, "If man is five"
17921
17922 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17923
17924         * gst/gstbuffer.c:
17925         * gst/gstbuffer.h:
17926         * libs/gst/base/gstbasetransform.c:
17927         (gst_base_transform_prepare_output_buf):
17928         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17929         * tests/check/gst/gstbuffer.c: (gst_test_suite):
17930           Back out patch until after the release.
17931
17932 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17933
17934         * gst/gstminiobject.c:
17935           Spelling fix in docs.
17936         * ChangeLog - remove conflict indicator
17937
17938 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17939
17940         Reviewed By: Andy Wingo
17941
17942         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17943         (gst_buffer_make_metadata_writable):
17944         * gst/gstbuffer.h:
17945           Add gst_buffer_(is|make)_metadata_writable as analogues of
17946           gst_buffer_(is|make)_writable.
17947
17948         * libs/gst/base/gstbasetransform.c:
17949         (gst_base_transform_prepare_output_buf):
17950         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17951           Use name gst_buffer_(is|make)_metadata_writable functions.
17952
17953         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17954           Test gst_buffer_(is|make)_metadata_writable
17955         
17956           (Closes: #324162)
17957
17958 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17959
17960         * docs/manual/Makefile.am:
17961           don't do parallel make
17962         * configure.ac:
17963           AC_SUBST HOST_CPU
17964         * win32/common/config.h.in:
17965           add generations for HOST_CPU and GST_MAJORMINOR
17966         * win32/common/config.h:
17967           commit generated result
17968
17969 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
17970
17971         * docs/manual/appendix-integration.xml:
17972           Update GNOME integration section to use gst_init_get_option_group()
17973           instead of the old popt stuff (#322911). Also, GNOME applications
17974           should  now use gconf*sink and gconf*src instead of the old gconf
17975           helper lib we had.
17976
17977 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
17978
17979
17980         * docs/gst/gstreamer-docs.sgml:
17981         * docs/gst/gstreamer-sections.txt:
17982         * docs/libs/gstreamer-libs-sections.txt:
17983           add new API entries to the docs
17984         * libs/gst/controller/Makefile.am:
17985         * libs/gst/controller/gstcontroller.c:
17986         * libs/gst/controller/gstcontroller.h:
17987         * libs/gst/controller/gstcontrollerprivate.h:
17988         * libs/gst/controller/gsthelper.c:
17989         * libs/gst/controller/gstinterpolation.c:
17990           move private structs to private header
17991         * po/README:
17992           gstreamer-0.7 -> gstreamer-0.10
17993         * tests/check/libs/struct_i386.h:
17994           remove private structs
17995
17996 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17997
17998         * plugins/indexers/Makefile.am:
17999           Fixes as part of #317048
18000
18001 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18002
18003         * plugins/indexers/Makefile.am:
18004           fix #316086 - compilation when mmap is missing
18005
18006 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18007
18008         * libs/gst/base/gstbasesink.c:
18009           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18010           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18011         * win32/common/config.h:
18012           added some defines GST_MAJORMINOR and HOST_CPU
18013         * win32/common/libgstbase.def:
18014         * win32/common/libgstreamer.def:
18015           added some exported functions.
18016
18017 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18018
18019         * libs/gst/controller/gstcontroller.c:
18020         (gst_controlled_property_set_interpolation_mode),
18021         (gst_controlled_property_new):
18022         * libs/gst/controller/gstcontroller.h:
18023         * libs/gst/controller/gstinterpolation.c:
18024         (interpolate_none_get_string_value_array):
18025           make G_TYPE_STRING controlable
18026
18027 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18028
18029         * tools/README:
18030         * tools/gst-feedback.1.in:
18031         * tools/gst-inspect.1.in:
18032         * tools/gst-launch.1.in:
18033         * tools/gst-md5sum.1.in:
18034         * tools/gst-typefind.1.in:
18035         * tools/gst-xmlinspect.1.in:
18036         * tools/gst-xmllaunch.1.in:
18037           cleanup man-pages, remove reference to gst-register, document env-vars
18038
18039 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18040
18041         * gst/gstbuffer.c: (gst_buffer_span):
18042           gst_buffer_span should copy the timestamp of the first buffer
18043           if they were both originally overlapping subbuffers of the 
18044           same parent, using the same logic as the 'slow copy' case.
18045
18046 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18047
18048         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18049           Need to awaken ALL the pads when we pop a buffer, otherwise
18050           collectpads only works when there is 2 input streams.
18051
18052 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18053
18054         * docs/random/ensonic/media-device-daemon.txt:
18055           more ideas (dbus)
18056         * gst/gstbuffer.c:
18057           fix doc example, add clarification
18058         * tools/gst-launch.1.in:
18059           add initial info about GST_PLUGIN_PATH, needs more work
18060
18061 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18062
18063         * docs/manual/basics-bins.xml:
18064         * docs/manual/basics-elements.xml:
18065         * docs/manual/intro-basics.xml:
18066           Some more minor docs additions and updates.
18067
18068 2006-01-11  Wim Taymans  <wim@fluendo.com>
18069
18070         * docs/manual/basics-bins.xml:
18071         * docs/manual/basics-elements.xml:
18072         Some small fixes as pointed out by Ser-ver on IRC.
18073
18074 2006-01-10  Edward Hervey  <edward@fluendo.com>
18075
18076         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18077         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18078         the single-segment mode.
18079
18080 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18081
18082         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18083
18084         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18085         (gst_base_src_perform_seek), (gst_base_src_send_event),
18086         (gst_base_src_set_property), (gst_base_src_get_property),
18087         (gst_base_src_loop), (gst_base_src_start),
18088         (gst_base_src_activate_push):
18089         * libs/gst/base/gstbasesrc.h:
18090           Name (private) union; makes Sun's Forte compiler happy (#324900).
18091
18092 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18093
18094         * README:
18095           gst-register is gone.
18096
18097 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18098
18099         * gst/gstvalue.c: (_gst_value_initialize):
18100           make the G_TYPE_DATE instantiation work if debug is disabled
18101
18102 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18103
18104         * gst/gstmessage.c: (gst_message_parse_tag),
18105         (gst_message_parse_error), (gst_message_parse_warning):
18106           Don't crash when return location for error/warning debug
18107           string is NULL; add fact that return locations can be
18108           NULL to docs where appropriate.
18109
18110 2006-01-05  Wim Taymans  <wim@fluendo.com>
18111
18112         * gst/gstplugin.c: (gst_plugin_load_file):
18113         Replace strdup by g_strdup.
18114
18115 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18116
18117         * docs/pwg/advanced-types.xml:
18118           fix doc borkage
18119
18120 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18121
18122         submitted by: Abel Cheung
18123
18124         * po/LINGUAS:
18125         * po/zh_TW.po:
18126           Added Chinese (traditional) translation
18127
18128 2006-01-04  Wim Taymans  <wim@fluendo.com>
18129
18130         * docs/manual/basics-pads.xml:
18131         * docs/plugins/Makefile.am:
18132         * docs/plugins/gstreamer-plugins-docs.sgml:
18133         * docs/plugins/gstreamer-plugins-sections.txt:
18134         * docs/pwg/advanced-clock.xml:
18135         * docs/pwg/advanced-scheduling.xml:
18136         * docs/pwg/advanced-types.xml:
18137         * plugins/elements/gstfdsink.c:
18138         * plugins/elements/gstfdsrc.c:
18139         * plugins/elements/gstfdsrc.h:
18140         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18141         * plugins/elements/gstidentity.h:
18142         * plugins/elements/gstqueue.h:
18143         * plugins/elements/gsttee.c:
18144         * plugins/elements/gsttee.h:
18145         * plugins/elements/gsttypefindelement.c:
18146         (gst_type_find_element_class_init):
18147         * plugins/elements/gsttypefindelement.h:
18148         Small updates to various docs.
18149         Added core plugins to docs.
18150
18151 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18152
18153         * common/gst.supp:
18154           add a suppression for liboil's uninitialized variable
18155
18156 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18157
18158         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18159
18160         * gst/gstutils.h:
18161           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18162           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18163           compiler switch is being used (#325429).
18164
18165 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18166
18167         * gst/gstbin.c: (gst_bin_query):
18168           Disable duration query caching in bins until it gets
18169           fixed (see #324807).
18170
18171 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18172
18173         * tools/gst-inspect.c: (print_element_properties_info):
18174           Handle properties of POINTER and BOXED type.
18175
18176 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18177
18178         * gst/gst.c: (init_post):
18179           Init tags stuff and some other things before loading
18180           any static plugins (there may be other static plugins
18181           than just the GStreamer ones, and they may want to
18182           register their own tags or formats or whatever, and
18183           preferably without segfaulting).
18184
18185         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18186           Print at least a warning in the debug logs if we drop a
18187           query just because we don't know how to adjust the value
18188           in the particular format.
18189
18190 2005-12-24  David Schleef  <ds@schleef.org>
18191
18192         * tools/gstreamer-completion:
18193           Replacement for gst-complete written in sh and sed.  Only
18194           completes names of features, but that's 90% of what I want
18195           it for.  Properties are not available in registry.xml.  (Maybe
18196           they should be...)
18197
18198 === release 0.10.1 ===
18199
18200 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18201
18202         * configure.ac:
18203           releasing 0.10.1, "Nollaig chridheil"
18204
18205 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18206
18207         * docs/faq/cvs.xml:
18208           Add missing quote, should be make ERROR_CFLAGS="".
18209
18210 2005-12-20  Wim Taymans  <wim@fluendo.com>
18211
18212         * docs/design/part-trickmodes.txt:
18213         More documentation on trickmodes.
18214
18215 2005-12-20  Edward Hervey  <edward@fluendo.com>
18216
18217         * gst/gstcaps.c: (gst_static_caps_get_type):
18218         * gst/gstcaps.h:
18219           API addition: GST_TYPE_STATIC_CAPS
18220         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18221         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18222         * gst/gstpadtemplate.h:
18223           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18224         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18225         bindings.
18226
18227 2005-12-18  Wim Taymans  <wim@fluendo.com>
18228
18229         * libs/gst/base/gstadapter.c:
18230         * libs/gst/base/gstadapter.h:
18231         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18232         (gst_base_sink_get_position):
18233         * libs/gst/base/gstbasesink.h:
18234         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18235         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18236         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18237         (gst_base_src_send_event), (gst_base_src_update_length),
18238         (gst_base_src_get_range), (gst_base_src_loop),
18239         (gst_base_src_start):
18240         * libs/gst/base/gstbasesrc.h:
18241         * libs/gst/base/gstbasetransform.h:
18242         * libs/gst/base/gstcollectpads.h:
18243         * libs/gst/base/gstpushsrc.c:
18244         * libs/gst/base/gstpushsrc.h:
18245         * libs/gst/dataprotocol/dataprotocol.c:
18246         * libs/gst/dataprotocol/dataprotocol.h:
18247         * libs/gst/net/gstnetclientclock.h:
18248         * libs/gst/net/gstnettimeprovider.h:
18249         Documentation updates.
18250
18251 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18252
18253         * docs/manual/basics-helloworld.xml:
18254           Remove superfluous closing bracket in helloworld example.
18255
18256 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18257
18258         * tools/gst-launch.1.in:
18259           Update gst-launch man page; add a section with useful
18260           environment variables. Fixes #323882.
18261
18262 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18263
18264         * gst/gst.c:
18265         * gst/gst_private.h:
18266           change some char* into char[]
18267
18268 2005-12-16  Wim Taymans  <wim@fluendo.com>
18269
18270         * gst/gstregistryxml.c: (load_feature):
18271         Cleanups.
18272         Don't use g_object_unref on GstObjects so that we avoid
18273         leaks on unsafe glibs.
18274
18275 2005-12-16  Wim Taymans  <wim@fluendo.com>
18276
18277         * gst/gstbin.c: (gst_bin_recalc_state):
18278         Small doc updates.
18279
18280 2005-12-16  Wim Taymans  <wim@fluendo.com>
18281
18282         * common/check.mak:
18283         Added make forever target for check.
18284
18285 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18286
18287         * gst/gst.c: (init_post):
18288           make the registry cache file HOST_CPU-dependent
18289
18290 2005-12-16  Andy Wingo  <wingo@pobox.com>
18291
18292         * plugins/elements/gstbufferstore.c
18293         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18294         return value.
18295
18296         * tests/check/gst/gstobject.c
18297         (test_fake_object_name_threaded_unique): Pay attention to
18298         g_list_sort return value.
18299
18300 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18301
18302         * tools/gst-feedback-m.m:
18303           Update for 0.9/0.10 (fixes #323870).
18304
18305 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18306
18307         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18308           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18309           
18310         * tests/check/gst/gstminiobject.c: (my_foo_init),
18311         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18312         (test_value_collection), (gst_mini_object_suite):
18313           Add test to ensure refcounts end up as expected when passing
18314           GstMiniObjects through g_object_get() and g_object_set().
18315
18316 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18317
18318         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18319         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18320         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18321         of collectpads. This version removes a lot of races without
18322         touching API/ABI. Yay !
18323
18324 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18325
18326         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18327           Don't allow activation of a srcpad in pull_range if it has no
18328           getrange function.
18329           Change some debug statements to be a little clearer
18330
18331         * plugins/elements/gsttypefindelement.c:
18332         (gst_type_find_handle_src_query):
18333           Check that we have a peer before executing queries thereupon.
18334
18335         * tests/examples/metadata/read-metadata.c: (message_loop):
18336           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18337           immediately return us any available message with 0 timeout.
18338
18339 2005-12-12  Michael Smith  <msmith@fluendo.com>
18340
18341         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18342           Don't unref factories after calling them.
18343         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18344         * plugins/elements/gsttypefindelement.c:
18345         (gst_type_find_element_chain):
18346           Free lists of factories after using them. Fixing typefinding memory
18347           leaks.
18348
18349 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18350
18351         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18352         (gst_plugin_feature_load):
18353           more meaningful debug output
18354         * configure.ac:
18355         * tests/Makefile.am:
18356         * tests/old/examples/Makefile.am:
18357           make make distcheck happy again
18358
18359 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18360
18361         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18362           Catch the special case where we are operating chain-based,
18363           but the downstream peer pad has no chain function. Emit a
18364           custom error message in this case instead of letting the
18365           core generate one implying that this is some sort of core
18366           bug. It's not, it just means that whatever got plugged
18367           into the pipeline downstream when we announced the type
18368           can only operate pull-based, while our source can only
18369           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18370           Error string has not been marked for translation yet, as
18371           it probably needs some more work first.
18372
18373         (gst_type_find_element_get_best_possibility):
18374           Add helper function to find the best of all available
18375           found possibilities that qualify given the min. threshold.
18376
18377         (gst_type_find_element_handle_event):
18378           Fix the case where we get an EOS while still in TYPEFIND
18379           mode (we want to chose the best of all possible types,
18380           not just the first type that happens to be in our unsorted
18381           list of possible types).
18382
18383         (gst_type_find_element_chain):
18384           Make sure we return GST_FLOW_ERROR when we errored out
18385           in stop_typefinding(); also, don't just find the best of
18386           all found type entries and then use the last examined
18387           type entry, but actually use the best entry.
18388
18389 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18390
18391         * tests/examples/typefind/typefind.c: (type_found):
18392         * tests/examples/xml/runxml.c: (xml_loaded):
18393           More gcc4 fixes and a mem leak fix.
18394
18395 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18396
18397         * tests/examples/xml/createxml.c: (object_saved):
18398           gcc 4 fixes
18399
18400 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18401
18402         * tests/Makefile.am:
18403           enable the examples even more
18404
18405 2005-12-12  Andy Wingo  <wingo@pobox.com>
18406
18407         * libs/gst/net/gstnettimeprovider.c
18408         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18409         (gst_net_time_provider_set_property)
18410         (gst_net_time_provider_get_property):
18411         API addition: Export "active" as a GObject property.
18412         (gst_net_time_provider_thread): Only respond to time queries if
18413         the time provider is active.
18414
18415         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18416         NetTimeProvider, preserving binary compat.
18417
18418 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18419
18420         * tests/examples/controller/audio-example.c: (main):
18421         * tests/examples/launch/Makefile.am:
18422           convert comments again
18423
18424 2005-12-12  Wim Taymans  <wim@fluendo.com>
18425
18426         * libs/gst/base/gstpushsrc.c:
18427         Fix typo.
18428
18429 2005-12-12  Wim Taymans  <wim@fluendo.com>
18430
18431         * docs/libs/gstreamer-libs-sections.txt:
18432         Added new symbol to docs.
18433
18434         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18435         (gst_base_src_init), (gst_base_src_set_format),
18436         (gst_base_src_default_query), (gst_base_src_query),
18437         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18438         (gst_base_src_perform_seek), (gst_base_src_send_event),
18439         (gst_base_src_default_event), (gst_base_src_event_handler),
18440         (gst_base_src_set_property), (gst_base_src_get_property),
18441         (gst_base_src_wait), (gst_base_src_do_sync),
18442         (gst_base_src_update_length), (gst_base_src_get_range),
18443         (gst_base_src_check_get_range), (gst_base_src_loop),
18444         (gst_base_src_default_negotiate), (gst_base_src_start),
18445         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18446         (gst_base_src_change_state):
18447         * libs/gst/base/gstbasesrc.h:
18448         Implement seeking to other formats than _BYTES.
18449         Implement more seeking methods correctly.
18450         Doc updates.
18451         Added query vmethod.
18452         Added do_seek vmethod to make life easier for subclasses
18453         when seeking.
18454         API addition: gst_base_src_set_format()
18455
18456 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18457
18458         * tests/examples/Makefile.am:
18459           added that too
18460
18461 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18462
18463         * configure.ac:
18464         * docs/random/ensonic/media-device-daemon.txt:
18465         * tests/examples/controller/.cvsignore:
18466         * tests/examples/controller/Makefile.am:
18467         * tests/examples/controller/audio-example.c: (main):
18468         * tests/examples/helloworld/.cvsignore:
18469         * tests/examples/helloworld/Makefile.am:
18470         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18471         * tests/examples/launch/.cvsignore:
18472         * tests/examples/launch/Makefile.am:
18473         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18474         * tests/examples/metadata/.cvsignore:
18475         * tests/examples/metadata/Makefile.am:
18476         * tests/examples/metadata/read-metadata.c: (message_loop),
18477         (make_pipeline), (print_tag), (main):
18478         * tests/examples/queue/.cvsignore:
18479         * tests/examples/queue/Makefile.am:
18480         * tests/examples/queue/queue.c: (event_loop), (main):
18481         * tests/examples/typefind/.cvsignore:
18482         * tests/examples/typefind/Makefile.am:
18483         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18484         (main):
18485         * tests/examples/xml/.cvsignore:
18486         * tests/examples/xml/Makefile.am:
18487         * tests/examples/xml/createxml.c: (object_saved), (main):
18488         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18489         * tests/old/examples/Makefile.am:
18490         * tests/old/examples/TODO:
18491         * tests/old/examples/controller/.cvsignore:
18492         * tests/old/examples/controller/Makefile.am:
18493         * tests/old/examples/controller/audio-example.c:
18494         * tests/old/examples/helloworld/.cvsignore:
18495         * tests/old/examples/helloworld/Makefile.am:
18496         * tests/old/examples/helloworld/helloworld.c:
18497         * tests/old/examples/launch/.cvsignore:
18498         * tests/old/examples/launch/Makefile.am:
18499         * tests/old/examples/launch/mp3parselaunch.c:
18500         * tests/old/examples/launch/mp3play:
18501         * tests/old/examples/manual/Makefile.am:
18502         * tests/old/examples/metadata/Makefile.am:
18503         * tests/old/examples/metadata/read-metadata.c:
18504         * tests/old/examples/queue/.cvsignore:
18505         * tests/old/examples/queue/Makefile.am:
18506         * tests/old/examples/queue/queue.c:
18507         * tests/old/examples/typefind/.cvsignore:
18508         * tests/old/examples/typefind/Makefile.am:
18509         * tests/old/examples/typefind/typefind.c:
18510         * tests/old/examples/xml/.cvsignore:
18511         * tests/old/examples/xml/Makefile.am:
18512         * tests/old/examples/xml/createxml.c:
18513         * tests/old/examples/xml/runxml.c:
18514           applied some simple fixing to some examples
18515           re-enabled the working examples
18516
18517 2005-12-12  Wim Taymans  <wim@fluendo.com>
18518
18519         * gst/gstsegment.c: (gst_segment_init),
18520         (gst_segment_set_last_stop), (gst_segment_set_seek),
18521         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18522         (gst_segment_to_running_time):
18523         Added more documentation.
18524         Make sure the last_pos value is updated properly.
18525         Make sure to_stream_time and to_running_time don't
18526         operate on wrong values.
18527
18528         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18529         Update check.
18530
18531 2005-12-12  Michael Smith  <msmith@fluendo.com>
18532
18533         * plugins/elements/gsttypefindelement.c: (free_entry),
18534         (gst_type_find_element_chain):
18535           Now that we're not leaking factories, make sure we keep references
18536           to them while we need them.
18537
18538 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18539
18540         * tests/check/gst/struct_i386.h:
18541           ifdef out the XML structs
18542
18543 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18544
18545         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18546           floor is not needed, F is always positive; this obviates the
18547           need for adding -lm when building without libxml
18548
18549 2005-12-12  Wim Taymans  <wim@fluendo.com>
18550
18551         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18552         Take current playback rate into account when reporting
18553         the position.
18554
18555 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18556
18557         * docs/manual/mime-world.fig:
18558           Let's try this again, this time with a file that is
18559           actually in XFig format.
18560
18561 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18562
18563         * docs/manual/mime-world.fig:
18564           Add audioconvert element to diagram so that it
18565           matches the text and the code (fixes #319526).
18566
18567 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18568
18569         * docs/pwg/building-chainfn.xml:
18570         * docs/pwg/building-pads.xml:
18571         * docs/pwg/building-state.xml:
18572         * docs/pwg/other-source.xml:
18573           Update state change stuff for 0.10 (fixes #322969).
18574
18575 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18576
18577         * docs/manual/advanced-dataaccess.xml:
18578         * docs/manual/appendix-checklist.xml:
18579         * docs/manual/appendix-programs.xml:
18580         * docs/manual/basics-pads.xml:
18581         * docs/manual/highlevel-components.xml:
18582         * docs/manual/manual.xml:
18583           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18584           add converters in front of pipelines; remove curly
18585           brackets for threads stuff, they no longer exist; use
18586           GST_TYPE_FRACTION for framerates; update some pieces of
18587           code to 0.10, but there's plenty more to do.
18588
18589         * docs/manual/appendix-porting.xml:
18590           Expand on asynchroneous state changes; s/0.9/0.10/;
18591           mention disappearance of gst_init_get_popt_table()
18592           (fixes #322916).
18593
18594 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18595
18596         * docs/faq/using.xml:
18597           Spider no longer exists, and neither does gst-launch-ext.
18598           Update examples to use decodebin and playbin and put
18599           converters in front of sinks (fixes #323726).
18600
18601 2005-12-09  Michael Smith  <msmith@fluendo.com>
18602
18603         * plugins/elements/gsttypefindelement.c: (find_peek),
18604         (gst_type_find_element_chain):
18605           Fix leaking element factories in typefinding.
18606           Fix problem where we forgot about a probable type on non-seekable
18607           files, and thus later mis-typefound it.
18608
18609 2005-12-09  Michael Smith  <msmith@fluendo.com>
18610
18611         * common/m4/gst-makecontext.m4:
18612         * common/m4/gst-mcsc.m4:
18613         * configure.ac:
18614         * win32/common/config.h:
18615         * win32/common/config.h.in:
18616           Remove makecontext stuff; not used in 0.10 and causes problems on
18617           HPUX according to bug #322441
18618
18619 2005-12-07  Wim Taymans  <wim@fluendo.com>
18620
18621         * tests/check/Makefile.am:
18622         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18623         (main):
18624         * tests/check/libs/struct_i386.h:
18625         Added ABI check for libs
18626
18627 2005-12-07  Wim Taymans  <wim@fluendo.com>
18628
18629         * tests/check/Makefile.am:
18630         And add the struct_i386.h to dist.
18631
18632 2005-12-07  Wim Taymans  <wim@fluendo.com>
18633
18634         * tests/check/Makefile.am:
18635         * tests/check/gst/.cvsignore:
18636         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18637         (main):
18638         * tests/check/gst/struct_i386.h:
18639         Added check for ABI compatibility.
18640
18641 2005-12-07  Wim Taymans  <wim@fluendo.com>
18642
18643         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18644         (gst_fake_src_get_times), (gst_fake_src_create):
18645         Fix broken sync option, fixes #323259
18646
18647 2005-12-07  Wim Taymans  <wim@fluendo.com>
18648
18649         * gst/gstbuffer.c:
18650         Small docs update.
18651
18652         * gst/gstcaps.c: (gst_caps_is_equal):
18653         Don't assert on NULL <--> X. Fixes #323260
18654
18655         * gst/gstminiobject.c: (gst_mini_object_replace):
18656         If we're doing atomic operations, we might just as well use
18657         the proper way to get an atomic pointer.
18658
18659         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18660         Clean up debugging.
18661
18662 2005-12-07  Michael Smith  <msmith@fluendo.com>
18663
18664         * gst/parse/grammar.y:
18665           Remove handling of { } for threads.
18666
18667 2005-12-06  David Schleef  <ds@schleef.org>
18668
18669         * libs/gst/base/gstbasetransform.c: speling fix.
18670
18671 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18672
18673         * docs/libs/tmpl/gstdataprotocol.sgml:
18674         * docs/random/omega/testing/gstobject.c:
18675         * gst/gst.c:
18676         * gst/gstclock.c:
18677         * gst/gstelement.c:
18678         * gst/gstelementfactory.c:
18679         * gst/gsterror.c:
18680         * gst/gstevent.c:
18681         * gst/gstghostpad.c:
18682         * gst/gstinfo.c:
18683         * gst/gstpadtemplate.c:
18684         * gst/gstregistryxml.c:
18685         * gst/gsttaglist.c:
18686         * gst/gsttagsetter.c:
18687         * gst/gsttypefind.c:
18688         * gst/gstvalue.c:
18689         * libs/gst/base/gstbasesrc.c:
18690         * libs/gst/net/gstnetclientclock.c:
18691         * libs/gst/net/gstnettimeprovider.c:
18692         * plugins/elements/gstfakesrc.c:
18693         * plugins/elements/gstfdsrc.c:
18694         * plugins/elements/gstfilesrc.c:
18695         * plugins/elements/gstidentity.c:
18696         * plugins/elements/gstqueue.c:
18697         * plugins/elements/gsttypefindelement.c:
18698         * plugins/indexers/gstfileindex.c:
18699         * plugins/indexers/gstmemindex.c:
18700         * tests/check/gst/gsttag.c:
18701         * tests/old/examples/cutter/cutter.c:
18702         * tests/old/examples/mixer/mixer.c:
18703         * tests/old/examples/xml/runxml.c: (main):
18704         * tests/old/testsuite/caps/normalisation.c:
18705         * tests/old/testsuite/debug/global.c:
18706         * tests/old/testsuite/parse/parse1.c:
18707         * tools/gst-xmlinspect.c:
18708         * win32/common/dirent.c:
18709           expand tabs
18710
18711 === release 0.10.0 ===
18712
18713 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18714
18715         * configure.ac:
18716           releasing 0.10.0, "Maroilles"
18717
18718 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18719
18720         submitted by: Funda Wang <fundawang@linux.net.cn>
18721
18722         * po/LINGUAS:
18723         * po/zh_CN.po:
18724           added Chinese (Traditional) translation
18725
18726 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18727
18728         * docs/gst/gstreamer-sections.txt:
18729         * docs/libs/tmpl/gstdataprotocol.sgml:
18730         * docs/random/thomasvs/TODO:
18731         * gst/gstutils.c:
18732         * gst/gstutils.h:
18733           fix docs
18734
18735 2005-12-05  Andy Wingo  <wingo@pobox.com>
18736
18737         patch by: Wim Taymans <wim@fluendo.com>
18738
18739         * libs/gst/base/gstbasetransform.c
18740         (gst_base_transform_prepare_output_buf)
18741         (gst_base_transform_buffer_alloc):
18742         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18743         alloc_buffer_and_set_caps.
18744
18745         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18746         set_caps on the source pad.
18747         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18748         alloc_buffer used to do. Fixes #322874.
18749
18750         * docs/gst/gstreamer-sections.txt: 
18751         * docs/design/part-negotiation.txt: 
18752         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18753         changes.
18754
18755 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18756
18757         patch by: Sebastien Moutte
18758
18759         * win32/MANIFEST:
18760         * win32/common/config.h.in:
18761         * win32/vs6/libgstcontroller.dsp:
18762           win32 build fixes
18763
18764 2005-12-05  Wim Taymans  <wim@fluendo.com>
18765
18766         * gst/gstcaps.c: (gst_caps_is_equal):
18767         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18768         (gst_fake_src_create):
18769         Back out previous code changes, leave doc updates, file bugs 
18770         instead. 
18771
18772 2005-12-05  Wim Taymans  <wim@fluendo.com>
18773
18774         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18775         (gst_fake_src_get_times), (gst_fake_src_create):
18776         * plugins/elements/gstfakesrc.h:
18777         Fix broken sync code.
18778
18779 2005-12-05  Wim Taymans  <wim@fluendo.com>
18780
18781         * gst/gstcaps.c: (gst_caps_is_equal):
18782         Comparing NULL against !NULL yields different caps, not a
18783         failure.
18784
18785 2005-12-05  Wim Taymans  <wim@fluendo.com>
18786
18787         * gst/gstpipeline.c:
18788         Fix small typo in docs.
18789
18790 2005-12-05  Andy Wingo  <wingo@pobox.com>
18791
18792         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18793
18794         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18795         registries/plugins with a MAJORMINOR one.
18796         (plugin_desc): Rename library from gstcoreleements to
18797         staticelements. Fixes #323222.
18798
18799 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18800
18801         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18802           Change debug category to 'collectpads' from 'collect_pads'
18803           (fixes #323250).
18804
18805 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18806
18807         patch by: Sebastien Moutte
18808
18809         * libs/gst/controller/gstinterpolation.c:
18810           use convert function for uint64/double
18811         * win32/vs6/libgstcontroller.dsp:
18812           link to GLib
18813
18814 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18815
18816         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18817         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18818         * gst/gstutils.h:
18819         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18820           add tests that seem to show that the guint64/gdouble conversions
18821           are correct.
18822
18823 2005-12-02  Wim Taymans  <wim@fluendo.com>
18824
18825         * gst/gstregistry.c: (gst_registry_add_path):
18826         * gst/gstregistry.h:
18827         * gst/gstregistryxml.c:
18828         Fix docs again.
18829
18830 2005-12-02  Wim Taymans  <wim@fluendo.com>
18831
18832         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18833         (gst_util_uint64_scale_int):
18834         Small cleanup.
18835
18836         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18837         Add debug log line.
18838
18839         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18840         Add FIXME.
18841
18842 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18843
18844         * win32/MANIFEST:
18845         * win32/common/config.h:
18846         * win32/vs6/gstreamer.dsw:
18847         * win32/vs6/libgstcoreelements.dsp:
18848         * win32/vs6/libgstelements.dsp:
18849           renamed core elements plugin
18850
18851 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18852
18853         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18854         (get_candidates):
18855           do piece-wise major/minor comparison so 0.9 < 0.10
18856           also allow .exe extensions for tools
18857
18858 2005-12-02  Michael Smith  <msmith@fluendo.com>
18859
18860         * gst/gst.c:
18861           Escape a % to make gtkdoc happier; bug 322958.
18862
18863 === release 0.9.7 ===
18864
18865 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18866
18867         * configure.ac:
18868           releasing 0.9.7, "My Dog Has No Nose"
18869
18870 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18871
18872         * common/gst-xmlinspect.py:
18873         * configure.ac:
18874         * docs/libs/tmpl/gstdataprotocol.sgml:
18875         * docs/random/release:
18876         * po/af.po:
18877         * po/az.po:
18878         * po/bg.po:
18879         * po/ca.po:
18880         * po/cs.po:
18881         * po/de.po:
18882         * po/en_GB.po:
18883         * po/fr.po:
18884         * po/it.po:
18885         * po/nb.po:
18886         * po/nl.po:
18887         * po/ru.po:
18888         * po/sq.po:
18889         * po/sr.po:
18890         * po/sv.po:
18891         * po/tr.po:
18892         * po/uk.po:
18893         * po/vi.po:
18894         * win32/common/config.h:
18895         * win32/common/config.h.in:
18896         * win32/vs6/gst_inspect.dsp:
18897         * win32/vs6/gst_launch.dsp:
18898         * win32/vs6/libgstbase.dsp:
18899         * win32/vs6/libgstelements.dsp:
18900         * win32/vs6/libgstreamer.dsp:
18901         * win32/vs7/GStreamer.vcproj:
18902         * win32/vs7/gst-inspect.vcproj:
18903         * win32/vs7/gst-launch.vcproj:
18904         * win32/vs7/libgstbase.vcproj:
18905           bump GST_MAJORMINOR to 0.10
18906           reset libtool version
18907
18908 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18909
18910         * po/LINGUAS:
18911         * po/bg.po:
18912           Added Bulgarian translation by (Alexander Shopov)
18913
18914 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18915
18916         * tests/check/gst/gstplugin.c:
18917           fix test
18918
18919 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18920
18921         * common/gst-xmlinspect.py:
18922         * common/gtk-doc-plugins.mak:
18923         * configure.ac:
18924         * docs/Makefile.am:
18925         * docs/gst/Makefile.am:
18926         * docs/gst/gstreamer-docs.sgml:
18927         * docs/gst/gstreamer-sections.txt:
18928         * docs/gst/gstreamer.types:
18929         * docs/gst/gstreamer.types.in:
18930         * docs/plugins/Makefile.am:
18931         * docs/plugins/gstreamer-plugins-docs.sgml:
18932         * docs/plugins/gstreamer-plugins-sections.txt:
18933         * docs/plugins/gstreamer-plugins.types:
18934         * docs/plugins/inspect.stamp:
18935         * docs/plugins/inspect/plugin-coreelements.xml:
18936         * docs/plugins/inspect/plugin-coreindexers.xml:
18937         * docs/plugins/scanobj-build.stamp:
18938         * gstreamer.spec.in:
18939         * plugins/elements/Makefile.am:
18940         * plugins/elements/gstelements.c:
18941         * plugins/elements/gstfakesink.c:
18942         * plugins/elements/gstfakesrc.c:
18943         * plugins/elements/gstfilesink.c:
18944         * plugins/elements/gstfilesrc.c:
18945         * plugins/elements/gstqueue.c:
18946         * plugins/indexers/Makefile.am:
18947         * plugins/indexers/gstindexers.c:
18948           document core plugins in a separate document just like all the
18949           others
18950           rename these plugins to something starting with core
18951
18952 2005-12-01  Andy Wingo  <wingo@pobox.com>
18953
18954         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18955         padding here before, but it missed the commit.
18956
18957 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18958
18959         * libs/gst/controller/gstinterpolation.c:
18960           whitespace prices have crashed, we should feel free to use some now
18961           use gst_guint64_to_gdouble
18962
18963 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18964
18965         * libs/gst/controller/gstcontroller.c:
18966         * libs/gst/controller/gsthelper.c:
18967         * libs/gst/controller/gstinterpolation.c:
18968         * libs/gst/controller/lib.c:
18969           wrap config.h include
18970
18971 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18972
18973         * docs/gst/gstreamer-sections.txt:
18974           update docs
18975
18976 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18977
18978         * plugins/elements/gstelements.c:
18979         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18980         (gst_fd_sink__class_init), (gst_fd_sink__init),
18981         (gst_fd_sink__chain), (gst_fd_sink__set_property),
18982         (gst_fd_sink__get_property):
18983         * plugins/elements/gstfdsink.h:
18984         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18985         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18986         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18987         (gst_fd_src_unlock), (gst_fd_src_set_property),
18988         (gst_fd_src_get_property), (gst_fd_src_create),
18989         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18990         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18991         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18992         (gst_fd_src_uri_handler_init):
18993         * plugins/elements/gstfdsrc.h:
18994         * plugins/elements/gstqueue.c: (gst_queue_get_type):
18995           more anal cleanup
18996
18997 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18998
18999         * docs/gst/Makefile.am:
19000         * docs/gst/gstreamer.types.in:
19001         * gst/Makefile.am:
19002           fix the docs build
19003
19004 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19005
19006         * configure.ac:
19007         * gst/Makefile.am:
19008         * gst/gst.c:
19009         * gst/gstplugin.h:
19010         * gst/gstregistry.h:
19011         * tests/benchmarks/complexity.c:
19012         * tests/benchmarks/mass-elements.c:
19013         * tests/check/Makefile.am:
19014         * tools/Makefile.am:
19015         * tools/gst-inspect.c:
19016         * tools/gst-xmlinspect.c:
19017           various fixes to make
19018           --disable-nls --disable-registry --disable-loadsave
19019           --disable-parse --disable-gst-debug
19020           work and get the core .so down to 360444 bytes after stripping
19021
19022 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19023
19024         * Makefile.am:
19025         * configure.ac:
19026           descend into tests
19027         * docs/random/thomasvs/TODO:
19028         * tests/Makefile.am:
19029         * tests/README:
19030           add a README
19031
19032 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19033
19034         * win32/GStreamer.vcproj:
19035         * win32/MANIFEST:
19036         * win32/Makefile:
19037         * win32/Makefile.inspect:
19038         * win32/Makefile.launch:
19039         * win32/Makefile.register:
19040         * win32/README.txt:
19041         * win32/gst-inspect.vcproj:
19042         * win32/gst-launch.vcproj:
19043         * win32/gst-register.vcproj:
19044         * win32/gstelements.vcproj:
19045         * win32/gstgetbits.def:
19046         * win32/gstgetbits.vcproj:
19047         * win32/gstreamer-dbg.def:
19048         * win32/gstreamer.def:
19049         * win32/libgstbase.def:
19050         * win32/libgstbase.vcproj:
19051         * win32/link_oldruntime.c:
19052         * win32/mman.c:
19053         * win32/mman.h:
19054         * win32/mman.inl:
19055         * win32/msvc71.sln:
19056           move even more stuff, win32/ is nice and clean now
19057
19058 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19059
19060         * libs/gst/control/.cvsignore:
19061         * win32/MANIFEST:
19062         * win32/config.h:
19063         * win32/dirent.c:
19064         * win32/dirent.h:
19065         * win32/gstbytestream.def:
19066         * win32/gstbytestream.vcproj:
19067         * win32/gstconfig.h:
19068         * win32/gstenumtypes.c:
19069         * win32/gstenumtypes.h:
19070         * win32/gstoptimalscheduler.vcproj:
19071         * win32/gstversion.h:
19072         * win32/gtchar.h:
19073         * win32/testsuite/bins.vcproj:
19074         * win32/testsuite/bytestream.vcproj:
19075         * win32/testsuite/caps.vcproj:
19076         * win32/testsuite/cleanup.vcproj:
19077         * win32/testsuite/clock.vcproj:
19078         * win32/testsuite/debug.vcproj:
19079         * win32/testsuite/dlopen.vcproj:
19080         * win32/testsuite/dynparams.vcproj:
19081         * win32/testsuite/elements.vcproj:
19082         * win32/testsuite/ghostpads.vcproj:
19083         * win32/testsuite/indexers.vcproj:
19084         * win32/testsuite/negotiation.vcproj:
19085         * win32/testsuite/parse.vcproj:
19086         * win32/testsuite/plugin.vcproj:
19087         * win32/testsuite/refcounting.vcproj:
19088         * win32/testsuite/schedulers.vcproj:
19089         * win32/testsuite/states.vcproj:
19090         * win32/testsuite/tags.vcproj:
19091         * win32/testsuite/threads.vcproj:
19092           remove old win32 stuff that isn't maintained and should be
19093           reorganized
19094
19095 2005-11-30  Andy Wingo  <wingo@pobox.com>
19096
19097         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19098         loading the gst.interfaces python module bork.
19099
19100         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19101         available since GLib 2.2. Fixes #318031.
19102
19103 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19104
19105         * Makefile.am:
19106         * check/.cvsignore:
19107         * check/Makefile.am:
19108         * check/elements/.cvsignore:
19109         * check/elements/fakesrc.c:
19110         * check/elements/fdsrc.c:
19111         * check/elements/identity.c:
19112         * check/generic/.cvsignore:
19113         * check/generic/states.c:
19114         * check/gst-libs/.cvsignore:
19115         * check/gst-libs/controller.c:
19116         * check/gst-libs/gdp.c:
19117         * check/gst/.cvsignore:
19118         * check/gst/capslist.h:
19119         * check/gst/gst.c:
19120         * check/gst/gstbin.c:
19121         * check/gst/gstbuffer.c:
19122         * check/gst/gstbus.c:
19123         * check/gst/gstcaps.c:
19124         * check/gst/gstelement.c:
19125         * check/gst/gstevent.c:
19126         * check/gst/gstghostpad.c:
19127         * check/gst/gstiterator.c:
19128         * check/gst/gstmessage.c:
19129         * check/gst/gstminiobject.c:
19130         * check/gst/gstobject.c:
19131         * check/gst/gstpad.c:
19132         * check/gst/gstpipeline.c:
19133         * check/gst/gstplugin.c:
19134         * check/gst/gstsegment.c:
19135         * check/gst/gststructure.c:
19136         * check/gst/gstsystemclock.c:
19137         * check/gst/gsttag.c:
19138         * check/gst/gstutils.c:
19139         * check/gst/gstvalue.c:
19140         * check/net/.cvsignore:
19141         * check/net/gstnetclientclock.c:
19142         * check/net/gstnettimeprovider.c:
19143         * check/pipelines/.cvsignore:
19144         * check/pipelines/cleanup.c:
19145         * check/pipelines/simple_launch_lines.c:
19146         * check/pipelines/stress.c:
19147         * check/states/.cvsignore:
19148         * check/states/sinks.c:
19149         * configure.ac:
19150         * examples/Makefile.am:
19151         * examples/appreader/.cvsignore:
19152         * examples/appreader/Makefile.am:
19153         * examples/appreader/appreader.c:
19154         * examples/controller/.cvsignore:
19155         * examples/controller/Makefile.am:
19156         * examples/controller/audio-example.c:
19157         * examples/cutter/.cvsignore:
19158         * examples/cutter/Makefile.am:
19159         * examples/cutter/cutter.c:
19160         * examples/cutter/cutter.h:
19161         * examples/events/Makefile.am:
19162         * examples/events/seek.c:
19163         * examples/helloworld/.cvsignore:
19164         * examples/helloworld/Makefile.am:
19165         * examples/helloworld/helloworld.c:
19166         * examples/helloworld2/.cvsignore:
19167         * examples/helloworld2/Makefile.am:
19168         * examples/helloworld2/helloworld2.c:
19169         * examples/launch/.cvsignore:
19170         * examples/launch/Makefile.am:
19171         * examples/launch/mp3parselaunch.c:
19172         * examples/launch/mp3play:
19173         * examples/manual/.cvsignore:
19174         * examples/manual/Makefile.am:
19175         * examples/manual/extract.pl:
19176         * examples/metadata/Makefile.am:
19177         * examples/metadata/read-metadata.c:
19178         * examples/mixer/.cvsignore:
19179         * examples/mixer/Makefile.am:
19180         * examples/mixer/mixer.c:
19181         * examples/mixer/mixer.h:
19182         * examples/pingpong/.cvsignore:
19183         * examples/pingpong/Makefile.am:
19184         * examples/pingpong/pingpong.c:
19185         * examples/plugins/.cvsignore:
19186         * examples/plugins/Makefile.am:
19187         * examples/plugins/example.c:
19188         * examples/plugins/example.h:
19189         * examples/pwg/.cvsignore:
19190         * examples/pwg/Makefile.am:
19191         * examples/pwg/extract.pl:
19192         * examples/queue/.cvsignore:
19193         * examples/queue/Makefile.am:
19194         * examples/queue/queue.c:
19195         * examples/queue2/.cvsignore:
19196         * examples/queue2/Makefile.am:
19197         * examples/queue2/queue2.c:
19198         * examples/queue3/.cvsignore:
19199         * examples/queue3/Makefile.am:
19200         * examples/queue3/queue3.c:
19201         * examples/queue4/.cvsignore:
19202         * examples/queue4/Makefile.am:
19203         * examples/queue4/queue4.c:
19204         * examples/retag/.cvsignore:
19205         * examples/retag/Makefile.am:
19206         * examples/retag/retag.c:
19207         * examples/retag/transcode.c:
19208         * examples/thread/.cvsignore:
19209         * examples/thread/Makefile.am:
19210         * examples/thread/thread.c:
19211         * examples/typefind/.cvsignore:
19212         * examples/typefind/Makefile.am:
19213         * examples/typefind/typefind.c:
19214         * examples/xml/.cvsignore:
19215         * examples/xml/Makefile.am:
19216         * examples/xml/createxml.c:
19217         * examples/xml/runxml.c:
19218         * tests/Makefile.am:
19219         * tests/check/Makefile.am:
19220         * testsuite/.cvsignore:
19221         * testsuite/Makefile.am:
19222         * testsuite/Rules:
19223         * testsuite/caps/.cvsignore:
19224         * testsuite/caps/Makefile.am:
19225         * testsuite/caps/app_fixate.c:
19226         * testsuite/caps/audioscale.c:
19227         * testsuite/caps/caps.c:
19228         * testsuite/caps/caps.h:
19229         * testsuite/caps/caps_strings:
19230         * testsuite/caps/compatibility.c:
19231         * testsuite/caps/deserialize.c:
19232         * testsuite/caps/enumcaps.c:
19233         * testsuite/caps/eratosthenes.c:
19234         * testsuite/caps/filtercaps.c:
19235         * testsuite/caps/fixed.c:
19236         * testsuite/caps/fraction-convert.c:
19237         * testsuite/caps/fraction-multiply-and-zero.c:
19238         * testsuite/caps/intersect2.c:
19239         * testsuite/caps/intersection.c:
19240         * testsuite/caps/normalisation.c:
19241         * testsuite/caps/random.c:
19242         * testsuite/caps/renegotiate.c:
19243         * testsuite/caps/sets.c:
19244         * testsuite/caps/simplify.c:
19245         * testsuite/caps/string-conversions.c:
19246         * testsuite/caps/structure.c:
19247         * testsuite/caps/subtract.c:
19248         * testsuite/caps/union.c:
19249         * testsuite/debug/.cvsignore:
19250         * testsuite/debug/Makefile.am:
19251         * testsuite/debug/category.c:
19252         * testsuite/debug/commandline.c:
19253         * testsuite/debug/global.c:
19254         * testsuite/debug/output.c:
19255         * testsuite/debug/printf_extension.c:
19256         * testsuite/dlopen/.cvsignore:
19257         * testsuite/dlopen/Makefile.am:
19258         * testsuite/dlopen/dlopen_gst.c:
19259         * testsuite/dlopen/loadgst.c:
19260         * testsuite/elements/.cvsignore:
19261         * testsuite/elements/Makefile.am:
19262         * testsuite/elements/gst-inspect-check.in:
19263         * testsuite/elements/struct_i386.h:
19264         * testsuite/elements/struct_size.c:
19265         * testsuite/indexers/.cvsignore:
19266         * testsuite/indexers/Makefile.am:
19267         * testsuite/indexers/cache1.c:
19268         * testsuite/indexers/indexdump.c:
19269         * testsuite/parse/.cvsignore:
19270         * testsuite/parse/Makefile.am:
19271         * testsuite/parse/parse1.c:
19272         * testsuite/parse/parse2.c:
19273         * testsuite/plugin/.cvsignore:
19274         * testsuite/plugin/Makefile.am:
19275         * testsuite/plugin/README:
19276         * testsuite/plugin/dynamic.c:
19277         * testsuite/plugin/linked.c:
19278         * testsuite/plugin/loading.c:
19279         * testsuite/plugin/registry.c:
19280         * testsuite/plugin/static.c:
19281         * testsuite/plugin/static2.c:
19282         * testsuite/plugin/testplugin.c:
19283         * testsuite/plugin/testplugin2.c:
19284         * testsuite/plugin/testplugin2_s.c:
19285         * testsuite/plugin/testplugin_s.c:
19286         * testsuite/refcounting/.cvsignore:
19287         * testsuite/refcounting/Makefile.am:
19288         * testsuite/refcounting/bin.c:
19289         * testsuite/refcounting/element.c:
19290         * testsuite/refcounting/element_pad.c:
19291         * testsuite/refcounting/mainloop.c:
19292         * testsuite/refcounting/mem.c:
19293         * testsuite/refcounting/mem.h:
19294         * testsuite/refcounting/object.c:
19295         * testsuite/refcounting/pad.c:
19296         * testsuite/refcounting/sched.c:
19297         * testsuite/refcounting/thread.c:
19298         * testsuite/states/.cvsignore:
19299         * testsuite/states/Makefile.am:
19300         * testsuite/states/bin.c:
19301         * testsuite/states/locked.c:
19302         * testsuite/states/parent.c:
19303         * testsuite/threads/.cvsignore:
19304         * testsuite/threads/159566.c:
19305         * testsuite/threads/159852.c:
19306         * testsuite/threads/Makefile.am:
19307         * testsuite/threads/queue.c:
19308         * testsuite/threads/signals.c:
19309         * testsuite/threads/staticrec.c:
19310         * testsuite/threads/thread.c:
19311         * testsuite/threads/threadb.c:
19312         * testsuite/threads/threadc.c:
19313         * testsuite/threads/threadd.c:
19314         * testsuite/threads/threade.c:
19315         * testsuite/threads/threadf.c:
19316         * testsuite/threads/threadg.c:
19317         * testsuite/threads/threadh.c:
19318         * testsuite/threads/threadi.c:
19319           move all of these under tests
19320
19321 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19322
19323         * configure.ac:
19324         * tests/Makefile.am:
19325           fix distcheck
19326
19327 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19328
19329         * docs/gst/gstreamer-sections.txt:
19330         * tests/sched/.cvsignore:
19331         * tests/sched/Makefile.am:
19332         * tests/sched/cases/(fs-fs).xml:
19333         * tests/sched/cases/(fs-i-fs).xml:
19334         * tests/sched/cases/(fs-i-i-fs).xml:
19335         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19336         * tests/sched/dynamic-pipeline.c:
19337         * tests/sched/interrupt1.c:
19338         * tests/sched/interrupt2.c:
19339         * tests/sched/interrupt3.c:
19340         * tests/sched/runtestcases:
19341         * tests/sched/runxml.c:
19342         * tests/sched/sched-stress.c:
19343         * tests/sched/sort.c:
19344         * tests/sched/testcases:
19345         * tests/sched/testcases1.tc:
19346         * tests/seeking/.cvsignore:
19347         * tests/seeking/Makefile.am:
19348         * tests/seeking/seeking1.c:
19349         * tests/threadstate/.cvsignore:
19350         * tests/threadstate/Makefile.am:
19351         * tests/threadstate/test1.c:
19352         * tests/threadstate/test2.c:
19353         * tests/threadstate/threadstate1.c:
19354         * tests/threadstate/threadstate2.c:
19355         * tests/threadstate/threadstate3.c:
19356         * tests/threadstate/threadstate4.c:
19357         * tests/threadstate/threadstate5.c:
19358           remove obsolete tests
19359         * configure.ac:
19360         * tests/bench-complexity.scm:
19361         * tests/bench-mass_elements.scm:
19362         * tests/complexity.c:
19363         * tests/complexity.gnuplot:
19364         * tests/instantiate/.cvsignore:
19365         * tests/instantiate/Makefile.am:
19366         * tests/instantiate/caps.c:
19367         * tests/mass_elements.c:
19368         * tests/network-clock-utils.scm:
19369         * tests/network-clock.scm:
19370         * tests/plot-data:
19371         First pass at cleaning up tests/ dir before moving the rest
19372         Combined with CVS surgery
19373
19374 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19375
19376         * po/POTFILES.in:
19377           queue has moved, update
19378
19379 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19380
19381         * docs/gst/gstreamer-sections.txt:
19382           remove double entries from the docs
19383         * gst/gst_private.h:
19384         * gst/gstinfo.c: (_gst_debug_init):
19385           remove the THREAD debug category
19386         * gst/Makefile.am:
19387         * gst/gstqueue.c:
19388         * gst/gstqueue.h:
19389         * docs/gst/gstreamer.types:
19390         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19391         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19392           completely move queue and fix up debugging categories
19393
19394 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19395
19396         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19397           make initialization portable, using LL is not
19398
19399 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19400
19401         * win32/common/gstconfig.h:
19402           add large padding
19403
19404 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19405
19406         * win32/common/libgstreamer.def:
19407           rename symbols; sort base section
19408
19409 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19410
19411         * gst/gstclock.c: (do_linear_regression):
19412           remove crack non-portable handrolled DEBUG macro
19413
19414 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19415
19416         * docs/random/release:
19417           update notes
19418         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19419         (gst_object_flags_get_type), (register_gst_bin_flags),
19420         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19421         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19422         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19423         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19424         (gst_caps_flags_get_type), (register_gst_clock_return),
19425         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19426         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19427         (gst_clock_flags_get_type), (register_gst_state),
19428         (gst_state_get_type), (register_gst_state_change_return),
19429         (gst_state_change_return_get_type), (register_gst_state_change),
19430         (gst_state_change_get_type), (register_gst_element_flags),
19431         (gst_element_flags_get_type), (register_gst_core_error),
19432         (gst_core_error_get_type), (register_gst_library_error),
19433         (gst_library_error_get_type), (register_gst_resource_error),
19434         (gst_resource_error_get_type), (register_gst_stream_error),
19435         (gst_stream_error_get_type), (register_gst_event_type_flags),
19436         (gst_event_type_flags_get_type), (register_gst_event_type),
19437         (gst_event_type_get_type), (register_gst_seek_type),
19438         (gst_seek_type_get_type), (register_gst_seek_flags),
19439         (gst_seek_flags_get_type), (register_gst_format),
19440         (gst_format_get_type), (register_gst_index_certainty),
19441         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19442         (gst_index_entry_type_get_type),
19443         (register_gst_index_lookup_method),
19444         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19445         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19446         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19447         (gst_index_flags_get_type), (register_gst_debug_level),
19448         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19449         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19450         (gst_iterator_result_get_type), (register_gst_iterator_item),
19451         (gst_iterator_item_get_type), (register_gst_message_type),
19452         (gst_message_type_get_type), (register_gst_mini_object_flags),
19453         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19454         (gst_pad_link_return_get_type), (register_gst_flow_return),
19455         (gst_flow_return_get_type), (register_gst_activate_mode),
19456         (gst_activate_mode_get_type), (register_gst_pad_direction),
19457         (gst_pad_direction_get_type), (register_gst_pad_flags),
19458         (gst_pad_flags_get_type), (register_gst_pad_presence),
19459         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19460         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19461         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19462         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19463         (gst_plugin_flags_get_type), (register_gst_rank),
19464         (gst_rank_get_type), (register_gst_query_type),
19465         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19466         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19467         (gst_tag_flag_get_type), (register_gst_task_state),
19468         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19469         (gst_alloc_trace_flags_get_type),
19470         (register_gst_type_find_probability),
19471         (gst_type_find_probability_get_type), (register_gst_uri_type),
19472         (gst_uri_type_get_type), (register_gst_parse_error),
19473         (gst_parse_error_get_type):
19474         * win32/common/gstenumtypes.h:
19475         * win32/common/gstversion.h:
19476           update visual studio generated files
19477
19478 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19479
19480         * win32/vs6/libgstbase.dsp:
19481         * win32/vs6/libgstelements.dsp:
19482           update project files for new locations
19483
19484 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19485
19486         * Makefile.am:
19487           remove some files
19488         * README:
19489           reinstate and update
19490         * DEVEL:
19491         * REQUIREMENTS:
19492           removed
19493         * LICENSE:
19494         * docs/random/LICENSE:
19495           moved to random
19496
19497 2005-11-30  Edward Hervey  <edward@fluendo.com>
19498
19499         * gst/gsttypefind.c: (gst_type_find_register):
19500         * gst/gsttypefind.h:
19501         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19502         (gst_type_find_factory_dispose):
19503         * gst/gsttypefindfactory.h:
19504         Fix memory leak in GstTypeFindFactory.
19505
19506 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19507
19508         * gst/gst.c:
19509         * plugins/elements/Makefile.am:
19510         * plugins/elements/gstelements.c:
19511         * plugins/elements/gstqueue.c:
19512           move queue from core to the elements plugin
19513
19514 2005-11-29  Andy Wingo  <wingo@pobox.com>
19515
19516         * libs/gst/base/gstbasetransform.h: 
19517         * libs/gst/base/gstbasesrc.h: 
19518         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19519
19520         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19521         of pointers by which to pad very extensible base classes (like the
19522         ones in libs/gst/base).
19523
19524 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19525
19526         * docs/gst/gstreamer-docs.sgml:
19527         * docs/gst/gstreamer-sections.txt:
19528         * docs/libs/gstreamer-libs-docs.sgml:
19529         * docs/libs/gstreamer-libs-sections.txt:
19530           moving documentation from core to lib
19531
19532 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19533
19534         * check/Makefile.am:
19535         * configure.ac:
19536         * docs/gst/Makefile.am:
19537         * gst/Makefile.am:
19538         * gst/base/.cvsignore:
19539         * gst/base/Makefile.am:
19540         * gst/base/README:
19541         * gst/base/gstadapter.c:
19542         * gst/base/gstadapter.h:
19543         * gst/base/gstbasesink.c:
19544         * gst/base/gstbasesink.h:
19545         * gst/base/gstbasesrc.c:
19546         * gst/base/gstbasesrc.h:
19547         * gst/base/gstbasetransform.c:
19548         * gst/base/gstbasetransform.h:
19549         * gst/base/gstcollectpads.c:
19550         * gst/base/gstcollectpads.h:
19551         * gst/base/gstpushsrc.c:
19552         * gst/base/gstpushsrc.h:
19553         * gst/base/gsttypefindhelper.c:
19554         * gst/base/gsttypefindhelper.h:
19555         * gst/check/Makefile.am:
19556         * gst/check/gstcheck.c:
19557         * gst/check/gstcheck.h:
19558         * gst/net/Makefile.am:
19559         * gst/net/gstnet.h:
19560         * gst/net/gstnetclientclock.c:
19561         * gst/net/gstnetclientclock.h:
19562         * gst/net/gstnettimepacket.c:
19563         * gst/net/gstnettimepacket.h:
19564         * gst/net/gstnettimeprovider.c:
19565         * gst/net/gstnettimeprovider.h:
19566         * libs/gst/Makefile.am:
19567         * libs/gst/base/Makefile.am:
19568         * libs/gst/base/gstbasetransform.c:
19569         * libs/gst/check/Makefile.am:
19570         * plugins/elements/Makefile.am:
19571         * po/POTFILES.in:
19572           CVS surgery + support to move base, check, and net out of gst
19573           and into libs/gst
19574
19575 2005-11-29  Andy Wingo  <wingo@pobox.com>
19576
19577         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19578
19579         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19580         padding.
19581
19582         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19583
19584         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19585
19586         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19587
19588         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19589         padding; reduces object size by about 30%. We don't expect
19590         anything else to go into gstobject.
19591
19592         * gst/gstminiobject.h (struct _GstMiniObject)
19593         (struct _GstMiniObjectClass): Only one pointer of padding; the
19594         payload is only a pointer and two ints anyway. For the class there
19595         are only two methods as well.
19596         
19597         * gst/gstelement.h (struct _GstElementClass): Removed
19598         the state_changed signal callback, it is not used.
19599
19600 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19601
19602         * docs/gst/gstreamer.types:
19603           fix includes, though they are a little dinky
19604
19605 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19606
19607         * check/Makefile.am:
19608           look in the right place for elements, a lot more chance of
19609           success
19610         * gst/Makefile.am:
19611           remove indexers and elements subdirs
19612         * plugins/Makefile.am:
19613           make indexers conditional
19614
19615 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19616
19617         * Makefile.am:
19618         * configure.ac:
19619         * plugins/elements/Makefile.am:
19620         * plugins/elements/gstcapsfilter.c:
19621         * plugins/elements/gstfilesink.c:
19622         * plugins/elements/gstfilesrc.c:
19623         * plugins/elements/gstidentity.c:
19624         * plugins/indexers/Makefile.am:
19625           do CVS surgery and related build fixery to move elements
19626           and indexers in a new gstreamer/plugins directory, out of the
19627           gst/ directory
19628
19629 2005-11-29  Andy Wingo  <wingo@pobox.com>
19630
19631         * check/Makefile.am:
19632         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19633         * pkgconfig/gstreamer-net.pc.in:
19634         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19635         #322257.
19636
19637 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19638
19639         * tools/Makefile.am:
19640         * tools/gst-complete.1.in:
19641         * tools/gst-complete.c:
19642         * tools/gst-compprep.1.in:
19643         * tools/gst-compprep.c:
19644           removing -compprep and -complete
19645
19646 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19647
19648         * gst/gstevent.c: (gst_event_new_new_segment),
19649         (gst_event_parse_new_segment):
19650         * gst/gstevent.h:
19651           fix #320529 - clean up new_segment API and structure.
19652           Let's hope everyone was using the methods, and not the structure.
19653
19654 2005-11-29  Edward Hervey  <edward@fluendo.com>
19655
19656         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19657         (gst_base_sink_event), (gst_base_sink_do_sync),
19658         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19659         Properly handle non GST_FORMAT_TIME segment
19660         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19661         Properly handle non GST_FORMAT_TIME segment
19662         * gst/gstsegment.c:
19663         This function is valid if the accumulator is 0 and the format
19664         is different from the requested format.
19665         
19666 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19667
19668         * docs/gst/gstreamer-sections.txt:
19669         Add gst_query_new_seeking and gst_query_parse_seeking to the
19670         docs.
19671
19672 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19673
19674         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19675           Treat a pad alloc with new caps the same as if we were not
19676           negotiated, in order to allow a changing upstream output
19677           to produce a new format of data.
19678
19679 2005-11-29  Edward Hervey  <edward@fluendo.com>
19680
19681         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19682         (gst_base_transform_event), (gst_base_transform_eventfunc):
19683         The event virtual method is now properly implemented, with a default
19684         handler
19685         Sub classes should call the parent_class event method. They should
19686         return FALSE if they had a problem handling the given event, or don't
19687         want GstBaseTransform to send that even downstream
19688         * gst/elements/gstidentity.c: (gst_identity_class_init),
19689         (gst_identity_init), (gst_identity_event),
19690         (gst_identity_transform_ip), (gst_identity_set_property),
19691         (gst_identity_get_property):
19692         * gst/elements/gstidentity.h:
19693         Added the single-segment boolean property.
19694         If set to TRUE, it will output a single segment of data, starting from
19695         0, will eat up all incoming newsegment, and modify the timestamp of the
19696         buffers accordingly
19697
19698 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19699
19700         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19701           Don't ref NULL target pad (#322751). Improve docs.
19702
19703 2005-11-29  Michael Smith  <msmith@fluendo.com>
19704
19705         * gst/gstregistryxml.c: (load_plugin):
19706           Don't crash if we failed to load a feature from a plugin. 
19707
19708 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19709
19710         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19711         (GST_START_TEST):
19712           use more check API and less GLib API
19713
19714 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19715
19716         * Makefile.am:
19717           don't run checks if we don't have check
19718         * common/check.mak:
19719           remove the registry when running make torture
19720         * docs/gst/gstreamer-sections.txt:
19721           remove second multiply
19722         * gst/gstqueue.c: (gst_queue_loop):
19723           fix a compile warning when disabling debug
19724
19725 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19726
19727         * gst/gstinfo.h:
19728         Hey! Let's print the pad name if the pointer != NULL instead
19729         of when it == NULL :-)
19730
19731 2005-11-28  Wim Taymans  <wim@fluendo.com>
19732
19733         * check/gst/gstutils.c: (GST_START_TEST):
19734         Updated check, add some scaling accuracy checking code.
19735
19736         * gst/gstutils.c: (gst_util_div128_64),
19737         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19738         (gst_util_uint64_scale_int):
19739         Fix 6 times faster division code. Optimize for common 
19740         1/1 and less common X/1 cases.
19741
19742 2005-11-28  Wim Taymans  <wim@fluendo.com>
19743
19744         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19745         More checks.
19746
19747         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19748         (do_linear_regression), (gst_clock_add_observation):
19749         Cleanups.
19750         Release lock when the clock cannot be slaved.
19751         Catch the case where the regression returned an invalid denominator.
19752
19753         * gst/gstutils.c: (gst_util_div128_64_iterate),
19754         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19755         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19756         Add protentially more performant non-iterative 128/64 divide function
19757         that unfortunatly does not work yet.
19758         Shortcut the trivial 0/X = 0 case.
19759         Remove the warnings on overflow.
19760
19761 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19762
19763         * gst/gstplugin.c: (gst_plugin_register_func):
19764           everything causing a plugin not to load should be at least a WARNING
19765
19766 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19767
19768         * docs/random/ensonic/dparams.txt:
19769           some TODOs for the next dev cycle
19770         * libs/gst/controller/gstcontroller.c:
19771         (gst_controlled_property_set_interpolation_mode),
19772         (gst_controlled_property_new):
19773         * libs/gst/controller/gstcontroller.h:
19774           use base type to assign acccessor functions
19775
19776 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19777
19778         * check/Makefile.am:
19779         Oops, that should have been top_srcdir
19780
19781 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19782
19783         * check/Makefile.am:
19784         * check/elements/fdsrc.c: (GST_START_TEST):
19785         Use a cmdline define to specify the location of a file to use for
19786         testing, to avoid breaking distcheck.
19787
19788 2005-11-28  Andy Wingo  <wingo@pobox.com>
19789
19790         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19791
19792 2005-11-28  Edward Hervey  <edward@fluendo.com>
19793
19794         * tools/gst-launch.c: (main):
19795         Clarify the output strings, makes it easier to translate.
19796         Fixes #322626
19797
19798 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19799
19800         * gst/Makefile.am:
19801           don't try and build net if we don't even have <sys/socket.h>
19802
19803 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19804
19805         * check/Makefile.am:
19806         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19807         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19808           Add tests for fdsrc seekability
19809
19810         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19811         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19812         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19813         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19814         * gst/elements/gstfdsrc.h:
19815           fdsrc should not be a 'live' source.
19816           Implement seeking on seekable fd's.
19817
19818         * gst/gstquery.c: (gst_query_new_seeking),
19819         (gst_query_parse_seeking):
19820         * gst/gstquery.h:
19821           Implement SEEKING query functions: 
19822             *_new_seeking and *_parse_seeking
19823
19824 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19825
19826         * gst/gstelement.c: (gst_element_dispose):
19827           don't loop forever
19828
19829         * gst/gstiterator.c:
19830         * gst/gststructure.c:
19831           doc fixes
19832
19833         * libs/gst/controller/gstcontroller.c:
19834         (gst_controlled_property_set_interpolation_mode):
19835         * libs/gst/controller/gstcontroller.h:
19836         * libs/gst/controller/gstinterpolation.c:
19837         (interpolate_none_get_enum_value_array):
19838           support controlling enums
19839
19840 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19841
19842         * gst/gstvalue.c:
19843           Improve documentation for gst_value_union().
19844
19845         * gst/gstvalue.h:
19846           Change return value for union, intersect and subtract functions
19847           from gint to gboolean.
19848
19849 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19850
19851         * gst/gstvalue.c: (gst_value_serialize_any_list),
19852         (gst_value_transform_any_list_string),
19853         (gst_value_deserialize_list), (gst_value_deserialize_array),
19854         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19855         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19856         (gst_value_set_fraction_range_full),
19857         (gst_value_deserialize_fraction_range),
19858         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19859         (gst_value_deserialize_boolean),
19860         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19861         (gst_value_serialize_float), (gst_value_deserialize_float),
19862         (gst_string_wrap), (gst_value_deserialize_string),
19863         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19864         (gst_value_union_int_range_int_range),
19865         (gst_value_intersect_int_range_int_range),
19866         (gst_value_intersect_double_range_double_range),
19867         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19868         (gst_value_subtract_int_range_int_range),
19869         (gst_value_subtract_double_double_range),
19870         (gst_value_subtract_double_range_double_range),
19871         (gst_value_deserialize_fraction):
19872         * gst/gstvalue.h:
19873           Use gint, gdouble and gchar in our API instead of int, double and
19874           char (and make usage in gstvalue.c more consistent).
19875
19876 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19877
19878         * check/Makefile.am:
19879         * libs/gst/controller/Makefile.am:
19880         * libs/gst/dataprotocol/Makefile.am:
19881           fix up Makefile.am and remove GST_ENABLE_NEW
19882
19883 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19884
19885         * configure.ac:
19886         * gst/Makefile.am:
19887         * gst/base/Makefile.am:
19888         * gst/check/Makefile.am:
19889         * gst/elements/Makefile.am:
19890         * gst/net/Makefile.am:
19891           update LDFLAGS use some more
19892
19893 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19894
19895         * common/m4/gst-doc.m4:
19896           Fixes #312589
19897
19898 2005-11-26  Edward Hervey  <edward@fluendo.com>
19899
19900         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19901         This shouldn't issue a g_warning since it returns NULL if it
19902         couldn't find the plugin, and all functions using this behave
19903         properly on a NULL return. Switching to a GST_WARNING.
19904
19905 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19906
19907         * gst/gstbin.c: (gst_bin_handle_message_func):
19908         Don't leak clock messages.
19909
19910 2005-11-25  Wim Taymans  <wim@fluendo.com>
19911
19912         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19913         (gst_util_uint64_scale_int):
19914         Optimisations, remove unneeded vars.
19915
19916 2005-11-25  Wim Taymans  <wim@fluendo.com>
19917
19918         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19919         Added more checks for the high precision uint64 cases.
19920
19921         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19922         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19923         Implement high precision (guint64 * guint64) / guint64.
19924
19925 2005-11-24  Wim Taymans  <wim@fluendo.com>
19926
19927         * gst/base/gstbasesrc.c: (gst_base_src_query):
19928         Fix wrong percentage query.
19929
19930         * gst/gstutils.c: (gst_util_uint64_scale),
19931         (gst_util_uint64_scale_int):
19932         Add some more common cases that can be handled 
19933         efficiently to _scale.
19934
19935 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19936
19937         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19938         (gst_mini_object_suite):
19939           don't use check calls from threads; check probably isn't
19940           threadsafe and using a lock to make it threadsafe would
19941           defeat the purpose of this check
19942         * gst/check/gstcheck.c:
19943         * gst/check/gstcheck.h:
19944           use GST_DEBUG some more
19945
19946 2005-11-24  Wim Taymans  <wim@fluendo.com>
19947
19948         * gst/gstutils.c: (gst_util_uint64_scale),
19949         (gst_util_uint64_scale_int):
19950         Chain trivial case to _scale_int.
19951
19952 2005-11-24  Wim Taymans  <wim@fluendo.com>
19953
19954         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19955         Added test for scaling.
19956
19957         * gst/gstclock.h:
19958         Small doc fix.
19959
19960         * gst/gstutils.c: (gst_util_uint64_scale_int):
19961         Implemented high precision scaling code.
19962
19963 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
19964
19965         * gst/gstinfo.h:
19966           do not crash on pad==NULL
19967
19968 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19969
19970         Patch by: Stefan Kost
19971
19972         * common/gtk-doc.mak:
19973         * docs/gst/Makefile.am:
19974         * docs/libs/Makefile.am:
19975           Fix distcheck issues for the libraries docs build
19976           Closes #319599.
19977
19978 2005-11-24  Michael Smith <msmith@fluendo.com>
19979
19980         * docs/manual/basics-helloworld.xml:
19981           Fix bug #315027: memory leak in example code in docs.
19982
19983 2005-11-24  Michael Smith <msmith@fluendo.com>
19984
19985         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19986           Unlock the PREROLL_LOCK in a failure case.
19987
19988 2005-11-24  Wim Taymans  <wim@fluendo.com>
19989
19990         * docs/gst/gstreamer-sections.txt:
19991         * gst/base/gstadapter.h:
19992         * gst/base/gstbasesink.h:
19993         * gst/base/gstbasesrc.h:
19994         * gst/base/gstbasetransform.h:
19995         * gst/base/gstpushsrc.h:
19996         * gst/elements/gstfakesink.h:
19997         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19998         * gst/elements/gstfakesrc.h:
19999         * gst/elements/gstfilesink.h:
20000         * gst/elements/gstfilesrc.h:
20001         * gst/gst.c:
20002         * gst/gstbin.c:
20003         * gst/gstbuffer.c: (_gst_buffer_copy):
20004         * gst/gstbus.h:
20005         * gst/gstcaps.c:
20006         * gst/gstchildproxy.c:
20007         * gst/gstclock.c:
20008         * gst/gstelement.c:
20009         * gst/gstelementfactory.c:
20010         * gst/gstelementfactory.h:
20011         * gst/gstevent.c:
20012         * gst/gstghostpad.h:
20013         * gst/gstindex.h:
20014         * gst/gstinterface.h:
20015         * gst/gstminiobject.c:
20016         * gst/gstminiobject.h:
20017         * gst/gstpad.c:
20018         * gst/gstpad.h:
20019         * gst/gstpadtemplate.h:
20020         * gst/gstpipeline.h:
20021         * gst/gstpluginfeature.h:
20022         * gst/gstquery.h:
20023         * gst/gstqueue.h:
20024         * gst/gsttaglist.c:
20025         * gst/gsttaglist.h:
20026         * gst/gsttagsetter.c:
20027         * gst/gsttagsetter.h:
20028         * gst/gsttrace.c:
20029         * gst/gsttrace.h:
20030         * gst/gsttypefind.h:
20031         * gst/gsturi.h:
20032         * gst/gstvalue.c:
20033         * gst/net/gstnetclientclock.c:
20034         * gst/net/gstnetclientclock.h:
20035         * gst/net/gstnettimepacket.c:
20036         * gst/net/gstnettimeprovider.c:
20037         * gst/net/gstnettimeprovider.h:
20038         Doc fixes.
20039
20040 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20041
20042         * configure.ac: back to HEAD
20043
20044 === release 0.9.6 ===
20045
20046 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20047
20048         * configure.ac:
20049           releasing 0.9.6, "Always On Time"
20050
20051 2005-11-23  Wim Taymans  <wim@fluendo.com>
20052
20053         * docs/gst/gstreamer-sections.txt:
20054         * gst/glib-compat.c:
20055         * gst/gsttagsetter.c:
20056         * gst/gstvalue.c:
20057         * gst/net/gstnetclientclock.c:
20058         * gst/net/gstnettimepacket.h:
20059         Doc updates.
20060
20061 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20062
20063         * docs/faq/using.xml:
20064         * docs/libs/tmpl/gstcontrol.sgml:
20065         * docs/manual/advanced-dparams.xml:
20066         * docs/manual/appendix-checklist.xml:
20067         * docs/manual/basics-elements.xml:
20068         * docs/pwg/other-source.xml:
20069         * docs/random/moving-plugins:
20070         * gst/gstpad.c:
20071         * tools/gst-launch.1.in:
20072           remove mentions of sinesrc
20073
20074 2005-11-23  Michael Smith <msmith@fluendo.com>
20075
20076         * docs/gst/gstreamer-sections.txt:
20077           Update for new API and API changes.
20078         * gst/gstobject.h:
20079           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20080         * gst/gstvalue.c:
20081           Documentation typo fix.
20082         * gst/net/gstnettimepacket.c:
20083           Documentation fixes for arguments.
20084
20085 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20086
20087         * gst/gststructure.c: (gst_structure_get_fraction),
20088         (gst_structure_parse_value),
20089         (gst_structure_fixate_field_nearest_fraction):
20090         * gst/gststructure.h:
20091         * gst/gstutils.c: (gst_util_uint64_scale_int):
20092         * gst/gstutils.h:
20093         * scripts/update-funcnames:
20094         API Changes. 
20095         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20096         Make gst_structure_fixate_field_nearest_fraction take a numerator
20097         and denominator argument instead of a GValue
20098         add gst_structure_get_fraction helper function.
20099
20100 2005-11-23  Wim Taymans  <wim@fluendo.com>
20101
20102         * docs/design/part-TODO.txt:
20103         Update TODO.
20104
20105         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20106         * gst/net/gstnetclientclock.h:
20107         Use parent fields for timeout and window_size.
20108
20109 2005-11-23  Andy Wingo  <wingo@pobox.com>
20110
20111         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20112         rate_num/rate_denom change.
20113
20114         * gst/net/gstnetclientclock.c
20115         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20116         OBJECT_LOCK. Don't call add_observation with the lock.
20117
20118         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20119         fraction.
20120         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20121         rate fraction.
20122         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20123         deal with rate as a fraction whose numerator and denominator are
20124         GstClockTime values.
20125         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20126         master; the other fields are protected by the SLAVE_LOCK.
20127         (do_linear_regression): Note that this must be called with the
20128         SLAVE_LOCK.
20129         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20130         OBJECT_LOCK. Call set_calibration instead of touching the
20131         variables directly.
20132         (gst_clock_set_property, gst_clock_get_property): Protect
20133         master/slave parameters with the SLAVE_LOCK.
20134
20135         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20136         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20137         note that all of the instance variables that add_observation and
20138         the set_master functions use are protected by that lock and not
20139         the OBJECT_LOCK.
20140         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20141
20142         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20143         the caller to take the object lock.
20144
20145 2005-11-23  Wim Taymans  <wim@fluendo.com>
20146
20147         * gst/gsterror.c: (_gst_core_errors_init):
20148         * gst/gsterror.h:
20149         Add error for clock stuff.
20150
20151         * gst/gstpipeline.c: (gst_pipeline_change_state),
20152         (gst_pipeline_set_clock):
20153         Post clock error when clock cannot be used in a pipeline.
20154
20155 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20156
20157         * docs/gst/gstreamer-sections.txt:
20158           make two symbols from gstinfo private for the docs
20159         * gst/base/gstcollectpads.h:
20160         * gst/gstutils.c:
20161           fix doc typos, update docs
20162
20163 2005-11-22  Wim Taymans  <wim@fluendo.com>
20164
20165         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20166         (gst_base_sink_wait), (gst_base_sink_do_sync),
20167         (gst_base_sink_handle_event):
20168         * gst/base/gstbasesink.h:
20169         No need to store the clock, the parent element class already
20170         has it.
20171
20172         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20173         Updates for clock_set returning a gboolean
20174
20175         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20176         (gst_clock_id_wait_async), (gst_clock_class_init),
20177         (gst_clock_init), (gst_clock_finalize),
20178         (gst_clock_get_internal_time), (gst_clock_get_time),
20179         (gst_clock_slave_callback), (gst_clock_set_master),
20180         (gst_clock_get_master), (do_linear_regression),
20181         (gst_clock_add_observation), (gst_clock_set_property),
20182         (gst_clock_get_property):
20183         * gst/gstclock.h:
20184         Implement master/slave. When setting a clock as a slave, a
20185         periodic timeout is scheduled to sample master and slave times.
20186         Then the slave clock is recalibrated to match offset and rate
20187         of the master clock.
20188         Update logging a bit.
20189         Add flag so that a clock can state that is cannot be slaved to
20190         another clock.
20191
20192         * gst/gstelement.c: (gst_element_set_clock):
20193         * gst/gstelement.h:
20194         The set clock returns a gboolean for when an element cannot
20195         deal with the selected clock in the pipeline. 
20196
20197         * gst/gstpipeline.c: (gst_pipeline_change_state),
20198         (gst_pipeline_set_clock):
20199         * gst/gstpipeline.h:
20200         Handle the case where the selected clock cannot be set on
20201         the pipeline.
20202
20203         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20204         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20205         (gst_net_client_clock_set_property),
20206         (gst_net_client_clock_get_property),
20207         (gst_net_client_clock_observe_times):
20208         * gst/net/gstnetclientclock.h:
20209         Use regression code in GstClock parent, remove duplicated
20210         functionality.
20211
20212 2005-11-22  Michael Smith <msmith@fluendo.com>
20213
20214         * gst/gstutils.c: (gst_util_clock_time_scale):
20215         * gst/gstutils.h:
20216         * docs/gst/gstreamer-sections.txt:
20217           Rename method to have extra underscore.
20218
20219 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20220
20221         * gst/elements/Makefile.am:
20222         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20223         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20224         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20225         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20226         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20227         * gst/elements/gstfakesrc.h:
20228         * gst/gstqueue.c: (queue_leaky_get_type):
20229           correctly fix GEnumValues so that nick is the short lowercase
20230           dashed tag
20231         * tools/gst-inspect.c: (print_element_properties_info):
20232           also show the nick, since it's useful to use from parse_launch
20233           syntax
20234           Fixes #322139
20235
20236 2005-11-22  Michael Smith <msmith@fluendo.com>
20237
20238         * gst/gstutils.c: (gst_util_clocktime_scale):
20239         * gst/gstutils.h:
20240         * docs/gst/gstreamer-sections.txt:
20241           Add util method for scaling a clocktime by a fraction. Useful 
20242           implementation is left as an exercise for the reader.
20243
20244 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20245
20246         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20247         If needed, allocate storage in the destination value during
20248         collection.
20249
20250 2005-11-22  Edward Hervey  <edward@fluendo.com>
20251
20252         * docs/gst/gstreamer-sections.txt:
20253         * gst/Makefile.am:
20254         * gst/gst.h:
20255         * gst/gsturitype.c:
20256         * gst/gsturitype.h:
20257         * gst/gstutils.c: (gst_util_set_object_arg):
20258         * tools/gst-compprep.c: (main):
20259         * tools/gst-inspect.c: (print_element_properties_info):
20260         Removed GstURI, closes bug #321061
20261
20262 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20263
20264         * check/gst/gststructure.c: (GST_START_TEST):
20265         * gst/gststructure.c: (gst_structure_parse_value):
20266           Oops, broke automatic string type parsing.
20267           Add a test to catch it in future.
20268
20269 2005-11-22  Andy Wingo  <wingo@pobox.com>
20270
20271         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20272         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20273         Actually rename the function implementations. Grr.
20274
20275 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20276
20277         * check/gst/capslist.h:
20278           Comment test cases
20279         * check/gst/gststructure.c: (GST_START_TEST),
20280         (gst_structure_suite):
20281           Test automatic value type detection in gst_structure_from_string.
20282         * gst/gststructure.c: (gst_structure_parse_value):
20283           Add fraction as a type we try and guess automatically in
20284           caps/structure strings.
20285
20286 2005-11-22  Andy Wingo  <wingo@pobox.com>
20287
20288         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20289
20290         * gst/gsttagsetter.h:
20291         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20292         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20293         (gst_tag_setter_add_tag_valist)
20294         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20295         _add_values, _add_valist, and _add_valist_values. Since this is an
20296         interface the function suffixes should be more explicit so
20297         language binding don't end up with element.add_valist ->
20298         gst_tag_setter_add_valist, for example. Fixes #322069.
20299
20300 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20301
20302         * check/gst/gstcaps.c: (GST_START_TEST):
20303           Extend caps string tests to check that a caps to string
20304           conversion is reversible and produces the same caps.
20305
20306         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20307           Output "fraction" as the generic type fraction range, so caps
20308           serialisation and deserialisation works.
20309         * check/gst/capslist.h:
20310         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20311           Support 'MIN' and 'MAX' for deserialising fractions.
20312
20313 2005-11-22  Andy Wingo  <wingo@pobox.com>
20314
20315         * gst/gstevent.h (gst_event_new_new_segment)
20316         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20317         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20318         Renamed from *_newsegment, *_buffersize, *_notarget.
20319
20320         * scripts/update-funcnames: New script, performs the changes
20321         listed above.
20322
20323 2005-11-22  Wim Taymans  <wim@fluendo.com>
20324
20325         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20326         Make sure the GstFlowReturn is returned.
20327
20328         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20329         (gst_bus_add_signal_watch):
20330         * gst/gstbus.h:
20331         add gst_bus_add_signal_watch_full.
20332
20333         * gst/gstplugin.c: (gst_plugin_load_file):
20334         Small style cleanup.
20335
20336 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20337
20338         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20339           Block the fakesrc srcpad when we send an event, to avoid
20340           contention on the stream_lock causing random test failures.
20341
20342 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20343
20344         * check/gst/gstvalue.c: (GST_START_TEST):
20345         * gst/gstvalue.c: (gst_value_fraction_subtract):
20346           Fix subtraction.
20347
20348 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20349
20350         * gst/gst.h:
20351           include "gstchildproxy.h"
20352         * gst/gstchildproxy.h:
20353         * libs/gst/controller/gstcontroller.h:
20354           use G_GNUC_NULL_TERMINATED
20355
20356 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20357
20358         * check/gst/capslist.h:
20359         * check/gst/gstcaps.c: (GST_START_TEST):
20360         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20361         * gst/gststructure.c: (gst_structure_parse_range),
20362         (gst_structure_fixate_field_nearest_fraction):
20363         * gst/gststructure.h:
20364         * gst/gstvalue.c: (gst_value_init_fraction_range),
20365         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20366         (gst_value_collect_fraction_range),
20367         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20368         (gst_value_set_fraction_range_full),
20369         (gst_value_get_fraction_range_min),
20370         (gst_value_get_fraction_range_max),
20371         (gst_value_serialize_fraction_range),
20372         (gst_value_transform_fraction_range_string),
20373         (gst_value_compare_fraction_range),
20374         (gst_value_deserialize_fraction_range),
20375         (gst_value_intersect_fraction_fraction_range),
20376         (gst_value_intersect_fraction_range_fraction_range),
20377         (gst_value_subtract_fraction_fraction_range),
20378         (gst_value_subtract_fraction_range_fraction),
20379         (gst_value_subtract_fraction_range_fraction_range),
20380         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20381         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20382         (gst_value_transform_string_fraction), (_gst_value_initialize):
20383         * gst/gstvalue.h:
20384           Implement fraction ranges and extend GstFraction to support
20385           arithmetic subtraction, as well as deserialization from integer
20386           strings such as "100"
20387           Add a testsuite as for int and double range set operations
20388
20389 2005-11-21  Andy Wingo  <wingo@pobox.com>
20390
20391         * gst/gsttaglist.h: 
20392         * gst/gstcaps.h: 
20393         * gst/gststructure.h: Add glib-compat.h.
20394
20395 2005-11-21  Wim Taymans  <wim@fluendo.com>
20396
20397         * gst/gstbin.c: (gst_bin_change_state_func):
20398         Fix for #321595
20399
20400 2005-11-21  Wim Taymans  <wim@fluendo.com>
20401
20402         * gst/gstsegment.h:
20403         And add a nice define too.
20404
20405 2005-11-21  Wim Taymans  <wim@fluendo.com>
20406
20407         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20408         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20409         (gst_segment_set_duration), (gst_segment_set_last_stop),
20410         (gst_segment_set_seek), (gst_segment_set_newsegment),
20411         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20412         (gst_segment_clip):
20413         * gst/gstsegment.h:
20414         Make binding friendly.
20415
20416 2005-11-21  Andy Wingo  <wingo@pobox.com>
20417
20418         * gst/gsttagsetter.h: 
20419         * gst/gsttaglist.h: 
20420         * gst/gststructure.h: 
20421         * gst/gstcaps.h: 
20422         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20423         #319940.
20424
20425         * gst/gsterror.c (_gst_core_errors_init):
20426         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20427         category.
20428
20429         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20430         (noinst_HEADERS): noinst the -private.
20431
20432 2005-11-21  Michael Smith <msmith@fluendo.com>
20433
20434         * gst/gstplugin.h:
20435         * gst/gstregistry.h:
20436           Remove unimplemented declarations for which we can see no sensible
20437           use.
20438
20439 2005-11-21  Andy Wingo  <wingo@pobox.com>
20440
20441         * gst/gst.h: Include glib-compat.h.
20442
20443         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20444
20445         * gst/glib-compat.c: Include the public and the private header.
20446
20447         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20448
20449         * gst/gstvalue.c: 
20450         * gst/gstpad.c: 
20451         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20452
20453         * check/gst/gstevent.c (create_custom_events): Check that
20454         FLUSH_STOP is serialized.
20455
20456         * check/elements/identity.c (event_func): 
20457         * check/elements/fakesrc.c (event_func): No stream lock, the core
20458         takes it.
20459
20460         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20461         stream lock taking, yay.
20462
20463         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20464         ensure that core takes the stream lock.
20465
20466         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20467         lock name change.
20468
20469         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20470         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20471         it already. For the flush start we do take it though so we get the
20472         right preroll state change messages.
20473
20474         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20475         the stream lock here, the core does it for us.
20476
20477         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20478         GST_STREAM_GET_LOCK.
20479         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20480         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20481         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20482         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20483         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20484         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20485
20486         * gst/gstpad.c: Update for stream lock name change.
20487
20488         * gst/base/gstbasesink.c: Update for preroll lock name change.
20489
20490 2005-11-21  Wim Taymans  <wim@fluendo.com>
20491
20492         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20493         (gst_clock_get_master):
20494         * gst/gstclock.h:
20495         * gst/gstsystemclock.c: (gst_system_clock_init):
20496         Convert Clock flags to object flags.
20497         Added methods to manage master/slave clocks.
20498
20499 2005-11-21  Wim Taymans  <wim@fluendo.com>
20500
20501         * check/gst/gstsegment.c: (GST_START_TEST):
20502         * docs/design/part-TODO.txt:
20503         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20504         (gst_base_sink_event), (gst_base_sink_do_sync),
20505         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20506         (gst_base_sink_query), (gst_base_sink_change_state):
20507         * gst/base/gstbasesink.h:
20508         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20509         (gst_base_src_default_newsegment),
20510         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20511         (gst_base_src_get_range), (gst_base_src_loop),
20512         (gst_base_src_change_state):
20513         * gst/base/gstbasesrc.h:
20514         * gst/base/gstbasetransform.c:
20515         (gst_base_transform_prepare_output_buf),
20516         (gst_base_transform_event), (gst_base_transform_change_state):
20517         * gst/base/gstbasetransform.h:
20518         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20519         (gst_collect_pads_event):
20520         * gst/base/gstcollectpads.h:
20521         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20522         (gst_fake_src_create):
20523         * gst/elements/gstfakesrc.h:
20524         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20525         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20526         (gst_segment_set_last_stop), (gst_segment_set_seek),
20527         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20528         (gst_segment_to_running_time), (gst_segment_clip):
20529         * gst/gstsegment.h:
20530         More segment updates, replace code in plugins with segment
20531         helper functions.
20532
20533 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20534
20535         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20536         Don't ignore sscanf results
20537
20538 2005-11-21  Andy Wingo  <wingo@pobox.com>
20539
20540         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20541
20542         * *.h:
20543         * *.c: Ran scripts/update-macros. Oh yes.
20544
20545         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20546         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20547         GST_GET_LOCK, etc.
20548
20549         * scripts/update-macros: New script. Run it on your files to
20550         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20551         well.
20552
20553 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20554
20555         * docs/gst/Makefile.am:
20556         * docs/gst/gstreamer-docs.sgml:
20557         * docs/gst/gstreamer-sections.txt:
20558         * docs/gst/gstreamer.types:
20559         * gst/gstinfo.h:
20560           more docs fixes, add new api to the docs
20561
20562 2005-11-21  Andy Wingo  <wingo@pobox.com>
20563
20564         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20565         state_broadcast call.
20566
20567         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20568
20569 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20570
20571         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20572         function calls for arrays.
20573
20574 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20575
20576         * docs/random/ensonic/media-device-daemon.txt:
20577           wild idea, can this be done?
20578         * docs/gst/gstreamer-sections.txt:
20579         * gst/gsterror.h:
20580         * gst/gstfilter.c:
20581         * gst/gstfilter.h:
20582         * gst/gstplugin.h:
20583         * gst/gstpluginfeature.c:
20584         * gst/gsttrace.c:
20585         * gst/gstvalue.c:
20586         * gst/gstvalue.h:
20587           doc fixes and additions
20588
20589 2005-11-21  Andy Wingo  <wingo@pobox.com>
20590
20591         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20592         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20593         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20594         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20595         private to the basesrc implementation.
20596
20597         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20598         behalf of event function if necessary. It should no longer be
20599         necessary to take the stream lock in pad's event functions. Fixes
20600         #320299.
20601
20602 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20603         * docs/gst/gstreamer-sections.txt:
20604         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20605         (gst_structure_fixate_field_nearest_double),
20606         (gst_structure_fixate_field_boolean):
20607         * gst/gststructure.h:
20608         * win32/common/libgstreamer.def:
20609         * win32/gstreamer.def:
20610
20611         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20612         (#322027)
20613
20614 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20615
20616         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20617         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20618         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20619         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20620         (gst_fdsrc_uri_handler_init):
20621         * gst/elements/gstfdsrc.h:
20622           Port fd:// URI handler from 0.8 to fdsrc
20623
20624 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20625
20626         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20627         (gst_value_serialize_fourcc):
20628         * gst/gstvalue.h:
20629           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20630           consistent with our other format defines (#320324).
20631
20632 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20633
20634         * gst/gstvalue.c: (gst_value_is_fixed):
20635           Revert previous commit. Value lists are by definition
20636           not fixed, as they are a list of possible values.
20637
20638 2005-11-21  Andy Wingo  <wingo@pobox.com>
20639
20640         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20641         during the stable series if we need it. Fixes #319178.
20642
20643         * gst/gstevent.c (gst_event_new_filler): Removed.
20644
20645         * check/gst/gstevent.c: Update comment about filler events.
20646
20647 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20648
20649         * gst/gstvalue.c: (gst_value_is_fixed):
20650           Should handle both value arrays and value lists.
20651
20652 2005-11-21  Andy Wingo  <wingo@pobox.com>
20653
20654         patch by: Alessandro Dessina <alessandro nnva org>
20655
20656         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20657         functions to access arrays. Fixes #321962.
20658
20659 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20660
20661         * docs/gst/gstreamer.types:
20662           gst_collectpads_get_type => gst_collect_pads_get_type.
20663           
20664         * gst/base/gstbasetransform.c:
20665           Remove unused SIGNAL_HANDOFF enum.
20666
20667 2005-11-21  Andy Wingo  <wingo@pobox.com>
20668
20669         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20670         the event type (upstream, downstream, serialized). Renamed
20671         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20672         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20673         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20674
20675         * gst/gstevent.c: Update for new CUSTOM event names.
20676
20677         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20678
20679         * gst/gstevent.h:
20680         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20681         bug #319392.
20682
20683 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20684
20685         * docs/gst/gstreamer-sections.txt:
20686         * win32/common/libgstbase.def:
20687         * win32/libgstbase.def:
20688         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20689         (gst_collect_pads_class_init), (gst_collect_pads_init),
20690         (gst_collect_pads_finalize), (gst_collect_pads_new),
20691         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20692         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20693         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20694         (gst_collect_pads_start), (gst_collect_pads_stop),
20695         (gst_collect_pads_peek), (gst_collect_pads_pop),
20696         (gst_collect_pads_available), (gst_collect_pads_read),
20697         (gst_collect_pads_flush), (gst_collect_pads_event),
20698         (gst_collect_pads_chain):
20699         * gst/base/gstcollectpads.h:
20700           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20701           unimplemented functions as unimplemented. Add padding to
20702           GstCollectData. (#320766, #320423)
20703
20704 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20705
20706         * gst/gstmessage.c:
20707           Improve docs for DURATION message (usage of duration parameter)
20708           (#320113)
20709
20710 2005-11-20  Wim Taymans  <wim@fluendo.com>
20711
20712         * check/Makefile.am:
20713         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20714         (main):
20715         * gst/Makefile.am:
20716         * gst/gst.h:
20717         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20718         (gst_segment_set_seek), (gst_segment_set_newsegment),
20719         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20720         (gst_segment_clip):
20721         * gst/gstsegment.h:
20722         Added segment helper structure and methods. Not fully implemented
20723         yet.
20724         Added segment check.
20725
20726 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20727
20728         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20729           Add a deserialisation test for fractions
20730         * examples/metadata/read-metadata.c: (message_loop),
20731         (make_pipeline), (main):
20732           Fix up metadata reading sample.
20733         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20734           Debug format fix
20735         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20736           Don't try and fixate empty caps
20737         * gst/gst_private.h:
20738           Wrap in G_BEGIN_DECLS/G_END_DECLS
20739         * gst/gstvalue.c: (gst_value_collect_fraction),
20740         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20741         (gst_value_transform_string_fraction),
20742         (gst_value_compare_fraction):
20743           Add some extra guards to ensure that we don't end up 
20744           with an invalid denominator of 0 in a gstfraction and
20745           that fractions always get reduced.
20746
20747 2005-11-20  Wim Taymans  <wim@fluendo.com>
20748
20749         * docs/gst/gstreamer-sections.txt:
20750         * gst/gstbuffer.h:
20751         * gst/gstelement.c:
20752         * gst/gstformat.c:
20753         * gst/gstformat.h:
20754         * gst/gstindex.h:
20755         * gst/gstquery.c:
20756         * gst/gstquery.h:
20757         * gst/gstvalue.c:
20758         Doc fixes.
20759
20760 2005-11-20  Wim Taymans  <wim@fluendo.com>
20761
20762         * docs/design/part-TODO.txt:
20763         * gst/gstcaps.h:
20764         Make a proper enum of the flag.
20765
20766 2005-11-19  Wim Taymans  <wim@fluendo.com>
20767
20768         * docs/design/part-TODO.txt:
20769         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20770         (gst_format_to_quark), (gst_format_register):
20771         * gst/gstformat.h:
20772         * gst/gstquery.c: (_gst_query_initialize),
20773         (gst_query_type_get_name), (gst_query_type_to_quark),
20774         (gst_query_type_register):
20775         * gst/gstquery.h:
20776         Add type to quark and type to string conversions.
20777
20778 2005-11-19  Andy Wingo  <wingo@pobox.com>
20779
20780         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20781         #320097.
20782
20783 2005-11-19  Wim Taymans  <wim@fluendo.com>
20784
20785         * docs/design/part-TODO.txt:
20786         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20787         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20788         (gst_bin_handle_message_func):
20789         * gst/gstbin.h:
20790         Make message handling overridable.
20791
20792 2005-11-19  Andy Wingo  <wingo@pobox.com>
20793
20794         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20795
20796         * gst/gstclock.h:
20797         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20798         be a GstClockTime.
20799         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20800         is a GstClockTime. Fixes #321710.
20801
20802         * gst/gstclock.h (GstClock): Remove offset property. Add
20803         internal_calibration and external_calibration. Fix padding. Pad
20804         also by GstClockTime so we don't run into problems.
20805
20806         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20807         (gst_clock_get_rate_offset): Remove.
20808         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20809
20810         * gst/gstutils.h:
20811         * gst/gstutils.c (g_static_rec_cond_wait)
20812         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20813
20814         * gst/gstbin.c: Remove terrible continue_state prototype.
20815
20816         * gst/gstelement.h (gst_element_continue_state): Make public.
20817
20818         * gst/gstelement.h:
20819         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20820         by continue_state. Fixes #319389.
20821
20822         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20823         Really fixes #168438. However I don't see anywhere where the
20824         filter function is called... stupid GStreamer...
20825         
20826         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20827         don't have a dispose function, so it won't get called when the
20828         object is unreffed, but oh well!
20829
20830         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20831         allows a destroy function to be set so user_data can be freed.
20832         Fixes #168438.
20833         (gst_index_set_filter): Call gst_index_set_filter_full.
20834
20835         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20836
20837         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20838         string should produce an error, given the lack of a way to
20839         represent NULL strings. Fixes #165650.
20840         
20841         * gst/gstvalue.h: 
20842         * gst/gstvalue.c (gst_value_array_append_value) 
20843         (gst_value_array_prepend_value, gst_value_array_get_size) 
20844         (gst_value_array_get_value): New API, copied from
20845         gst_value_list_*, only operates on arrays.
20846         (gst_value_list_append_value, gst_value_list_prepend_value) 
20847         (gst_value_list_concat, gst_value_list_get_size) 
20848         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20849
20850         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20851         init_list, because it works on both.
20852         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20853         (gst_value_copy_list_or_array): Renamed from copy_list.
20854         (gst_value_free_list_or_array): Renamed from free_list.
20855         (gst_value_collect_list_or_array): Renamed from collect_list.
20856         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20857         (gst_value_list_or_array_peek_pointer): Renamed from
20858         list_peek_pointer.
20859         (_gst_value_array_value_table, _gst_value_list_value_table):
20860         Update value table functions.
20861         (gst_value_compare_list_or_array): Renamed from compare_list.
20862
20863         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20864         some constness.
20865
20866         * gst/gsttaglist.c:
20867         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20868         GstTagList*. Fixes #143472.
20869
20870         * gst/gststructure.h: Clarify what the foreach/map functions can
20871         or can't do to their arguments.
20872
20873 2005-11-18  Wim Taymans  <wim@fluendo.com>
20874
20875         * gst/gstclock.c: (gst_clock_set_calibration),
20876         (gst_clock_get_calibration):
20877         Doc and API fixes.
20878         Calibration can be set with internal time equal to current
20879         internal time too.
20880
20881 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20882
20883         * gst/gsterror.c:
20884         * gst/gsterror.h:
20885           document
20886
20887 2005-11-18  Andy Wingo  <wingo@pobox.com>
20888
20889         * configure.ac: 
20890         * pkgconfig/gstreamer-net.pc.in:
20891         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20892         * pkgconfig/Makefile.am: Add net pkgconfig files.
20893
20894 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20895
20896         * gst/gstcaps.c:
20897         * gst/gstghostpad.c:
20898         * gst/gsttrace.c:
20899         * gst/gstvalue.c:
20900         * gst/gstvalue.h:
20901           docs fixes
20902
20903 2005-11-18  Andy Wingo  <wingo@pobox.com>
20904
20905         * gst/net/gstnetclientclock.c: Turn off debugging.
20906
20907         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20908         times connverge somewhat. Can't make a real test.
20909
20910         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20911         integer arithmetic. Return the minimum of the domain, which can be
20912         set as "internal" for gst_clock_set_calibration.
20913         (gst_net_client_clock_observe_times): Call _set_calibration.
20914         (gst_net_client_clock_new): Call _set_calibration instead of
20915         rate_offset.
20916
20917         * check/net/gstnetclientclock.c (test_functioning): Use the right
20918         adjustment api.
20919
20920         * gst/gstclock.h:
20921         * gst/gstclock.c (gst_clock_get_calibration) 
20922         (gst_clock_set_calibration): New functions, obsolete the ones I
20923         added yesterday. Doh. Precision issues mean we have to extrapolate
20924         from a point in the more recent past than 1970.
20925         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20926         obsolete.
20927         (gst_clock_adjust_unlocked): Use the right calibration data.
20928
20929 2005-11-18  Edward Hervey  <edward@fluendo.com>
20930
20931         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
20932         Also reset the ->current_* values in READY->PAUSED
20933
20934 2005-11-18  Andy Wingo  <wingo@pobox.com>
20935
20936         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20937         Whoops, check the right fd. Also add some debugging.
20938         (gst_net_client_clock_observe_times): Adjust for int64 offset.
20939         (do_linear_regression): Add a crapload of debugging. Subtract off
20940         the minimum values from the input series to discard unneeded bits.
20941         Use only int arithmetic. There is still double arithmetic when
20942         calculating the intercept that needs fixing. Return boolean to
20943         indicate success; FALSE would mean the domain or range is too
20944         great. Still needs fixes.
20945
20946 2005-11-18  Wim Taymans  <wim@fluendo.com>
20947
20948         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20949         For the current position in stream time, we need to subtract
20950         accumulated time.
20951         
20952         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20953         Release lock before calling the callback function of async
20954         entries.
20955
20956 2005-11-18  Andy Wingo  <wingo@pobox.com>
20957
20958         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20959         Port goes all the way to MAXUINT16.
20960
20961         * gst/net/gstnettimeprovider.c: Make the port range the same as
20962         for the kernel: 0 assigns, otherwise ports are less than
20963         MAXUINT16.
20964
20965         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20966         port change.
20967
20968         * check/net/gstnetclientclock.c (test_functioning): Add the start
20969         of another test. 
20970
20971 2005-11-18  Wim Taymans  <wim@fluendo.com>
20972
20973         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20974         (gst_bin_remove_func), (bin_bus_handler):
20975         * gst/gstbin.h:
20976         Removing a clock provider from a bin, triggers a clock lost message
20977         so that a new clock will be selected.
20978         Adding a clock to a bin triggers a clock provider message.
20979         Make sure we reselect a clock when we received a clock lost message.
20980         Keep a reference to the element that provided the clock.
20981
20982 2005-11-18  Andy Wingo  <wingo@pobox.com>
20983
20984         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20985         the clock initially so it produces values around the base time.
20986         (gst_net_client_clock_class_init): Typo fix.
20987         (gst_net_client_clock_thread): Add note on when the socket gets
20988         closed.
20989
20990 2005-11-17  Wim Taymans  <wim@fluendo.com>
20991
20992         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20993         Free remote and local time arrays.
20994
20995 2005-11-17  Wim Taymans  <wim@fluendo.com>
20996
20997         * gst/net/gstnetclientclock.c: (do_linear_regression),
20998         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20999         Fix compilation, uninitialized vars and a forgotten continue.
21000
21001 2005-11-17  Andy Wingo  <wingo@pobox.com>
21002
21003         * check/Makefile.am (check_PROGRAMS): 
21004         * check/net/gstnetclientclock.c: Add a most minimal test for the
21005         net client clock. More to come later.
21006
21007         * gst/net/gstnet.h: 
21008         * gst/net/Makefile.am: Add netclientclock.
21009
21010         * gst/net/gstnetclientclock.h:
21011         * gst/net/gstnetclientclock.c: New files, implement an untested
21012         GstClock that takes its time from a network time provider.
21013         Implements the algorithm in network-clock.scm.
21014
21015         * tests/network-clock.scm (*window-size*): Rename from
21016         *queue-length*.
21017         * tests/network-clock.scm (network-time): 
21018         * tests/network-clock-utils.scm (q-push): Update callers.
21019
21020 2005-11-17  Wim Taymans  <wim@fluendo.com>
21021
21022         * gst/gstbin.c: (gst_bin_provide_clock_func),
21023         (gst_bin_sort_iterator_new):
21024         And unref the child too..
21025
21026 2005-11-17  Wim Taymans  <wim@fluendo.com>
21027
21028         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21029         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21030         Refactor the sort iterator so it can be used while holding the
21031         LOCK too.
21032         Make clock selection select a clock closest to the source.
21033
21034 2005-11-17  Michael Smith <msmith@fluendo.com>
21035
21036         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21037         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21038         * gst/gstclock.h:
21039           Anonymous structs are a gcc (and some other compilers) extension, so
21040           don't use them. Since this is only for ABI-compatibility, and our
21041           API/ABI freeze is over in a few days, this whole thing will only
21042           last a few days, so don't bother trying to think up a meaningful
21043           name for the struct.
21044
21045 2005-11-17  Andy Wingo  <wingo@pobox.com>
21046
21047         * gst/gstclock.h (GstClock): Add rate and offset properties,
21048         preserving ABI stability. Add rate/offset accessors. Will file bug
21049         for the freeze break.
21050
21051         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21052         and offset, trying to keep precision and avoiding
21053         underflow/overflow.
21054         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21055         functions. Make gst_clock_set_time_adjust obsolete.
21056         (gst_clock_set_time_adjust): Note that this function is obsolete.
21057         Will file bug soon.
21058
21059         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21060         greppable by using GST_PADDING-1+1.
21061
21062 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21063
21064         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21065
21066         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21067           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21068
21069         * gst/gstpadtemplate.h:
21070         * gst/gstpluginfeature.h:
21071           Don't use c++ style comments in headers (#321638).
21072
21073 2005-11-16  Andy Wingo  <wingo@pobox.com>
21074
21075         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21076         buffer.
21077
21078         * check/net/gstnettimeprovider.c: Check to see that the time
21079         provider actually provides times. Works, yo!
21080
21081 2005-11-16  Wim Taymans  <wim@fluendo.com>
21082
21083         * check/Makefile.am:
21084         Enable more tests.
21085
21086         * check/elements/fakesrc.c: (GST_START_TEST):
21087         Set element to NULL before disposing it.
21088
21089 2005-11-16  Andy Wingo  <wingo@pobox.com>
21090
21091         * gst/net/Makefile.am:
21092         * gst/net/gstnet.h:
21093         * gst/net/gstnettimeprovider.c: 
21094         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21095         provider, include it from gstnet.h, and add it to the build.
21096
21097         * gst/net/gstnettimepacket.h: 
21098         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21099         sending and receiving.
21100
21101 2005-11-16  Wim Taymans  <wim@fluendo.com>
21102
21103         * check/Makefile.am:
21104         Enable valgrind check.
21105
21106         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21107         (gst_fake_src_alloc_buffer):
21108         Fix memleak.
21109
21110 2005-11-16  Wim Taymans  <wim@fluendo.com>
21111
21112         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21113         Call parent finalize too.
21114
21115 2005-11-16  Wim Taymans  <wim@fluendo.com>
21116
21117         * check/Makefile.am:
21118         Enable valgrind check that should work fine now.
21119
21120         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21121         * gst/gstqueue.c: (gst_queue_init):
21122         Fix memleaks in pad allocation.
21123
21124 2005-11-16  Andy Wingo  <wingo@pobox.com>
21125
21126         * gst/net/Makefile.am:
21127         * gst/net/gstnet.h: New part of core to hold network elements and
21128         objects. Put in core because it exposes API that applications want
21129         to use. The library is named libgstnet-tempname right now because
21130         of the existing libgstnet in gst-plugins-base. Solution is
21131         probably to rename the one in plugins-base; will file a bug for
21132         the freeze break.
21133
21134         * gst/net/gstnettimeprovider.c: 
21135         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21136         get_time call over the network.
21137
21138         * configure.ac: 
21139         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21140
21141         * check/Makefile.am:
21142         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21143         get additions shortly.
21144
21145 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21146
21147         * gst/gstpad.c: (gst_pad_new_from_static_template):
21148         * gst/gstpad.h:
21149           add gst_pad_new_from_static_template functions
21150         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21151         (gst_check_setup_sink_pad):
21152         * gst/elements/gsttee.c: (gst_tee_init):
21153           and use them
21154
21155 2005-11-16  Wim Taymans  <wim@fluendo.com>
21156
21157         * gst/gstpad.c: (gst_pad_pause_task):
21158         Removed warning, it's not really an error either.
21159
21160 2005-11-16  Wim Taymans  <wim@fluendo.com>
21161
21162         * gst/base/gstbasetransform.c:
21163         (gst_base_transform_prepare_output_buf),
21164         (gst_base_transform_event):
21165         Check if the caps are NULL, this can happen if the element
21166         is shutting down and the pad caps are set to NULL.
21167
21168 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21169
21170         * gst/elements/gsttee.c: (gst_tee_init):
21171           fix pad template leak in tee
21172
21173 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21174
21175         * gst/glib-compat.c: (g_value_dup_gst_object):
21176         * gst/glib-compat.h:
21177         * gst/gstpad.c: (gst_pad_set_property):
21178           use gst_object_ref when setting the pad template; this will
21179           trigger the pad template leaks on GLib 2.6 and the slaves
21180
21181 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21182
21183         * gst/glib-compat.c: (gst_flags_get_first_value):
21184         * gst/glib-compat.h:
21185         * gst/gstregistryxml.c:
21186           remove functions copied from GLib 2.6
21187
21188 2005-11-16  Michael Smith <msmith@fluendo.com>
21189
21190         * gst/Makefile.am:
21191           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21192           do, but only breaks with newer valgrind versions. We're not a
21193           valgrind tool, we have no link-time dependencies on libcoregrind.
21194
21195 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21196
21197         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21198           some debug changes
21199         * gst/gstmessage.h:
21200           typo fixes
21201
21202 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21203
21204         * gst/base/gstbasesrc.c: (gst_base_src_init):
21205         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21206         * gst/gstqueue.c: (gst_queue_init):
21207         * gst/gstregistryxml.c: (load_feature):
21208           Revert all these unrefs, they don't even pass make check !
21209
21210 2005-11-15  Johan Dahlin  <johan@gnome.org>
21211
21212         * gst/base/gstbasesrc.c: (gst_base_src_init):
21213         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21214         * gst/gstqueue.c: (gst_queue_init): 
21215         Free pad templates, fixes a couple of leaks.
21216
21217 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21218
21219         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21220
21221         * gst/gstpad.c: (gst_pad_get_property):
21222           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21223           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21224           (#321452)
21225
21226 2005-11-15  Wim Taymans  <wim@fluendo.com>
21227
21228         * gst/gstevent.c:
21229         Small doc update.
21230
21231 2005-11-15  Andy Wingo  <wingo@pobox.com>
21232
21233         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21234
21235         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21236         using GST_CLOCK_TIME_NONE to disable base time management.
21237         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21238         time if it was NONE before.
21239         (gst_pipeline_change_state): Only munge the base time if
21240         stream_time != GST_CLOCK_TIME_NONE.
21241
21242         * check/gst/gstpipeline.c (test_base_time): Punt around the
21243         problem of the probe not being called, because that's not the
21244         issue I'm looking at. Add a check that setting stream_time to NONE
21245         disables base time management.
21246         
21247 2005-11-15  Wim Taymans  <wim@fluendo.com>
21248
21249         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21250         segment_stop == -1 at startup.
21251
21252         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21253         (gst_base_transform_change_state):
21254         Init segment values at start.
21255
21256 2005-11-15  Wim Taymans  <wim@fluendo.com>
21257
21258         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21259         0 segment values are 0 in any format.
21260
21261         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21262         * gst/base/gstbasetransform.h:
21263         Parse newsegment correctly in basetransform
21264
21265         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21266         Sync to clock using updated segment values.
21267
21268 2005-11-15  Andy Wingo  <wingo@pobox.com>
21269
21270         * check/gst/gstpipeline.c (test_base_time): Add check that the
21271         base time and stream time are reset correctly.
21272
21273 2005-11-15  Wim Taymans  <wim@fluendo.com>
21274
21275         * docs/design/part-TODO.txt:
21276         Some more TODO items.
21277
21278 2005-11-15  Andy Wingo  <wingo@pobox.com>
21279
21280         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21281         error if the user selected "no clock" as the clocking method.
21282
21283         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21284         timestamps with live capture.
21285
21286         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21287         is 0 but we are a live source, timestamp the buffers using the
21288         element's clock.
21289
21290 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21291
21292         * docs/gst/gstreamer-sections.txt:
21293         * gst/gsterror.c:
21294         * gst/gstghostpad.c:
21295         * gst/gstobject.h:
21296         * gst/gstxml.c:
21297           more section docs
21298
21299 2005-11-14  Wim Taymans  <wim@fluendo.com>
21300
21301         * common/gst.supp:
21302           add suppressions from Wim's Debian machine
21303
21304 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21305
21306         * common/gst.supp:
21307           add suppressions from Andy's AMD64 Ubuntu machine
21308
21309 2005-11-14  Andy Wingo  <wingo@pobox.com>
21310
21311         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21312         STATE_LOCK not necessary. Fixes #311489.
21313
21314         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21315         #305291.
21316
21317         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21318         this function is not implemented.
21319
21320 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21321
21322         * gst/base/gstbasetransform.c:
21323         (gst_base_transform_prepare_output_buf):
21324         Ref the source pad caps while we need them.
21325         Fixes (#321386)
21326
21327 2005-11-11  Wim Taymans  <wim@fluendo.com>
21328
21329         * docs/gst/gstreamer-sections.txt:
21330         Added some docs for GstCollectData.
21331
21332         * gst/base/gstadapter.c:
21333         Some small code example fix.
21334
21335         * gst/base/gstcollectpads.c:
21336         * gst/base/gstcollectpads.h:
21337         Document some more.
21338
21339 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21340
21341         * configure.ac: back to HEAD
21342
21343 === release 0.9.5 ===
21344
21345 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21346
21347         * configure.ac:
21348           releasing 0.9.5, "Bike Lunch Day"
21349
21350 2005-11-11  Wim Taymans  <wim@fluendo.com>
21351
21352         * gst/gstbuffer.c: (_gst_buffer_copy):
21353         Copy more flags.
21354
21355         * gst/gstcaps.c: (gst_caps_is_equal):
21356         Fix some docs.
21357         Make _is_equal fast in the trivial cases.
21358
21359         * gst/gstminiobject.c:
21360         * gst/gstminiobject.h:
21361         More docs. Spifify .h file.
21362
21363         * gst/gstutils.c:
21364         Small doc update.
21365
21366 2005-11-11  Wim Taymans  <wim@fluendo.com>
21367
21368         * gst/base/gstbasetransform.c:
21369         (gst_base_transform_prepare_output_buf),
21370         (gst_base_transform_handle_buffer):
21371         Small cleanups.
21372         If we're processing a buffer and need to allocate an output
21373         buffer, we cannot accept a format change. If we did get a 
21374         format change, we have to alloc a buffer ourselves of the 
21375         right size.
21376
21377 2005-11-11  Wim Taymans  <wim@fluendo.com>
21378
21379         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21380         While checking the flag for reentrancy in the gstcaps function
21381         is nice to detect recursive invocations, it also makes it 
21382         impossible to call getcaps from multiple threads, which must be
21383         possible. So, checking for recursive calls has to go.
21384
21385 2005-11-11  Michael Smith <msmith@fluendo.com>
21386
21387         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21388           Don't sync on buffers that fall partially outside our current
21389           segment. Prevents an assertion failure/abort playing some files.
21390
21391 2005-11-10  Andy Wingo  <wingo@pobox.com>
21392
21393         * check/gst/gstbin.c (test_message_state_changed_children): Style
21394         fix..
21395
21396         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21397         gst_bus_poll with the signal watch. Ensures that poll and a signal
21398         watch see the same messages.
21399
21400         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21401         a poll and a watch at the same time get the same messages.
21402
21403 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21404
21405         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21406         * gst/gstcaps.c: (gst_caps_intersect):
21407           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21408           and it's not needed.
21409
21410 2005-11-10  Wim Taymans  <wim@fluendo.com>
21411
21412         * docs/design/part-TODO.txt:
21413         Updated todo.
21414
21415 2005-11-10  Wim Taymans  <wim@fluendo.com>
21416
21417         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21418         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21419         (gst_base_src_do_sync), (gst_base_src_get_range):
21420         Implement clock sync in base class.
21421
21422 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21423
21424         patch by: Tim-Philipp Müller <tim at centricular dot net>
21425
21426         * gst/gststructure.c: (gst_structure_parse_field),
21427         (gst_structure_from_string):
21428           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21429           so that gst_parse_launch() can deal with spaces in filtered link
21430           caps (fixes #164479)
21431         * check/gst/capslist.h:
21432         * check/gst/gststructure.c: (GST_START_TEST):
21433           add unit tests for this change
21434
21435 2005-11-10  Wim Taymans  <wim@fluendo.com>
21436
21437         * docs/gst/gstreamer-sections.txt:
21438         * gst/gstelement.c:
21439         * gst/gstelement.h:
21440         Fix docs, move some STATE macros to private.
21441
21442 2005-11-10  Wim Taymans  <wim@fluendo.com>
21443
21444         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21445         Added check for bug #317341
21446
21447         * gst/gstbuffer.c:
21448         * gst/gstbuffer.h:
21449         Some more spiffifying.
21450
21451         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21452         Call peer linkfunction if we are a source pad. Totally fixes
21453         #317341
21454
21455         * gst/gstpad.c:
21456         Update docs, source pads should call the peer linkfunction
21457         so they can atomically perform the pad link.
21458
21459 2005-11-09  Wim Taymans  <wim@fluendo.com>
21460
21461         * gst/gstbuffer.c:
21462         * gst/gstbuffer.h:
21463         Uber-spiffy-spiffify some more.
21464
21465 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21466
21467         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21468         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21469         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21470         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21471         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21472         * gst/gstpad.c: (gst_pad_init):
21473           Use GST_DEBUG_FUNCPTR() more extensively.
21474
21475 2005-11-09  Wim Taymans  <wim@fluendo.com>
21476
21477         * gst/gstobject.c: (gst_object_class_init):
21478         * gst/gstobject.h:
21479         Documentation fixes.
21480
21481 2005-11-09  Edward Hervey  <edward@fluendo.com>
21482
21483         * gst/gsttypefindfactory.c:
21484         Fix docs.
21485         
21486 2005-11-09  Edward Hervey  <edward@fluendo.com>
21487
21488         * gst/base/gsttypefindhelper.c:
21489         * gst/gsttypefind.c:
21490         * gst/gsttypefind.h:
21491         Fix docs.
21492
21493 2005-11-09  Wim Taymans  <wim@fluendo.com>
21494
21495         * gst/gstiterator.c:
21496         Fix revision data.
21497
21498         * gst/gsttask.c:
21499         * gst/gsttask.h:
21500         Fix docs.
21501
21502 2005-11-09  Wim Taymans  <wim@fluendo.com>
21503
21504         * gst/gstevent.h:
21505         * gst/gsturi.h:
21506         Fix docs.
21507
21508 2005-11-09  Wim Taymans  <wim@fluendo.com>
21509
21510         * docs/gst/gstreamer-sections.txt:
21511         Moved the message async delivery private lock and cond
21512         to the private section.
21513
21514         * gst/gstmessage.c:
21515         * gst/gstmessage.h:
21516         Fixed docs.
21517
21518 2005-11-09  Edward Hervey  <edward@fluendo.com>
21519
21520         * docs/gst/gstreamer-sections.txt:
21521         * gst/gsturi.c:
21522         * gst/gsturi.h:
21523         Document GstURIHandler
21524
21525 2005-11-09  Wim Taymans  <wim@fluendo.com>
21526
21527         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21528         (gst_iterator_find_custom):
21529         * gst/gstiterator.h:
21530         Fix iterator docs.
21531
21532 2005-11-09  Wim Taymans  <wim@fluendo.com>
21533
21534         * gst/gstbin.h:
21535         Document another field.
21536
21537         * gst/gststructure.c:
21538         * gst/gststructure.h:
21539         Document.
21540
21541 2005-11-09  Wim Taymans  <wim@fluendo.com>
21542
21543         * gst/gstbin.h:
21544         Documented structs.
21545
21546 2005-11-09  Wim Taymans  <wim@fluendo.com>
21547
21548         * docs/gst/gstreamer-sections.txt:
21549         Added some new macros.
21550
21551         * gst/gstclock.c:
21552         * gst/gstclock.h:
21553         * gst/gstobject.h:
21554         Docs updates.
21555
21556 2005-11-09  Wim Taymans  <wim@fluendo.com>
21557
21558         * docs/design/part-TODO.txt:
21559         Some more items for the TODO
21560
21561         * gst/gstcaps.c:
21562         * gst/gstcaps.h:
21563         Document GstCaps.
21564
21565 2005-11-09  Andy Wingo  <wingo@pobox.com>
21566
21567         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21568         to work on something else now tho...
21569
21570         * gst/base/gstadapter.c: More adapter docs.
21571
21572         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21573         (gst_file_sink_stop): New functions, replace the state change
21574         handler.
21575         (gst_file_sink_class_init): Hook up the start and stop functions.
21576         (gst_file_sink_base_init): Don't set the state change handler any
21577         more. It was a bit ugly too, being set from here...
21578         (gst_file_sink_get_property, gst_file_sink_set_property):
21579         Cleanups...
21580         (gst_file_sink_set_location): More robust check that doesn't call
21581         GST_STATE. Ugggggg.
21582
21583 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21584
21585         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21586           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21587
21588 2005-11-08  Wim Taymans  <wim@fluendo.com>
21589
21590         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21591         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21592         (gst_base_sink_chain), (gst_base_sink_change_state):
21593         * gst/base/gstbasesink.h:
21594         * gst/base/gstbasesrc.h:
21595         * gst/gstelement.h:
21596         * gst/gstevent.h:
21597         Avoid excessive typechecking in macros.
21598
21599         * gst/gstminiobject.c: (gst_mini_object_get_type),
21600         (gst_mini_object_init), (gst_mini_object_new),
21601         (gst_mini_object_free):
21602         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21603         (gst_object_finalize):
21604         Remove cruft code, optimize alloc_trace.
21605
21606 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21607
21608         * docs/faq/gst-uninstalled:
21609           fix up PS1 for systems that try to reset it
21610
21611 2005-11-07  Wim Taymans  <wim@fluendo.com>
21612
21613         * gst/base/gstbasesrc.c: (gst_base_src_init),
21614         (gst_base_src_get_range):
21615         Set the segment_end to -1 initially. Fixed typefind.
21616
21617 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21618
21619         * gst/base/gstadapter.c:
21620           Debug category should be 'adapter', not 'GstAdapter'.
21621           
21622         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21623         (gst_collectpads_class_init), (gst_collectpads_init),
21624         (gst_collectpads_peek), (gst_collectpads_pop),
21625         (gst_collectpads_event), (gst_collectpads_chain):
21626           Add debug category and some debugging output. Use boilerplate
21627           macros. Remove some extraneous words from docs.
21628
21629 2005-11-05  Andy Wingo  <wingo@pobox.com>
21630
21631         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21632         macro.
21633
21634 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21635
21636         * docs/gst/gstreamer-sections.txt:
21637         * gst/gstcaps.h:
21638         * gst/gstinfo.c:
21639         * gst/gstminiobject.h:
21640         * gst/gstobject.h:
21641         * gst/gstutils.h:
21642           more docs added
21643
21644 2005-11-04  Wim Taymans  <wim@fluendo.com>
21645
21646         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21647         Small update to stop at the configured segment_end
21648         position.
21649
21650 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21651
21652         * gst/gstregistry.c:
21653         * gst/gstregistry.h:
21654           added missing docs
21655
21656 2005-11-04  Edward Hervey  <edward@fluendo.com>
21657
21658         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21659         Check if we are doing a segment seek and have arrived at the
21660         end of that segment.
21661
21662 2005-11-04  Wim Taymans  <wim@fluendo.com>
21663
21664         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21665         Don't leak a mutex unlock in case of an error.
21666
21667         * gst/gstbus.h:
21668         Doc fixes.
21669
21670 2005-11-04  Wim Taymans  <wim@fluendo.com>
21671
21672         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21673         (gst_bus_post):
21674         Get the context to wake up only once.
21675
21676 2005-11-03  Wim Taymans  <wim@fluendo.com>
21677
21678         * check/states/sinks.c: (GST_START_TEST):
21679         Uncomment fixed check.
21680
21681         * docs/design/part-TODO.txt:
21682         Updated TODO.
21683
21684         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21685         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21686         (gst_base_sink_get_position):
21687         If we are going to PLAYING, post the right pending state
21688         when we post the intermediate paused message.
21689
21690         * gst/gstelement.c: (gst_element_continue_state),
21691         (gst_element_set_state_func), (gst_element_change_state):
21692         Don't post state changes that were between the same state
21693         and were not ASYNC.
21694
21695 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21696
21697         * docs/gst/gstreamer-sections.txt:
21698         * gst/gstcaps.h:
21699         * gst/gstinfo.c:
21700         * gst/gstminiobject.h:
21701         * gst/gstobject.h:
21702         * gst/gstutils.h:
21703           more docs and doc style fixes
21704
21705 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21706
21707         * docs/gst/gstreamer-sections.txt:
21708         * gst/gstelement.c:
21709         * gst/gstminiobject.c:
21710         doc fixes
21711
21712 2005-11-03  Andy Wingo  <wingo@pobox.com>
21713
21714         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21715         state-changed messages actually have the right order and the right
21716         values.
21717
21718 2005-11-03  Wim Taymans  <wim@fluendo.com>
21719
21720         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21721         Added some more checks. Specifically the case where NO_PREROLL
21722         elements are in the pipeline.
21723
21724         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21725         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21726         (gst_base_sink_get_position):
21727         Post READY->PAUSED state change messages too.
21728         Fix bug where VOID was posted as pending state...
21729
21730         * gst/gstbin.c: (gst_bin_recalc_state):
21731         use _element_continue_state() to continue the state change.
21732
21733         * gst/gstelement.c: (gst_element_continue_state),
21734         (gst_element_commit_state), (gst_element_set_state_func),
21735         (gst_element_change_state), (gst_element_change_state_func):
21736         Lots of state change cleanups, assign the STATE_RETURN in
21737         a new continue_state() function that also propagates the
21738         last return value from a state change to the app.
21739         Update some debug statements with proper category.
21740
21741 2005-11-03  Wim Taymans  <wim@fluendo.com>
21742
21743         * docs/design/part-events.txt:
21744         * docs/design/part-gstpipeline.txt:
21745         * docs/design/part-messages.txt:
21746         * docs/design/part-overview.txt:
21747         * docs/design/part-seeking.txt:
21748         * docs/design/part-states.txt:
21749         * docs/design/part-trickmodes.txt:
21750         * docs/manual/advanced-position.xml:
21751         Small docs updates.
21752
21753         * gst/gstobject.h:
21754         People think !! is ugly, this looks better.
21755
21756         * gst/gstpad.c: (gst_pad_set_blocked_async):
21757         Remove !! since it's fixed elsewhere now.
21758
21759 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21760
21761         * gst/gstminiobject.h:
21762         * gst/gstobject.h:
21763           Add !! to _FLAG_IS_SET macros to make the result boolean.
21764
21765 2005-11-03  Edward Hervey  <edward@fluendo.com>
21766
21767         * gst/gstpad.c: (gst_pad_set_blocked_async):
21768         comparing a flag and a gboolean rarely returns coherent results...
21769         Added two characters (!!) to make that work correctly.
21770         
21771 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21772
21773         * gst/gstbus.c: (gst_bus_class_init):
21774           Fix some typos.
21775           
21776         * gst/gstqueue.c: (gst_queue_loop):
21777           Don't assume a miniobject that isn't a buffer is an
21778           event (it could be that there is a refcounting
21779           problem somewhere and the pointer is stale and
21780           refers to an already destroyed miniobject).
21781
21782 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21783
21784         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21785
21786 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21787
21788         * docs/manual/advanced-position.xml:
21789           Update seek example and explanations to current 0.9 API.
21790
21791         * gst/elements/gsttypefindelement.c:
21792         (gst_type_find_element_activate):
21793           Remove FIXME comment now that the found caps
21794           are unreffed.
21795
21796 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21797
21798         * gst/gstregistryxml.c: (load_feature):
21799           Add another GST_STR_NULL instance
21800
21801 2005-11-02  Edward Hervey  <edward@fluendo.com>
21802
21803         * gst/gstpad.c: (handle_pad_block):
21804         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21805         
21806 2005-11-02  Wim Taymans  <wim@fluendo.com>
21807
21808         * gst/gstbin.c:
21809         Fix typo in docs.
21810
21811         * gst/gstelement.c: (gst_element_commit_state):
21812         Remove unused value.
21813
21814         * gst/gstiterator.c:
21815         Mention that the returned element is reffed in the docs.
21816
21817 2005-11-02  Wim Taymans  <wim@fluendo.com>
21818
21819         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21820         (gst_pad_push), (gst_pad_push_event):
21821         Unlock blocked pads when they are flushed.
21822
21823 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21824
21825         * docs/README:
21826         * docs/gst/gstreamer-sections.txt:
21827         * gst/gstbin.c:
21828           doc updates
21829         * gst/gstregistry.c: (gst_registry_scan_path_level):
21830           fix for a nasty little missed situation where an installed plug-in
21831           which was in the cache did not get overridden by an uninstalled one
21832           which was earlier in the plugin path because the newly created plugin
21833           for the uninstalled one (not in the registry) didn't get its
21834           ->registered set to TRUE
21835
21836 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21837
21838         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21839         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21840         (gst_collectpads_is_active), (gst_collectpads_collect),
21841         (gst_collectpads_collect_range), (gst_collectpads_start),
21842         (gst_collectpads_stop), (gst_collectpads_peek),
21843         (gst_collectpads_pop), (gst_collectpads_available),
21844         (gst_collectpads_read), (gst_collectpads_flush):
21845           Guard public API with assertions.
21846         
21847         * gst/gstpad.c:
21848           Fix docs for gst_pad_set_link_function().
21849
21850 2005-11-02  Johan Dahlin  <johan@gnome.org>
21851
21852         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21853         Unref found_caps after we used it.
21854
21855 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21856
21857         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21858           Don't try to ref NULL.
21859
21860 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21861
21862         * win32/common/config.h.in:
21863           provide a GST_FUNCTION that just gives a string for now
21864
21865 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21866
21867         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21868         (gst_object_flags_get_type), (register_gst_bin_flags),
21869         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21870         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21871         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21872         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21873         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21874         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21875         (gst_clock_flags_get_type), (register_gst_state),
21876         (gst_state_get_type), (register_gst_state_change_return),
21877         (gst_state_change_return_get_type), (register_gst_state_change),
21878         (gst_state_change_get_type), (register_gst_element_flags),
21879         (gst_element_flags_get_type), (register_gst_core_error),
21880         (gst_core_error_get_type), (register_gst_library_error),
21881         (gst_library_error_get_type), (register_gst_resource_error),
21882         (gst_resource_error_get_type), (register_gst_stream_error),
21883         (gst_stream_error_get_type), (register_gst_event_type),
21884         (gst_event_type_get_type), (register_gst_seek_type),
21885         (gst_seek_type_get_type), (register_gst_seek_flags),
21886         (gst_seek_flags_get_type), (register_gst_format),
21887         (gst_format_get_type), (register_gst_index_certainty),
21888         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21889         (gst_index_entry_type_get_type),
21890         (register_gst_index_lookup_method),
21891         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21892         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21893         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21894         (gst_index_flags_get_type), (register_gst_debug_level),
21895         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21896         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21897         (gst_iterator_result_get_type), (register_gst_iterator_item),
21898         (gst_iterator_item_get_type), (register_gst_message_type),
21899         (gst_message_type_get_type), (register_gst_mini_object_flags),
21900         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21901         (gst_pad_link_return_get_type), (register_gst_flow_return),
21902         (gst_flow_return_get_type), (register_gst_activate_mode),
21903         (gst_activate_mode_get_type), (register_gst_pad_direction),
21904         (gst_pad_direction_get_type), (register_gst_pad_flags),
21905         (gst_pad_flags_get_type), (register_gst_pad_presence),
21906         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21907         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21908         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21909         (gst_plugin_error_get_type), (register_gst_plugin_flags),
21910         (gst_plugin_flags_get_type), (register_gst_rank),
21911         (gst_rank_get_type), (register_gst_query_type),
21912         (gst_query_type_get_type), (register_gst_tag_merge_mode),
21913         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21914         (gst_tag_flag_get_type), (register_gst_task_state),
21915         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21916         (gst_alloc_trace_flags_get_type),
21917         (register_gst_type_find_probability),
21918         (gst_type_find_probability_get_type), (register_gst_uri_type),
21919         (gst_uri_type_get_type), (register_gst_parse_error),
21920         (gst_parse_error_get_type):
21921         * win32/common/gstversion.h:
21922           update win32 copies
21923
21924 2005-11-01  Luca Ognibene  <luogni@tin.it>
21925
21926         * gst/gst.c:
21927           fix docs. popt is dead, long live GOption.
21928
21929 2005-10-31  Wim Taymans  <wim@fluendo.com>
21930
21931         * gst/gstbuffer.h:
21932         Small doc fix.
21933
21934 2005-10-31  Andy Wingo  <wingo@pobox.com>
21935
21936         * Boo!
21937
21938         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21939
21940         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21941         need to serialize property notifications on GLib 2.8. GLib 2.6 has
21942         the possibility of deadlocks here if code calling notify() or
21943         set() has a lock that can be taken in another notify handler (ABBA
21944         with class lock and e.g. python GIL state lock).
21945
21946 2005-10-28  Julien MOUTTE  <julien@moutte.net>
21947
21948         * gst/gstbus.c: Doc updates.
21949
21950 2005-10-28  Wim Taymans  <wim@fluendo.com>
21951
21952         * docs/design/part-TODO.txt:
21953         * gst/gstiterator.c:
21954         * gst/gstsystemclock.c:
21955         * gst/gstsystemclock.h:
21956         Doc updates.
21957
21958 2005-10-28  Edward Hervey  <edward@fluendo.com>
21959
21960         * docs/gst/gstreamer-docs.sgml:
21961         * docs/gst/gstreamer-sections.txt:
21962         the GstURIType documentation page is private, it only defines GstURIType
21963         which should be defined in the GstURIHandler page
21964         
21965 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21966
21967         * gst/gstbin.c: (gst_bin_class_init):
21968         * gst/gstbin.h:
21969         * gst/gstutils.c:
21970         Documentation updates.
21971
21972 2005-10-28  Wim Taymans  <wim@fluendo.com>
21973
21974         * docs/gst/gstreamer-sections.txt:
21975         * gst/gstclock.c:
21976         * gst/gstclock.h:
21977         Documented the clocks.
21978
21979 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
21980
21981         * docs/gst/gstreamer-sections.txt:
21982           move some macros to private sections
21983         * gst/gstminiobject.c:
21984         * gst/gstminiobject.h:
21985           add descriptions provided by ds and some more
21986         * gst/gstpad.h:
21987           mark macro as to be removed
21988
21989 2005-10-28  Wim Taymans  <wim@fluendo.com>
21990
21991         * docs/design/part-TODO.txt:
21992         Add an item to TODO.
21993
21994         * gst/gstiterator.c: (gst_iterator_fold),
21995         (gst_iterator_find_custom):
21996         * gst/gstiterator.h:
21997         Add iterator docs.
21998
21999 2005-10-28  Wim Taymans  <wim@fluendo.com>
22000
22001         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22002         (gst_base_transform_init):
22003         Don't leak class.
22004
22005         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22006         An EOS event marks the queue as completely filled.
22007
22008 2005-10-27  Wim Taymans  <wim@fluendo.com>
22009
22010         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22011         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22012         Some more debugging.
22013
22014         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22015         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22016         (gst_base_transform_event), (gst_base_transform_getrange),
22017         (gst_base_transform_chain):
22018         * gst/base/gstbasetransform.h:
22019         Fix debugging,
22020         Protect transform and concurrent buffer alloc with a new lock.
22021         Try not to break ABI/API.
22022
22023 2005-10-27  Wim Taymans  <wim@fluendo.com>
22024
22025         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22026         (gst_base_src_init), (gst_base_src_query),
22027         (gst_base_src_default_newsegment),
22028         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22029         (gst_base_src_send_event), (gst_base_src_event_handler),
22030         (gst_base_src_pad_get_range), (gst_base_src_loop),
22031         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22032         (gst_base_src_start), (gst_base_src_deactivate),
22033         (gst_base_src_activate_push), (gst_base_src_change_state):
22034         Move some stuff around and cleanup things.
22035
22036 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22037
22038         * gst/base/gstbasesrc.c: (gst_base_src_query):
22039           Add missing break statements.
22040
22041 2005-10-27  Wim Taymans  <wim@fluendo.com>
22042
22043         * check/gst/gstbin.c: (GST_START_TEST):
22044         An extra refcount is taken in basesrc.
22045
22046         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22047         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22048         (gst_base_src_loop):
22049         Small cleanups, check for flushing after being unlocked from the 
22050         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22051         Don't send out EOS when going to READY.
22052
22053 2005-10-27  Wim Taymans  <wim@fluendo.com>
22054
22055         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22056         (gst_base_sink_get_position):
22057         Some more debug.
22058
22059         * gst/gstbin.c: (message_check), (bin_replace_message),
22060         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22061         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22062         (bin_query_duration_init), (bin_query_duration_fold),
22063         (bin_query_duration_done), (bin_query_generic_fold),
22064         (gst_bin_query):
22065         * tools/gst-launch.c: (main):
22066         Remove old option.
22067
22068 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22069
22070         * examples/controller/audio-example.c: (main):
22071         * examples/queue/queue.c: (event_loop):
22072         * gst/base/gstbasetransform.h:
22073         * gst/gstelement.c: (gst_element_send_event):
22074         * gst/gstevent.h:
22075         * gst/gstpad.c: (gst_pad_send_event):
22076           fixing examples
22077           fixing docs typos
22078           changing log priority in error situations
22079
22080 2005-10-25  Wim Taymans  <wim@fluendo.com>
22081
22082         * gst/gstbin.c: (message_check), (bin_replace_message),
22083         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22084         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22085         (bin_query_duration_init), (bin_query_duration_fold),
22086         (bin_query_duration_done), (bin_query_generic_fold),
22087         (gst_bin_query):
22088         Some doc and debug updates.
22089         Cache previously requested query DURATION for speed. invalidate
22090         cached duration if element posts a DURATION message.
22091
22092 2005-10-25  Wim Taymans  <wim@fluendo.com>
22093
22094         * docs/design/part-TODO.txt:
22095         Update TODO.
22096
22097         * gst/gstbin.c: (message_check), (bin_replace_message),
22098         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22099         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22100         (bin_query_duration_init), (bin_query_duration_fold),
22101         (bin_query_duration_done), (bin_query_generic_fold),
22102         (gst_bin_query):
22103         Handle SEGMENT_START/DONE messages correctly.
22104         More evolved query algorithm that handles duration queries
22105         correctly.
22106
22107         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22108         (gst_element_get_state_func), (gst_element_abort_state),
22109         (gst_element_commit_state), (gst_element_lost_state):
22110         Some more debugging.
22111
22112         * gst/gstmessage.h:
22113         Added doc.
22114
22115 2005-10-25  Wim Taymans  <wim@fluendo.com>
22116
22117         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22118         Don't use invalid stream_time.
22119
22120         * gst/gstevent.c: (gst_event_new_newsegment):
22121         stream_time in newsegment cannot be undefined.
22122
22123 2005-10-24  Wim Taymans  <wim@fluendo.com>
22124
22125         * gst/gstbus.c:
22126         Doc fix.
22127
22128         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22129         (gst_queue_loop):
22130         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22131
22132 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22133
22134         * docs/libs/tmpl/gstdparam.sgml:
22135         * docs/libs/tmpl/gstdplinint.sgml:
22136         * docs/libs/tmpl/gstdpman.sgml:
22137         * docs/libs/tmpl/gstdpsmooth.sgml:
22138         * docs/libs/tmpl/gstunitconvert.sgml:
22139           these are obsolete
22140
22141 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22142
22143         * configure.ac:
22144           back to HEAD
22145
22146 === release 0.9.4 ===
22147
22148 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22149
22150         * configure.ac:
22151           releasing 0.9.4, "Tyrannosaurus Rex"
22152
22153 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22154
22155         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22156         (gst_file_sink_get_current_offset):
22157           Use fseeko() and ftello() if available. When falling back on
22158           lseek() to get the current offset, fflush() first to make sure
22159           everything is up-to-date and we get the right offset.
22160
22161 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22162
22163         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22164         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22165         * gst/gsterror.c: (_gst_stream_errors_init):
22166         * gst/gsterror.h:
22167         * gst/gstqueue.c: (gst_queue_loop):
22168         * po/POTFILES.in:
22169           remove prematurely added error category and clean up the instances
22170
22171 2005-10-21  Wim Taymans  <wim@fluendo.com>
22172
22173         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22174         (gst_base_sink_get_position), (gst_base_sink_query),
22175         (gst_base_sink_change_state):
22176         Simply set the right flag when going to playing, that's all
22177         we need to do instead of calling a function inside the object
22178         lock (that could take the lock as well and deadlock)
22179
22180 2005-10-21  Wim Taymans  <wim@fluendo.com>
22181
22182         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22183         (gst_base_src_loop):
22184         Don't warn, the peer element knows what to do best when
22185         the seek failed, it might try something else.
22186
22187 2005-10-21  Wim Taymans  <wim@fluendo.com>
22188
22189         * gst/base/gstbasesrc.c: (gst_base_src_init),
22190         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22191         Fix seeking.
22192
22193 2005-10-21  Wim Taymans  <wim@fluendo.com>
22194
22195         * docs/design/part-segments.txt:
22196         More docs.
22197
22198         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22199         Correctly set caps, even on the subbufer.
22200
22201 2005-10-21  Wim Taymans  <wim@fluendo.com>
22202
22203         * docs/gst/gstreamer-docs.sgml:
22204         * docs/gst/gstreamer-sections.txt:
22205         * gst/gstelement.h:
22206         * gst/gstevent.c:
22207         * gst/gstevent.h:
22208         * gst/gstmessage.h:
22209         * gst/gstpad.h:
22210         * gst/gstparse.h:
22211         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22212         * gst/gsttask.h:
22213         * gst/gstutils.c:
22214         * gst/gstutils.h:
22215         And 2% more doc coverage.
22216
22217 2005-10-21  Andy Wingo  <wingo@pobox.com>
22218
22219         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22220         position reporting.
22221
22222 2005-10-20  Wim Taymans  <wim@fluendo.com>
22223
22224         * gst/gsterror.c: (gst_error_get_message):
22225         * gst/gstparse.h:
22226         * gst/gstquery.h:
22227         * gst/gststructure.c:
22228         * gst/gsttrace.c:
22229         * gst/gstutils.c:
22230         More docs.
22231
22232 2005-10-20  Wim Taymans  <wim@fluendo.com>
22233
22234         * gst/gstbuffer.h:
22235         * gst/gstpad.c:
22236         * gst/gstparse.c:
22237         Another 1% more coverage.
22238
22239 2005-10-20  Wim Taymans  <wim@fluendo.com>
22240
22241         * docs/gst/gstreamer-sections.txt:
22242         * gst/gstelement.c: (gst_element_get_state_func),
22243         (gst_element_abort_state), (gst_element_commit_state),
22244         (gst_element_lost_state):
22245         * gst/gstevent.h:
22246         * gst/gstquery.c: (gst_query_set_position),
22247         (gst_query_parse_position), (gst_query_set_duration),
22248         (gst_query_parse_duration), (gst_query_new_convert):
22249         * gst/gstutils.c:
22250         Yay! 1% more docs coverage.
22251
22252 2005-10-20  Wim Taymans  <wim@fluendo.com>
22253
22254         * gst/gstpad.h:
22255         * gst/gstquery.c: (gst_query_set_position),
22256         (gst_query_parse_position), (gst_query_set_duration),
22257         (gst_query_parse_duration), (gst_query_new_convert):
22258         * gst/gstquery.h:
22259         * gst/gstutils.c: (gst_element_query_convert):
22260         * gst/gstutils.h:
22261         Docs and consistency fixes.
22262
22263 2005-10-20  Wim Taymans  <wim@fluendo.com>
22264
22265         * gst/gsttask.c:
22266         * gst/gsttask.h:
22267         More docs.
22268
22269 2005-10-20  Wim Taymans  <wim@fluendo.com>
22270
22271         * gst/gstbin.c: (message_check), (bin_replace_message),
22272         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22273         (update_degree), (gst_bin_sort_iterator_next),
22274         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22275         Reworked the message handling a bit, cache the messages instead of
22276         only the senders. alows us to do more in the future.
22277
22278 2005-10-20  Wim Taymans  <wim@fluendo.com>
22279
22280         * docs/design/part-TODO.txt:
22281         Update TODO
22282
22283         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22284         (gst_base_sink_query):
22285         Don't use clock time to report position when in EOS.
22286
22287 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22288
22289         * tools/gst-inspect.c: (print_interfaces),
22290         (print_element_properties_info), (print_element_info):
22291           Fix interface output with gst-inspect -a; don't print
22292           newlines after double/float properties.
22293
22294 2005-10-20  Wim Taymans  <wim@fluendo.com>
22295
22296         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22297         (gst_base_sink_query):
22298         Speed up current position calculation.
22299
22300         * gst/base/gstbasesrc.c: (gst_base_src_query),
22301         (gst_base_src_default_newsegment):
22302         Correctly set stream position in newsegment.
22303
22304         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22305         (update_degree), (gst_bin_sort_iterator_next),
22306         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22307         * gst/gstmessage.c: (gst_message_new_custom):
22308         Clean up debugging info
22309
22310         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22311         (gst_queue_loop), (gst_queue_handle_src_query):
22312         Pause task faster.
22313
22314 2005-10-19  Wim Taymans  <wim@fluendo.com>
22315
22316         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22317         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22318         Fix query handling again.
22319
22320 2005-10-19  Wim Taymans  <wim@fluendo.com>
22321
22322         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22323         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22324         * gst/base/gstbasesrc.c: (gst_base_src_query):
22325         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22326         * gst/elements/gsttypefindelement.c:
22327         (gst_type_find_handle_src_query), (find_element_get_length),
22328         (gst_type_find_element_activate):
22329         API change fix.
22330
22331         * gst/gstquery.c: (gst_query_new_position),
22332         (gst_query_set_position), (gst_query_parse_position),
22333         (gst_query_new_duration), (gst_query_set_duration),
22334         (gst_query_parse_duration), (gst_query_set_segment),
22335         (gst_query_parse_segment):
22336         * gst/gstquery.h:
22337         Bundling query position/duration is not a good idea since duration
22338         does not change much and we don't want to recalculate it for every
22339         position query, so they are separated again..
22340         Base value in segment query is not needed.
22341
22342         * gst/gstqueue.c: (gst_queue_handle_src_query):
22343         * gst/gstutils.c: (gst_element_query_position),
22344         (gst_element_query_duration), (gst_pad_query_position),
22345         (gst_pad_query_duration):
22346         * gst/gstutils.h:
22347         Updates for query API change.
22348         Added some docs here and there.
22349
22350 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22351
22352         * check/gst/gstbin.c: (GST_START_TEST):
22353         * check/gst/gstghostpad.c: (GST_START_TEST):
22354         * check/pipelines/cleanup.c: (GST_START_TEST):
22355           wait on thread to die so we can check refcount correctly
22356
22357 2005-10-18  Wim Taymans  <wim@fluendo.com>
22358
22359         * check/pipelines/stress.c: (GST_START_TEST):
22360         Make check a little more time consuming.
22361
22362 2005-10-18  Wim Taymans  <wim@fluendo.com>
22363
22364         * check/Makefile.am:
22365         * check/pipelines/stress.c: (GST_START_TEST),
22366         (simple_launch_lines_suite), (main):
22367         Small state change torture test.
22368
22369         * docs/design/part-states.txt:
22370         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22371         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22372         (gst_base_sink_change_state):
22373         Never take state lock from streaming thread, clean up ugly
22374         hacks. Unfortunatly core does not yet support nice ways to
22375         async commit state.
22376         
22377         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22378         (bin_bus_handler):
22379         Start state recalc if a STATE_DIRTY message is posted, but only
22380         on the toplevel bin.
22381
22382         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22383         (gst_element_get_state_func), (gst_element_abort_state),
22384         (gst_element_commit_state), (gst_element_lost_state),
22385         (gst_element_set_state_func), (gst_element_change_state):
22386         * gst/gstelement.h:
22387         State variables are now protected with the LOCK, the state
22388         lock is only used to serialize _set_state().
22389
22390 2005-10-18  Wim Taymans  <wim@fluendo.com>
22391
22392         * check/gst/gstbin.c: (GST_START_TEST):
22393         * check/gst/gstmessage.c: (GST_START_TEST):
22394         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22395         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22396         (bin_bus_handler):
22397         * gst/gstelement.c: (gst_element_abort_state),
22398         (gst_element_commit_state), (gst_element_lost_state):
22399         * gst/gstmessage.c: (gst_message_new_state_changed),
22400         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22401         (gst_message_new_segment_done), (gst_message_new_duration),
22402         (gst_message_parse_state_changed),
22403         (gst_message_parse_segment_start),
22404         (gst_message_parse_segment_done), (gst_message_parse_duration):
22405         * gst/gstmessage.h:
22406         * tools/gst-launch.c: (event_loop):
22407         Seriously, this is better than a previous commit as we only need
22408         to notify the fact that an element changed state in a streaming
22409         thread, marking the state of the parents dirty, hence the 
22410         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22411         message.
22412
22413 2005-10-18  Wim Taymans  <wim@fluendo.com>
22414
22415         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22416         (gst_bin_recalc_func):
22417         * gst/gstelement.c: (gst_element_set_clock),
22418         (gst_element_abort_state), (gst_element_lost_state):
22419         Cleanups, prepare for state change fixes.
22420
22421 2005-10-18  Wim Taymans  <wim@fluendo.com>
22422
22423         * gst/gstbin.h:
22424         * gst/gstelement.c: (gst_element_class_init),
22425         (gst_element_set_state), (gst_element_set_state_func):
22426         * gst/gstelement.h:
22427         Pending ABI changes.
22428         GThreadPool in GstBinClass to monitor async state changes.
22429         state_cookie in GstElement to detect concurrent gst/set state.
22430         set_state is now virtual too in case a very complicated element
22431         has to be constructed.
22432
22433 2005-10-18  Wim Taymans  <wim@fluendo.com>
22434
22435         * check/gst/gstbin.c: (GST_START_TEST):
22436         * check/gst/gstmessage.c: (GST_START_TEST):
22437         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22438         * gst/gstbin.c: (bin_bus_handler):
22439         * gst/gstelement.c: (gst_element_commit_state),
22440         (gst_element_lost_state):
22441         * gst/gstmessage.c: (gst_message_new_state_changed),
22442         (gst_message_new_segment_start), (gst_message_new_segment_done),
22443         (gst_message_new_duration), (gst_message_parse_state_changed),
22444         (gst_message_parse_segment_start),
22445         (gst_message_parse_segment_done), (gst_message_parse_duration):
22446         * gst/gstmessage.h:
22447         * tools/gst-launch.c: (event_loop):
22448         Make messages future proof.
22449         state-change gets a flag if it was a message comming from the
22450         streaming thread.
22451         segment-start/stop can also be specified in other formats.
22452         A message to notify an app that a pipeline changed playback 
22453         duration.
22454         Also fix a GstMessage leak in -launch
22455
22456 2005-10-18  Andy Wingo  <wingo@pobox.com>
22457
22458         * gst/gstelement.c (gst_element_dispose): More helpful message.
22459
22460 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22461
22462         reviewed by: <delete if not using a buddy>
22463
22464         * common/gtk-doc.mak:
22465
22466 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22467
22468         * gst/gstregistry.c: (gst_registry_scan_path_level):
22469           unref a plug-in we get that was already initialized
22470
22471 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22472
22473         * docs/gst/gstreamer-sections.txt:
22474         * docs/libs/gstreamer-libs-sections.txt:
22475         * gst/gstelement.h:
22476           add new api entries
22477           hide internal macro
22478
22479 2005-10-17  Andy Wingo  <wingo@pobox.com>
22480
22481         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22482         cleanup.
22483
22484         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22485
22486         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22487
22488         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22489         (gst_element_get_state_func): Better debug message.
22490         (gst_element_commit_state): s/INFO/DEBUG/.
22491         (gst_element_lost_state, gst_element_change_state): 
22492
22493         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22494         (gst_message_new_custom): s/INFO/LOG/.
22495
22496 2005-10-17  Michael Smith <msmith@fluendo.com>
22497
22498         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22499           Check if end time is valid using end time, not start time.
22500
22501 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22502
22503         * check/gst-libs/controller.c: (GST_START_TEST),
22504         (gst_controller_suite):
22505         * libs/gst/controller/gstcontroller.c:
22506         (gst_controlled_property_set_interpolation_mode):
22507         * libs/gst/controller/gstcontroller.h:
22508         * libs/gst/controller/gstinterpolation.c:
22509         * testsuite/controller/.cvsignore:
22510         * testsuite/controller/Makefile.am:
22511         * testsuite/controller/interpolator.c:
22512           merge controller testsuites
22513           fix broken tests
22514           remove mem-chunk from docs
22515
22516 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22517
22518         * gst/gstmemchunk.c:
22519         * gst/gstmemchunk.h:
22520         * gst/gsttrashstack.c:
22521         * gst/gsttrashstack.h:
22522           out.  get out.  you're fired.  to the Attic !
22523
22524 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22525
22526         * gst/gstcaps.c: (gst_caps_intersect):
22527           fix signedness issues in a (hopefully) correct way
22528         * gst/gstelement.c: (gst_element_pads_activate):
22529           some debugging
22530         * gst/gstobject.c: (gst_object_set_parent):
22531           some debugging
22532
22533 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22534
22535         * gst/gstvalue.h: Fix prototypes.
22536
22537 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22538
22539         * docs/gst/gstreamer-sections.txt:
22540         * gst/gst.c: (gst_version_string):
22541         * gst/gst.h:
22542         * gst/gstversion.h.in:
22543         * win32/common/libgstreamer.def:
22544           add gst_version_string ()
22545
22546 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22547
22548         * configure.ac:
22549           clean up further
22550         * gst/gst.c: (init_post):
22551         * win32/common/config.h.in:
22552           it's PLUGINDIR now
22553         * gst/gstcaps.c: (gst_caps_intersect):
22554           use gint64, the range could be bigger than a guint
22555
22556 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22557
22558         * gst/gstclock.h:
22559           document potential problem in 2038
22560
22561 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22562
22563         * gst/gstcaps.c: (gst_caps_intersect):
22564           Fix guint j diving under 0
22565
22566 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22567
22568         * configure.ac:
22569         * win32/common/config.h:
22570         * win32/common/config.h.in:
22571           check for process.h, declares getpid() on Windows
22572         * gst/gstinfo.c:
22573           include process.h if we have it
22574         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22575         * gst/gstmemchunk.h:
22576           fix signedness issues
22577         * win32/common/libgstreamer.def:
22578           fix get_type's
22579
22580 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22581
22582         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22583         fix. Because of unsigned ints, caps intersection was going nuts and
22584         trying to access structures with G_MAXUINT index. That fixes
22585         videotestsrc ! ffmpegcolorspace ! fakesink
22586         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22587         consistency.
22588
22589 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22590
22591         * configure.ac:
22592           use the gettext macro
22593         * gst/elements/gstelements.c:
22594         * gst/gst.c:
22595         * gst/indexers/gstindexers.c:
22596           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22597         * win32/common/config.h:
22598           updated config.h
22599         * win32/common/config.h.in:
22600           add the template to generate config.h
22601         * win32/common/gstenumtypes.c:
22602         * win32/common/gstversion.h:
22603           updated copies
22604
22605 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22606
22607         * gst/gst.c: (gst_version):
22608         * gst/gstversion.h.in:
22609           add the nano
22610
22611 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22612
22613         * gst/gstevent.h:
22614           Oops, add missing closing bracket.
22615
22616 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22617
22618         * configure.ac:
22619           use common m4's for argument checking
22620
22621 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22622
22623         * docs/gst/gstreamer-sections.txt:
22624         * gst/gstevent.h:
22625           Add GST_EVENT_TYPE_NAME() macro.
22626
22627 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22628
22629         * gst/gstinfo.c:
22630         * gst/gstpluginfeature.c:
22631         * gst/gsttask.c:
22632           privatize more symbols
22633
22634 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22635
22636         * configure.ac:
22637           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22638           everything that uses GStreamer API should have the includes
22639
22640 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22641
22642         * docs/gst/gstreamer-sections.txt:
22643         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22644         * gst/gstvalue.h:
22645           give each value a _get_type, removes the DATA exports
22646
22647 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22648
22649         * gst/gst.c:
22650         * gst/gst.h:
22651           remove _gst_registry_auto_load, not used anymore
22652         * gst/gstbin.c: (gst_bin_get_type):
22653         * gst/gstbin.h:
22654         * gst/gstelement.c: (gst_element_get_type):
22655         * gst/gstelement.h:
22656         * gst/gstobject.c: (gst_object_get_type):
22657         * gst/gstobject.h:
22658         * gst/gstpad.c: (gst_pad_get_type):
22659         * gst/gstpad.h:
22660           make _get_type functions similar, fixes data export from library
22661
22662 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22663
22664         * configure.ac:
22665           correctly make conditionals
22666         * gst/elements/Makefile.am:
22667         * gst/elements/gstelements.c:
22668           fix typo causing fdsrc not to build
22669
22670 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22671
22672         * testsuite/Makefile.am:
22673         * testsuite/bytestream/.cvsignore:
22674         * testsuite/bytestream/Makefile.am:
22675         * testsuite/bytestream/filepadsink.c:
22676         * testsuite/bytestream/gstbstest.c:
22677         * testsuite/bytestream/test1.c:
22678         * testsuite/bytestream/testfile1:
22679         * testsuite/caps/normalisation.c:
22680         * testsuite/caps/random.c: (main):
22681         * testsuite/cleanup/.cvsignore:
22682         * testsuite/cleanup/Makefile.am:
22683         * testsuite/cleanup/cleanup1.c:
22684         * testsuite/cleanup/cleanup2.c:
22685         * testsuite/cleanup/cleanup3.c:
22686         * testsuite/cleanup/cleanup4.c:
22687         * testsuite/cleanup/cleanup5.c:
22688         * testsuite/controller/interpolator.c:
22689         * testsuite/debug/printf_extension.c: (main):
22690         * testsuite/elements/tee.c:
22691         * testsuite/negotiation/.cvsignore:
22692         * testsuite/negotiation/Makefile.am:
22693         * testsuite/negotiation/pad_link.c:
22694         * testsuite/pad/Makefile.am:
22695         * testsuite/pad/chainnopull.c:
22696         * testsuite/pad/getnopush.c:
22697         * testsuite/pad/link.c:
22698         * testsuite/refcounting/sched.c: (create_pipeline):
22699         * testsuite/registry/Makefile.am:
22700         * testsuite/registry/gst-print-formats.c:
22701         * testsuite/schedulers/.cvsignore:
22702         * testsuite/schedulers/142183-2.c:
22703         * testsuite/schedulers/142183.c:
22704         * testsuite/schedulers/143777-2.c:
22705         * testsuite/schedulers/143777.c:
22706         * testsuite/schedulers/147713.c:
22707         * testsuite/schedulers/147819.c:
22708         * testsuite/schedulers/147894-2.c:
22709         * testsuite/schedulers/147894.c:
22710         * testsuite/schedulers/Makefile.am:
22711         * testsuite/schedulers/group_link.c:
22712         * testsuite/schedulers/queue_link.c:
22713         * testsuite/schedulers/relink.c:
22714         * testsuite/schedulers/unlink.c:
22715         * testsuite/schedulers/unref.c:
22716         * testsuite/schedulers/useless_iteration.c:
22717         * testsuite/states/bin.c:
22718           clean out/remove some stuff from the testsuite directories
22719
22720 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22721
22722         * configure.ac:
22723           check for some headers
22724         * gst/elements/Makefile.am:
22725         * gst/elements/gstelements.c:
22726           don't compile fdsrc without sys/socket.h
22727         * gst/indexers/Makefile.am:
22728         * gst/indexers/gstindexers.c: (plugin_init):
22729           don't compile fileindex without mmap
22730
22731 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22732
22733         * configure.ac:
22734           reorganize
22735           clean up
22736           document more
22737           remove cruft
22738         * check/Makefile.am:
22739         * docs/gst/Makefile.am:
22740         * examples/helloworld/Makefile.am:
22741         * gst/Makefile.am:
22742         * gst/base/Makefile.am:
22743         * gst/check/Makefile.am:
22744         * gst/elements/Makefile.am:
22745         * gst/indexers/Makefile.am:
22746         * gst/parse/Makefile.am:
22747         * libs/gst/controller/Makefile.am:
22748         * libs/gst/dataprotocol/Makefile.am:
22749         * examples/helloworld/helloworld.c: (event_loop):
22750           compile fixes, though it's not being compiled currently
22751
22752 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22753
22754         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22755           Add some simple tests for the new taglist date API.
22756
22757 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22758
22759         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22760         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22761           Beautify 'last-message' output: print 'none' for buffer timestamps
22762           and durations if none is set; improve alignment with next messages.
22763
22764 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22765
22766         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22767         * gst/gstpluginfeature.h:
22768         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22769         * gst/gstregistry.h:
22770         * docs/gst/gstreamer-sections.txt:
22771           Add new API to check plugin feature version requirements.
22772
22773         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22774           Some basic tests for the above.         
22775
22776 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22777
22778         * gst/gststructure.c: (gst_structure_to_string):
22779           guard against NULL printf - happens when for example
22780           a message structure with GstClock gets serialized
22781
22782 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22783
22784         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22785           Fix presumable copy'n'pasto.
22786
22787 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22788
22789         * gst/elements/gstfakesrc.h:
22790         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22791         * gst/elements/gsttypefindelement.c:
22792           fix some signedness
22793         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22794           I wonder if this could actually write +2GB files before
22795
22796 2005-10-13  Andy Wingo  <wingo@pobox.com>
22797
22798         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22799         Fix Timmeke Waymans bug.
22800         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22801         string of the proper length to gst_caps_from_string. There's a
22802         potential for, before this fix, that this could cause someone
22803         connecting over the network to cause a segfault if the payload is
22804         not NUL-terminated.
22805
22806 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22807
22808         * docs/design/draft-push-pull.txt:
22809         * docs/design/part-overview.txt:
22810         * docs/random/TODO-pre-0.9:
22811         * docs/random/old/ChangeLog.gstreamer:
22812         * gst/base/gstpushsrc.c:
22813         * gst/gstclock.c:
22814           fixed typos
22815
22816 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22817
22818         * gst/glib-compat.c: (gst_flags_get_first_value):
22819         * gst/glib-compat.h:
22820         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22821         (gst_value_compare_double), (gst_value_serialize_flags):
22822           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22823           infinite loop
22824
22825 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22826
22827         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22828         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22829           fix up debugging
22830         * tools/gst-launch.c: (event_loop):
22831           print out clock nicely
22832
22833 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22834
22835         * docs/gst/gstreamer-sections.txt:
22836         * gst/gsttaglist.h:
22837         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22838         (gst_tag_list_get_date_index):
22839           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22840           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22841
22842 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22843
22844         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22845         (gst_collectpads_chain):
22846         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22847         in CollectData.
22848
22849 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22850
22851         * docs/gst/gstreamer-sections.txt:
22852         * gst/gst.c:
22853         * gst/gsterror.h:
22854         * tools/gst-inspect.c: (main):
22855         * tools/gst-launch.c: (main):
22856         * tools/gst-run.c: (main):
22857         * tools/gst-xmlinspect.c: (main):
22858           fix GOption context leaks
22859           doc fixes
22860
22861 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22862
22863         * gst/gstbus.c:
22864           use HAVE_UNISTD_H
22865         * win32/common/config.h:
22866           update config
22867         * win32/vs6/grammar.dsp:
22868         * win32/vs6/libgstelements.dsp:
22869         * win32/vs6/libgstreamer.dsp:
22870           update vs6 files
22871
22872 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22873
22874         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22875         * gst/base/gstbasesrc.c: (gst_base_src_query):
22876           fix more guint64<->gdouble conversions
22877
22878 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22879
22880         * Makefile.am:
22881           add win32-update target
22882         * win32/common/gstconfig.h:
22883         * win32/common/gstenumtypes.c:
22884         * win32/common/gstenumtypes.h:
22885         * win32/common/gstversion.h:
22886           add files that visual studio can't generate
22887
22888 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22889
22890         * Makefile.am:
22891           add a win32-update target
22892         * configure.ac:
22893
22894 2005-10-12  Wim Taymans  <wim@fluendo.com>
22895
22896         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22897         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22898         * gst/gstelement.c: (gst_element_commit_state),
22899         (gst_element_set_state):
22900         Protect flags with proper lock.
22901         unref provided cached clock in dispose.
22902
22903 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22904
22905         * gst/gst.c:
22906         * gst/gstminiobject.h:
22907         * gst/gstpad.h:
22908         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22909           removed unused flags from miniobject
22910           doc fixes
22911
22912 2005-10-12  Wim Taymans  <wim@fluendo.com>
22913
22914         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22915         (gst_file_sink_event), (gst_file_sink_render):
22916         Flush before seeking.
22917
22918 2005-10-12  Andy Wingo  <wingo@pobox.com>
22919
22920         * gst/gst.c (gst_init_check): Ignore unknown options, as has
22921         always been the case.
22922
22923 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22924
22925         * check/gst/gstbin.c: (GST_START_TEST):
22926         * docs/gst/gstreamer-sections.txt:
22927         * gst/base/gstbasesink.c: (gst_base_sink_init):
22928         * gst/base/gstbasesrc.c: (gst_base_src_init),
22929         (gst_base_src_get_range), (gst_base_src_check_get_range),
22930         (gst_base_src_start), (gst_base_src_stop):
22931         * gst/base/gstbasesrc.h:
22932         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22933         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22934         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22935         (bin_bus_handler):
22936         * gst/gstbin.h:
22937         * gst/gstbuffer.h:
22938         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22939         * gst/gstbus.h:
22940         * gst/gstelement.c: (gst_element_is_locked_state),
22941         (gst_element_set_locked_state), (gst_element_commit_state),
22942         (gst_element_set_state):
22943         * gst/gstelement.h:
22944         * gst/gstindex.c: (gst_index_init):
22945         * gst/gstindex.h:
22946         * gst/gstminiobject.h:
22947         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22948         (gst_object_set_parent):
22949         * gst/gstobject.h:
22950         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22951         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22952         * gst/gstpad.h:
22953         * gst/gstpadtemplate.h:
22954         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22955         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22956         * gst/gstpipeline.h:
22957         * gst/indexers/gstfileindex.c: (gst_file_index_load),
22958         (gst_file_index_commit):
22959         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22960         * testsuite/pad/link.c: (gst_test_src_init),
22961         (gst_test_filter_init), (gst_test_sink_init):
22962         * testsuite/states/locked.c: (main):
22963           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22964           moved bitshift from macro to enum definition
22965
22966 2005-10-12  Wim Taymans  <wim@fluendo.com>
22967
22968         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22969         * gst/elements/gstfilesink.c: (gst_file_sink_event),
22970         (gst_file_sink_render):
22971         Some more debugging info.
22972
22973 2005-10-12  Wim Taymans  <wim@fluendo.com>
22974
22975         * docs/design/part-states.txt:
22976         * tools/gst-launch.c: (main):
22977         Some doc updates.
22978         Revert non-intentional change.
22979
22980 2005-10-12  Wim Taymans  <wim@fluendo.com>
22981
22982         * check/gst/gstbin.c: (GST_START_TEST):
22983         * check/gst/gstelement.c: (GST_START_TEST):
22984         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22985         * check/gst/gstghostpad.c: (GST_START_TEST):
22986         * check/gst/gstpipeline.c: (GST_START_TEST):
22987         * check/pipelines/simple_launch_lines.c: (run_pipeline):
22988         * check/states/sinks.c: (GST_START_TEST):
22989         * gst/elements/gsttypefindelement.c: (stop_typefinding):
22990         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22991         (gst_bin_remove_func), (gst_bin_get_state_func),
22992         (gst_bin_recalc_state), (gst_bin_change_state_func),
22993         (bin_bus_handler):
22994         * gst/gstelement.c: (gst_element_get_state_func),
22995         (gst_element_get_state), (gst_element_abort_state),
22996         (gst_element_commit_state), (gst_element_set_state),
22997         (gst_element_change_state), (gst_element_change_state_func):
22998         * gst/gstelement.h:
22999         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23000         (gst_pipeline_provide_clock_func):
23001         * gst/gstutils.c: (gst_element_link_pads_filtered):
23002         * tools/gst-launch.c: (main):
23003         * tools/gst-typefind.c: (main):
23004         Use GstClockTime in _get_state() instead of GTimeVal.
23005         Remove old code in gstutils.c
23006
23007 2005-10-12  Andy Wingo  <wingo@pobox.com>
23008
23009         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23010         removed.
23011
23012         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23013         there is no task. Shouldn't affect any code, as nothing in our
23014         plugins checks this return value.
23015         (gst_pad_stop_task): Also take the stream lock if the pad has no
23016         task. Docs updated.
23017
23018 2005-10-12  Wim Taymans  <wim@fluendo.com>
23019
23020         * gst/gstpad.c: (pre_activate), (post_activate),
23021         (gst_pad_activate_pull), (gst_pad_activate_push):
23022         Cleanup activation code. Reset old state if
23023         activation failed.
23024
23025 2005-10-12  Wim Taymans  <wim@fluendo.com>
23026
23027         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23028         (gst_base_sink_change_state):
23029         No need to prerol after receiving EOS.
23030
23031         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23032         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23033         * gst/elements/gstidentity.c: (gst_identity_event):
23034         Print events more verbosely.
23035
23036 2005-10-12  Wim Taymans  <wim@fluendo.com>
23037
23038         * check/Makefile.am:
23039         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23040         * check/states/sinks2.c:
23041         Moved sinks2 testcode in sinks check.
23042
23043         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23044         (gst_bin_remove_func), (gst_bin_recalc_state),
23045         (gst_bin_change_state_func), (bin_bus_handler):
23046         Fix potential race condition when _get_state() iterated over an
23047         ASYNC element right before it posted a state completion.
23048
23049         * gst/gstclock.h:
23050         Do proper cast here.
23051
23052         * gst/gstevent.c: (gst_event_new_newsegment),
23053         (gst_event_parse_newsegment):
23054         A playback rate of 0.0 is not allowed.
23055
23056 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23057
23058         * win32/common/config.h:
23059         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23060         (_trewinddir), (_ttelldir), (_tseekdir):
23061         * win32/common/dirent.h:
23062         * win32/common/gtchar.h:
23063         * win32/common/libgstbase.def:
23064         * win32/common/libgstreamer.def:
23065         * win32/vs6/grammar.dsp:
23066         * win32/vs6/gst_inspect.dsp:
23067         * win32/vs6/gst_launch.dsp:
23068         * win32/vs6/gstreamer.dsw:
23069         * win32/vs6/libgstbase.dsp:
23070         * win32/vs6/libgstelements.dsp:
23071         * win32/vs6/libgstreamer.dsp:
23072           Visual Studio 6 project files, and a new common directory.
23073           Phear.
23074
23075 2005-10-11  Wim Taymans  <wim@fluendo.com>
23076
23077         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23078         (gst_base_sink_do_sync), (gst_base_sink_query),
23079         (gst_base_sink_change_state):
23080         * gst/base/gstbasesink.h:
23081         Correctly parse newsegment info.
23082
23083 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23084
23085         * gst/gst.c: (init_post):
23086           split plugin paths correctly
23087
23088 2005-10-11  Wim Taymans  <wim@fluendo.com>
23089
23090         * check/gst/gstevent.c: (GST_START_TEST):
23091         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23092         (gst_base_sink_change_state):
23093         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23094         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23095         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23096         * gst/gstevent.c: (gst_event_new_newsegment),
23097         (gst_event_parse_newsegment):
23098         * gst/gstevent.h:
23099         Added extra flag to newsegment for future API freeze.
23100         Updated check and base elements.
23101
23102 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23103
23104         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23105         (gst_collectpads_add_pad), (gst_collectpads_pop),
23106         (gst_collectpads_event), (gst_collectpads_chain):
23107         * gst/base/gstcollectpads.h: Handle EOS correctly.
23108
23109 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23110
23111         * tools/gst-launch.c: (main):
23112           more null protecting
23113
23114 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23115
23116         * gst/gst-i18n-lib.h:
23117           check for ENABLE_NLS, not GETTEXT_PACKAGE
23118         * gst/gstregistry.c: (gst_registry_add_plugin),
23119         (gst_registry_scan_path_level),
23120         (_gst_registry_remove_cache_plugins):
23121           protect possibly NULL strings
23122         * gst/parse/types.h:
23123           config.h already included before
23124         * tools/gst-inspect.c: (main):
23125           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23126           check for ENABLE_NLS, not GETTEXT_PACKAGE
23127         * tools/gst-launch.c: (main):
23128           check for ENABLE_NLS, not GETTEXT_PACKAGE
23129
23130 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23131
23132         * configure.ac:
23133           if we don't have glib, fail before testing 2.8
23134         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23135           fix a leak, should fix plugins-base testsuite
23136
23137 2005-10-11  Andy Wingo  <wingo@pobox.com>
23138
23139         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23140         take the mode we're going to as an arg. Go head and set the mode
23141         and flushing flags now, so that if the activate function starts a
23142         thread all the flags will be in the right state.
23143         (post_activate): Renamed also. Just handle making sure streaming
23144         finishes for the deactivation case, and setting the deactivated
23145         mode.
23146         (gst_pad_set_active): Complain loudly if deactivation fails.
23147         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23148         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23149         remove the terrible hack.
23150
23151 2005-10-11  Wim Taymans  <wim@fluendo.com>
23152
23153         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23154         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23155         (gst_bin_recalc_state), (gst_bin_change_state_func),
23156         (gst_bin_dispose), (bin_bus_handler):
23157         * gst/gstbin.h:
23158         Prepare to make current EOS message queue more generic.
23159         Fix some typos.
23160
23161         * gst/gstevent.c: (gst_event_new_newsegment),
23162         (gst_event_parse_newsegment):
23163         * gst/gstevent.h:
23164         Rename base to stream_time.
23165
23166         * gst/gstmessage.h:
23167         Fix typo in docs.
23168
23169 2005-10-11  Wim Taymans  <wim@fluendo.com>
23170
23171         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23172         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23173         (gst_bin_change_state_func), (bin_bus_handler):
23174         * gst/gstbin.h:
23175         Work on proper clock selection.
23176
23177 2005-10-11  Edward Hervey  <edward@fluendo.com>
23178
23179         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23180         * libs/gst/controller/gstcontroller.h:
23181         Added GList* version of _remove_properties() in order to be able to wrap
23182         it in bindings.
23183
23184 2005-10-11  Wim Taymans  <wim@fluendo.com>
23185
23186         * docs/design/part-states.txt:
23187         Some more docs.
23188
23189         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23190         (gst_bin_change_state_func), (bin_bus_handler):
23191         Doc updates. Don't distribute the same clock over and over again.
23192
23193         * gst/gstclock.c:
23194         * gst/gstclock.h:
23195         Doc updates.
23196
23197         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23198         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23199         (gst_pad_send_event):
23200         * gst/gstpad.h:
23201         Make probe emission threadsafe again.
23202         Register quarks and move _get_name() from utils.
23203         Doc updates.
23204
23205         * gst/gstpipeline.c: (gst_pipeline_class_init),
23206         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23207         Only redistribute the clock of it changed.
23208
23209         * gst/gstsystemclock.h:
23210         Doc updates. 
23211
23212         * gst/gstutils.c:
23213         * gst/gstutils.h:
23214         Moved the _flow_get_name() to GstPad.
23215
23216 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23217
23218         * check/gst-libs/gdp.c: (GST_START_TEST):
23219         * check/gst/gstcaps.c: (GST_START_TEST):
23220         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23221         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23222         (gst_dp_packet_from_caps):
23223           fix more valgrind warnings before turning up the heat
23224
23225 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23226
23227         * gst/parse/grammar.y:
23228           some cleanup before the hacking
23229
23230 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23231
23232         * gst/base/gstbasesrc.c: (gst_base_src_query):
23233           use conversions
23234         * gst/gstutils.c: (gst_guint64_to_gdouble),
23235         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23236         * gst/gstutils.h:
23237           externalize, basesrc uses it
23238           obviously the implementation needs testing
23239
23240 2005-10-10  Wim Taymans  <wim@fluendo.com>
23241
23242         * tests/sched/Makefile.am:
23243         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23244         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23245
23246 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23247
23248         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23249           apparently converting from guint64 to double is not implemented
23250           on MSVC
23251
23252 2005-10-10  Wim Taymans  <wim@fluendo.com>
23253
23254         * check/Makefile.am:
23255         * check/generic/states.c: (GST_START_TEST):
23256         * check/gst/gstbin.c: (GST_START_TEST):
23257         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23258         * check/states/sinks.c: (GST_START_TEST):
23259         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23260         (main):
23261         Check fixes, use API as stated in design docs, remove hacks.
23262
23263         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23264         (gst_base_sink_change_state):
23265         Catch stopping our task while we're shutting down.
23266
23267         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23268         (gst_bin_remove_func), (gst_bin_get_state_func),
23269         (gst_bin_recalc_state), (gst_bin_change_state_func),
23270         (bin_bus_handler):
23271         * gst/gstbin.h:
23272         * gst/gstelement.c: (gst_element_init),
23273         (gst_element_get_state_func), (gst_element_abort_state),
23274         (gst_element_commit_state), (gst_element_lost_state),
23275         (gst_element_set_state), (gst_element_change_state),
23276         (gst_element_change_state_func):
23277         * gst/gstelement.h:
23278         New state change algorithm (see #318116)
23279
23280         * gst/gstpipeline.c: (gst_pipeline_class_init),
23281         (gst_pipeline_init), (gst_pipeline_set_property),
23282         (gst_pipeline_get_property), (do_pipeline_seek),
23283         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23284         * gst/gstpipeline.h:
23285         Remove crude state change hacks.
23286
23287         * gst/gstutils.h:
23288         Remove crude hacks.
23289
23290         * tools/gst-launch.c: (main):
23291         Fixes for state change. Needs some more work to fully use the
23292         new stuff.
23293
23294 2005-10-10  Andy Wingo  <wingo@pobox.com>
23295
23296         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23297
23298         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23299         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23300         issue.
23301
23302 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23303
23304         * gst/gstiterator.c: (gst_iterator_new):
23305           Fix my previous commit: GTypes passed to gst_iterator_new()
23306           can be fundamental types.
23307
23308 2005-10-10  Wim Taymans  <wim@fluendo.com>
23309
23310         * gst/gstelement.c: (gst_element_iterate_pad_list),
23311         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23312         (gst_element_iterate_sink_pads):
23313         Use src/sink pads lists for the respective iterators instead
23314         of filtering.
23315
23316 2005-10-10  Andy Wingo  <wingo@pobox.com>
23317
23318         Merged in popt removal + GOption addition patch from Ronald, bug
23319         #169772.
23320
23321         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23322         GstElement macros around, remove popt-related symbols, add goption
23323         stuff.
23324
23325         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23326         
23327         * docs/gst/Makefile.am:
23328         * docs/libs/Makefile.am: No POPT_CFLAGS.
23329         
23330         * examples/manual/Makefile.am:
23331         * docs/manual/basics-init.xml: Doc updates with an example.
23332         
23333         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23334         (gst_init), (parse_one_option), (parse_goption_arg):
23335         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23336         bit of hand merging and debugging to get the GOption stuff working
23337         tho.
23338         
23339         * tests/Makefile.am:
23340         * tools/Makefile.am:
23341         * tools/gst-inspect.c: (main):
23342         * tools/gst-launch.c: (main):
23343         * tools/gst-run.c: (main):
23344         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23345
23346 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23347
23348         * gst/gstiterator.c: (gst_iterator_new):
23349           Add assertions to make sure passed GType is likely to really
23350           be a GType (as the compiler won't catch it if the size and
23351           GType arguments get mixed up, see #318447).
23352
23353 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23354
23355         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23356
23357         * gst/gstbin.c: (gst_bin_iterate_sorted):
23358           Pass GType and size arguments to gst_iterator_new() in the right
23359           order (maybe we should make _new() take the GType as first argument
23360           just like _new_list()?) (#318447).
23361           
23362
23363 2005-10-10  Wim Taymans  <wim@fluendo.com>
23364
23365         * gst/gstelement.c: (gst_element_finalize):
23366         And free the GStaticRecMutex too
23367
23368 2005-10-10  Andy Wingo  <wingo@pobox.com>
23369
23370         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23371         Allocate and free the mutex properly.
23372
23373         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23374         New macros.
23375         (GstElement): The state_lock is now recursive. Rebuild your
23376         plugins, suckers. Old macros adapted.
23377
23378         * docs/gst/gstreamer-sections.txt: Doc updates.
23379
23380         * gst/gstutils.h:
23381         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23382         (g_static_rec_cond_wait): Ported from state changes patch, while
23383         we wait on bug #317802 to be solved in a well-distributed GLib.
23384
23385         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23386         gst_element_change_state, variable name changes.
23387         (gst_element_change_state): Split out of gst_element_set_state in
23388         preparation for the state change merge. Doesn't pay attention to
23389         the 'transition' argument.
23390         (gst_element_set_state): Updates, hopefully purely cosmetic.
23391         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23392         state change patch.
23393         (gst_element_get_state_func): Renamed from get_state, cosmetic
23394         changes.
23395
23396 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23397
23398         * gst/elements/gstelements.c:
23399         * win32/GStreamer.vcproj:
23400         * win32/config.h:
23401         * win32/dirent.c: (_tseekdir):
23402         * win32/gst-inspect.vcproj:
23403         * win32/gst-launch.vcproj:
23404         * win32/gstconfig.h:
23405         * win32/gstelements.vcproj:
23406         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23407         * win32/gstreamer.def:
23408         * win32/msvc71.sln:
23409           updates for the win32 build (patch from Sebastien Moutte)
23410
23411 2005-10-10  Andy Wingo  <wingo@pobox.com>
23412
23413         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23414         gst_bin_get_state, cleaned up (but no logic changes).
23415         (bin_element_is_sink): Comment updates.
23416         (sink_iterator_filter): Remove needless cast.
23417         (gst_bin_iterate_sinks): Doc update.
23418         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23419         cleaned up (but no logic changes).
23420
23421         * check/states/sinks.c (test_src_sink): Cleanups from the state
23422         change patch.
23423         (test_livesrc_sink): Sync on the state.
23424
23425         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23426         the state change patch.
23427
23428         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23429         change patch.
23430
23431         * check/gst/gstbin.c: Merge in some style fixes and additional
23432         checks from Wim's state change patch.
23433
23434 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23435
23436         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23437         (gst_type_find_helper):
23438           Check whether we have the requested data already in our list of
23439           cached buffers before pulling a new buffer; also make the buffer
23440           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23441
23442 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23443
23444         * gst/gstcaps.c:
23445         * gst/gstevent.c:
23446           doc updates
23447         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23448           don't use long long, it's not portable.  Replacing with
23449           gint64 seems to work; let's hope no skeletons fall out of the closet.
23450
23451 2005-10-10  Andy Wingo  <wingo@pobox.com>
23452
23453         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23454
23455 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23456
23457         * docs/gst/gstreamer-sections.txt:
23458         * gst/gstevent.c:
23459         * gst/gstevent.h:
23460         * gst/gstinfo.c:
23461         * gst/gstinfo.h:
23462         * gst/gstmessage.c: (gst_message_parse_state_changed):
23463         * gst/gstpad.c:
23464         * gst/gstpad.h:
23465           more docs, fix compilation
23466
23467 2005-10-09  Philippe Khalaf <burger@speedy.org>
23468         * gst/gstmessage.c:
23469           Fixed a few forgotten variables on previous commit
23470
23471 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23472
23473         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23474           Fix evil typefind crasher: getrange() might return a short
23475           buffer at the end of a file, but gst_type_find_peek() must
23476           either return the full data as requested or NULL, but
23477           never a short buffer.
23478
23479 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23480
23481         * gst/gstmessage.c: (gst_message_new_state_changed),
23482         (gst_message_parse_state_changed):
23483         * gst/gstmessage.h:
23484           don't use "new", it's a C++ keyword
23485
23486 2005-10-08  Wim Taymans  <wim@fluendo.com>
23487
23488         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23489         * gst/gstelement.c: (gst_element_post_message):
23490         * gst/gstpipeline.c: (gst_pipeline_change_state):
23491         Small docs and debug updates.
23492
23493 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23494
23495         * docs/gst/gstreamer-sections.txt:
23496         * gst/gstelementfactory.c:
23497         * gst/gstevent.c:
23498         * gst/gsttaglist.c:
23499           more docs
23500
23501 2005-10-08  Wim Taymans  <wim@fluendo.com>
23502
23503         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23504         (gst_bin_dispose), (bin_bus_handler):
23505         Fix typos, add comments.
23506         Clear EOS list when going to PAUSED from any direction and do it
23507         in a threadsafe way.
23508         Get base time in a threadsafe way too.
23509         Fix confusing debug in the change_state function.
23510         Various other small cleanups.
23511         
23512         * gst/gstelement.c: (gst_element_post_message):
23513         Fix very verbose bus posting code.
23514
23515         * gst/gstpipeline.c: (gst_pipeline_class_init),
23516         (gst_pipeline_set_property), (gst_pipeline_get_property),
23517         (gst_pipeline_change_state):
23518         Small ARG_ -> PROP_ cleanup
23519
23520 2005-10-08  Wim Taymans  <wim@fluendo.com>
23521
23522         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23523         Do a less CPU demanding EOS check because we can.
23524
23525 2005-10-08  Wim Taymans  <wim@fluendo.com>
23526
23527         * libs/gst/dataprotocol/dataprotocol.c:
23528         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23529         (gst_dp_packet_from_event):
23530         * libs/gst/dataprotocol/dataprotocol.h:
23531         * libs/gst/dataprotocol/dp-private.h:
23532         It's about time we bump the version number.
23533         Since event types don't fit in the guint8 anymore describing
23534         the payload type, make payload type 16 bits wide.
23535
23536 2005-10-08  Wim Taymans  <wim@fluendo.com>
23537
23538         * docs/design/part-TODO.txt:
23539         * docs/design/part-clocks.txt:
23540         * docs/design/part-events.txt:
23541         * docs/design/part-gstbin.txt:
23542         * docs/design/part-gstelement.txt:
23543         * docs/design/part-gstpipeline.txt:
23544         * docs/design/part-live-source.txt:
23545         * docs/design/part-messages.txt:
23546         * docs/design/part-overview.txt:
23547         * docs/design/part-states.txt:
23548         Many doc updates.
23549
23550 2005-10-08  Wim Taymans  <wim@fluendo.com>
23551
23552         * gst/gstevent.c:
23553         * gst/gstevent.h:
23554         Fix event quark registration.
23555         Add some space between events so we can insert them in the
23556         right groups.
23557
23558 2005-10-08  Wim Taymans  <wim@fluendo.com>
23559
23560         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23561         (gst_base_sink_handle_buffer):
23562         Better log message.
23563
23564         * gst/gstbus.h:
23565         * gst/gstelement.h:
23566         More docs.
23567
23568         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23569         (gst_queue_set_property), (gst_queue_get_property):
23570         * gst/gstqueue.h:
23571         Remove old unused properties.
23572
23573 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23574         * docs/gst/gstreamer-sections.txt:
23575         * gst/gstmessage.c:
23576         * gst/gstmessage.h:
23577         * gst/gstminiobject.c:
23578         * gst/gstminiobject.h:
23579         * gst/gstobject.h:
23580         * gst/gstpad.h:
23581         * gst/gstutils.h:
23582           lots of new docs and doc fixes
23583
23584 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23585
23586         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23587         * gst/gstplugin.h:
23588         * gst/gstregistry.c: (gst_registry_lookup_locked),
23589         (gst_registry_scan_path_level):
23590         * gst/gstregistryxml.c: (load_plugin):
23591           Only ever load one plugin for a given plugin basename.
23592           This ensures correct overriding of GST_PLUGIN_PATH over
23593           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23594           system installed plugins.
23595
23596 2005-10-08  Wim Taymans  <wim@fluendo.com>
23597
23598         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23599         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23600         Prepare for doing QOS.
23601
23602 2005-10-08  Wim Taymans  <wim@fluendo.com>
23603
23604         * check/gst/gstbin.c: (GST_START_TEST):
23605         * check/pipelines/cleanup.c: (GST_START_TEST):
23606         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23607         Allow new clock message too.
23608
23609 2005-10-08  Wim Taymans  <wim@fluendo.com>
23610
23611         * gst/gstmessage.c: (gst_message_new_error),
23612         (gst_message_new_warning), (gst_message_new_tag),
23613         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23614         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23615         (gst_message_new_segment_start), (gst_message_new_segment_done),
23616         (gst_message_parse_state_changed),
23617         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23618         (gst_message_parse_new_clock):
23619         * gst/gstmessage.h:
23620         Also carry the clock in question.
23621
23622 2005-10-08  Wim Taymans  <wim@fluendo.com>
23623
23624         * gst/gstmessage.c: (gst_message_new_custom),
23625         (gst_message_new_eos), (gst_message_new_error),
23626         (gst_message_new_warning), (gst_message_new_tag),
23627         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23628         (gst_message_new_new_clock), (gst_message_new_segment_start),
23629         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23630         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23631         * gst/gstmessage.h:
23632         Clean up.
23633         Added clock related messages.
23634
23635         * gst/gstpipeline.c: (gst_pipeline_change_state):
23636         Post message when the clock changed.
23637
23638         * tools/gst-launch.c: (event_loop):
23639         Print new clock.
23640
23641 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23642
23643         * tools/gst-inspect.c: (print_element_properties_info):
23644           Can't pass NULL strings to g_print() on windows.
23645
23646 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23647
23648         * docs/Makefile.am:
23649         * docs/gst/Makefile.am:
23650         * docs/gst/gstreamer-docs.sgml:
23651         * docs/gst/running.xml:
23652         * docs/version.entities.in:
23653           add a chapter on running GStreamer.
23654           document GST_DEBUG and GST_PLUGIN* env vars
23655
23656 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23657
23658         * Makefile.am:
23659           remove include dir
23660         * configure.ac:
23661           remove PLUGINS_BUILDDIR stuff
23662         * gst/gst.c: (init_post):
23663           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23664         * idiottest.mak:
23665           remove, it was condescending and not needed
23666
23667 2005-10-08  Wim Taymans  <wim@fluendo.com>
23668
23669         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23670         (gst_base_sink_handle_object), (gst_base_sink_event),
23671         (gst_base_sink_wait), (gst_base_sink_handle_event),
23672         (gst_base_sink_change_state):
23673         * gst/base/gstbasesink.h:
23674         Repost EOS message while going to PLAYING if still EOS.
23675         Make sure that when receiving a FLUSH_START we don't attempt
23676         to sync on the clock anymore.
23677
23678 2005-10-08  Wim Taymans  <wim@fluendo.com>
23679
23680         * tools/gst-launch.c: (event_loop):
23681         Better message printout.
23682
23683 2005-10-08  Wim Taymans  <wim@fluendo.com>
23684
23685         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23686         (gst_bin_child_proxy_get_children_count):
23687         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23688         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23689         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23690         (gst_child_proxy_set_valist):
23691         * gst/parse/grammar.y:
23692         Make ChildProxy threadsafe and fix mem leaks.
23693
23694 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23695
23696         * gst/gst.c: (init_post):
23697           debug the GST_PLUGIN_ env vars
23698
23699 2005-10-08  Wim Taymans  <wim@fluendo.com>
23700
23701         * check/gst/gstbin.c: (GST_START_TEST):
23702         * check/gst/gstmessage.c: (GST_START_TEST):
23703         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23704         * gst/gstelement.c: (gst_element_commit_state),
23705         (gst_element_lost_state):
23706         * gst/gstmessage.c: (gst_message_new_state_changed),
23707         (gst_message_parse_state_changed):
23708         * gst/gstmessage.h:
23709         * tools/gst-launch.c: (event_loop):
23710         Added extra field to STATE_CHANGE message with the pending
23711         state, which will be different from the new state soon.
23712
23713 2005-10-08  Wim Taymans  <wim@fluendo.com>
23714
23715         * gst/gstbus.c: (gst_bus_pop):
23716         * gst/gstclock.c:
23717         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23718         Small cleanups and doc updates.
23719
23720 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23721
23722         * gst/gst.c: (init_pre):
23723         * gst/gstbin.c: (gst_bin_add_func):
23724           log distributing clocks and base time
23725         * gst/gstregistry.c: (gst_registry_add_plugin),
23726         (gst_registry_scan_path_level), (gst_registry_scan_path):
23727           clean up the debugging output a little
23728         * gst/gstutils.c: (gst_element_state_get_name):
23729           warn about a memleak (I've actually seen this be used, though
23730           it was probably a bug)
23731
23732 2005-10-07  Wim Taymans  <wim@fluendo.com>
23733
23734         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23735         (gst_base_src_init), (gst_base_src_default_newsegment),
23736         (gst_base_src_newsegment), (gst_base_src_do_seek),
23737         (gst_base_src_loop), (gst_base_src_start):
23738         * gst/base/gstbasesrc.h:
23739         Make the newsegment event customizable by subclasses.
23740
23741 2005-10-07  Wim Taymans  <wim@fluendo.com>
23742
23743         * gst/gstevent.c: (gst_event_new_buffersize),
23744         (gst_event_parse_buffersize):
23745         * gst/gstevent.h:
23746         New event for future idea.
23747
23748 2005-10-07  Andy Wingo  <wingo@pobox.com>
23749
23750         * gst/gstelement.c (gst_element_post_message): Doc update.
23751
23752         * docs/gst/gstreamer-sections.txt: Update.
23753
23754         * gst/gstmessage.c (gst_message_new_application): Made into a
23755         function like honest API calls.
23756         (gst_message_new_element): New message type.
23757
23758         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23759
23760         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23761         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23762         times.
23763
23764         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23765         NO_PREROLL from gst_element_change_state to fall through.
23766
23767 2005-10-07  Wim Taymans  <wim@fluendo.com>
23768
23769         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23770         (gst_ghost_pad_do_activate_push):
23771         Activating a ghostpad with no internal pad in push mode
23772         is ok.
23773
23774 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23775
23776         * gst/gstobject.h:
23777           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23778           Fixes compilation on Windows.
23779
23780 2005-10-07  Michael Smith <msmith@fluendo.com>
23781
23782         * tools/gst-inspect.c:
23783           Print out feature and plugin count at the end when printing out
23784           all features.
23785
23786 2005-10-04  Michael Smith <msmith@fluendo.com>
23787
23788         * gst/gsterror.c: (_gst_stream_errors_init):
23789           Add another error string used in a few existing plugins.
23790
23791         * gst/gstplugin.c:
23792         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23793         * tools/gst-inspect.c: (print_element_info):
23794           When a feature disappears from a plugin (and the feature exists in
23795           the cached registry file), things went horribly wrong. This isn't a
23796           complete fix, we should actually be removing the 'missing' features
23797           from the features list when we load the actual plugin. That's not
23798           yet implemented. 
23799
23800 2005-10-04  Johan Dahlin  <johan@gnome.org>
23801
23802         * check/gst/gstiterator.c: (GST_START_TEST):
23803         * gst/gstbin.c: (gst_bin_iterate_elements),
23804         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23805         * gst/gstelement.c: (gst_element_iterate_pads):
23806         * gst/gstformat.c: (gst_format_iterate_definitions):
23807         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23808         (gst_iterator_new_list), (gst_iterator_filter):
23809         * gst/gstiterator.h:
23810         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23811         Add a GType to GstIterator, update callsites and tests.
23812
23813 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23814
23815         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23816           give events a chance to be handled by event probes when the pad
23817           is not linked
23818
23819 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23820
23821         * gst/gstevent.c: (gst_event_type_get_name),
23822         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23823         * gst/gstevent.h:
23824           add string representations for event types
23825
23826 2005-10-06  Wim Taymans  <wim@fluendo.com>
23827
23828         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23829         Don't use NULL pointers.
23830
23831 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23832
23833         * gst/gst_private.h:
23834         * gst/gstbus.c:
23835         * gst/gstelement.c:
23836         * gst/gstinfo.c:
23837         * gst/gstpluginfeature.c:
23838           widen the debug category in output to fit the biggest one we have
23839           add a bus category and use it
23840           play with the colors
23841           fix up some categories
23842
23843 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23844
23845         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23846           add push activation of sink ghost pads.
23847           Andye, please verify
23848
23849 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23850
23851         * gst/gstutils.c: (gst_element_link_pads):
23852           fix a bug in the case where neither element has a pad
23853         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23854           add a test for that case
23855
23856 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23857
23858         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23859           emit have-data before checking for peers.  This allows
23860           for probe handlers to connect elements.  This helps autopluggers.
23861         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23862         (gst_pad_suite):
23863           add six checks, linked/unlinked with no/true/false probe
23864
23865 2005-10-04  Wim Taymans  <wim@fluendo.com>
23866
23867         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23868         (gst_fake_sink_event), (gst_fake_sink_preroll),
23869         (gst_fake_sink_render), (gst_fake_sink_change_state):
23870         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23871         (gst_fake_src_get_property), (gst_fake_src_create),
23872         (gst_fake_src_stop):
23873         * gst/elements/gstidentity.c: (gst_identity_stop):
23874         Protect last_message with lock.
23875
23876 2005-10-04  Edward Hervey  <edward@fluendo.com>
23877
23878         * gst/gstformat.h: 
23879         Added precision in the comments for GST_FORMAT_DEFAULT
23880
23881 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23882
23883         * tools/gst-launch.c: (main):
23884           Don't try to run erroneous pipelines.
23885
23886 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23887
23888         * gst/gstbus.c: We don't need this header.
23889
23890 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23891
23892         * configure.ac:
23893           back to development
23894
23895 === release 0.9.3 ===
23896
23897 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23898
23899         * README:
23900         * configure.ac:
23901           Releasing 0.9.3, "Unregistered"
23902
23903 2005-10-03  Andy Wingo  <wingo@pobox.com>
23904
23905         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23906         whereby calling a pad's activatepush() function can start a thread
23907         that starts to push or pull before the pad gets the FLUSHING flag
23908         unset. Hack around it by holding the stream lock until the flag is
23909         set. Need to replace this with a proper solution. Together with
23910         the ghost pad fixes, this fixes mp3 playing/tagreading.
23911
23912         * docs/design/part-gstghostpad.txt: Add a note about activation of
23913         proxy pads outside of ghost pads.
23914
23915         * gst/gstghostpad.c: Implement the ghost pad activation design.
23916
23917 2005-10-02  Andy Wingo  <wingo@pobox.com>
23918
23919         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23920         It is volatile, after all.
23921
23922         * docs/design/part-gstghostpad.txt: Flesh out activation with
23923         ghost pads.
23924
23925         * gst/base/gstbasesrc.c (gst_base_src_init): Use
23926         GST_DEBUG_FUNCPTR.
23927
23928 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
23929
23930         * configure.ac:
23931           Fix (unused) AM_CONDITIONAL tests.
23932
23933 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
23934
23935         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23936
23937         * gst/gstutils.c: (gst_pad_query_convert):
23938           Add assertion that makes sure src_val is >=0, just like
23939           gst_query_new_convert() has. (#315895)
23940
23941 2005-09-30  Edward Hervey  <edward@fluendo.com>
23942
23943         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23944         Let's not iterate pads we're not interested in, it avoids getting 
23945         sky-high refcounts on sinkpad.
23946
23947 2005-09-30  Wim Taymans  <wim@fluendo.com>
23948
23949         * gst/gstelement.c: (gst_element_set_state),
23950         (gst_element_change_state):
23951         Small tweak, element in ASYNC remains ASYNC.
23952
23953 2005-09-30  Wim Taymans  <wim@fluendo.com>
23954
23955         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23956         Only error is an error.
23957
23958         * gst/gstbin.c: (gst_bin_change_state):
23959         Better debugging.
23960
23961         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23962         Also call pad_block in pad alloc.
23963
23964         * gst/gstutils.c: (gst_flow_get_name):
23965         Better debugging.
23966
23967 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23968
23969         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23970         (gst_base_src_get_range):
23971           Fix documentation typos. Add some more debug info.
23972
23973 2005-09-29  David Schleef  <ds@schleef.org>
23974
23975         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23976           more end-user friendly.
23977         * tools/gst-inspect.c: (main): Check if command-line argument is
23978           a file and attempt to load that file as a plugin.
23979
23980 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23981
23982         * check/gst/gstbin.c:
23983         * check/states/sinks.c:
23984           fix tests for the new warning
23985         * check/gst/gstpipeline.c:
23986           add a test for pipeline and bus interaction
23987         * gst/gstelement.c:
23988           elements should be NULL if they get disposed; add a warning if not
23989
23990 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23991
23992         * gst/gstobject.c:
23993           for 2.6 refcounting, make debug log more correct by printing
23994           the actual refcounts at the time of swap (Wim)
23995
23996 2005-09-29  Andy Wingo  <wingo@pobox.com>
23997
23998         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23999         removes signal watches previously added via
24000         gst_bus_add_signal_watch.
24001         (gst_bus_add_signal_watch): Don't return the source id, just store
24002         it on the bus if there wasn't an id already.
24003
24004         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24005         add_signal_watch and remove_signal_watch.
24006
24007 2005-09-29  Edward Hervey  <edward@fluendo.com>
24008
24009         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24010         Better if we actually iterate the list :)
24011
24012 2005-09-29  Wim Taymans  <wim@fluendo.com>
24013
24014         * check/gst/gstbin.c: (GST_START_TEST):
24015         Change for new bus API.
24016
24017         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24018         (send_messages), (GST_START_TEST), (gstbus_suite):
24019         Change for new bus signal API.
24020
24021         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24022         (gst_bus_source_prepare), (gst_bus_source_check),
24023         (gst_bus_create_watch), (gst_bus_add_watch_full),
24024         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24025         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24026         * gst/gstbus.h:
24027         Remove support for multiple GSources operating on different
24028         message types as it is too complex and unneeded when using
24029         signals.
24030         Added support for receiving signals from the bus.
24031
24032 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24033
24034         * docs/libs/tmpl/gstdataprotocol.sgml:
24035         * docs/manual/advanced-dataaccess.xml:
24036         * gst/elements/gstcapsfilter.c:
24037         * gst/gstutils.c:
24038           rename filter-caps to caps property
24039
24040 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24041
24042         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24043           More robust fraction string parsing.
24044
24045         * docs/pwg/appendix-porting.xml:
24046           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24047
24048 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24049
24050         * gst/gstcaps.c: (gst_caps_do_simplify):
24051           Thou shalt not free a structure and then continue using it
24052           in the next loop iteration.
24053
24054         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24055         (gst_caps_suite):
24056           Add test case for caps simplification.
24057
24058 2005-09-29  Wim Taymans  <wim@fluendo.com>
24059
24060         * check/gst/gstbin.c: (GST_START_TEST):
24061         Oops.
24062
24063 2005-09-29  Wim Taymans  <wim@fluendo.com>
24064
24065         * check/gst/gstbin.c: (GST_START_TEST):
24066         Add bus to bin.
24067
24068         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24069         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24070         (find_element), (gst_bin_sort_iterator_next),
24071         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24072         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24073         (gst_bin_change_state), (gst_bin_dispose):
24074         A bin does not have a bus, it gets the bus from the parent.
24075
24076         * gst/gstelement.c: (gst_element_requires_clock),
24077         (gst_element_provides_clock), (gst_element_is_indexable),
24078         (gst_element_is_locked_state), (gst_element_change_state),
24079         (gst_element_set_bus_func):
24080         Small cleanups.
24081
24082         * gst/gstpipeline.c: (gst_pipeline_class_init),
24083         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24084         The pipeline provides a bus.
24085
24086 2005-09-28  Johan Dahlin  <johan@gnome.org>
24087
24088         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24089         gst_structure_get_enum instead of gst_structure_get_int
24090
24091         * gst/gststructure.c (gst_structure_get_enum): Impl.
24092
24093         * gst/gststructure.h (gst_structure_get_enum): Add
24094
24095         * docs/gst/gstreamer-sections.txt: Ditto
24096
24097         * gst/gstmessage.c (gst_message_new_state_changed): Use
24098         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24099         which does introspection.
24100         Reviewed by Christian Schaller
24101
24102 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24103
24104         * gst/gstinfo.c: (gst_debug_log_default):
24105           don't do dummy g_strdup()s
24106         * libs/gst/controller/gstcontroller.c:
24107         (on_object_controlled_property_changed),
24108         (gst_controlled_property_new), (gst_controller_new_valist),
24109         (gst_controller_new_list),
24110         (gst_controller_remove_properties_valist), (gst_controller_set),
24111         (gst_controller_get), (gst_controller_sync_values),
24112         (gst_controller_get_value_array), (_gst_controller_class_init),
24113         (gst_controller_get_type):
24114         * libs/gst/controller/gstcontroller.h:
24115         * libs/gst/controller/gstinterpolation.c:
24116         (gst_controlled_property_find_timed_value_node):
24117           convert // to /**/ comments
24118
24119 2005-09-28  Wim Taymans  <wim@fluendo.com>
24120
24121         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24122         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24123         (gst_bus_sync_signal_handler):
24124         * gst/gstbus.h:
24125         Added async-message and sync-message signals to the bus.
24126         Added helper BusFunc to emit signals for all posted messages.
24127
24128         * gst/gstmessage.c: (gst_message_type_get_name),
24129         (gst_message_type_to_quark), (gst_message_get_type):
24130         * gst/gstmessage.h:
24131         Register quarks for message names.
24132
24133 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24134
24135         * docs/libs/gstreamer-libs-sections.txt:
24136         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24137         (gst_controller_new_list):
24138         * libs/gst/controller/gstcontroller.h:
24139           added another constructor for language bindings
24140
24141 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24142
24143         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24144           add another check
24145         * gst/gstbus.c:
24146           add some doc
24147         * gst/gstinfo.c: (_gst_debug_init):
24148           slightly more readable color for refcount debugging
24149
24150 2005-09-28  Wim Taymans  <wim@fluendo.com>
24151
24152         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24153         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24154         (find_element), (gst_bin_sort_iterator_next),
24155         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24156         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24157         (gst_bin_change_state), (gst_bin_dispose):
24158         Small doc fixes. get_clock -> provide_clock.
24159
24160         * gst/gstelement.c: (gst_element_class_init),
24161         (gst_element_provides_clock), (gst_element_provide_clock),
24162         (gst_element_get_clock), (gst_element_commit_state),
24163         (gst_element_lost_state):
24164         * gst/gstelement.h:
24165         Make get/set_clock() symetric. Add provide_clock vmethod since
24166         that is actually what this function does.
24167
24168         * gst/gstpipeline.c: (gst_pipeline_class_init),
24169         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24170         (gst_pipeline_get_clock):
24171         get_clock -> provide_clock.
24172
24173 2005-09-28  Andy Wingo  <wingo@pobox.com>
24174
24175         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24176         lieu of real docs...
24177
24178         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24179
24180 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24181
24182         * gst/elements/gstcapsfilter.c:
24183         * gst/elements/gstfakesink.c:
24184         * gst/elements/gstfakesrc.c:
24185         * gst/elements/gstfdsink.c:
24186         * gst/elements/gstfdsrc.c:
24187         * gst/elements/gstfilesink.c:
24188         * gst/elements/gstfilesrc.c:
24189         * gst/elements/gstidentity.c:
24190         * gst/elements/gsttee.c:
24191         * gst/elements/gsttypefindelement.c:
24192           Make element details static.
24193
24194 2005-09-28  Wim Taymans  <wim@fluendo.com>
24195
24196         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24197         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24198         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24199         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24200         (gst_bin_change_state), (gst_bin_dispose):
24201         Some documentation updates.
24202         Clean up dispose handlers.
24203
24204         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24205         * gst/gstpad.c: (gst_pad_dispose):
24206         Clean up dispose handler.
24207
24208         * gst/gstpipeline.c: (gst_pipeline_change_state):
24209         Removed spurious UNLOCK.
24210
24211 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24212
24213         * docs/gst/gstreamer-sections.txt:
24214         * gst/base/gstbasesrc.h:
24215         * gst/gstelement.h:
24216         * gst/gstevent.h:
24217         * gst/gstobject.h:
24218         * gst/gstpad.h:
24219         * gst/gstpipeline.c:
24220         * gst/gstpipeline.h:
24221         * gst/gstutils.h:
24222         * gst/gstxml.h:
24223           added two new functions to the docs
24224                 documents all undocumented GstXXXFlags
24225                 completed some incomplete docs 
24226
24227 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24228
24229         * gst/gstbin.c: (gst_bin_dispose):
24230         * gst/gstelement.c: (gst_element_dispose):
24231           remove now useless and leaky resurrection code in dispose
24232         * gst/base/gstbasesrc.c: (gst_base_src_init):
24233         * gst/gstelementfactory.c: (gst_element_factory_create):
24234         * gst/gstobject.c: (gst_object_set_parent):
24235           add some debugging
24236
24237 2005-09-27  Wim Taymans  <wim@fluendo.com>
24238
24239         * docs/design/part-TODO.txt:
24240         Update TODO.
24241
24242         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24243         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24244         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24245         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24246         (gst_bin_change_state):
24247         * gst/gstelement.h:
24248         Remove element variable, we keep element info in the iterator now.
24249
24250 2005-09-27  Andy Wingo  <wingo@pobox.com>
24251
24252         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24253         values.
24254
24255 2005-09-27  Wim Taymans  <wim@fluendo.com>
24256
24257         * check/gst/gstbin.c: (GST_START_TEST):
24258         Enable check that works now.
24259
24260         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24261         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24262         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24263         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24264         (gst_bin_change_state):
24265         * gst/gstbin.h:
24266         Redid the state change algorithm using a topological sort algo.
24267         Handles all cases correctly.
24268         Exposed iterator for state change order.
24269
24270         * gst/gstelement.h:
24271         Temp storage for state changes. Need to get rid of this soon.
24272
24273 2005-09-27  Wim Taymans  <wim@fluendo.com>
24274
24275         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24276         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24277         (link_fold_func), (gst_pad_proxy_setcaps):
24278         Leak fixes, the fold functions need to unref the passed object and
24279         _get_parent_*() returns ref to parent.
24280
24281 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24282
24283         * check/gst/gstbuffer.c: (test_make_writable):
24284           Plug leak in test case and fix 'make check-valgrind'
24285
24286 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24287
24288         * gst/gstbuffer.c: (gst_subbuffer_init):
24289           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24290           works correctly in all circumstances (we could have just copied
24291           the parent buffer's readonly flag, but conceptually it seems
24292           cleaner to mark all subbuffers as read-only). (based on patch
24293           by Alessandro Decina, #314710).
24294         
24295         * check/gst/gstbuffer.c: (create_read_only_buffer),
24296         (test_make_writable), (test_subbuffer_make_writable),
24297         (gst_test_suite):
24298           Add some tests for gst_buffer_make_writable().
24299
24300 2005-09-27  Wim Taymans  <wim@fluendo.com>
24301
24302         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24303         use gst_object_has_ancestor().
24304
24305         * gst/gstobject.c: (gst_object_has_ancestor):
24306         * gst/gstobject.h:
24307         gst_object_has_ancestor() copied from gstbin.c as it is a
24308         useful function.
24309
24310         * tests/instantiate/create.c: (create_all_elements):
24311         * tests/lat.c: (handoff_src), (handoff_sink):
24312         * tests/sched/runxml.c: (main):
24313         * tests/seeking/seeking1.c: (main):
24314         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24315         (main):
24316         Fix compilation of some tests.
24317
24318 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24319
24320         * gst/gsterror.h:
24321           Remove comment. GST_TYPE_G_ERROR is here to stay,
24322           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24323           (#316961, #300610).
24324
24325 2005-09-26  Wim Taymans  <wim@fluendo.com>
24326
24327         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24328         Added check that shows error in state change order.
24329
24330 2005-09-26  Wim Taymans  <wim@fluendo.com>
24331
24332         * gst/gstbin.c: (gst_bin_change_state):
24333         Make state change function use 3 queues again, we were
24334         adding elements in the wrong order.
24335
24336         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24337         Some debug info,
24338
24339         * gst/gstpad.c: (gst_pad_dispose):
24340         Added some debug info first.
24341
24342 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24343
24344         * docs/design/draft-push-pull.txt:
24345         * docs/design/part-events.txt:
24346         * docs/design/part-overview.txt:
24347         * docs/design/part-scheduling.txt:
24348           Replace all _pull_region() with _pull_range()
24349           
24350 2005-09-26  Andy Wingo  <wingo@pobox.com>
24351
24352         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24353
24354         * check/gst-libs/controller.c: Update for controller api change.
24355
24356         * configure.ac: 
24357         * tests/Makefile.am:
24358         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24359         over by GLib bug 118439.
24360         
24361         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24362         routines to a function.
24363
24364         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24365
24366         * libs/gst/controller/gsthelper.c:
24367         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24368         (gst_object_sync_values): Renamed from sink_values. Ugh.
24369
24370         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24371
24372         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24373         Renamed from controller_key, as it is exported.
24374
24375         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24376
24377 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24378
24379         * gst/Makefile.am:
24380         * gst/gst.h:
24381         * gst/gstpad.h:
24382         * gst/gstpadtemplate.h:
24383         * gst/gstquery.c:
24384         * gst/gstquery.h:
24385         * gst/gstqueryutils.c:
24386         * gst/gstqueryutils.h:
24387           remove queryutils headers after moving the two used functions
24388           to gstquery.  also fixes build problem for gstsiddec
24389
24390 2005-09-26  Michael Smith <msmith@fluendo.com>
24391
24392         * tools/gst-launch.1.in:
24393         Correct documentation in manpage of debug syntax
24394
24395 2005-09-26  Wim Taymans  <wim@fluendo.com>
24396
24397         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24398         (gst_base_src_is_seekable), (gst_base_src_change_state):
24399         Some more debugging info.
24400
24401 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24402
24403         * docs/gst/gstreamer-sections.txt:
24404         * gst/base/gstbasetransform.h:
24405         * gst/gstindex.h:
24406           added more docs
24407
24408 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24409
24410         * docs/gst/.cvsignore:
24411         * docs/gst/tmpl/.cvsignore:
24412         * docs/gst/tmpl/gstpipeline.sgml:
24413         * docs/gst/tmpl/gstplugin.sgml:
24414         * gst/gstpipeline.c:
24415         * gst/gstplugin.c:
24416         * gst/gstplugin.h:
24417           inlined the last two docs files
24418           removed the tmpl directory from cvs (no more conflicts here!)
24419
24420 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24421
24422         * docs/gst/gstreamer-sections.txt:
24423         * docs/gst/tmpl/.cvsignore:
24424         * docs/gst/tmpl/gstpad.sgml:
24425         * docs/gst/tmpl/gstpadtemplate.sgml:
24426         * gst/Makefile.am:
24427         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24428         (gst_pad_finalize), (gst_pad_set_pad_template):
24429         * gst/gstpad.h:
24430         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24431         (gst_pad_template_class_init), (gst_pad_template_init),
24432         (gst_pad_template_dispose), (name_is_valid),
24433         (gst_static_pad_template_get), (gst_pad_template_new),
24434         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24435         (gst_pad_template_pad_created):
24436         * gst/gstpadtemplate.h:
24437           inlined two more docs
24438           factored gstpadtemplate out of gstpad
24439
24440 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24441
24442         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24443         (test_children_state_change_order_semi_sink):
24444           Fix test case: we can't rely on a fixed state change order when
24445           going from READY => PAUSED because the sink might commit its 
24446           new state first when the first buffer created by the source 
24447           reaches the sink before the source has finished its change state.
24448           (Test case still fails at times, see #316856, comment 5 onwards)
24449
24450 2005-09-24  Wim Taymans  <wim@fluendo.com>
24451
24452         * docs/design/part-events.txt:
24453         * docs/design/part-gstbus.txt:
24454         * docs/design/part-gstpipeline.txt:
24455         * docs/design/part-messages.txt:
24456         * docs/design/part-overview.txt:
24457         * docs/design/part-segments.txt:
24458         * gst/gstbin.c:
24459         * gst/gstbuffer.c:
24460         * gst/gstclock.c:
24461         * gst/gstelement.c:
24462         * gst/gstevent.c:
24463         * gst/gstfilter.c:
24464         * gst/gstiterator.c:
24465         Various documentation updates.
24466
24467 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24468
24469         * gst/gstclock.h:
24470           Well, that's embarassing.  Luckily we weren't using
24471           GST_CLOCK_DIFF anywhere.
24472
24473 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24474
24475         * common/gtk-doc.mak:
24476           don't fail on building XML, FC4 slave shows a bunch of doc
24477           missing bits that I don't get
24478         * gst/gstpad.c:
24479         * gst/gstpipeline.c:
24480         * gst/gststructure.c:
24481           some doc updates
24482
24483 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24484
24485         * docs/design/part-gstbin.txt:
24486         * docs/design/part-gstbus.txt:
24487         * gst/gstbus.c:
24488           Add blurb about how the bus goes into flushing mode and
24489           drops all messages when its bin goes from READY into NULL 
24490           state.
24491
24492 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24493
24494         * docs/gst/gstreamer-sections.txt:
24495         * gst/gststructure.c: (gst_structure_get_clock_time):
24496         * gst/gststructure.h:
24497           add a method to get a GstClockTime out of a structure
24498
24499 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24500
24501         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24502         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24503           Added test to check state change order in bins (can still be made
24504           to fail here under heavy disk load; bails out with 'Push on pad
24505           fakesink:sink0, but it was not activated in push mode').
24506
24507         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24508           Fix state change order when there is only a semi sink (#316856)
24509
24510         * gst/gstbus.c: (gst_bus_class_init):
24511           Use _class_peek_parent(), not _class_ref(); fix docs to say
24512           'default main context' instead of 'mainloop' where that is
24513           what's meant.
24514
24515         * gst/gstelement.c: (gst_element_commit_state),
24516         (gst_element_set_state):
24517           Fix typos in debug messages
24518
24519 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24520
24521         * docs/README:
24522         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24523         * gst/gstpluginfeature.c:
24524         * gst/gstutils.c:
24525           various doc updates
24526         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24527           change an assert into an error until it gets fixed properly
24528
24529 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24530
24531         * docs/gst/gstreamer-sections.txt:
24532         * docs/gst/tmpl/.cvsignore:
24533         * docs/gst/tmpl/gstelement.sgml:
24534         * docs/gst/tmpl/gstinfo.sgml:
24535         * docs/gst/tmpl/gstobject.sgml:
24536         * gst/gstelement.c:
24537         * gst/gstelement.h:
24538         * gst/gstinfo.c:
24539         * gst/gstinfo.h:
24540         * gst/gstobject.c: (gst_object_class_init):
24541         * gst/gstobject.h:
24542           inlined 3 more biiiig doc files and added some missing docs on the fly
24543
24544 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24545
24546         * check/gst/.cvsignore:
24547         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24548         * gst/gstregistryxml.c: (load_plugin),
24549         (gst_registry_xml_save_plugin):
24550           put back source in registry.  add checks for find_plugin.
24551         * testsuite/states/bin.c: (assert_state), (empty_bin),
24552         (test_adding_one_element), (main):
24553         * testsuite/states/locked.c: (main):
24554           some compile/run fixes
24555
24556 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24557
24558         * check/gst/gstvalue.c: (GST_START_TEST):
24559           fix leaks in the test itself
24560
24561 2005-09-22  Wim Taymans  <wim@fluendo.com>
24562
24563         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24564         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24565         (gst_base_sink_query):
24566         Prepare for more accurate position reporting and query
24567         handling.
24568
24569         * gst/gstelement.c: (gst_element_send_event),
24570         (gst_element_set_state):
24571         Add some comment.
24572
24573 2005-09-22  Wim Taymans  <wim@fluendo.com>
24574
24575         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24576         (gst_query_parse_segment):
24577         * gst/gstquery.h:
24578         More documentation.
24579         Add segment query for future use.
24580
24581 2005-09-22  Wim Taymans  <wim@fluendo.com>
24582
24583         * gst/gstbin.c: (gst_bin_add_func):
24584         Some more debug info.
24585
24586         * gst/gstelement.c: (gst_element_send_event):
24587         Simplify send_event
24588
24589         * gst/gstelement.h:
24590         Don't know how flags got broken.
24591
24592         * gst/gstquery.h:
24593         Added new query.
24594
24595 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24596
24597         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24598           Add simplistic test suite for GST_TYPE_DATE serialisation and
24599           deserialisation.
24600
24601 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24602
24603         * docs/gst/gstreamer-sections.txt:
24604         * gst/gststructure.c: (gst_structure_set_valist),
24605         (gst_structure_get_date):
24606         * gst/gststructure.h:
24607         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24608         (gst_date_copy), (gst_value_compare_date),
24609         (gst_value_serialize_date), (gst_value_deserialize_date),
24610         (gst_value_transform_date_string),
24611         (gst_value_transform_string_date), (_gst_value_initialize):
24612         * gst/gstvalue.h:
24613           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24614           bunch of utility functions along with a hack that checks that
24615           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24616           is required. Part of the grand scheme in #170777.
24617
24618 2005-09-22  Andy Wingo  <wingo@pobox.com>
24619
24620         * gst/gstconfig.h.in: Psych out gtk-doc.
24621
24622         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24623
24624         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24625
24626         * tools/gst-inspect.c (print_element_list): Plug some
24627         inconsequential leaks.
24628
24629         * gst/gstregistry.c (gst_registry_get_default): Doc.
24630
24631         * check/gst/gstplugin.c: 
24632         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24633         * gst/gstelementfactory.c (gst_element_factory_create): 
24634         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24635         refcount changes.
24636
24637         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24638         (gst_plugin_feature_load): Doc, don't eat refs.
24639
24640         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24641         (gst_plugin_list_free): Doc.
24642         (gst_plugin_load_file): Doc updates.
24643
24644         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24645         accessors returning refcounted objects, return a ref.
24646
24647         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24648         accessor for caps. IDEMPOTENCE. Oh yes.
24649
24650 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24651
24652         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24653
24654         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24655         (_gst_debug_register_funcptr):
24656           Add mutex to serialise access to the hash table with
24657           the function pointer => function name string mapping;
24658           make that hash table static scope (#316809).
24659
24660         * gst/registries/.cvsignore:
24661           Remove left-over file.
24662
24663 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24664
24665         * docs/pwg/appendix-porting.xml:
24666           And something about newsegment events and caps-on-buffers to
24667           the porting guide (feel free to improve).
24668
24669 2005-09-21  Andy Wingo  <wingo@pobox.com>
24670
24671         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24672         data and event probes on the same pad.
24673         (test_buffer_probe_once): Test that removing probes from within
24674         the probe functions works.
24675
24676 2005-09-21  Andy Wingo  <wingo@pobox.com>
24677
24678         * check/gst/gstutils.c: New file.
24679         (test_buffer_probe_n_times): A simple buffer probe test. More to
24680         come, foolios.
24681
24682         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24683         have-data::buffer, not have-data.
24684         (gst_pad_add_event_probe): Likewise for have-data::event.
24685         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24686         peer' isn't quite right yet though.
24687         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24688         (gst_pad_remove_data_probe): Change to take the guint handler_id
24689         as their arg, not the function+data, which is more glib-like.
24690
24691         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24692         the signal emission to indicate if the data is a buffer or an
24693         event.
24694         (gst_pad_get_type): Initialize buffer and event quarks.
24695         (gst_pad_class_init): have-data is now a detailed signal, yes it
24696         is.
24697
24698 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24699
24700         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24701         * gst/gstutils.c: (gst_util_set_value_from_string),
24702         (gst_util_set_object_arg):
24703           Don't put functional code in g_return_if_fail() or
24704           g_return_val_if_fail() statements, otherwise things will 
24705           break when G_DISABLE_CHECKS is defined during compilation.
24706
24707 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24708
24709         * docs/gst/tmpl/.cvsignore:
24710         * docs/gst/tmpl/gstvalue.sgml:
24711         * gst/gstvalue.c:
24712         * gst/gstvalue.h:
24713           inlied another one and added  some obvious docs
24714
24715 2005-09-21  Wim Taymans  <wim@fluendo.com>
24716
24717         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24718         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24719         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24720         (gst_fdsrc_get_property), (gst_fdsrc_create):
24721         * gst/elements/gstfdsrc.h:
24722         Properly implement fdsrc. Removed signal and timeout,
24723         better implemented somewhere else.
24724
24725 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24726
24727         * docs/gst/tmpl/.cvsignore:
24728         * docs/gst/tmpl/gstimplementsinterface.sgml:
24729         * gst/gstinterface.c:
24730           inlined more docs
24731
24732 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24733
24734         * docs/gst/gstreamer-sections.txt:
24735         * docs/gst/tmpl/.cvsignore:
24736         * docs/gst/tmpl/gstenumtypes.sgml:
24737           remove obsolete doc file
24738
24739 2005-09-21  David Schleef  <ds@schleef.org>
24740
24741         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24742         little beer, fix a little leak.
24743
24744 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24745
24746         * docs/gst/gstreamer-docs.sgml:
24747         * docs/gst/gstreamer-sections.txt:
24748         * docs/gst/tmpl/.cvsignore:
24749         * gst/Makefile.am:
24750         * gst/gst.h:
24751         * gst/gstbin.c:
24752         * gst/gstelement.h:
24753         * gst/gstindex.c: (gst_index_class_init):
24754         * gst/gstindex.h:
24755         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24756         (gst_index_factory_class_init), (gst_index_factory_init),
24757         (gst_index_factory_finalize), (gst_index_factory_new),
24758         (gst_index_factory_destroy), (gst_index_factory_find),
24759         (gst_index_factory_create), (gst_index_factory_make):
24760         * gst/gstindexfactory.h:
24761         * gst/gstpluginfeature.c:
24762         * gst/gstpluginfeature.h:
24763         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24764           more docs inlined, splitted gstindex.{c,h}
24765
24766 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24767
24768         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24769           fix a leak
24770
24771 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24772
24773         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24774           Set sync to FALSE by default.
24775
24776 2005-09-20  Wim Taymans  <wim@fluendo.com>
24777
24778         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24779         (gst_base_sink_init):
24780         Make sync property settable from subclass.
24781
24782         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24783         (gst_fake_sink_change_state):
24784         Set sync to FALSE by default.
24785
24786 2005-09-20  Wim Taymans  <wim@fluendo.com>
24787
24788         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24789         * tools/gst-launch.c: (main):
24790         The timeout handler should have lower priority than the source
24791         so we don't timeout before popping a message with 0 timeout.
24792         Dump error messages after failed state change.
24793
24794 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24795
24796         * tools/gst-inspect.c: (print_element_properties_info):
24797           Fix two typos.
24798
24799 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24800
24801         * check/gst/gstevent.c:
24802         * gst/elements/gstfakesink.c:
24803         * gst/elements/gstfakesink.h:
24804           remove the sync property from fakesink.
24805           has the side effect of setting sync TRUE
24806           for fakesink, which is a change.  Anyone who knows how
24807           to fix this nicely in a GObject-y way, feel free.
24808
24809 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24810
24811         * docs/gst/gstreamer-docs.sgml:
24812           remove probe refsection
24813
24814 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24815
24816         * check/Makefile.am:
24817           disable valgrinding the controller test again
24818         * docs/gst/gstreamer-sections.txt:
24819           update for api-changes
24820
24821 2005-09-20  Wim Taymans  <wim@fluendo.com>
24822
24823         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24824         (gst_base_sink_set_property), (gst_base_sink_get_property),
24825         (gst_base_sink_do_sync):
24826         * gst/base/gstbasesink.h:
24827         Added sync property to basesink to disable clock sync.
24828
24829 2005-09-20  Andy Wingo  <wingo@pobox.com>
24830
24831         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24832         eating the caller's refcount.
24833
24834         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24835         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24836         refcount.
24837
24838         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24839         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24840         of GLib 2.8 public, so we can know which refcount to check in
24841         tests.
24842
24843         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24844         (gst_object_init): Only set the gst refcount if we're going ahead
24845         with the refcount hack.
24846
24847 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24848
24849         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24850         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24851           more leaks plumbed, added more debug-logging
24852         * gst/gstmacros.h:
24853           whitespace fix
24854
24855 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24856
24857         * gst/gstmessage.c:
24858           remove include of gstmemchunk.h
24859
24860 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24861
24862         * gst/gstclock.c: (_gst_clock_id_free):
24863           Commit from the Political Party For More Atomic CVS Commits,
24864           so that people don't waste too much of their day fishing
24865           out obvious leaks out of massive commits.
24866           Oh, and fix a pretty damn obvious leak in the memchunk
24867           removal code.
24868
24869 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24870
24871         * check/Makefile.am:
24872         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24873           plug mem-leak, re-add to valgrindable tests
24874
24875 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24876
24877         * gst/gstplugin.h:
24878           unbreak the build for those who have chronic arthritis
24879           and typing "make check" is just too taxing on the hands
24880
24881 2005-09-20  Andy Wingo  <wingo@pobox.com>
24882
24883         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24884         really want it out, you should fix plugins at the same time.
24885
24886 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24887
24888         * configure.ac:
24889         * docs/gst/gstreamer-sections.txt:
24890         * gst/gstobject.c:
24891           added missing symbols to api docs
24892           disable ref-count hack if we have glib >= 2.8
24893
24894 2005-09-19  David Schleef  <ds@schleef.org>
24895
24896         * docs/gst/Makefile.am: Ignore a few more internal headers
24897         * docs/gst/gstreamer-docs.sgml: Remove old sections
24898         * docs/gst/gstreamer-sections.txt: Remove old sections
24899         * docs/gst/tmpl/gstobject.sgml: update
24900         * docs/gst/tmpl/gstplugin.sgml: update
24901         * docs/gst/tmpl/gstpluginfeature.sgml: update
24902         * docs/random/ds/0.9-suggested-changes: update.
24903         * gst/Makefile.am: remove memchunk and trashstack, since they're
24904           not used.
24905         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24906         * gst/gst.h: don't include some headers
24907         * gst/gstchildproxy.c: add gstmarshal.h
24908         * gst/gstclock.c: Don't use memchunks
24909         * gst/gstminiobject.c: Add some docs
24910         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24911         * gst/gstobject.h: same
24912         * gst/gstplugin.c: include gstmacros.h
24913         * gst/gstplugin.h: don't include gstmacros.h, since it's private
24914         * gst/gstquery.c: don't use memchunks
24915         * gst/gstregistry.c: rename gst_registry_deinit()
24916         * gst/gstregistry.h: same
24917
24918 2005-09-19  David Schleef  <ds@schleef.org>
24919
24920         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24921         * docs/libs/gstreamer-libs-sections.txt:
24922         * docs/libs/tmpl/gstgetbits.sgml:
24923         * docs/libs/tmpl/gstputbits.sgml:
24924
24925 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
24926
24927         * win32/gstenumtypes.c:
24928         * win32/gstenumtypes.h:
24929           Update.
24930
24931 2005-09-19  Wim Taymans  <wim@fluendo.com>
24932
24933         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24934         Automatically PAUSE and RESUME a pipeline when a flushing seek
24935         is performed.
24936
24937 2005-09-19  Andy Wingo  <wingo@pobox.com>
24938
24939         * gst/gstregistry.h: Spacing fixen.
24940
24941 2005-09-19  Wim Taymans  <wim@fluendo.com>
24942
24943         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24944         Handle state change failure more correctly.
24945
24946 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24947
24948         * check/Makefile.am:
24949         * check/pipelines/cleanup.c: (run_pipeline):
24950         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24951         (GST_START_TEST):
24952           enable cleanup again after fixing the leak
24953         * docs/README:
24954           some more info on docs
24955
24956 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24957
24958         * check/Makefile.am:
24959           re-enable tests now that leaks are plugged
24960         * check/gst/gst.c:
24961         * check/gst/gstbin.c:
24962         * check/gst/gstpipeline.c:
24963           add some more tests while fixing leaks
24964         * common/check.mak:
24965           make sure binaries are uptodate when valgrinding/gdbing
24966         * gst/gst.c:
24967         * gst/gstelementfactory.c:
24968           remove a ref too many, and add a FIXME for when we get
24969           round to disposing of classes
24970         * gst/gstplugin.c:
24971           fix the refcounting when loading a plugin from a file and
24972           the code pretends that the pointer is the same even though
24973           of course it can change
24974         * gst/gstpluginfeature.c:
24975           unref plugins marked cached (a bit confusing as a name)
24976           as the docs state should be done
24977           various doc additions to explain refcounting
24978         * gst/gstregistry.c:
24979         * gst/gstregistryxml.c:
24980           debugging
24981
24982 2005-09-19  Wim Taymans  <wim@fluendo.com>
24983
24984         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24985         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24986         (send_messages), (GST_START_TEST), (gstbus_suite):
24987         * check/gst/gstpipeline.c: (GST_START_TEST):
24988         * check/pipelines/cleanup.c: (run_pipeline):
24989         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24990         (GST_START_TEST):
24991         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24992         (gst_bus_source_check), (gst_bus_source_dispatch),
24993         (gst_bus_create_watch), (gst_bus_add_watch_full),
24994         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24995         * gst/gstbus.h:
24996         * tools/gst-launch.c: (event_loop):
24997         * tools/gst-md5sum.c: (event_loop):
24998         GstBusHandler -> GstBusFunc, return value has the same meaning as
24999         any other GSource (FALSE == remove source).
25000         _add_watch() and _add_watch_full() now take a MessageType mask to
25001         only handle specific types of messages.
25002         _poll() returns the GstMessage instead of the message type to avoid
25003         race conditions.
25004         _have_pending() takes a MessageType mask now too.
25005         Added testsuite for multiple bus watches.
25006         Fix testsuites and applications for new bus API.
25007
25008 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25009
25010         * check/Makefile.am:
25011           mark a bunch of the tests as to fix until we fix them
25012
25013 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25014
25015         * common/check.mak:
25016           use GST_PLUGIN settings for valgrind tests as well, so we're
25017           valgrinding the correct thing
25018         * gst/gst.c: (init_post):
25019           plug another leak
25020
25021 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25022
25023         * gst/gst.c: (init_post), (gst_deinit):
25024         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25025         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25026         * gst/gstindex.c: (gst_index_factory_class_init),
25027         (gst_index_factory_finalize):
25028         * gst/gstobject.c: (gst_object_dispose):
25029         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25030         (gst_plugin_load_file), (gst_plugin_desc_free):
25031         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25032         (gst_plugin_feature_finalize):
25033         * gst/gstregistry.c: (gst_registry_class_init),
25034         (gst_registry_init), (gst_registry_finalize),
25035         (gst_registry_get_default), (gst_registry_deinit):
25036         * gst/gstregistry.h:
25037         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25038           various cleanups and memleak plugging.  make valgrind is happy now.
25039
25040 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25041
25042         * common/check.mak:
25043           add a check-valgrind target
25044
25045 2005-09-18  David Schleef  <ds@schleef.org>
25046
25047         * tools/gst-inspect.c: Revert the GOption code.
25048
25049 2005-09-17  David Schleef  <ds@schleef.org>
25050
25051         * check/Makefile.am: Fix environment variables.
25052         * check/gst/gstplugin.c: Fix for API changes.
25053         * tools/gst-inspect.c: Fix for API changes.
25054         * tools/gst-xmlinspect.c: Fix for API changes.
25055         * gst/gstelementfactory.c:
25056         * gst/gstplugin.c:
25057         * gst/gstplugin.h:
25058         * gst/gstpluginfeature.c:
25059         * gst/gstpluginfeature.h:
25060         * gst/gstregistry.c:
25061         * gst/gstregistry.h:
25062         * gst/gstregistryxml.c:
25063         * gst/gsttypefind.c:
25064         * gst/gsttypefindfactory.c:
25065         * gst/indexers/gstfileindex.c:
25066         * gst/indexers/gstmemindex.c:
25067         * gst/schedulers/Makefile.am:
25068           Change registry to keep track of both plugins and features,
25069           removing the feature tracking from plugins themselves.
25070
25071 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25072
25073         * check/Makefile.am:
25074         * tools/gst-register.1.in:
25075           remove gst-register
25076
25077 2005-09-15  David Schleef  <ds@schleef.org>
25078
25079         * check/gst/gstplugin.c:
25080         * gst/gstelementfactory.c:
25081         * gst/gstplugin.c:
25082         * gst/gstpluginfeature.c:
25083         * gst/gstregistry.c:
25084           Getting tired of debugging.  Disabled all the unreffing of
25085           plugins and features, which fixes the segfaults, but of
25086           course leaks like crazy.  At least playbin works.
25087
25088 2005-09-15  David Schleef  <ds@schleef.org>
25089
25090         * check/gst/gstplugin.c: (register_check_elements),
25091         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25092         More testing
25093         * gst/elements/gsttypefindelement.c: Fix refcounting.
25094         * gst/gsttypefind.c:
25095         * gst/gsttypefindfactory.c:
25096         * gst/gsttypefindfactory.h:
25097
25098 2005-09-15  David Schleef  <ds@schleef.org>
25099
25100         * gst/gstindex.c: get refcounting correct.
25101         * gst/gstregistry.c: Handle the case where a feature/plugin is
25102           not found.
25103
25104 2005-09-15  David Schleef  <ds@schleef.org>
25105
25106         * check/Makefile.am:
25107         * check/gst/gstplugin.c: Add test
25108         * gst/gstplugin.c: Fix problems noticed by testsuite
25109         * gst/gstplugin.h:
25110         * gst/gstregistry.c: 
25111         * gst/gstregistry.h:
25112
25113 2005-09-15  David Schleef  <ds@schleef.org>
25114
25115         * gst/gstplugin.c: Implement semi-decent recounting and locking
25116           in plugins and plugin features.
25117         * gst/gstplugin.h:
25118         * gst/gstpluginfeature.c:
25119         * gst/gstpluginfeature.h:
25120         * gst/gstregistry.c:
25121
25122 2005-09-15  Michael Smith <msmith@fluendo.com>
25123
25124         * gst/gstregistry.c: (gst_registry_get_feature_list):
25125           Implement this. Makes oggdemux work; decodebin still broken.
25126
25127 2005-09-14  David Schleef  <ds@schleef.org>
25128
25129         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25130           #316076)
25131         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25132         * gst/check/Makefile.am:
25133         * libs/gst/controller/Makefile.am:
25134         * libs/gst/dataprotocol/Makefile.am:
25135
25136 2005-09-14  David Schleef  <ds@schleef.org>
25137
25138         * configure.ac: Remove getbits library.  Nothing uses it, and
25139           it should be in something like liboil if someone did want
25140           to use it.
25141         * libs/gst/Makefile.am:
25142         * libs/gst/getbits/Makefile.am:
25143         * libs/gst/getbits/gbtest.c:
25144         * libs/gst/getbits/getbits.c:
25145         * libs/gst/getbits/getbits.h:
25146         * libs/gst/getbits/gstgetbits_generic.c:
25147         * libs/gst/getbits/gstgetbits_i386.s:
25148         * libs/gst/getbits/gstgetbits_inl.h:
25149
25150 2005-09-14  David Schleef  <ds@schleef.org>
25151
25152         * gst/Makefile.am: Dist glib-compat.h
25153
25154 2005-09-14  David Schleef  <ds@schleef.org>
25155
25156         * configure.ac: Remove gst/registries, since it's no longer used.
25157         * gst/registries/Makefile.am:
25158         * gst/registries/gstlibxmlregistry.c:
25159         * gst/registries/gstlibxmlregistry.h:
25160         * gst/registries/gstxmlregistry.c:
25161         * gst/registries/gstxmlregistry.h:
25162         * gst/registries/registrytest.c:
25163
25164 2005-09-14  David Schleef  <ds@schleef.org>
25165
25166         * gst/glib-compat.h:
25167         * gst/gstregistryxml.c:
25168           Convergence is near.  Seriously.
25169
25170 2005-09-14  David Schleef  <ds@schleef.org>
25171
25172         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25173         * gst/glib-compat.h:
25174           Attempt #4 to appease the buildbots.
25175
25176 2005-09-14  David Schleef  <ds@schleef.org>
25177
25178         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25179           Attempt #3.
25180
25181 2005-09-14  David Schleef  <ds@schleef.org>
25182
25183         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25184         Attempt #2.
25185
25186 2005-09-14  David Schleef  <ds@schleef.org>
25187
25188         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25189           the new functions.
25190
25191 2005-09-14  David Schleef  <ds@schleef.org>
25192
25193         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25194         * gst/glib-compat.h: Add some functions that are in newer versions
25195           of glib than we care to require.
25196         * gst/gstregistryxml.c: Use them.
25197
25198 2005-09-14  David Schleef  <ds@schleef.org>
25199
25200         * po/POTFILES.in: remove gst-register.c
25201
25202 2005-09-14  David Schleef  <ds@schleef.org>
25203
25204         * docs/gst/gstreamer-docs.sgml:
25205         * docs/gst/gstreamer-sections.txt:
25206         * docs/gst/gstreamer.types:
25207         * docs/gst/tmpl/gstelement.sgml:
25208         * docs/gst/tmpl/gstplugin.sgml:
25209         * docs/gst/tmpl/gstpluginfeature.sgml:
25210           Documentation updates for registry changes.
25211
25212 2005-09-14  David Schleef  <ds@schleef.org>
25213
25214         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25215           because we don't require glib-2.8.
25216
25217 2005-09-14  David Schleef  <ds@schleef.org>
25218
25219         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25220           registries directory.
25221
25222 2005-09-14  David Schleef  <ds@schleef.org>
25223
25224         * check/Makefile.am:
25225         * check/generic/states.c:
25226         * gst/Makefile.am:
25227         * gst/gst.c:
25228         * gst/gst.h:
25229         * gst/gst_private.h:
25230         * gst/gstelementfactory.c:
25231         * gst/gstindex.c:
25232         * gst/gstinfo.c:
25233         * gst/gstplugin.c:
25234         * gst/gstplugin.h:
25235         * gst/gstpluginfeature.c:
25236         * gst/gstpluginfeature.h:
25237         * gst/gstregistry.c:
25238         * gst/gstregistry.h:
25239         * gst/gstregistrypool.c: remove
25240         * gst/gstregistrypool.h: remove
25241         * gst/gsttypefind.c:
25242         * gst/gsttypefindfactory.c:
25243         * gst/gsturi.c:
25244         * tools/Makefile.am:
25245         * tools/gst-compprep.c:
25246         * tools/gst-inspect.c:
25247         * tools/gst-register.c: remove
25248         * tools/gst-xmlinspect.c:
25249           Registry rewrite.  Changes registry from being a file created
25250           by a tool into a simple cache file created automatically by 
25251           libgstreamer.  Removed gst-register (because it's no longer
25252           needed).  Remove registry pools, because we only have one
25253           registry implementation (XML).  Fix up other subsystems as
25254           necessary.
25255
25256 2005-09-13  Michael Smith <msmith@fluendo.com>
25257
25258         * gst/gstconfig.h.in:
25259           Don't Use windows linking attributes for MinGW. Fixes #316157
25260
25261 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25262
25263         * gst/gstutils.c: (set_state_async_thread_func),
25264         (gst_element_set_state_async):
25265           Apparently people think it's better if this function doesn't
25266           try to set the state to whatever state was asked for on the first
25267           call to this function for any object.  Seriously.
25268
25269 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25270
25271         * check/gst/gstpipeline.c: (GST_START_TEST):
25272         * docs/gst/gstreamer-sections.txt:
25273         * gst/gstutils.c: (set_state_async_thread_func),
25274         (gst_element_set_state_async):
25275         * gst/gstutils.h:
25276           add a "gst_element_set_state_async" method that
25277           sets the state and starts a thread to make sure the state
25278           change completes as best as it can
25279
25280 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25281
25282         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25283           codify design+behaviour in testsuite after discussion
25284
25285 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25286
25287         * docs/gst/tmpl/gstelement.sgml:
25288         * docs/manual/appendix-quotes.xml:
25289           add a quote
25290         * gst/gstelement.c: (gst_element_set_state):
25291           add some debug
25292
25293 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25294
25295         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25296         (gst_base_transform_prepare_output_buf),
25297         (gst_base_transform_handle_buffer):
25298         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25299         (gst_capsfilter_prepare_buf):
25300           Remove the requirement for sub-classes to call the parent
25301           implementation of prepare_output_buffer with a wrapper function.
25302           
25303         * gst/gsttaglist.h:
25304         * gst/gsttagsetter.h:
25305           Fix #define wrapper
25306
25307 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25308
25309         * docs/gst/gstreamer-sections.txt:
25310           more doc cleanups
25311
25312 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25313
25314         * docs/gst/gstreamer-sections.txt:
25315         * docs/gst/tmpl/gstelement.sgml:
25316         * docs/gst/tmpl/gstplugin.sgml:
25317         * gst/gstminiobject.c:
25318         * gst/gstvalue.h:
25319           docs now stop throwing warnings
25320
25321 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25322
25323         * docs/gst/gstreamer-sections.txt:
25324         * docs/gst/gstreamer.types:
25325         * docs/gst/tmpl/gstpad.sgml:
25326         * docs/gst/tmpl/gsttypes.sgml:
25327         * gst/base/gstadapter.h:
25328         * gst/base/gstbasesink.h:
25329         * gst/base/gstbasesrc.h:
25330         * gst/gstbin.h:
25331         * gst/gstbuffer.h:
25332         * gst/gstbus.h:
25333         * gst/gstcaps.h:
25334         * gst/gstclock.h:
25335         * gst/gstelement.h:
25336         * gst/gstevent.h:
25337         * gst/gstmessage.h:
25338         * gst/gstpad.h:
25339         * gst/gststructure.c:
25340         * gst/registries/gstlibxmlregistry.h:
25341           various documentation fixes
25342
25343 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25344
25345         * docs/gst/gstreamer-sections.txt:
25346         * docs/gst/tmpl/gstvalue.sgml:
25347           rearrange gstvalue section
25348         * gst/gstutils.c: (gst_element_state_get_name):
25349           NONE -> VOID
25350         * gst/gstvalue.c: (_gst_value_initialize):
25351         * gst/gstvalue.h:
25352           doc updates
25353
25354 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25355
25356         * check/gst-libs/controller.c:
25357           Header include fix.
25358         * gst/base/gstbasetransform.c:
25359         (gst_base_transform_default_prepare_buf),
25360         (gst_base_transform_handle_buffer):
25361         * gst/base/gstbasetransform.h:
25362           Some more basetransform changes and fixes to enable sub-classes
25363           that modify buffer metadata only.
25364         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25365         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25366         (gst_capsfilter_prepare_buf):
25367           If the output pad has fixed allowed caps and input buffers 
25368           don't have any, set the fixed caps on outgoing buffers.
25369
25370 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25371         * check/elements/identity.c: (GST_START_TEST):
25372           Make the error a little clearer when the test fails because
25373           identity made a copy of the buffer.
25374         * docs/gst/gstreamer-sections.txt:
25375           New symbols in gstbasetransform.h
25376         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25377         (gst_base_transform_init), (gst_base_transform_transform_size),
25378         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25379         (gst_base_transform_default_prepare_buf),
25380         (gst_base_transform_get_unit_size),
25381         (gst_base_transform_buffer_alloc),
25382         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25383         (gst_base_transform_change_state),
25384         (gst_base_transform_set_passthrough),
25385         (gst_base_transform_set_in_place),
25386         (gst_base_transform_is_in_place):
25387         * gst/base/gstbasetransform.h:
25388           Change BaseTransform to separate in_place operate from same_caps
25389           output. in_place implies that the element can perform the transform
25390           on incoming buffers in-place, even if the caps on the output are
25391           different.
25392           Sub-class elements can now implement special buffer allocation
25393           methods for outgoing buffers if they wish to.
25394           Big documentation addition.
25395         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25396         * gst/elements/gstelements.c:
25397           Changes for basetransform modifications.
25398         * gst/elements/Makefile.am:
25399         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25400           Compile fix. Extra debug output.
25401
25402 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25403
25404         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25405         (gst_pad_suite):
25406           add tests for valid pad naming
25407         * gst/check/gstcheck.c: (gst_check_log_message_func),
25408         (gst_check_log_critical_func):
25409           add ASSERT_WARNING
25410           remove printing of code, it is fragile when the code contains
25411           % and the line number is enough info
25412         * gst/check/gstcheck.h:
25413         * gst/gstpad.c: (gst_pad_template_new):
25414           fix memleaks
25415
25416 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25417
25418         * configure.ac:
25419           say what CHECK flags we use
25420         * docs/libs/gstreamer-libs.types:
25421         * libs/gst/controller/Makefile.am:
25422         * libs/gst/controller/gst-controller.c:
25423         * libs/gst/controller/gst-controller.h:
25424         * libs/gst/controller/gst-helper.c:
25425         * libs/gst/controller/gst-interpolation.c:
25426         * libs/gst/controller/gstcontroller.c:
25427         * libs/gst/controller/gsthelper.c:
25428         * libs/gst/controller/gstinterpolation.c:
25429         * tools/gst-inspect.c: (print_plugin_info):
25430           we don't use dashes in header names
25431
25432 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25433
25434         * check/Makefile.am:
25435         * check/gst/.cvsignore:
25436         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25437         (gst_pipeline_suite), (main):
25438           adding a test for pipelines and state changes
25439         * gst/gstutils.c: (get_state_func):
25440           add some debugging
25441         * gstreamer.spec.in:
25442           fix up spec file
25443
25444 2005-09-08  Michael Smith <msmith@fluendo.com>
25445
25446         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25447         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25448         (gst_file_src_is_seekable), (gst_file_src_get_size),
25449         (gst_file_src_start):
25450         * gst/elements/gstfilesrc.h:
25451           Various fixes for unseekable, unmmapable, and non-normal files, so
25452           that fallback to read() rather than mmap() works.
25453         * gst/gstevent.c: (gst_event_new_newsegment):
25454           Allow newsegment events with segment_start == segment_end, as will
25455           correctly happen if you use filesrc on a zero-size file, for
25456           example.
25457
25458 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25459
25460         * gst/gstplugin.c: (gst_plugin_load_file):
25461           Call g_module_close when we don't load the module
25462
25463         * gst/registries/gstlibxmlregistry.c:
25464         (gst_xml_registry_get_property):
25465           Port leak fix from 0.8
25466
25467 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25468
25469         * docs/gst/gstreamer-docs.sgml:
25470         * docs/gst/tmpl/.cvsignore:
25471         * docs/gst/tmpl/gsttrace.sgml:
25472         * docs/gst/tmpl/gsttrashstack.sgml:
25473         * gst/Makefile.am:
25474         * gst/gst.h:
25475         * gst/gstelement.h:
25476         * gst/gstevent.h:
25477         * gst/gstmessage.c:
25478         * gst/gstmessage.h:
25479         * gst/gsttag.c:
25480         * gst/gsttag.h:
25481         * gst/gsttaginterface.c:
25482         * gst/gsttaginterface.h:
25483         * gst/gsttaglist.c:
25484         * gst/gsttaglist.h:
25485         * gst/gsttagsetter.c:
25486         * gst/gsttagsetter.h:
25487         * gst/gsttrace.c:
25488         * gst/gsttrace.h:
25489         * gst/gsttrashstack.c:
25490           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25491           inlined docs for gsttrace, gsttrashstack
25492
25493 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25494
25495         * gst/Makefile.am:
25496         * gst/elements/gstbufferstore.h:
25497         * gst/elements/gsttypefindelement.c:
25498         * gst/elements/gsttypefindelement.h:
25499         * gst/gst.h:
25500         * gst/gsttypefind.c:
25501         * gst/gsttypefind.h:
25502         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25503         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25504         (gst_type_find_factory_dispose),
25505         (gst_type_find_factory_unload_thyself),
25506         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25507         (gst_type_find_factory_get_caps),
25508         (gst_type_find_factory_get_extensions),
25509         (gst_type_find_factory_call_function):
25510         * gst/gsttypefindfactory.h:
25511         * gst/registries/gstlibxmlregistry.c:
25512         * gst/registries/gstxmlregistry.c:
25513           splitted gsttypefind into gsttypefind, gsttypefindfactory
25514
25515 2005-09-07  Andy Wingo  <wingo@pobox.com>
25516
25517         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25518         condition whereby the pad's task function is entered before the
25519         pad_mode variable was set.
25520
25521 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25522
25523         * gst/gstpad.c: (gst_pad_alloc_buffer):
25524           Catch misbehaving pad_alloc functions that don't
25525           set up caps and do it for them.
25526
25527 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25528
25529         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25530           test for pipe!=NULL
25531         * docs/gst/tmpl/.cvsignore:
25532         * docs/gst/tmpl/gstmemchunk.sgml:
25533         * docs/gst/tmpl/gstparse.sgml:
25534         * docs/gst/tmpl/gsttaglist.sgml:
25535         * docs/gst/tmpl/gsttagsetter.sgml:
25536         * docs/gst/tmpl/gsttypefind.sgml:
25537         * docs/gst/tmpl/gsttypefindfactory.sgml:
25538         * gst/gstmemchunk.c:
25539         * gst/gstparse.c:
25540         * gst/gsttag.c:
25541         * gst/gsttaginterface.c:
25542         * gst/gsttypefind.c:
25543         * gst/gsttypefind.h:
25544           inlined more docs
25545
25546 === release 0.9.2 ===
25547
25548 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25549
25550         * NEWS:
25551         * RELEASE:
25552         * configure.ac:
25553           releasing 0.9.2, "South"
25554
25555 2005-09-05  Andy Wingo  <wingo@pobox.com>
25556
25557         * gst/registries/gstxmlregistry.h:
25558         * gst/registries/gstxmlregistry.c: Um... resurrect...
25559         
25560         * gst/registries/gstxmlregistry.h:
25561         * gst/registries/gstxmlregistry.c: and update to newer API.
25562         Incidentally they should be a bit faster now that they don't have
25563         to parse the caps.
25564         
25565 2005-09-05  Andy Wingo  <wingo@pobox.com>
25566
25567         * gst/registries/gstxmlregistry.h:
25568         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25569         replaced by the libxml registry a while back
25570
25571 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25572
25573         * docs/gst/tmpl/gstplugin.sgml:
25574         * gst/elements/gstelements.c:
25575         * gst/gst.c:
25576         * gst/gstplugin.c: (gst_plugin_register_func),
25577         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25578         (gst_plugin_get_source):
25579         * gst/gstplugin.h:
25580         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25581         (gst_xml_registry_save_plugin):
25582         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25583         (gst_xml_registry_save_plugin):
25584         * tools/gst-inspect.c: (print_plugin_info):
25585           add a "source" plugin description field, to represent the source
25586           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25587           will set it to PACKAGE, which is automake's idea of the name of
25588           the source project.
25589
25590 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25591
25592         * Makefile.am:
25593         * autogen.sh:
25594         * configure.ac:
25595         * docs/Makefile.am:
25596         * docs/faq/Makefile.am:
25597         * docs/gst/tmpl/gstelement.sgml:
25598         * docs/gst/tmpl/gsttypes.sgml:
25599         * docs/htmlinstall.mak:
25600         * docs/manual/Makefile.am:
25601         * docs/pwg/Makefile.am:
25602           reorganize doc build a little
25603           split out docbook and gtk-doc stuff
25604           have two separate --enable's and enable them through autogen
25605           but disable by default in configure (to be similar to other
25606           projects)
25607         * gstreamer.spec.in:
25608           clean up docs install
25609         * po/af.po:
25610         * po/az.po:
25611         * po/ca.po:
25612         * po/cs.po:
25613         * po/de.po:
25614         * po/en_GB.po:
25615         * po/fr.po:
25616         * po/it.po:
25617         * po/nb.po:
25618         * po/nl.po:
25619         * po/ru.po:
25620         * po/sq.po:
25621         * po/sr.po:
25622         * po/sv.po:
25623         * po/tr.po:
25624         * po/uk.po:
25625         * po/vi.po:
25626           translation updates
25627
25628 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25629
25630         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25631           Add comment.
25632           
25633         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25634         (gst_fake_sink_change_state):
25635           Make state change function thread-safe.
25636           
25637         * gst/gstpad.c: (gst_pad_alloc_buffer):
25638           Set offset on generic buffer allocated by fallback.
25639
25640 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25641
25642         * docs/gst/gstreamer-sections.txt:
25643         * docs/gst/tmpl/gstelement.sgml:
25644         * gst/gstpad.c:
25645         * libs/gst/controller/gst-controller.c:
25646         (gst_controlled_property_set_interpolation_mode),
25647         (gst_controlled_property_new),
25648         (gst_controller_find_controlled_property):
25649          run the wingo-magic script against the docs
25650
25651 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25652
25653         * docs/gst/gstreamer-docs.sgml:
25654         * docs/gst/gstreamer-sections.txt:
25655         * docs/gst/tmpl/.cvsignore:
25656         * docs/gst/tmpl/gstelementdetails.sgml:
25657         * docs/gst/tmpl/gstelementfactory.sgml:
25658         * gst/gst.c:
25659         * gst/gstbus.c:
25660         * gst/gstelementfactory.c:
25661         * gst/gstelementfactory.h:
25662           merged elementdetails docs into elementfactory docs
25663           inlined both
25664
25665 2005-09-02  Andy Wingo  <wingo@pobox.com>
25666
25667         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25668         consider this enum an enum and not a flags.
25669
25670 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25671
25672         * docs/gst/gstreamer-docs.sgml:
25673         * docs/gst/tmpl/.cvsignore:
25674         * docs/gst/tmpl/gstghostpad.sgml:
25675         * docs/gst/tmpl/gstiterator.sgml:
25676         * docs/gst/tmpl/gstmacros.sgml:
25677         * docs/gst/tmpl/gstrealpad.sgml:
25678         * docs/gst/tmpl/gstregistry.sgml:
25679         * docs/gst/tmpl/gstregistrypool.sgml:
25680         * docs/gst/tmpl/gststructure.sgml:
25681         * docs/gst/tmpl/gstsystemclock.sgml:
25682         * docs/gst/tmpl/gsttrace.sgml:
25683         * gst/gstghostpad.c:
25684         * gst/gstmacros.h:
25685         * gst/gstmemchunk.c:
25686         * gst/gstmemchunk.h:
25687         * gst/gstqueue.c:
25688         * gst/gstregistry.c:
25689         * gst/gstregistrypool.c:
25690         * gst/gststructure.c:
25691         * gst/gstsystemclock.c:
25692           more docs inlined
25693
25694 2005-09-02  Andy Wingo  <wingo@pobox.com>
25695
25696         * gst/gstelement.h (GstState): Renamed from GstElementState,
25697         changed to be a normal enum instead of flags.
25698         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25699         munged to be GST_STATE_CHANGE_*.
25700         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25701         work with the new state representation.
25702         (GstStateChange): New enumeration of possible state transitions.
25703         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25704         (GstElementClass::change_state): Pass the GstStateChange along as
25705         an argument. Helps language bindings, so they don't have to use
25706         tricky lock-needing macros like GST_STATE_CHANGE ().
25707
25708         * scripts/update-states (file): New script. Run it on a file to
25709         update it for state naming and API changes. Updates files in
25710         place.
25711
25712         * All files updated for the new API.
25713
25714 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25715
25716         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25717         * gst/gstutils.c: (gst_util_set_value_from_string),
25718         (gst_util_set_object_arg):
25719           fix a bunch of unchecked return values
25720         * tools/gst-complete.c: (main):
25721         * gstreamer.spec.in:
25722           clean up a little
25723
25724 2005-09-01  Wim Taymans  <wim@fluendo.com>
25725
25726         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25727         (gst_base_sink_event), (gst_base_sink_do_sync),
25728         (gst_base_sink_handle_event):
25729         * gst/base/gstbasesink.h:
25730         Handle newsegments more correctly.
25731
25732         * gst/gstbus.c:
25733         Fix docs.
25734
25735         * gst/gstevent.c: (gst_event_new_newsegment):
25736         A newsegment cannot have a start_time of -1
25737
25738 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25739
25740         * win32/gstenumtypes.c:
25741         * win32/gstenumtypes.h:
25742           Update
25743
25744 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25745
25746         * libs/gst/controller/gst-controller.c:
25747         (gst_controlled_property_set_interpolation_mode),
25748         (gst_controlled_property_new):
25749          fixed boolean again
25750
25751 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25752
25753         * docs/faq/gst-uninstalled:
25754           add -good
25755         * gst/gstevent.c:
25756         * gst/gstevent.h:
25757           remove wrong docs
25758         * gst/gstutils.c: (gst_element_link_filtered):
25759         * gst/gstutils.h:
25760           add gst_element_link_filtered
25761
25762 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25763
25764         * docs/gst/gstreamer-docs.sgml:
25765         * docs/gst/gstreamer-sections.txt:
25766         * docs/gst/tmpl/.cvsignore:
25767         * docs/gst/tmpl/gsterror.sgml:
25768         * docs/gst/tmpl/gstfilter.sgml:
25769         * docs/gst/tmpl/gsturihandler.sgml:
25770         * docs/gst/tmpl/gsturitype.sgml:
25771         * docs/gst/tmpl/gstutils.sgml:
25772         * docs/gst/tmpl/gstxml.sgml:
25773         * gst/gsterror.c:
25774         * gst/gsterror.h:
25775         * gst/gstfilter.c:
25776         * gst/gsturi.c:
25777         * gst/gsturitype.c:
25778         * gst/gstutils.c:
25779         * gst/gstxml.c:
25780           inlined more docs, fixed double id-ref
25781
25782 2005-08-31  Wim Taymans  <wim@fluendo.com>
25783
25784         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25785         (gst_base_transform_handle_buffer):
25786         Passthrough elements don't need the caps as they don't care.
25787
25788 2005-08-31  Wim Taymans  <wim@fluendo.com>
25789
25790         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25791         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25792         Don't leak refcounts on buffers.
25793
25794 2005-08-31  Wim Taymans  <wim@fluendo.com>
25795
25796         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25797         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25798         (gst_base_transform_chain), (gst_base_transform_change_state):
25799         * gst/base/gstbasetransform.h:
25800         Handle the case where we are not negotiated more gracefully.
25801
25802 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25803
25804         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25805         (gst_file_src_map_region):
25806           Set READONLY flag on mmap'ed buffers, otherwise
25807           gst_buffer_make_writable() won't work properly (#314708).
25808
25809 2005-08-31  Wim Taymans  <wim@fluendo.com>
25810
25811         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25812         passthrough elements can even do inplace on non writable
25813         buffers (as they don't touch them).
25814
25815 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25816
25817         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25818         (gst_test_mono_source_set_property),
25819         (gst_test_mono_source_class_init), (GST_START_TEST),
25820         (gst_controller_suite):
25821           more tests (hehe I have the most)
25822         * gst/gstbus.c:
25823           describe popping messages whenusing mulltiple sources
25824         * libs/gst/controller/gst-controller.c:
25825         (gst_controlled_property_set_interpolation_mode),
25826         (gst_controlled_property_new):
25827         * libs/gst/controller/gst-controller.h:
25828         * libs/gst/controller/gst-interpolation.c:
25829           implement boolean properties
25830
25831 2005-08-31  Wim Taymans  <wim@fluendo.com>
25832
25833         * gst/gstminiobject.c: (gst_mini_object_ref):
25834         Cannot assert that the refcount has to be positive
25835         since a disposed object can be resurrected.
25836
25837 2005-08-31  Wim Taymans  <wim@fluendo.com>
25838
25839         * gst/gstpad.c: (gst_pad_init):
25840         Revert change, need to first fix badly behaving 
25841         apps.
25842
25843 2005-08-30  Wim Taymans  <wim@fluendo.com>
25844
25845         * check/elements/fakesrc.c: (setup_fakesrc):
25846         * check/elements/identity.c: (setup_identity):
25847         Activate pads before using them.
25848
25849 2005-08-30  Wim Taymans  <wim@fluendo.com>
25850
25851         * gst/base/gstadapter.c: (gst_adapter_flush):
25852         Flushing out 0 bytes is ok for this function.
25853
25854         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25855         no newsegment gives a warning and sets the start/stop to 
25856         invalid.
25857
25858         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25859         (gst_base_transform_set_passthrough):
25860         Some debug info.
25861
25862         * gst/gstminiobject.c: (gst_mini_object_ref):
25863         Check refcount here too.
25864
25865         * gst/gstpad.c: (gst_pad_init):
25866         Pads are initially flushing and refusing data.
25867
25868         * gst/gstutils.c: (gst_element_link_pads_filtered):
25869         When adding a capsfilter element make sure it has the
25870         same state as the parent bin.
25871
25872 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25873
25874         * docs/gst/tmpl/.cvsignore:
25875         * docs/gst/tmpl/gstformat.sgml:
25876         * docs/gst/tmpl/gstversion.sgml:
25877         * gst/gstbus.h:
25878         * gst/gstformat.c:
25879         * gst/gstformat.h:
25880         * gst/gstversion.h.in:
25881           more docs and two more inlined
25882
25883 2005-08-30  Wim Taymans  <wim@fluendo.com>
25884
25885         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25886         Don't sync to clock.
25887
25888 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25889
25890         * docs/gst/gstreamer-sections.txt:
25891           ultral33t func10ns deserve to appear in the docs actually
25892         * docs/gst/tmpl/.cvsignore:
25893         * docs/gst/tmpl/gstcompat.sgml:
25894         * docs/gst/tmpl/gstconfig.sgml:
25895         * gst/check/gstcheck.c:
25896         * gst/gstcompat.h:
25897         * gst/gstconfig.h.in:
25898           inlined more docs
25899
25900 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25901
25902         * docs/gst/tmpl/.cvsignore:
25903         * docs/gst/tmpl/gstquery.sgml:
25904         * docs/gst/tmpl/gstutils.sgml:
25905         * gst/gstquery.c:
25906         * gst/gstquery.h:
25907           inlined and extended docs
25908
25909 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25910
25911         * check/gst-libs/controller.c: (GST_START_TEST),
25912         (gst_controller_suite):
25913           more tests
25914         * docs/gst/tmpl/gstutils.sgml:
25915         * docs/libs/gstreamer-libs-sections.txt:
25916         * docs/libs/tmpl/gstdataprotocol.sgml:
25917           include path fixes
25918         * examples/controller/audio-example.c: (main):
25919           controller example works now
25920         * gst/gstclock.h:
25921           doc fixes
25922         * tools/gst-inspect.c: (print_element_properties_info):
25923           show param spec flags
25924
25925 2005-08-29  Andy Wingo  <wingo@pobox.com>
25926
25927         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25928
25929 2005-08-28  Andy Wingo  <wingo@pobox.com>
25930
25931         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25932         as having two arguments instead of just one. Allows superclasses
25933         to access information on subclasses -- see the terrible for() loop
25934         in gtype.c:g_type_create_instance for the reason why. All callers
25935         changed.
25936
25937 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25938
25939         * docs/design/part-messages.txt:
25940           update info
25941         * docs/gst/tmpl/.cvsignore:
25942         * docs/gst/tmpl/gstcaps.sgml:
25943         * docs/gst/tmpl/gstclock.sgml:
25944         * gst/gstbus.c:
25945         * gst/gstcaps.c:
25946         * gst/gstcaps.h:
25947         * gst/gstclock.c:
25948         * gst/gstclock.h:
25949         * gst/gstmessage.c:
25950           added descriptions for bus and message
25951           inline caps and clock docs
25952
25953 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25954
25955         * gst/gstmessage.c:
25956         * gst/gstmessage.h:
25957           doc fixes
25958
25959 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25960
25961         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25962           fix div-by-zero
25963
25964 2005-08-26  Andy Wingo  <wingo@pobox.com>
25965
25966         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25967         element_set_state's return val.
25968         (test_2_elements): Add test that's been disabled for months.
25969
25970         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25971         can-activate-pull properties.
25972
25973         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25974         can-activate-pull properties. Implement is_seekable so fakesrc can
25975         operate in pull mode.
25976
25977         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25978         properties.
25979         (gst_base_sink_activate, gst_base_sink_activate_pull)
25980         (gst_base_sink_activate_push): Make activation mode choosing work.
25981         Cleanups.
25982         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25983         is right. Make pull mode work. Post an eos before pausing in pull
25984         mode.
25985         (gst_base_sink_change_state): Pay attention to the core's
25986         change_state() return val.
25987         
25988         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25989         has-getrange properties. Cleanups.
25990         
25991         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25992         has_getrange and replace with can_activate_pull and
25993         can_activate_push.
25994
25995         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25996         locking comments. Remove has_loop, has_chain and replace with
25997         can_activate_pull and can_activate_push.
25998
25999 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26000
26001         * configure.ac:
26002         * examples/Makefile.am:
26003         * examples/metadata/Makefile.am:
26004         * examples/metadata/read-metadata.c: (message_loop),
26005         (have_pad_handler), (make_pipeline), (print_tag), (main):
26006           Add metadata reading example that loops over a list of filenames,
26007           dumping any tags found.
26008
26009         * gst/gstbus.c: (gst_bus_dispose):
26010         * gst/gstelement.c: (gst_element_dispose):
26011           Release a few potentially-held references in dispose.
26012
26013 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26014
26015         * docs/gst/tmpl/gstminiobject.sgml:
26016           do *not* add tmpl/*.sgml files to CVS!
26017
26018 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26019
26020         * libs/gst/bytestream/.cvsignore:
26021         * libs/gst/bytestream/Makefile.am:
26022         * libs/gst/bytestream/adapter.c:
26023         * libs/gst/bytestream/adapter.h:
26024         * libs/gst/bytestream/bytestream.c:
26025         * libs/gst/bytestream/bytestream.h:
26026         * libs/gst/bytestream/filepad.c:
26027         * libs/gst/bytestream/filepad.h:
26028           removing obsolete files
26029
26030 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26031
26032         * docs/gst/gstreamer-docs.sgml:
26033         * docs/libs/gstreamer-libs-docs.sgml:
26034           disabed additional index entries again, as this makes docs-gen just
26035           slow and they aren't useful yet
26036         * docs/libs/gstreamer-libs-sections.txt:
26037           little -section.txt cleanup for libs
26038
26039 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26040
26041         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26042         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26043           fix up some debugging
26044         (gst_base_transform_get_unit_size),
26045         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26046         (gst_base_transform_handle_buffer):
26047         * gst/base/gstbasetransform.h:
26048           handle and store timed NEWSEGMENT events so that subclasses that
26049           calculate time by counting samples have a segment_start time they
26050           need to add to their timestamps - see audioresample
26051
26052 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26053
26054         * gst/gstbin.h:
26055           removed ';' from the end of macro defs
26056         * docs/gst/gstreamer-docs.sgml:
26057         * docs/gst/gstreamer-sections.txt:
26058         * docs/gst/tmpl/.cvsignore:
26059         * gst/gstbus.h:
26060         * gst/gstelement.c: (gst_element_class_init),
26061         (gst_element_set_state), (activate_pads),
26062         (gst_element_save_thyself):
26063         * gst/gstevent.c: (gst_event_new_newsegment):
26064         * gst/gstevent.h:
26065         * gst/gstiterator.c:
26066         * gst/gstiterator.h:
26067         * gst/gstpad.c:
26068         * gst/gstprobe.h:
26069         * gst/gstutils.c: (gst_pad_query_convert):
26070         * gst/gstutils.h:
26071           fixed parameter name mismatches between source, header and docs
26072           added some more docs, resolved the last batch of unused elements in
26073           docs (now someone needs to doc them)
26074
26075 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26076
26077         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26078         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26079           don't walk through the plugins backwards.  Where is all this
26080           reversed logic coming from ?
26081
26082 2005-08-25  Wim Taymans  <wim@fluendo.com>
26083
26084         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26085         (gst_base_transform_transform_size),
26086         (gst_base_transform_configure_caps),
26087         (gst_base_transform_get_unit_size),
26088         (gst_base_transform_buffer_alloc),
26089         (gst_base_transform_change_state):
26090         * gst/base/gstbasetransform.h:
26091         Cache caps unit_size.
26092         Make sure we cannot negotiate up and downstream at the
26093         same time.
26094
26095 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26096
26097         * gst/gst.c: (init_pre), (init_post):
26098           register the installed plugin path after the env var
26099         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26100         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26101           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26102           directories, so the tests can prefer uninstalled over installed
26103
26104 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26105
26106         * gst/base/gstbasetransform.h:
26107           comment
26108         * gst/gstpad.c:
26109           add to docs
26110
26111 2005-08-25  Wim Taymans  <wim@fluendo.com>
26112
26113         * gst/gstbin.c: (bin_bus_handler):
26114         Be a bit more conservative about the posted message.
26115         
26116         * gst/gstbus.c: (gst_bus_post):
26117         Some cleanups, warn wrong return values.
26118
26119 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26120
26121         * check/gst/gstbin.c: (GST_START_TEST):
26122         * gst/gstbin.c: (bin_bus_handler):
26123         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26124         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26125         (gst_message_new_warning), (gst_message_new_tag),
26126         (gst_message_new_state_changed), (gst_message_new_segment_start),
26127         (gst_message_new_segment_done), (gst_message_new_custom):
26128         * gst/gstmessage.h:
26129         * tools/gst-launch.c: (event_loop):
26130         * tools/gst-md5sum.c: (event_loop):
26131           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26132
26133 2005-08-25  Wim Taymans  <wim@fluendo.com>
26134
26135         * check/generic/states.c: (GST_START_TEST):
26136         Cleanup can be done at the end.
26137
26138         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26139         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26140         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26141         Oh boy.. Thanks for finding this, Thomas. 
26142
26143 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26144
26145         * docs/gst/gstreamer.types:
26146           added missing types
26147
26148 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26149
26150         * docs/gst/gstreamer-docs.sgml:
26151         * docs/gst/gstreamer-sections.txt:
26152         * docs/gst/tmpl/.cvsignore:
26153         * gst/gstbin.c:
26154         * gst/gstiterator.c:
26155         * gst/gstutils.c:
26156         * gst/registries/gstxmlregistry.h:
26157           added missing classes and symbols (123 more to go)
26158           removed removed symbols from section file
26159           fixed many doc-comments
26160
26161 2005-08-24  Wim Taymans  <wim@fluendo.com>
26162
26163         * check/generic/states.c: (GST_START_TEST):
26164         Make sure all tasks are stopped.
26165
26166         * check/gst/gstbin.c: (GST_START_TEST):
26167         Unref after usage for proper valgrinding.
26168
26169         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26170         Really wait for the task to stop before destroying the
26171         mutex.
26172
26173         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26174         (gst_queue_src_activate_push):
26175         Small cleanups. Don't stop the task when we did not start
26176         it.
26177
26178         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26179         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26180         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26181         (gst_task_join):
26182         * gst/gsttask.h:
26183         Protect the stream lock with the object lock.
26184         Disallow setting the stream lock when running.
26185         Add cleanup_all to wait for the threadpool to finish.
26186         Remove code to autoallocate a mutex if none was provided.
26187         Add _join() to wait for a task to stop.
26188         Protect the thread pool with a global lock.
26189
26190 2005-08-24  Wim Taymans  <wim@fluendo.com>
26191
26192         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26193         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26194         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26195         * gst/base/gstbasesink.h:
26196         Handle newsegment events correctly.
26197         Drop buffers out of the segment range.
26198
26199 2005-08-22  Andy Wingo  <wingo@pobox.com>
26200
26201         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26202         macro, implements an interface and gstimplementsinterface for a
26203         new type.
26204
26205 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26206
26207         * check/Makefile.am:
26208         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26209           add a test that does a bunch of state changes on elements
26210           needs some fixing for valgrind
26211         * check/states/sinks.c: (gst_object_suite):
26212           whitespace
26213         * gst/gstcaps.h:
26214           add prototype for gst_caps_is_equal_fixed
26215         * gst/gstplugin.c:
26216         * gst/gstregistrypool.c:
26217           doc fixes
26218
26219 2005-08-24  Andy Wingo  <wingo@pobox.com>
26220
26221         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26222         convert a negative value. Doesn't make much sense. Mostly this is
26223         here to force callers to ensure -1 maps to -1.
26224
26225 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26226
26227         * docs/pwg/advanced-types.xml:
26228           Well done to Michael for catching my deliberate introduction
26229           of this spelling mistake. 
26230         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26231         * gst/gstelement.h:
26232           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26233           unlink pads before removing the element from the bin.
26234
26235 2005-08-24  Andy Wingo  <wingo@pobox.com>
26236
26237         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26238         the same thing as GST_DEBUG=*:4.
26239         (parse_debug_level, parse_debug_category): New helper parsers.
26240
26241 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26242
26243         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26244         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26245         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26246         (gst_base_transform_buffer_alloc),
26247         (gst_base_transform_handle_buffer):
26248           use gboolean return values and pointers to size so we can use the
26249           full GST_BUFFER_SIZE range (guint) for buffer sizes
26250           use GstPadDirection for transform_caps
26251         * gst/base/gstbasetransform.h:
26252           rename get_size to get_unit_size since that's what it is
26253         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26254           use GstPadDirection for transform_caps
26255         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26256         * gst/gstutils.h:
26257           cleanup and debugging
26258
26259 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26260
26261         * gst/gstelement.c: (gst_element_class_init),
26262         (gst_element_set_state), (activate_pads),
26263         (gst_element_save_thyself):
26264         * tools/gst-compprep.c: (main):
26265         * tools/gst-inspect.c: (print_element_properties_info):
26266         * tools/gst-xmlinspect.c: (print_element_properties):
26267           Fixed long standing mem-leak
26268
26269 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26270
26271         * check/gst/gstbin.c: (GST_START_TEST):
26272         * gst/gstbin.c: (bin_bus_handler):
26273         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26274         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26275         (gst_message_new_warning), (gst_message_new_tag),
26276         (gst_message_new_state_changed), (gst_message_new_segment_start),
26277         (gst_message_new_segment_done), (gst_message_new_custom):
26278         * gst/gstmessage.h:
26279         * tools/gst-launch.c: (event_loop):
26280         * tools/gst-md5sum.c: (event_loop):
26281           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26282           that applications can sensibly post custom messages with references
26283           to their own objects.
26284
26285 2005-08-24  Andy Wingo  <wingo@pobox.com>
26286
26287         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26288         already.
26289
26290 2005-08-24  Wim Taymans  <wim@fluendo.com>
26291
26292         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26293         (gst_base_transform_transform_caps),
26294         (gst_base_transform_transform_size),
26295         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26296         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26297         (gst_base_transform_handle_buffer):
26298         * gst/base/gstbasetransform.h:
26299         Many fixes and new features added by Thomas. Can now also do
26300         transforms with variable sizes and a custom fixate_caps function.
26301
26302 2005-08-24  Wim Taymans  <wim@fluendo.com>
26303
26304         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26305         Some debugging.
26306
26307         * gst/gstclock.h:
26308         Cast to ClockTime before formatting to time.
26309
26310         * gst/gstutils.h:
26311         Cleanups.
26312
26313 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26314
26315         * check/gst-libs/controller.c: (GST_START_TEST),
26316         (gst_controller_suite):
26317         * docs/gst/tmpl/gstcaps.sgml:
26318         * docs/gst/tmpl/gstghostpad.sgml:
26319         * docs/gst/tmpl/gstquery.sgml:
26320         * docs/gst/tmpl/gstutils.sgml:
26321         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26322         (gst_object_sink_values), (gst_object_get_value_arrays),
26323         (gst_object_get_value_array):
26324           gracefully handle helper method calls to objects that are not beeing
26325           controlled, added test case for that          
26326
26327 2005-08-23  Wim Taymans  <wim@fluendo.com>
26328
26329         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26330         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26331         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26332         (gst_event_parse_qos), (gst_event_new_seek),
26333         (gst_event_parse_seek):
26334         * gst/gstevent.h:
26335         Some more debugging output and doc cleanups.
26336
26337         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26338         Fix possible deadlock.
26339
26340 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26341
26342         * docs/gst/gstreamer-docs.sgml:
26343         * docs/gst/gstreamer-sections.txt:
26344         * docs/gst/gstreamer.types:
26345         * docs/gst/tmpl/.cvsignore:
26346         * gst/gstbin.h:
26347         * gst/gstbus.c:
26348         * gst/gstelement.c:
26349         * gst/gstevent.h:
26350           added 100 symbols from gstreamer-unused.txt to the right sections
26351           fixed more broken comments
26352           added GstBus to docs
26353
26354 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26355
26356         * docs/gst/gstreamer-sections.txt:
26357         * docs/gst/tmpl/.cvsignore:
26358         * docs/gst/tmpl/gstbin.sgml:
26359         * docs/gst/tmpl/gstbuffer.sgml:
26360         * gst/base/gstbasesrc.c:
26361         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26362         * gst/gstbuffer.c:
26363         * gst/gstbuffer.h:
26364         * tools/gst-launch.1.in:
26365           inlined more doc comments, added missing comments and fixed comments
26366           fixed typos
26367
26368 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26369
26370         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26371           some debugging
26372         * gst/gstcaps.h:
26373           whitespace fixes
26374         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26375           more debugging
26376         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26377         * gst/gststructure.h:
26378           add a fixate function for booleans; add a FIXME that these func
26379           names should probably be gst_structure_fixate_*
26380
26381 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26382
26383         * docs/gst/gstreamer-docs.sgml:
26384         * docs/gst/gstreamer-sections.txt:
26385         * gst/Makefile.am:
26386         * gst/gstbin.c: (gst_bin_get_type),
26387         (gst_bin_child_proxy_get_child_by_index),
26388         (gst_bin_child_proxy_get_children_count),
26389         (gst_bin_child_proxy_init):
26390         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26391         (gst_child_proxy_get_child_by_index),
26392         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26393         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26394         (gst_child_proxy_get), (gst_child_proxy_set_property),
26395         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26396         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26397         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26398         * gst/gstchildproxy.h:
26399         * gst/parse/grammar.y:
26400         * tools/gst-inspect.c: (print_interfaces),
26401         (print_element_properties_info), (print_element_info):
26402           ported gstchildproxy over from 0.8
26403           ported gst-inspect fixes and enhancements over from 0.8
26404
26405 2005-08-22  Wim Taymans  <wim@fluendo.com>
26406
26407         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26408         (gst_base_transform_handle_buffer):
26409         Also call the transform function if we have ANY caps.
26410
26411         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26412         Fix debug info.
26413
26414 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26415
26416         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26417           Don't pretend to handle seek events if the source is not seekable
26418
26419 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26420
26421         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26422           Remove extra parameter to debug output
26423
26424         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26425         (gst_base_src_do_seek), (gst_base_src_activate_push):
26426           Fix seek event handling.
26427
26428         * gst/gstpipeline.c: (gst_pipeline_change_state):
26429         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26430         (gst_queue_src_activate_push):
26431           Don't start the src pad task on FLUSH_STOP if the pad
26432           isn't linked.
26433           Debug changes.
26434
26435 2005-08-22  Wim Taymans  <wim@fluendo.com>
26436
26437         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26438         Added check for gst_static_caps_get() refcounting.
26439
26440 2005-08-22  Wim Taymans  <wim@fluendo.com>
26441
26442         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26443         Make _static_caps_get() refcounting sane.
26444         
26445         * gst/gstelement.c: (gst_element_set_state):
26446         Add g_return_val_if_fail() to protect against segfaults.
26447
26448 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26449
26450         * docs/gst/tmpl/gstevent.sgml:
26451         * gst/gstevent.c:
26452         * gst/gstevent.h:
26453           inlined remaining docs, added missing doc comments
26454
26455 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26456
26457         * check/gst/gstbin.c: (GST_START_TEST):
26458           since we don't know when preroll is done, use refcount range
26459           check for the sink
26460         * gst/check/gstcheck.h:
26461           add macro for checking refcount range
26462
26463 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26464
26465         * check/Makefile.am:
26466           clean up environment for when registry gets built versus
26467           when actual tests are run; valgrind seems to not report
26468           leaks if GST_PLUGIN_PATH is set to some specific values
26469         * check/gst/gstbin.c: (GST_START_TEST):
26470           add more refcounting checks; maybe this exposes a
26471           preroll lock bug ?
26472         * common/check.mak:
26473         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26474         * gst/check/gstcheck.h:
26475         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26476         (gst_bin_change_state):
26477         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26478           add/fix debugging/whitespace
26479
26480 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26481
26482         * check/gst/gstevent.c: (event_probe), (test_event),
26483         (GST_START_TEST):
26484          Er, don't call gst_bin_watch_for_state_change you idiot.
26485
26486 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26487
26488         * check/Makefile.am:
26489           Use CHECK_CFLAGS and CHECK_LIBS
26490         * check/gst/gstevent.c: (event_probe), (test_event),
26491         (GST_START_TEST):
26492           Don't leak events.
26493         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26494         (gst_base_src_start), (gst_base_src_stop),
26495         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26496         (gst_base_src_change_state):
26497           Sprinkle gst_base_src_stop liberally around error paths to fix
26498           problems reusing a source after failed state changes.
26499         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26500         (helper_find_suggest), (gst_type_find_helper):
26501           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26502         * gst/gstevent.h:
26503         * docs/gst/tmpl/gstevent.sgml:
26504           Migrate part of the docs from the SGML file. Wait for ensonic to
26505           tell me how I did it wrong ;)
26506         * tools/gst-typefind.c: (main):
26507           Extra robustness to state changes between files.
26508
26509 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26510
26511         * check/Makefile.am:
26512           don't valgrind the controller test - it's leaking - Stefan, HELP
26513         * gst/check/gstcheck.c: (gst_check_message_error),
26514         (gst_check_chain_func), (gst_check_setup_element),
26515         (gst_check_teardown_element), (gst_check_setup_src_pad),
26516         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26517         (gst_check_teardown_sink_pad):
26518         * gst/check/gstcheck.h:
26519           add a bunch of methods to set up elements, and src and sink pads
26520         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26521         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26522         (GST_START_TEST):
26523           use them
26524         * gst/gstmessage.c:
26525         * gst/gsttag.h:
26526           whitespace/doc fixes
26527
26528 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26529
26530         * gst/gstelement.h:
26531           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26532           be handled by the application and not always printed as well
26533
26534 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26535
26536         * check/Makefile.am:
26537           set GST_TOOLS_DIR
26538         * gst/check/gstcheck.c: (gst_check_message_error):
26539         * gst/check/gstcheck.h:
26540           add a fail_unless_equals_int
26541           add fail_unless for error messages
26542
26543 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26544
26545         * check/Makefile.am:
26546         * check/gst.supp:
26547         * common/Makefile.am:
26548         * common/check.mak:
26549         * common/gst.supp:
26550           factor out some of the common stuff so we can use it
26551
26552 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26553
26554         * check/Makefile.am:
26555         * check/gst/gstiterator.c: (GST_START_TEST):
26556         * check/gst/gstsystemclock.c: (GST_START_TEST),
26557         (gst_systemclock_suite):
26558         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26559         * gst/gstclock.c:
26560           valgrind more tests
26561
26562 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26563
26564         * check/elements/.cvsignore:
26565         * check/elements/gstfakesrc.c:
26566           rename to name of element
26567         * check/elements/identity.c: (chain_func), (event_func),
26568         (setup_identity), (cleanup_identity), (GST_START_TEST),
26569         (identity_suite), (main):
26570           add a test for identity
26571         * check/Makefile.am:
26572         * pkgconfig/Makefile.am:
26573         * pkgconfig/gstreamer-check.pc.in:
26574         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26575         * gst/check:
26576         * gst/Makefile.am:
26577         * configure.ac:
26578           move the check stuff to a library that gets installed
26579         * check/gst-libs/controller.c: (GST_START_TEST):
26580         * check/gst-libs/gdp.c:
26581         * check/gst/gst.c: (GST_START_TEST):
26582         * check/gst/gstbin.c:
26583         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26584         * check/gst/gstbus.c:
26585         * check/gst/gstcaps.c: (GST_START_TEST):
26586         * check/gst/gstelement.c:
26587         * check/gst/gstghostpad.c:
26588         * check/gst/gstiterator.c:
26589         * check/gst/gstmessage.c:
26590         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26591         * check/gst/gstobject.c:
26592         * check/gst/gstpad.c: (GST_START_TEST):
26593         * check/gst/gststructure.c: (GST_START_TEST):
26594         * check/gst/gstsystemclock.c: (GST_START_TEST),
26595         (gst_systemclock_suite):
26596         * check/gst/gsttag.c: (gst_tag_suite):
26597         * check/gst/gstvalue.c:
26598         * check/pipelines/cleanup.c:
26599         * check/pipelines/simple_launch_lines.c:
26600         * check/states/sinks.c:
26601           change include statement
26602
26603         * docs/gst/gstreamer-sections.txt:
26604         * docs/gst/tmpl/gstpad.sgml:
26605           document more pad stuff
26606         * gst/gstminiobject.c: (gst_mini_object_ref),
26607         (gst_mini_object_unref):
26608           debug refcounting
26609
26610 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26611
26612         * docs/gst/tmpl/gst.sgml:
26613         * gst/gst.c:
26614           eliminate another tmpl file, fix spelling in the long-description
26615
26616 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26617
26618         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26619         (test_event), (timediff), (gstevents_suite):
26620           Should fix build on 64-bit arch's
26621
26622 2005-08-18  Andy Wingo  <wingo@pobox.com>
26623
26624         Make sure that when a pipeline goes to PLAYING, that data has
26625         actually hit the sink.
26626
26627         * check/states/sinks.c (test_sink): A sink that doesn't get any
26628         data shouldn't return SUCCESS for going to either PLAYING or
26629         PAUSED. Test also the return values on the way back down.
26630
26631         * gst/gstelement.c (gst_element_set_state): When changing the
26632         state of an element currently changing state asynchronously, go to
26633         lost-state after commiting the pending state. Makes future calls
26634         to get_state continue to return ASYNC.
26635
26636         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26637         ASYNC when going to PLAYING if we still don't have preroll, as can
26638         happen with live sources.
26639
26640 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26641
26642         * docs/pwg/advanced-types.xml:
26643           Hack long paragraph into 2 chunks as a workaround for buggy
26644           jadetex version in sid and breezy that loops infinitely and
26645           eats all RAM.
26646
26647 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26648
26649         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26650         (test_event), (timediff), (gstevents_suite):
26651           Provide more error margin in clock measurements to allow for 
26652           g_get_current_time inaccuracies.
26653
26654 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26655
26656         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26657         (test_event), (timediff), (gstevents_suite):
26658            Fix error message output so I might be able to tell why the
26659            test works here but fails on the build farm.
26660
26661 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26662
26663         * check/Makefile.am:
26664         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26665         (test_event), (timediff), (gstevents_suite), (main):
26666           I wrote a test!
26667
26668         * docs/design/part-seeking.txt:
26669           Spelling correction
26670
26671         * docs/gst/tmpl/gstevent.sgml:
26672         * docs/gst/tmpl/gstfakesrc.sgml:
26673           Docs updates.
26674
26675         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26676           Treat a buffer-without-newsegment the same as a receiving 
26677           a newsegment not in time format, and disable syncing to the clock
26678           with a warning.
26679
26680         * gst/gstbus.c: (gst_bus_set_sync_handler):
26681           Assert if anyone tries to replace the existing sync_handler for bus, 
26682           as only the owner should be setting it.
26683
26684         * gst/gstevent.h:
26685           Have a fixed set of custom event enums with events identified by
26686           their structure name (as in 0.8), rather than a free-for-all
26687           allowing collisions between enum values from different plugins.
26688
26689         * gst/gstpad.c: (gst_pad_class_init):
26690           Docs change.
26691           
26692         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26693           Handle out-of-band downstream events from the sending thread.
26694
26695 2005-08-17  Andy Wingo  <wingo@pobox.com>
26696
26697         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26698         play-timeout==0 to mean no timeout at all. In that case, don't
26699         bother with a get_state or a warning, just return directly, even
26700         if it's ASYNC.
26701
26702         * gst/base/gstbasetransform.c: Debug changes.
26703
26704         * gst/gstutils.h:
26705         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26706         ensure bins post state change messages. A bit of a hack but I can't
26707         think of a way to avoid it.
26708
26709         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26710
26711 2005-08-16  Andy Wingo  <wingo@pobox.com>
26712
26713         * gst/base/gstadapter.h:
26714         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26715         peek() but you own the data. Not terribly efficient atm.
26716
26717 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26718
26719         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26720         (gst_element_found_tags):
26721         * gst/gstutils.h:
26722           Add two utility functions for tag handling.
26723
26724 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26725
26726         * docs/manual/advanced-dataaccess.xml:
26727         * docs/manual/basics-helloworld.xml:
26728           Fix docs to use _bin_add() before _link(), which fixes the examples
26729           with recent core versions (reported by Madhan Raj M
26730           <raj_madan@rediffmail.com>, #313199).
26731
26732 2005-08-16  Wim Taymans  <wim@fluendo.com>
26733
26734         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26735         Added subtract checks.
26736
26737         * docs/design/part-events.txt:
26738         Some more docs about newsegment
26739
26740         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26741         Fix FIXME
26742
26743         * gst/gstcaps.c: (gst_caps_to_string):
26744         Add comments, cleanups.
26745         
26746         * gst/gstelement.c: (gst_element_save_thyself):
26747         cleanups
26748         
26749         * gst/gstvalue.c: (gst_value_collect_int_range),
26750         (gst_string_unwrap), (gst_value_union_int_int_range),
26751         (gst_value_union_int_range_int_range),
26752         (gst_value_intersect_int_int_range),
26753         (gst_value_intersect_int_range_int_range),
26754         (gst_value_intersect_double_double_range),
26755         (gst_value_intersect_double_range_double_range),
26756         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26757         (gst_value_subtract_int_range_int),
26758         (gst_value_subtract_double_range_double),
26759         (gst_value_subtract_double_range_double_range),
26760         (gst_value_subtract_from_list), (gst_value_subtract_list),
26761         (gst_value_can_compare), (gst_value_compare_fraction):
26762         Cleanups, add comments, remove unneeded asserts.
26763
26764 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26765
26766         * tools/gst-launch.c: (event_loop):
26767           don't convert NULL structures to strings
26768
26769 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26770
26771         * docs/gst/gstreamer-sections.txt:
26772           made some defines private
26773         * docs/gst/tmpl/gstconfig.sgml:
26774         * docs/gst/tmpl/gstqueue.sgml:
26775         * docs/gst/tmpl/gsttaglist.sgml:
26776         * docs/gst/tmpl/gsttypes.sgml:
26777         * docs/gst/tmpl/gstutils.sgml:
26778         * docs/pwg/appendix-porting.xml:
26779         * gst/base/gstbasesink.h:
26780         * gst/base/gstbasesrc.c:
26781         * gst/base/gstbasesrc.h:
26782         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26783         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26784         * gst/gstelement.c: (gst_element_class_init):
26785         * gst/gstpad.c: (gst_pad_class_init):
26786         * gst/gstqueue.c: (gst_queue_class_init):
26787         * gst/gstxml.c: (gst_xml_class_init):
26788           documented all undocumented signal inline
26789         * libs/gst/controller/gst-controller.h:
26790           added padding
26791
26792 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26793
26794         * docs/pwg/appendix-porting.xml:
26795           Document _set_link_function -> _set_setcaps_function.
26796
26797 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26798
26799         * check/Makefile.am:
26800           add a .check target for running the check
26801         * check/gst-libs/controller.c: (GST_START_TEST):
26802           cosmetic fixups
26803         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26804           complete checks for gstbuffer; would be nice if I could get the
26805           gcov stuff to work so I can see if I actually completed gstbuffer.c
26806         * check/gstcheck.h:
26807           add ASSERT_BUFFER_REFCOUNT
26808
26809 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26810
26811         * docs/gst/gstreamer-sections.txt:
26812         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26813         * gst/gsttag.h:
26814           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26815           spew out a warning if a tag that is already registered
26816           is re-registered, unless it is re-registered with a 
26817           different type (#308438).
26818
26819 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26820
26821         * docs/pwg/appendix-porting.xml:
26822         * docs/pwg/building-state.xml:
26823           Add some paragraphs about state changes in 0.9 to the PWG
26824           and the porting guide, in particular about the new meaning
26825           of GST_STATE_PAUSED and how to write state change functions
26826           with concurrent access by multiple threads in mind.
26827
26828 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26829
26830         * docs/gst/gstreamer-docs.sgml:
26831         * docs/libs/gstreamer-libs-docs.sgml:
26832           added deprecation and since indexes
26833         * libs/gst/controller/gst-controller.c:
26834         * libs/gst/controller/gst-helper.c:
26835           added since tags
26836
26837
26838 2005-08-11  Wim Taymans  <wim@fluendo.com>
26839
26840         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26841         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26842         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26843         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26844         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26845         (gst_ghost_pad_set_target):
26846         Actually implement (re)setting the target on a ghostpad
26847         as described in the docs.
26848
26849 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26850
26851         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26852           Check whether GST_DEBUG_NO_COLOR environment variable is
26853           set and disable coloured debug output if that is the case.
26854
26855 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26856
26857         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26858         (gst_type_find_helper):
26859           The memory returned by gst_type_find_peek() needs to
26860           stay valid until the end of a typefind function, and
26861           typefind functions may keep results from different 
26862           offsets around, so we can't just unref the buffer from
26863           the previous _peek(), but have to save all buffers 
26864           returned by _peek() until typefinding is done and only
26865           free them then.
26866
26867 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26868
26869         * docs/gst/gstreamer-sections.txt:
26870         * gst/gstutils.h:
26871           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26872
26873 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26874
26875         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26876           Fix a pretty good memleak.
26877
26878 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26879
26880         * gst/gstiterator.h:
26881           Fix wrong include and 'make distcheck'.
26882
26883 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26884
26885         * gst/gstbin.c: (bin_bus_handler):
26886           Use gst_element_post_message() instead.
26887
26888 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26889
26890         * gst/base/gstadapter.h:
26891         * gst/base/gstbasesink.h:
26892         * gst/base/gstbasesrc.h:
26893         * gst/base/gstbasetransform.h:
26894         * gst/base/gstcollectpads.h:
26895         * gst/base/gstpushsrc.h:
26896         * gst/gstiterator.h:
26897           Add padding to our base elements' class and instance structs and
26898           to GstIterator (you will need to rebuild all plugins and apps!)
26899
26900 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26901
26902         * gst/gstbin.c: (bin_bus_handler):
26903           Make default message forwarding from child->bus to bin->bus
26904           threadsafe and make it not emit warnings if the parent has no bus.
26905
26906 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26907
26908         * gst/gstelement.c: (activate_pads):
26909           On paused->ready, set pad->caps to NULL, as is the documented
26910           behaviour in this state change. Fixes playback of series of
26911           media files when visualization is enabled in Totem.
26912
26913 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26914
26915         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26916           Allow NULL as filter-caps (which means "any").
26917
26918 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26919
26920         * docs/libs/gstreamer-libs-sections.txt:
26921         * libs/gst/controller/gst-controller.c:
26922         * libs/gst/controller/gst-controller.h:
26923         * libs/gst/controller/gst-helper.c:
26924           adding more entries to the docs and fix small doc-bugs
26925
26926 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26927
26928         * docs/gst/gstreamer-docs.sgml:
26929         * docs/gst/gstreamer-sections.txt:
26930         * docs/gst/gstreamer.types:
26931         * docs/gst/tmpl/gstbasesink.sgml:
26932         * docs/gst/tmpl/gstbasesrc.sgml:
26933         * docs/gst/tmpl/gstbasetransform.sgml:
26934         * docs/gst/tmpl/gstfakesrc.sgml:
26935         * gst/base/gstcollectpads.c:
26936         * gst/base/gstcollectpads.h:
26937         * libs/gst/controller/gst-controller.c:
26938         * libs/gst/controller/gst-controller.h:
26939         * libs/gst/controller/gst-helper.c:
26940         * libs/gst/controller/gst-interpolation.c:
26941         * libs/gst/controller/lib.c:
26942           added long/short desc for controller docs
26943           added collectpads base class docs
26944           added correct includes to base-class docs
26945
26946 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26947
26948         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26949         (gst_test_mono_source_set_property),
26950         (gst_test_mono_source_class_init), (GST_START_TEST),
26951         (gst_controller_suite):
26952         * docs/gst/gstreamer-docs.sgml:
26953         * docs/gst/gstreamer-sections.txt:
26954         * docs/gst/gstreamer.types:
26955         * docs/libs/gstreamer-libs-docs.sgml:
26956         * docs/libs/gstreamer-libs-sections.txt:
26957         * gst/base/gstadapter.c:
26958         * libs/gst/controller/gst-controller.c:
26959         (gst_controlled_property_new), (gst_controlled_property_free),
26960         (gst_controller_new_valist),
26961         (gst_controller_remove_properties_valist),
26962         (gst_controller_sink_values), (_gst_controller_finalize):
26963         * libs/gst/controller/gst-controller.h:
26964         * libs/gst/controller/gst-helper.c:
26965         (gst_object_control_properties), (gst_object_uncontrol_properties),
26966         (gst_object_get_controller), (gst_object_set_controller),
26967         (gst_object_sink_values), (gst_object_get_value_arrays),
26968         (gst_object_get_value_array):
26969           more tests (and fixes) for the controller
26970           more docs for the controller
26971           integrated companies docs for the adapter 
26972
26973 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
26974
26975         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26976         (GST_START_TEST), (fakesrc_suite):
26977           add tests for sizetype
26978
26979 2005-08-04  Andy Wingo  <wingo@pobox.com>
26980
26981         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26982         fixes buffer_alloc proxying among other things.
26983
26984         * gst/base/gstbasetransform.c:
26985         * gst/base/gstbasetransform.h:
26986         Revert patch to gstbasetransform from 7-28 removing
26987         delay_configure.
26988
26989         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26990         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26991         Semantics changed, should return not the size of the output buffer
26992         but the byte size of a buffer with a given caps.
26993
26994         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26995         debug object.
26996         (gst_base_transform_configure_caps): Don't set out_size here: (in,
26997         out) are not the pad caps until setcaps finishes.
26998         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26999         not-in-place case as well. Deal with changing from in-place to
27000         not-in-place within calling pad_alloc_buffer. Still a bit
27001         concerned about the overhead here...
27002
27003 2005-08-03  Andy Wingo  <wingo@pobox.com>
27004
27005         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27006         fixating is an error.
27007
27008 2005-08-04  Edward Hervey  <edward@fluendo.com>
27009
27010         * gst/base/gstadapter.h: 
27011         Added gst_adapter_get_type() to the header
27012
27013 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27014
27015         * check/Makefile.am:
27016         * check/gst-libs/controller.c:
27017         * libs/gst/controller/gst-controller.c:
27018         (gst_controller_new_valist):
27019           added check test suite for the controller
27020         * gst/base/gstpushsrc.c:
27021           fixed a doc typo
27022
27023 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27024
27025         * docs/gst/Makefile.am:
27026         * docs/gst/gstreamer-docs.sgml:
27027         * docs/gst/gstreamer-sections.txt:
27028         * docs/gst/gstreamer.types:
27029         * docs/gst/tmpl/gstfakesrc.sgml:
27030         * gst/base/README:
27031         * gst/base/gstbasesink.c:
27032         * gst/base/gstbasesink.h:
27033         * gst/base/gstbasesrc.c:
27034         * gst/base/gstbasesrc.h:
27035         * gst/base/gstbasetransform.c:
27036         * gst/base/gstpushsrc.c:
27037         * gst/base/gstpushsrc.h:
27038           add short/long description docs to base classes
27039           add pushsrc to the docs
27040           remove consolidated doc fragments
27041
27042 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27043
27044         * configure.ac:
27045         * docs/libs/Makefile.am:
27046         * docs/libs/gstreamer-libs-docs.sgml:
27047         * docs/libs/gstreamer-libs-sections.txt:
27048         * docs/libs/gstreamer-libs.types:
27049         * examples/Makefile.am:
27050         * examples/controller/.cvsignore:
27051         * examples/controller/Makefile.am:
27052         * examples/controller/audio-example.c: (main):
27053         * libs/gst/Makefile.am:
27054         * libs/gst/controller/.cvsignore:
27055         * libs/gst/controller/Makefile.am:
27056         * libs/gst/controller/gst-controller.c:
27057         (on_object_controlled_property_changed), (gst_timed_value_compare),
27058         (gst_timed_value_find),
27059         (gst_controlled_property_set_interpolation_mode),
27060         (gst_controlled_property_new), (gst_controlled_property_free),
27061         (gst_controller_find_controlled_property),
27062         (gst_controller_new_valist), (gst_controller_new),
27063         (gst_controller_remove_properties_valist),
27064         (gst_controller_remove_properties), (gst_controller_set),
27065         (gst_controller_set_from_list), (gst_controller_unset),
27066         (gst_controller_get), (gst_controller_get_all),
27067         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27068         (gst_controller_get_value_array),
27069         (gst_controller_set_interpolation_mode),
27070         (_gst_controller_finalize), (_gst_controller_init),
27071         (_gst_controller_class_init), (gst_controller_get_type):
27072         * libs/gst/controller/gst-controller.h:
27073         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27074         (g_object_uncontrol_properties), (g_object_get_controller),
27075         (g_object_set_controller), (g_object_sink_values),
27076         (g_object_get_value_arrays), (g_object_get_value_array):
27077         * libs/gst/controller/gst-interpolation.c:
27078         (gst_controlled_property_find_timed_value_node),
27079         (interpolate_none_get), (interpolate_trigger_get),
27080         (interpolate_trigger_get_value_array):
27081         * libs/gst/controller/lib.c: (gst_controller_init):
27082         * pkgconfig/Makefile.am:
27083         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27084         * pkgconfig/gstreamer-control.pc.in:
27085         * testsuite/Makefile.am:
27086         * testsuite/controller/.cvsignore:
27087         * testsuite/controller/Makefile.am:
27088         * testsuite/controller/interpolator.c: (main):
27089           added controller code
27090           removed dparam pc files
27091
27092 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27093         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27094         (gst_collectpads_stop):
27095           Broadcast the condition when shutting down, to make sure we wake all
27096           threads up. Shut down pads on finalize, for safety.
27097
27098 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27099         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27100         (gst_base_transform_handle_buffer),
27101         (gst_base_transform_change_state):
27102           Handle PAUSED->READY->PAUSED transition after negotiation
27103           occurred already.
27104         * gst/gstmessage.c: (gst_message_init):
27105           Extra piece of debug for new messages.
27106
27107 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27108
27109         * configure.ac:
27110         * docs/gst/tmpl/gstbasesrc.sgml:
27111         * docs/gst/tmpl/gstelement.sgml:
27112         * docs/gst/tmpl/gstevent.sgml:
27113         * docs/gst/tmpl/gstfakesrc.sgml:
27114         * docs/gst/tmpl/gstformat.sgml:
27115         * docs/gst/tmpl/gstghostpad.sgml:
27116         * docs/gst/tmpl/gstpad.sgml:
27117         * docs/gst/tmpl/gstquery.sgml:
27118         * docs/gst/tmpl/gststructure.sgml:
27119         * docs/gst/tmpl/gsttaglist.sgml:
27120         * docs/gst/tmpl/gstvalue.sgml:
27121         * docs/libs/gstreamer-libs-docs.sgml:
27122         * docs/libs/gstreamer-libs-sections.txt:
27123         * docs/libs/gstreamer-libs.types:
27124         * libs/gst/Makefile.am:
27125         * libs/gst/control/.cvsignore:
27126         * libs/gst/control/Makefile.am:
27127         * libs/gst/control/control.c:
27128         * libs/gst/control/control.h:
27129         * libs/gst/control/dparam.c:
27130         * libs/gst/control/dparam.h:
27131         * libs/gst/control/dparam_smooth.c:
27132         * libs/gst/control/dparam_smooth.h:
27133         * libs/gst/control/dparamcommon.h:
27134         * libs/gst/control/dparammanager.c:
27135         * libs/gst/control/dparammanager.h:
27136         * libs/gst/control/dplinearinterp.c:
27137         * libs/gst/control/dplinearinterp.h:
27138         * libs/gst/control/unitconvert.c:
27139         * libs/gst/control/unitconvert.h:
27140         * testsuite/Makefile.am:
27141         * testsuite/dynparams/.cvsignore:
27142         * testsuite/dynparams/Makefile.am:
27143         * testsuite/dynparams/dparamstest.c:
27144         * tools/Makefile.am:
27145         * tools/gst-inspect.c: (print_element_info), (main):
27146         * tools/gst-xmlinspect.c: (print_element_info), (main):
27147           deactivate and remove dparams (libgstcontrol)
27148
27149 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27150
27151         * gst/elements/gsttypefindelement.c:
27152         (gst_type_find_element_have_type), (gst_type_find_element_init),
27153         (stop_typefinding), (gst_type_find_element_handle_event),
27154         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27155         * gst/elements/gsttypefindelement.h:
27156           Set caps on all outgoing buffers, not just the first one.
27157
27158 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27159
27160         * gst/elements/gsttypefindelement.c:
27161         (gst_type_find_element_have_type),
27162         (gst_type_find_element_check_set_buffer_caps),
27163         (gst_type_find_element_init), (stop_typefinding),
27164         (gst_type_find_element_handle_event),
27165         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27166         * gst/elements/gsttypefindelement.h:
27167           Set caps on first outgoing buffer when we've found the type.
27168
27169 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27170
27171         * docs/gst/gstreamer-docs.sgml:
27172         * docs/gst/gstreamer-sections.txt:
27173         * docs/gst/tmpl/gstscheduler.sgml:
27174         * docs/gst/tmpl/gstschedulerfactory.sgml:
27175           Remove some old cruft from docs.
27176
27177 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27178
27179         * gst/gstpad.h:
27180           Fix inline docs for GstPadLinkReturn.
27181           
27182         * gst/gststructure.c: (gst_structure_has_name):
27183         * gst/gststructure.h:
27184         * docs/gst/gstreamer-sections.txt:
27185           New API: gst_structure_has_name().
27186
27187 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27188
27189         * configure.ac:
27190           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27191           and _LARGEFILE_SOURCE in config.h as required. Do not 
27192           export those flags in our .pc files any longer (#142209).
27193
27194           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27195
27196         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27197         (gst_file_sink_do_seek), (gst_file_sink_event),
27198         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27199           Redo seek/tell calls with large file support in mind; add some
27200           debugging messages; add log message that tells us when large
27201           file support is unavailable or not enabled for some reason.
27202
27203         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27204           Add log message that tells us when large file support 
27205           is unavailable or not enabled for some reason.
27206
27207 2005-07-29  Wim Taymans  <wim@fluendo.com>
27208
27209         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27210         Added test for removing an element with ghostpad from a bin.
27211         Fixed test as current implementation does the right thing.
27212
27213         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27214         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27215         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27216         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27217         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27218         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27219         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27220         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27221         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27222         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27223         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27224         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27225         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27226         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27227         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27228         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27229         * gst/gstghostpad.h:
27230         Clean up ghostpads, remove properties for internal stuff.
27231         Make threadsafe.
27232         Fix refcounting.
27233         Prepare for switching targets, not all use cases work yet.
27234
27235 2005-07-29  Wim Taymans  <wim@fluendo.com>
27236
27237         * docs/design/part-gstghostpad.txt:
27238         Small update.
27239
27240         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27241         (gst_bin_remove_func):
27242         Unlinking pads while holding the bin LOCK is not a good
27243         idea.
27244
27245         * gst/gstpad.c: (gst_pad_class_init),
27246         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27247         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27248         No prob setting template after creating the pad.
27249
27250 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27251
27252         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27253         (gst_bus_peek), (gst_bus_source_dispatch),
27254         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27255         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27256           gst_bus_poll may be called from other threads. Handle
27257           this nicely by not making poll_data disappear off the
27258           stack once gst_bus_poll returns.
27259           gst_bus_peek now increments the refcount on the returned
27260           message.
27261
27262 2005-07-29  Wim Taymans  <wim@fluendo.com>
27263
27264         * docs/design/part-gstghostpad.txt:
27265         Overview of current GhostPad datastructures and use
27266         cases for changing the target.
27267
27268 2005-07-28  Wim Taymans  <wim@fluendo.com>
27269
27270         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27271         Added checks for hierarchy consistency whan adding linked
27272         elements to bins.
27273
27274         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27275         Added check to test element scheduling without bin/pipeline.
27276
27277         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27278         First add elements to bin, then link.
27279         
27280         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27281         (gst_bin_remove_func):
27282         Unlink pads from elements added/removed from bin to maintain
27283         hierarchy consistency.
27284
27285 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27286
27287         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27288         (gst_base_transform_handle_buffer):
27289         * gst/base/gstbasetransform.h:
27290           Remove broken delay_configure (fixes renegotiation of software
27291           scaling pipelines); remove some leftover printf()s.
27292
27293 2005-07-28  Wim Taymans  <wim@fluendo.com>
27294
27295         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27296         Added some more tests for wrong hierarchy
27297
27298         * docs/design/part-overview.txt:
27299         Some updates.
27300
27301         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27302         Cleanups.
27303
27304         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27305         (gst_element_dispose):
27306         Some more cleanups.
27307
27308         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27309         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27310         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27311         (gst_pad_set_caps), (gst_pad_send_event):
27312         Check for correct hierarchy when linking pads. Moving to
27313         strict requirement for ghostpads when linking elements in
27314         different bins.
27315
27316         * gst/gstpad.h:
27317         Clean ups. Added WRONG_HIERARCHY return value.
27318
27319 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27320
27321         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27322           Better debug if no transform is possible.
27323
27324 2005-07-27  Wim Taymans  <wim@fluendo.com>
27325
27326         * docs/random/wtay/network-transp:
27327         Some old doc I had.
27328
27329 2005-07-27  Wim Taymans  <wim@fluendo.com>
27330
27331         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27332         (gst_dp_event_from_packet):
27333         Fix serialization of seek events.
27334
27335 2005-07-27  Wim Taymans  <wim@fluendo.com>
27336
27337         * check/gst-libs/gdp.c: (GST_START_TEST):
27338         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27339         Fix compilation and fix event serialization.
27340
27341 2005-07-27  Wim Taymans  <wim@fluendo.com>
27342
27343         * CHANGES-0.9:
27344         * docs/design/part-TODO.txt:
27345         * docs/design/part-events.txt:
27346         Some docs updates
27347
27348         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27349         (gst_base_sink_event), (gst_base_sink_do_sync),
27350         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27351         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27352         (gst_base_src_do_seek), (gst_base_src_event_handler),
27353         (gst_base_src_loop):
27354         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27355         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27356         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27357         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27358         (gst_base_transform_set_passthrough),
27359         (gst_base_transform_is_passthrough):
27360         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27361         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27362         Event updates.
27363
27364         * gst/gstbuffer.h:
27365         Use faster casts.
27366
27367         * gst/gstelement.c: (gst_element_seek):
27368         * gst/gstelement.h:
27369         Update gst_element_seek.
27370
27371         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27372         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27373         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27374         (gst_event_new_eos), (gst_event_new_newsegment),
27375         (gst_event_parse_newsegment), (gst_event_new_tag),
27376         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27377         (gst_event_parse_qos), (gst_event_new_seek),
27378         (gst_event_parse_seek), (gst_event_new_navigation):
27379         * gst/gstevent.h:
27380         Make GstEvent use GstStructure. Add parsing code, make sure the
27381         API is sufficiently generic.
27382         Mark possible directions of events and serialization.
27383
27384         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27385         (_gst_message_copy), (gst_message_new_segment_start),
27386         (gst_message_new_segment_done), (gst_message_new_custom),
27387         (gst_message_parse_segment_start),
27388         (gst_message_parse_segment_done):
27389         Small cleanups.
27390
27391         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27392         (gst_pad_set_caps), (gst_pad_send_event):
27393         Update for new events. 
27394         Catch events sent in wrong directions.
27395
27396         * gst/gstqueue.c: (gst_queue_link_src),
27397         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27398         (gst_queue_handle_src_query):
27399         Event updates.
27400
27401         * gst/gsttag.c:
27402         * gst/gsttag.h:
27403         Remove event code from this file.
27404
27405         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27406         (gst_dp_event_from_packet):
27407         Event updates.
27408
27409 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27410
27411         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27412         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27413         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27414           Make debugging actually useful.
27415
27416 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27417
27418         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27419         (gst_pad_fixate_caps):
27420           Implement default fixation once again, so that gst_pad_fixate()
27421           actually does anything at all. This probably needs to be some
27422           sort of a last resort, and use profile-based fixation first, but
27423           since that doesn't exist yet, this is the best we have. Fixes
27424           visualization in Totem.
27425
27426 2005-07-22  Wim Taymans  <wim@fluendo.com>
27427
27428         * docs/design/part-events.txt:
27429         Small update.
27430
27431         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27432         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27433         (gst_base_sink_activate_pull):
27434         Some more comments.
27435
27436         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27437         (gst_fake_src_create):
27438         Fix handoff marshall.
27439
27440         * gst/elements/gstidentity.c: (gst_identity_class_init),
27441         (gst_identity_transform_ip):
27442         We're a real inplace element.
27443
27444         * gst/gstbus.c: (gst_bus_post):
27445         Added some comments.
27446
27447         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27448         * tests/muxing/case1.c: (main):
27449         * tests/sched/dynamic-pipeline.c: (main):
27450         * tests/sched/interrupt1.c: (main):
27451         * tests/sched/interrupt2.c: (main):
27452         * tests/sched/interrupt3.c: (main):
27453         * tests/sched/runxml.c: (main):
27454         * tests/sched/sched-stress.c: (main):
27455         * tests/seeking/seeking1.c: (event_received), (main):
27456         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27457         (main):
27458         * tests/threadstate/threadstate3.c: (main):
27459         * tests/threadstate/threadstate4.c: (main):
27460         * tests/threadstate/threadstate5.c: (main):
27461         Fix the tests.
27462
27463 2005-07-21  Wim Taymans  <wim@fluendo.com>
27464
27465         * docs/design/part-seeking.txt:
27466         Some small additions.
27467
27468         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27469         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27470         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27471         * gst/base/gstbasesink.h:
27472         discont values are gint64, handle the math correctly.
27473
27474         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27475         Make the basesrc report error if the source pad is not linked.
27476
27477         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27478         (gst_queue_loop), (gst_queue_handle_src_query),
27479         (gst_queue_src_activate_push):
27480         Make queue collect data even if the srcpad is not linked.
27481         Start pushing out data as soon as it is linked.
27482
27483         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27484         * gst/gstutils.h:
27485         Added gst_flow_get_name() to ease error reporting.
27486
27487 2005-07-20  Wim Taymans  <wim@fluendo.com>
27488
27489         * gst/gstmessage.c: (gst_message_new_segment_start),
27490         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27491         (gst_message_parse_segment_done):
27492         * gst/gstmessage.h:
27493         Added a bunch of messages for advanced seeking.
27494
27495         * gst/parse/grammar.y:
27496         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27497         (gst_dpman_state_changed):
27498         Fix some new-pad -> pad-added signals
27499
27500 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27501
27502         * docs/manual/appendix-porting.xml:
27503         * docs/pwg/appendix-porting.xml:
27504           Document new-pad/state-change signal renames and the FixedList
27505           type rename.
27506
27507 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27508
27509         * docs/manual/advanced-autoplugging.xml:
27510         * docs/manual/basics-helloworld.xml:
27511         * docs/manual/basics-pads.xml:
27512         * docs/random/ds/0.9-suggested-changes:
27513         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27514         * gst/gstelement.h:
27515         * gst/gstevent.h:
27516         * gst/gstformat.h:
27517         * gst/gstquery.h:
27518         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27519         (gst_structure_parse_array), (gst_structure_parse_value):
27520         * gst/gstvalue.c: (gst_type_is_fixed),
27521         (gst_value_list_prepend_value), (gst_value_list_append_value),
27522         (gst_value_list_get_size), (gst_value_list_get_value),
27523         (gst_value_transform_array_string), (gst_value_serialize_array),
27524         (gst_value_deserialize_array), (gst_value_intersect_array),
27525         (gst_value_is_fixed), (_gst_value_initialize):
27526         * gst/gstvalue.h:
27527           GstElement::new-pad -> pad-added, GstElement::state-change ->
27528           state-changed, GstValueFixedList -> GstValueArray, add format and
27529           flags as their own arguments in gst_element_seek() (should improve
27530           "bindeability"), remove function generators since they don't work
27531           under a whole bunch of compilers (they were deprecated already
27532           anyway).
27533
27534 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27535
27536         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27537         (_gst_debug_register_funcptr):
27538         * gst/gstinfo.h:
27539           Fix illegal cast on some platforms (#309253).
27540
27541 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27542
27543         * gst/gstmessage.c: (gst_message_new_custom):
27544         * gst/gstmessage.h:
27545           Add _new_custom, make _new_application a macro to _new_custom.
27546
27547 2005-07-20  Wim Taymans  <wim@fluendo.com>
27548
27549         * gst/base/gstbasesrc.c: (gst_base_src_init),
27550         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27551         * gst/base/gstbasesrc.h:
27552         Add a gboolean to decide when to push out a discont.
27553
27554         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27555         (gst_queue_loop), (gst_queue_handle_src_query),
27556         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27557         (gst_queue_set_property), (gst_queue_get_property):
27558         Some cleanups.
27559
27560         * tests/threadstate/threadstate1.c: (main):
27561         Make a thread test compile and run... very silly..
27562
27563
27564 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27565
27566         * docs/manual/appendix-porting.xml:
27567           Mention removal of libgstgconf-0.9.la and existence of gconf
27568           elements.
27569
27570 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27571
27572         * docs/pwg/advanced-clock.xml:
27573         * docs/pwg/appendix-porting.xml:
27574         * docs/pwg/intro-preface.xml:
27575         * docs/pwg/other-base.xml:
27576         * docs/pwg/other-manager.xml:
27577         * docs/pwg/other-nton.xml:
27578         * docs/pwg/other-ntoone.xml:
27579         * docs/pwg/other-oneton.xml:
27580         * docs/pwg/pwg.xml:
27581           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27582           demuxer), remove n-to-n (was never written), fix some code examples
27583           and links and update the porting section to include all this.
27584
27585 2005-07-19  Wim Taymans  <wim@fluendo.com>
27586
27587         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27588         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27589         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27590         (gst_queue_src_activate_push), (gst_queue_change_state),
27591         (gst_queue_get_property):
27592         * gst/gstqueue.h:
27593         Propagate GstFlowReturn more intelligently upstream and output
27594         an ERROR/EOS when streaming stopped due to fatal error.
27595
27596 2005-07-19  Wim Taymans  <wim@fluendo.com>
27597
27598         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27599         Don't block forever for the state change to complete, the
27600         pipeline already did with a sensible timeout.
27601
27602 2005-07-19  Wim Taymans  <wim@fluendo.com>
27603
27604         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27605         Make sure we never call the create function is we
27606         got deactivated.
27607
27608 2005-07-19  Andy Wingo  <wingo@pobox.com>
27609
27610         * gst/parse/parse.l: Attempt to solve bug #172815.
27611
27612 2005-07-19  Wim Taymans  <wim@fluendo.com>
27613
27614         * docs/design/part-clocks.txt:
27615         * docs/design/part-events.txt:
27616         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27617         Small docs updates.
27618         Only update the seeking values when we are not
27619         busy streaming.
27620
27621 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27622
27623         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27624           Oops, ignore the result of gst_pad_push_event here.
27625
27626 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27627
27628         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27629         (gst_base_src_activate_push):
27630           Send discont event from the loop function, as pads
27631           aren't activated yet in the activate_push handler.
27632
27633         * gst/gstbin.c: (bin_bus_handler):
27634           Don't leak element name.
27635
27636 2005-07-18  Andy Wingo  <wingo@pobox.com>
27637
27638         * configure.ac: Use AS_LIBTOOL_TAGS.
27639
27640 2005-07-18  Wim Taymans  <wim@fluendo.com>
27641
27642         * docs/gst/gstreamer.types:
27643         Remove deleted types.
27644
27645 2005-07-18  Wim Taymans  <wim@fluendo.com>
27646
27647         * check/elements/gstfakesrc.c: (GST_START_TEST):
27648         * configure.ac:
27649         * gst/Makefile.am:
27650         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27651         (init_popt_callback):
27652         * gst/gst.h:
27653         * gst/gst_private.h:
27654         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27655         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27656         * gst/gstbin.h:
27657         * gst/gstbus.h:
27658         * gst/gstconfig.h.in:
27659         * gst/gstelement.c: (gst_element_class_init),
27660         (gst_element_set_base_time), (gst_element_get_base_time),
27661         (iterator_fold_with_resync), (gst_element_change_state),
27662         (gst_element_dispose), (gst_element_get_bus):
27663         * gst/gstelement.h:
27664         * gst/gstelementfactory.h:
27665         * gst/gsterror.c: (_gst_core_errors_init):
27666         * gst/gsterror.h:
27667         * gst/gstevent.h:
27668         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27669         * gst/gstindex.c:
27670         * gst/gstinfo.c: (_gst_debug_init):
27671         * gst/gstmessage.c: (_gst_message_copy):
27672         * gst/gstmessage.h:
27673         * gst/gstminiobject.h:
27674         * gst/gstobject.c:
27675         * gst/gstobject.h:
27676         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27677         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27678         * gst/gstpad.h:
27679         * gst/gstparse.h:
27680         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27681         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27682         (gst_pipeline_get_last_stream_time):
27683         * gst/gstpipeline.h:
27684         * gst/gstpluginfeature.h:
27685         * gst/gstquery.h:
27686         * gst/gstscheduler.c:
27687         * gst/gstscheduler.h:
27688         * gst/gststructure.h:
27689         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27690         (gst_task_finalize), (gst_task_func), (gst_task_create),
27691         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27692         (gst_task_stop), (gst_task_pause):
27693         * gst/gsttask.h:
27694         * gst/gsttypefind.h:
27695         * gst/gsttypes.h:
27696         * gst/registries/gstlibxmlregistry.c: (load_feature),
27697         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27698         * gst/registries/gstxmlregistry.c:
27699         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27700         * gst/schedulers/threadscheduler.c:
27701         * libs/gst/control/dparammanager.h:
27702         * tools/gst-inspect.c: (print_element_list),
27703         (print_plugin_features), (print_element_features):
27704         * tools/gst-xmlinspect.c: (print_element_list),
27705         (print_plugin_info), (main):
27706         Removed plugable schedulers.
27707         Removed Scheduler/Manager from elements.
27708         Removed gsttypes.h, rearranged includes.
27709         Removed dependency pad<->element, element<>pipeline, and
27710         various others,  fix includes.
27711         implement gst_pad_get_parent() with gst_object_get_parent()
27712         Make GstTask sefcontained.
27713         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27714         timeout.
27715         Fix endless loop in iterator_fold_with_resync.
27716
27717
27718 2005-07-18  Wim Taymans  <wim@fluendo.com>
27719
27720         * gst/Makefile.am:
27721         * gst/gstarch.h:
27722         Remove old file.
27723
27724 2005-07-18  Wim Taymans  <wim@fluendo.com>
27725
27726         * gst/Makefile.am:
27727         No more cothreads.h
27728
27729 2005-07-18  Wim Taymans  <wim@fluendo.com>
27730
27731         * gst/cothreads.c:
27732         * gst/cothreads.h:
27733         Let's remove these.
27734
27735 2005-07-18  Wim Taymans  <wim@fluendo.com>
27736
27737         * docs/design/part-dynamic.txt:
27738         * docs/design/part-events.txt:
27739         * docs/design/part-seeking.txt:
27740         Some more docs in the works.
27741
27742         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27743         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27744         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27745         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27746         (gst_base_transform_handle_buffer),
27747         (gst_base_transform_sink_activate_push),
27748         (gst_base_transform_src_activate_pull),
27749         (gst_base_transform_set_passthrough),
27750         (gst_base_transform_is_passthrough):
27751         Refcounting fixes.
27752
27753         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27754         Cleanups.
27755
27756         * gst/gstevent.c: (gst_event_finalize):
27757         Set SRC to NULL.
27758
27759         * gst/gstutils.c: (gst_element_unlink),
27760         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27761         (gst_pad_proxy_setcaps):
27762         * gst/gstutils.h:
27763         Add _get_parent_element() to get a pads parent as an element.
27764
27765 2005-07-18  Wim Taymans  <wim@fluendo.com>
27766
27767         * check/gst/gstbin.c: (GST_START_TEST):
27768         Remove bogus test.
27769
27770 2005-07-18  Wim Taymans  <wim@fluendo.com>
27771
27772         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27773         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27774         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27775         (gst_base_sink_event), (gst_base_sink_do_sync),
27776         (gst_base_sink_chain), (gst_base_sink_loop),
27777         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27778         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27779         Refcounting fixes.
27780         Fix logic for returning ASYNC when not prerolled.
27781
27782 2005-07-18  Wim Taymans  <wim@fluendo.com>
27783
27784         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27785         Fix nasty refcount bug.
27786
27787 2005-07-16 Philippe Khalaf <burger@speedy.org>
27788
27789         * gst/elements/gstfdsrc.c:
27790         * gst/elements/gstfdsrc.h:
27791         * gst/elements/gstelements.c:
27792         * gst/elements/Makefile.am:
27793         Ported fdsrc to 0.9.
27794
27795 2005-07-16  Wim Taymans  <wim@fluendo.com>
27796
27797         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27798         (gst_base_sink_do_sync):
27799         Fix compile error.
27800
27801 2005-07-16  Wim Taymans  <wim@fluendo.com>
27802
27803         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27804         (gst_base_sink_event), (gst_base_sink_get_times),
27805         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27806         * gst/base/gstbasesink.h:
27807         Store and use discont values when syncing buffers as described
27808         in design docs.
27809         
27810         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27811         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27812         (gst_base_src_activate_push):
27813         Push discont event when starting.
27814
27815         * gst/elements/gstidentity.c: (gst_identity_transform):
27816         Small cleanups.
27817
27818         * gst/gstbin.c: (gst_bin_change_state):
27819         Small cleanups in base_time  distribution.
27820
27821         * gst/gstelement.c: (gst_element_set_base_time),
27822         (gst_element_get_base_time), (gst_element_change_state):
27823         * gst/gstelement.h:
27824         Added methods for the base_time of the element.
27825         Some MT fixes.
27826
27827         * gst/gstpipeline.c: (gst_pipeline_send_event),
27828         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27829         (gst_pipeline_get_last_stream_time):
27830         * gst/gstpipeline.h:
27831         MT fixes.
27832         Handle seeking as described in design doc, remove stream_time
27833         hack.
27834         Cleanups clock and stream_time selection code. Added accessors
27835         for the stream_time.
27836         
27837
27838 2005-07-16  Andy Wingo  <wingo@pobox.com>
27839
27840         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27841         (#305291).
27842
27843 2005-07-16  Wim Taymans  <wim@fluendo.com>
27844
27845         * check/gst/gstbin.c: (GST_START_TEST):
27846         Make elements silent as the deep_notify refs the
27847         parent, which might make the test fail.
27848
27849         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27850         Don't hold the lock for too long.
27851
27852 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27853
27854         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27855           Don't unref the caps we passed to gst_caps_make_writable() after
27856           passing them. gst_caps_make_writable() will do that for us.
27857
27858 2005-07-15  Andy Wingo  <wingo@pobox.com>
27859
27860         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27861         (#157311).
27862
27863         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27864         own marshalling function for the handoff signal. Properly type the
27865         buffer as a buffer. Fixes some warnings. Should do a more general
27866         solution.
27867         (gst_identity_class_init): Plug into the right marshaller.
27868
27869 2005-07-15  Wim Taymans  <wim@fluendo.com>
27870
27871         * docs/design/part-TODO.txt:
27872         * docs/design/part-clocks.txt:
27873         * docs/design/part-element-sink.txt:
27874         * docs/design/part-events.txt:
27875         * docs/design/part-gstpipeline.txt:
27876         Updated docs, mostly DISCONT related.
27877
27878 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27879
27880         * docs/pwg/building-pads.xml:
27881           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27882
27883 2005-07-15  Andy Wingo  <wingo@pobox.com>
27884
27885         * tools/gst-typefind.c: Update, add copyright block.
27886
27887         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27888         Normalize and truncate caps before fixation.
27889
27890         * gst/gstcaps.h:
27891         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27892         discards all but the first structure from its argument.
27893
27894 2005-07-15  Wim Taymans  <wim@fluendo.com>
27895
27896         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27897         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27898         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27899         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27900         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27901         (gst_base_transform_chain), (gst_base_transform_change_state),
27902         (gst_base_transform_set_passthrough),
27903         (gst_base_transform_is_passthrough):
27904         * gst/base/gstbasetransform.h:
27905         Make passthrough work using the bufferpools.
27906         Changed API a bit, subclasses have to write into a buffer
27907         provided by the base class.
27908         More debug info in nego functions.
27909         
27910         * gst/elements/gstidentity.c: (gst_identity_init),
27911         (gst_identity_transform):
27912         Port to new base class.
27913
27914 2005-07-15  Wim Taymans  <wim@fluendo.com>
27915
27916         * gst/gstmessage.c: (gst_message_new_state_changed):
27917         * tools/gst-launch.c: (event_loop), (main):
27918         Totally dump messages in -launch with the -m option.
27919         Fix message name for State messages,
27920
27921 2005-07-14  Wim Taymans  <wim@fluendo.com>
27922
27923         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27924         Post error messages on errors.
27925
27926 2005-07-14  Wim Taymans  <wim@fluendo.com>
27927
27928         * gst/gstcaps.c: (gst_caps_do_simplify):
27929         Remove debug info.
27930
27931         * gst/gsterror.h:
27932         Define error for stream stopped.
27933
27934         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27935         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27936         Do proper return values.
27937
27938         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27939         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27940         (gst_pad_get_range):
27941         Better return values.
27942
27943         * gst/gstpad.h:
27944         Reorganise return values, add macro to check for fatal errors.
27945
27946         * gst/gstqueue.c: (gst_queue_chain):
27947         Return proper GstFlowReturn values,
27948
27949 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
27950
27951         * docs/gst/gstreamer-sections.txt:
27952         * docs/gst/gstreamer.types:
27953         * docs/gst/tmpl/gst.sgml:
27954         * docs/gst/tmpl/gstbasesink.sgml:
27955         * docs/gst/tmpl/gstbasesrc.sgml:
27956         * docs/gst/tmpl/gstbasetransform.sgml:
27957         * docs/gst/tmpl/gstbin.sgml:
27958         * docs/gst/tmpl/gstbuffer.sgml:
27959         * docs/gst/tmpl/gstcaps.sgml:
27960         * docs/gst/tmpl/gstclock.sgml:
27961         * docs/gst/tmpl/gstcompat.sgml:
27962         * docs/gst/tmpl/gstconfig.sgml:
27963         * docs/gst/tmpl/gstelement.sgml:
27964         * docs/gst/tmpl/gstelementdetails.sgml:
27965         * docs/gst/tmpl/gstelementfactory.sgml:
27966         * docs/gst/tmpl/gstenumtypes.sgml:
27967         * docs/gst/tmpl/gsterror.sgml:
27968         * docs/gst/tmpl/gstevent.sgml:
27969         * docs/gst/tmpl/gstfakesink.sgml:
27970         * docs/gst/tmpl/gstfakesrc.sgml:
27971         * docs/gst/tmpl/gstfilesink.sgml:
27972         * docs/gst/tmpl/gstfilesrc.sgml:
27973         * docs/gst/tmpl/gstfilter.sgml:
27974         * docs/gst/tmpl/gstformat.sgml:
27975         * docs/gst/tmpl/gstghostpad.sgml:
27976         * docs/gst/tmpl/gstimplementsinterface.sgml:
27977         * docs/gst/tmpl/gstindex.sgml:
27978         * docs/gst/tmpl/gstindexfactory.sgml:
27979         * docs/gst/tmpl/gstinfo.sgml:
27980         * docs/gst/tmpl/gstiterator.sgml:
27981         * docs/gst/tmpl/gstmacros.sgml:
27982         * docs/gst/tmpl/gstmemchunk.sgml:
27983         * docs/gst/tmpl/gstminiobject.sgml:
27984         * docs/gst/tmpl/gstobject.sgml:
27985         * docs/gst/tmpl/gstpad.sgml:
27986         * docs/gst/tmpl/gstpadtemplate.sgml:
27987         * docs/gst/tmpl/gstparse.sgml:
27988         * docs/gst/tmpl/gstpipeline.sgml:
27989         * docs/gst/tmpl/gstplugin.sgml:
27990         * docs/gst/tmpl/gstpluginfeature.sgml:
27991         * docs/gst/tmpl/gstquery.sgml:
27992         * docs/gst/tmpl/gstqueue.sgml:
27993         * docs/gst/tmpl/gstregistry.sgml:
27994         * docs/gst/tmpl/gstregistrypool.sgml:
27995         * docs/gst/tmpl/gstscheduler.sgml:
27996         * docs/gst/tmpl/gstschedulerfactory.sgml:
27997         * docs/gst/tmpl/gststructure.sgml:
27998         * docs/gst/tmpl/gstsystemclock.sgml:
27999         * docs/gst/tmpl/gsttaglist.sgml:
28000         * docs/gst/tmpl/gsttagsetter.sgml:
28001         * docs/gst/tmpl/gsttrace.sgml:
28002         * docs/gst/tmpl/gsttrashstack.sgml:
28003         * docs/gst/tmpl/gsttypefind.sgml:
28004         * docs/gst/tmpl/gsttypefindfactory.sgml:
28005         * docs/gst/tmpl/gsttypes.sgml:
28006         * docs/gst/tmpl/gsturihandler.sgml:
28007         * docs/gst/tmpl/gsturitype.sgml:
28008         * docs/gst/tmpl/gstutils.sgml:
28009         * docs/gst/tmpl/gstvalue.sgml:
28010         * docs/gst/tmpl/gstversion.sgml:
28011         * docs/gst/tmpl/gstxml.sgml:
28012         * docs/libs/tmpl/gstcontrol.sgml:
28013         * docs/libs/tmpl/gstdataprotocol.sgml:
28014         * docs/libs/tmpl/gstdparam.sgml:
28015         * docs/libs/tmpl/gstdplinint.sgml:
28016         * docs/libs/tmpl/gstdpman.sgml:
28017         * docs/libs/tmpl/gstdpsmooth.sgml:
28018         * docs/libs/tmpl/gstgetbits.sgml:
28019         * docs/libs/tmpl/gstunitconvert.sgml:
28020         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28021         (gst_push_src_base_init), (gst_push_src_class_init),
28022         (gst_push_src_init), (gst_push_src_create):
28023         * gst/base/gstpushsrc.h:
28024         * gst/elements/gstelements.c:
28025         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28026         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28027         (gst_fake_sink_init), (gst_fake_sink_set_property),
28028         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28029         (gst_fake_sink_event), (gst_fake_sink_preroll),
28030         (gst_fake_sink_render), (gst_fake_sink_change_state):
28031         * gst/elements/gstfakesink.h:
28032         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28033         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28034         (gst_fake_src_base_init), (gst_fake_src_class_init),
28035         (gst_fake_src_init), (gst_fake_src_event_handler),
28036         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28037         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28038         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28039         (gst_fake_src_create_buffer), (gst_fake_src_create),
28040         (gst_fake_src_start), (gst_fake_src_stop):
28041         * gst/elements/gstfakesrc.h:
28042         * gst/elements/gstfilesink.c: (_do_init),
28043         (gst_file_sink_base_init), (gst_file_sink_class_init),
28044         (gst_file_sink_init), (gst_file_sink_dispose),
28045         (gst_file_sink_set_location), (gst_file_sink_set_property),
28046         (gst_file_sink_get_property), (gst_file_sink_open_file),
28047         (gst_file_sink_close_file), (gst_file_sink_query),
28048         (gst_file_sink_event), (gst_file_sink_render),
28049         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28050         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28051         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28052         * gst/elements/gstfilesink.h:
28053         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28054         (gst_file_src_class_init), (gst_file_src_init),
28055         (gst_file_src_finalize), (gst_file_src_set_location),
28056         (gst_file_src_set_property), (gst_file_src_get_property),
28057         (gst_file_src_map_region), (gst_file_src_map_small_region),
28058         (gst_file_src_create_mmap), (gst_file_src_create_read),
28059         (gst_file_src_create), (gst_file_src_is_seekable),
28060         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28061         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28062         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28063         (gst_file_src_uri_handler_init):
28064         * gst/elements/gstfilesrc.h:
28065           more autistic cleanliness in functions/names/defines
28066
28067 2005-07-13  Andy Wingo  <wingo@pobox.com>
28068
28069         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28070         source couldn't negotiate.
28071
28072         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28073         connections again.
28074
28075         * gst/gstutils.h:
28076         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28077         function. I am channeling Hades. Put your boots on suckers!!!
28078
28079 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28080
28081         * testsuite/caps/Makefile.am:
28082         * testsuite/caps/value_compare.c:
28083         * testsuite/caps/value_intersect.c:
28084         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28085           move two testsuite apps over to the check dir
28086
28087 2005-07-12  Wim Taymans  <wim@fluendo.com>
28088
28089         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28090         Added more debug info in the negotiate process.
28091
28092         * gst/gstmessage.h:
28093         Prepare for segment playback.
28094
28095         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28096         Better debugging.
28097
28098         * gst/gstutils.c:
28099         Some more docs.
28100
28101         * tools/gst-launch.c: (main):
28102         NULL pipeline on errors.
28103
28104 2005-07-12  Andy Wingo  <wingo@pobox.com>
28105
28106         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28107         not it comes from a malloc region. Make sure our copy gets freed.
28108
28109 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28110
28111         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28112         * check/gst/gstmessage.c: (GST_START_TEST):
28113         * check/gst/gststructure.c: (GST_START_TEST),
28114         (gst_structure_suite), (main):
28115           more testing
28116         * gst/gstelement.c: (gst_element_message_full):
28117           clean up GError and debug string now that they get copied
28118         * gst/gstmessage.c: (gst_message_new_error),
28119         (gst_message_new_warning), (gst_message_parse_error),
28120         (gst_message_parse_warning):
28121           use GST_TYPE_G_ERROR for structure_new, and take copies of
28122           arguments, so that we don't mess up refcounting
28123
28124 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28125
28126         * check/Makefile.am:
28127           add per-test valgrind targets
28128         * check/gst-libs/gdp.c: (GST_START_TEST),
28129         (gst_data_protocol_suite), (main):
28130           clean up
28131
28132 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28133
28134         * check/Makefile.am:
28135           instate more valgrindable tests
28136         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28137         (GST_START_TEST), (fakesrc_suite):
28138         * check/gst/gstpad.c: (GST_START_TEST):
28139         * check/gst/gststructure.c: (GST_START_TEST):
28140           fix test leaks
28141         * docs/gst/tmpl/gstminiobject.sgml:
28142         * gst/gstpad.c: (gst_pad_finalize):
28143           fix the static mutex leak
28144
28145 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28146
28147         * check/Makefile.am:
28148           add two more tests for valgrinding
28149         * check/gst/gstvalue.c: (GST_START_TEST):
28150           test refcount of deserialized buffer, found a leak
28151         * docs/gst/gstreamer-docs.sgml:
28152         * docs/gst/gstreamer-sections.txt:
28153         * docs/gst/gstreamer.types:
28154         * docs/gst/tmpl/gstminiobject.sgml:
28155           add miniobject to docs
28156         * gst/gstminiobject.c:
28157           add some docs
28158         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28159         (gst_string_unwrap):
28160           fix a hard-to-find invalid write for one of the tests
28161           fix a leak for deserialized buffers
28162
28163 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28164
28165         * docs/pwg/advanced-events.xml:
28166         * docs/pwg/advanced-request.xml:
28167         * docs/pwg/advanced-scheduling.xml:
28168         * docs/pwg/appendix-porting.xml:
28169         * docs/pwg/building-boiler.xml:
28170         * docs/pwg/intro-preface.xml:
28171         * docs/pwg/other-ntoone.xml:
28172           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28173           of example code and explanation for pad activation, loop() and
28174           getrange() functions and a bit more. Remove old comments pointing
28175           to loop-functions.
28176         * examples/pwg/Makefile.am:
28177           Add loop/getrange examples.
28178
28179 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28180
28181         * configure.ac:
28182           check for valgrind binary + some fixes
28183         * check/gst.supp:
28184           valgrind suppressions for the tests
28185         * check/Makefile.am:
28186           add a valgrind: target that valgrinds the unit tests
28187         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28188         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28189         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28190         * check/gst/gstghostpad.c:
28191           added some cleanup
28192         * check/gst/gstdata.c:
28193           removed
28194         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28195         (thread_unref), (gst_mini_object_suite), (main):
28196           added
28197         * gst/gst.c: (gst_deinit):
28198         * gst/gst.h:
28199           add a method to clean up.
28200         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28201         (gst_system_clock_obtain):
28202           allow for disposing the system clock.
28203         * tools/gst-launch.c: (main):
28204           deinit
28205
28206 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28207
28208         * docs/gst/tmpl/gstbasesrc.sgml:
28209         * docs/gst/tmpl/gstfakesrc.sgml:
28210         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28211         (gst_base_src_init), (gst_base_src_set_property),
28212         (gst_base_src_get_property), (gst_base_src_get_range),
28213         (gst_base_src_start):
28214         * gst/base/gstbasesrc.h:
28215           add num-buffers property
28216         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28217         (gst_fakesrc_init), (gst_fakesrc_set_property),
28218         (gst_fakesrc_get_property), (gst_fakesrc_create),
28219         (gst_fakesrc_start):
28220           remove num-buffers property
28221
28222 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28223
28224         * docs/gst/gstreamer-sections.txt:
28225         * docs/gst/tmpl/gstbasesink.sgml:
28226         * docs/gst/tmpl/gstbasesrc.sgml:
28227         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28228         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28229         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28230         (gst_base_sink_set_property), (gst_base_sink_get_property),
28231         (gst_base_sink_handle_object), (gst_base_sink_event),
28232         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28233         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28234         (gst_base_sink_loop), (gst_base_sink_deactivate),
28235         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28236         (gst_base_sink_change_state):
28237         * gst/base/gstbasesink.h:
28238         * gst/base/gstbasesrc.h:
28239         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28240         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28241         (gst_filesink_init):
28242           more macro splitting
28243
28244 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28245
28246         * gst/gstelement.c: (gst_element_get_bus):
28247           add debug
28248         * tools/gst-launch.c: (check_intr), (event_loop):
28249           fix bus leaks
28250
28251 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28252
28253         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28254           fix a caps leak
28255
28256 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28257
28258         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28259         (gst_base_src_finalize):
28260           add finalize method and clean up properly
28261         * gst/gstpipeline.c: (gst_pipeline_dispose):
28262           add debug
28263
28264 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28265
28266         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28267         (gst_bin_suite):
28268           add more things to check
28269         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28270         * gst/gstelement.c:
28271           more debug
28272
28273 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28274
28275         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28276         (GST_START_TEST), (fakesrc_suite):
28277         * check/gst-libs/gdp.c: (GST_START_TEST):
28278         * check/gst/gst.c: (GST_START_TEST):
28279         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28280         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28281         * check/gst/gstbus.c: (GST_START_TEST):
28282         * check/gst/gstcaps.c: (GST_START_TEST):
28283         * check/gst/gstdata.c: (GST_START_TEST):
28284         * check/gst/gstelement.c: (GST_START_TEST):
28285         * check/gst/gstghostpad.c: (GST_START_TEST):
28286         * check/gst/gstiterator.c: (GST_START_TEST):
28287         * check/gst/gstmessage.c: (GST_START_TEST):
28288         * check/gst/gstobject.c: (GST_START_TEST):
28289         * check/gst/gstpad.c: (GST_START_TEST):
28290         * check/gst/gststructure.c: (GST_START_TEST):
28291         * check/gst/gstsystemclock.c: (GST_START_TEST),
28292         (gst_systemclock_suite):
28293         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28294         * check/gst/gstvalue.c: (GST_START_TEST):
28295         * check/pipelines/cleanup.c: (GST_START_TEST):
28296         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28297         * check/states/sinks.c: (GST_START_TEST):
28298         * check/gstcheck.c: (gst_check_init):
28299         * check/gstcheck.h:
28300           add debugging category
28301           use GST_START_TEST now, so we add a debug line
28302
28303 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28304
28305         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28306           add test for state change message on a bin
28307         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28308           add another test
28309         * gst/gstbin.c: (gst_bin_init):
28310         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28311         * gst/gstelement.c: (gst_element_post_message),
28312         (gst_element_set_state):
28313         * gst/gstelementfactory.c: (gst_element_factory_create):
28314         * gst/gstmessage.c: (gst_message_new):
28315         * gst/gstscheduler.c:
28316           various debugging additions and cleanups
28317
28318 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28319
28320         * check/Makefile.am:
28321         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28322         (main):
28323           adding tests for elements
28324         * gst/gstelement.c: (gst_element_dispose):
28325
28326 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28327
28328         * gst/registries/gstlibxmlregistry.c: (load_feature):
28329           plug more leaks.  A simple gst_init() now is leakfree, yay.
28330
28331 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28332
28333         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28334         (gst_xml_registry_load):
28335           plug another memleak
28336
28337 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28338
28339         * configure.ac:
28340           use GST_SET_ERROR_CFLAGS
28341         * docs/faq/cvs.xml:
28342           change to ERROR_CFLAGS
28343
28344 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28345
28346         * configure.ac:
28347           make GST_ERROR_CFLAGS overridable and re-enable Werror
28348         * docs/faq/cvs.xml:
28349           add a note about error CFLAGS
28350         * docs/gst/tmpl/gstfakesrc.sgml:
28351         * gst/elements/gstfakesrc.c:
28352           comment out some unused code
28353         * gst/gst.c: (split_and_iterate):
28354         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28355         (load_feature):
28356           plug some memleaks
28357
28358 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28359
28360         * common/Makefile.am:
28361         * common/gtk-doc.mak:
28362         * docs/gst/Makefile.am:
28363           factor out gtk-doc.mak
28364
28365 2005-07-07  Wim Taymans  <wim@fluendo.com>
28366
28367         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28368         (gst_thread_scheduler_dispose):
28369         Unlock the STREAM_LOCK completely.
28370
28371 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28372
28373         * check/Makefile.am:
28374         * check/elements/.cvsignore:
28375         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28376         (START_TEST), (fakesrc_suite), (main):
28377         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28378         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28379         (gst_fakesrc_create), (gst_fakesrc_start):
28380         * gst/elements/gstfakesrc.h:
28381           adding a first element test
28382
28383 2005-07-07  Andy Wingo  <wingo@pobox.com>
28384
28385         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28386         debug message.
28387
28388 2005-07-07  Wim Taymans  <wim@fluendo.com>
28389
28390         * gst/gstquery.c:
28391         * gst/gstquery.h:
28392         Remove old types
28393
28394 2005-07-07  Wim Taymans  <wim@fluendo.com>
28395
28396         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28397         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28398         Allow subclasses to implement their own negotiation.
28399
28400 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28401
28402         * docs/design/part-gstbin.txt:
28403         * docs/design/part-gstpipeline.txt:
28404           Update design notes to reflect the movement of
28405           responsibility for bus handling from GstPipeline to
28406           GstBin
28407
28408 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28409
28410         * configure.ac:
28411           Remove unnecessary queue2/3/4 examples.
28412
28413 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28414
28415         * examples/Makefile.am:
28416         * examples/helloworld/helloworld.c: (event_loop), (main):
28417         * examples/queue/queue.c: (event_loop), (main):
28418         * examples/queue2/queue2.c: (main):
28419           Update a couple of the examples to work again.
28420
28421         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28422         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28423          Spelling corrections and extra debug.
28424         
28425         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28426         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28427         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28428         * gst/gstbin.h:
28429         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28430         (gst_pipeline_change_state):
28431         * gst/gstpipeline.h:
28432           Move the bus handler for children to the GstBin, and create a
28433           separate bus for receiving messages from children to the one the
28434           bus sends 'upwards' on.
28435
28436 2005-07-06  Wim Taymans  <wim@fluendo.com>
28437
28438         * gst/base/README:
28439         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28440         (gst_base_sink_handle_object), (gst_base_sink_loop),
28441         (gst_base_sink_change_state):
28442         * gst/base/gstbasesink.h:
28443         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28444         (gst_base_src_init), (gst_base_src_setcaps),
28445         (gst_base_src_getcaps), (gst_base_src_loop),
28446         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28447         (gst_base_src_start), (gst_base_src_change_state):
28448         * gst/base/gstbasesrc.h:
28449         Make basesrc negotiate.
28450         Handle the case where preroll fails in basesink.
28451         Update README.
28452
28453 2005-07-06  Wim Taymans  <wim@fluendo.com>
28454
28455         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28456         Implement the fixate function.
28457         Clean up acceptcaps.
28458
28459 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28460
28461         * docs/pwg/building-filterfactory.xml:
28462         * docs/pwg/pwg.xml:
28463           Remove never-written filter-factory chapter; I'll add the various
28464           base classes to part 4 ("other element types") later on.
28465
28466 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28467
28468         * docs/pwg/advanced-negotiation.xml:
28469         * docs/pwg/building-boiler.xml:
28470         * docs/pwg/building-pads.xml:
28471         * docs/pwg/pwg.xml:
28472         * examples/pwg/Makefile.am:
28473           Add a chapter on caps negotiation, simplify the original code
28474           samples a bit w.r.t. caps negotiation, add link to the advanced
28475           section. Add a bunch of examples showing different use cases of
28476           different types of caps negotiation. Upstream renegotiation isn't
28477           fully documented yet since nobody knows how that works.
28478
28479 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28480
28481         * check/gst/gstpad.c:
28482         * check/gstcheck.c:
28483         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28484           if pad has no parent, return NULL as list of internal links
28485
28486 2005-07-05  Andy Wingo  <wingo@pobox.com>
28487
28488         * gst/elements/gstfilesrc.c:
28489         * gst/elements/gstfakesrc.c: 
28490         * gst/base/gstpushsrc.c:
28491         * gst/base/gstbasesrc.h: 
28492         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28493         
28494 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28495
28496         * Makefile.am:
28497           better report generation target (lcov needs a patch)
28498
28499 2005-07-05  Andy Wingo  <wingo@pobox.com>
28500
28501         * gst/elements, testsuite: Null if we got it...
28502
28503 2005-07-05  Wim Taymans  <wim@fluendo.com>
28504
28505         * configure.ac:
28506         * libs/gst/dataprotocol/Makefile.am:
28507         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28508         * libs/gst/dataprotocol/dataprotocol.h:
28509         * pkgconfig/Makefile.am:
28510         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28511         * pkgconfig/gstreamer-dataprotocol.pc.in:
28512         Ported dataprotol to 0.9. 
28513         Added pkgconfig files.
28514
28515 2005-07-05  Andy Wingo  <wingo@pobox.com>
28516
28517         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28518         Default to returning TRUE for the case when tranform_caps returns
28519         a fixed caps, like for identity or volume.
28520
28521         * check/gst/gstbus.c (pound_bus_with_messages): 
28522         * check/gst/gstmessage.c (START_TEST): 
28523         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28524         message API change.
28525
28526         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28527         logic weaks here: always run transform_caps, trying passthrough
28528         operation only if the original caps intersects with the transform.
28529
28530         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28531         source and sink caps.
28532
28533         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28534         Intersect the peer caps with the pad template before going into
28535         transform_caps.
28536         (gst_base_transform_transform_caps): More debugging.
28537
28538         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28539         src argument.
28540
28541 2005-07-04  Edward Hervey  <edward@fluendo.com>
28542
28543         * gst/gstutils.c:
28544         * gst/gstutils.h:
28545         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28546         in bindings.
28547
28548 2005-07-04  Andy Wingo  <wingo@pobox.com>
28549
28550         * check/gst/gstpad.c: Only set explicit caps on pads.
28551
28552 2005-07-01  Andy Wingo  <wingo@pobox.com>
28553
28554         * tests/network-clock.scm: Commentary update.
28555
28556         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28557         Didn't really make sense, not implementable with basetransform,
28558         etc.
28559         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28560         attempt at implementing the sync property, needs an unlock method.
28561
28562         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28563         New func, by default returns the same caps (the identity
28564         transformation).
28565         (gst_base_transform_getcaps): Uses transform_caps to return
28566         something sensible.
28567         (gst_base_transform_setcaps): Complicated logic to get caps on
28568         both pads, even if they are different, and to call set_caps once
28569         for every time both pads get their caps set.
28570         (gst_base_transform_handle_buffer): Give the ref to the transform
28571         function. Allows in-place modification of the buffer.
28572
28573         * gst/base/gstbasetransform.h (transform_caps): New class method.
28574         Given caps on one side, what can I do on the other.
28575         (set_caps): Take two caps, one for each side of the element.
28576
28577         * gst/gstpad.h:
28578         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28579         caps in place. This is safe because we can check the mutability of
28580         the caps, and a good idea because fixate functions are just called
28581         as a matter of last resort. (Not actually implemented.)
28582         (gst_pad_set_caps): If the caps we're setting is actually the same
28583         as the existing pad caps, just update the pointer without calling
28584         setcaps. Assert that caps is either NULL or fixed, as per the
28585         docs.
28586
28587         * gst/gstghostpad.c: Update for fixate changes.
28588
28589 2005-07-02  Andy Wingo  <wingo@pobox.com>
28590
28591         * gst/gstcaps.c:
28592         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28593         two refcounts makes it immutable, which is enough. Doc more.
28594
28595 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28596
28597         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28598           Put the mini_object into GValue as a mini_object,
28599           not a gpointer, since that's how we declared
28600           the signal.
28601
28602 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28603
28604         * examples/pwg/Makefile.am:
28605           Fix buildbot again.
28606
28607 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28608
28609         * docs/pwg/building-testapp.xml:
28610           Add extra check.
28611         * examples/pwg/Makefile.am:
28612           Fix buildbot.
28613
28614 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28615
28616         * configure.ac:
28617         * examples/Makefile.am:
28618         * examples/pwg/Makefile.am:
28619         * examples/pwg/extract.pl:
28620           Enable building the PWG examples.
28621         * docs/pwg/advanced-interfaces.xml:
28622           Add URI interface stub.
28623         * docs/pwg/advanced-types.xml:
28624         * docs/pwg/other-autoplugger.xml:
28625         * docs/pwg/appendix-porting.xml:
28626         * docs/pwg/pwg.xml:
28627           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28628         * docs/pwg/building-boiler.xml:
28629         * docs/pwg/building-chainfn.xml:
28630         * docs/pwg/building-pads.xml:
28631         * docs/pwg/building-props.xml:
28632         * docs/pwg/building-state.xml:
28633         * docs/pwg/building-testapp.xml:
28634           Update the building-*.xml parts for 0.9 changes. All examples
28635           code blocks compile in examples/pwg/*.
28636
28637 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28638
28639         * docs/manual/advanced-autoplugging.xml:
28640         * docs/manual/appendix-checklist.xml:
28641         * docs/manual/appendix-integration.xml:
28642         * docs/manual/highlevel-components.xml:
28643           Fix playbin/decodebin examples, update docs a bit, mention bus
28644           instead of signals in various places, mention kmplayer and
28645           kaffeine since they have a working GStreamer backend in the KDE
28646           section.
28647
28648 2005-06-30  Wim Taymans  <wim@fluendo.com>
28649
28650         * CHANGES-0.9:
28651         * docs/design/draft-ghostpads.txt:
28652         * docs/design/draft-push-pull.txt:
28653         * docs/design/draft-query.txt:
28654         * docs/design/part-TODO.txt:
28655         * docs/design/part-query.txt:
28656         Added CHANGES-0.9 doc, updated status of other docs.
28657         
28658         * gst/gstquery.h:
28659         Remove "hmm" macro
28660
28661 2005-06-30  Wim Taymans  <wim@fluendo.com>
28662
28663         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28664         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28665         (gst_base_sink_change_state):
28666         * gst/base/gstbasesink.h:
28667         Some tweaks, only EOS and a buffer complete a preroll.
28668
28669 2005-06-30  Andy Wingo  <wingo@pobox.com>
28670
28671         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28672         activate_push down to the internal pad as well.
28673
28674 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28675
28676         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28677
28678         * gst/gsttaginterface.c:
28679           Some documentation fixes (#307394 and #307397).
28680
28681 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28682
28683         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28684
28685         * gst/gstvalue.c: (gst_value_intersect_list):
28686           Fix memleak (#309125).
28687
28688 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28689
28690         * docs/manual/advanced-dataaccess.xml:
28691           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28692         * docs/manual/basics-pads.xml:
28693           Add reference for filtered caps to above chapter.
28694
28695 2005-06-30  Wim Taymans  <wim@fluendo.com>
28696
28697         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28698         (gst_bin_change_state):
28699         Probes are gone.
28700         Lame attempt at making the state change function a bit
28701         more readable.
28702
28703 2005-06-30  Wim Taymans  <wim@fluendo.com>
28704
28705         * docs/design/part-clocks.txt:
28706         * docs/design/part-element-sink.txt:
28707         * docs/design/part-events.txt:
28708         * docs/design/part-preroll.txt:
28709         * docs/design/part-states.txt:
28710         Some more tweeks and additions to the docs.
28711
28712 2005-06-30  Wim Taymans  <wim@fluendo.com>
28713
28714         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28715         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28716         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28717         (gst_pad_check_pull_range), (gst_pad_get_range),
28718         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28719         * gst/gstpad.h:
28720         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28721         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28722         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28723         (gst_pad_remove_buffer_probe):
28724         Removed atomic operations, use existing LOCK.
28725         Move exception handling out of main code path.
28726
28727 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28728
28729         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28730         (silly_return_true_function), (gst_pad_class_init),
28731         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28732         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28733         (gst_pad_send_event):
28734           Fix accumulator, add default value by using _emitv() instead
28735           of _emit() for signal emission.
28736
28737 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28738
28739         * docs/manual/advanced-dataaccess.xml:
28740         * examples/manual/Makefile.am:
28741           Add probe example.
28742         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28743           Make work (??).
28744
28745 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28746
28747         * gst/elements/gstfilesink.c: (gst_filesink_render):
28748           Simplify code so that we don't have to handle short
28749           writes and return GST_FLOW_ERROR if an error occured.
28750
28751 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28752
28753         * docs/gst/gstreamer-docs.sgml:
28754           Remove probes more.
28755
28756 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28757
28758         * docs/gst/gstreamer-sections.txt:
28759         * docs/gst/tmpl/gstpad.sgml:
28760         * docs/gst/tmpl/gstprobe.sgml:
28761         * gst/Makefile.am:
28762         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28763         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28764         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28765         (gst_pad_push_event), (gst_pad_send_event):
28766         * gst/gstpad.h:
28767         * gst/gstutils.c: (gst_pad_add_data_probe),
28768         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28769         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28770         (gst_pad_remove_buffer_probe):
28771         * gst/gstutils.h:
28772           Remove old probes, add new g-signal-based probes and some utility
28773           functions.
28774
28775 2005-06-29  Edward Hervey  <edward@fluendo.com>
28776
28777         * gst/gstelementfactory.c:
28778         * gst/gstutils.h:
28779         * gst/gstutils.c:
28780         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28781         the definition to the header file.
28782
28783 2005-06-29  Andy Wingo  <wingo@pobox.com>
28784
28785         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28786         plugins from the source directory.
28787
28788 2005-06-29  Wim Taymans  <wim@fluendo.com>
28789
28790         * docs/gst/tmpl/gstbuffer.sgml:
28791         * docs/gst/tmpl/gstclock.sgml:
28792         Some fixings for blantently wrong text.
28793
28794 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28795
28796         * check/Makefile.am:
28797         * gst/gst.c: (add_path_func), (init_pre):
28798         * gst/gstregistry.c: (gst_registry_add_path):
28799           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28800           only scan the GST_PLUGIN_PATH locations, and not add
28801           system locations
28802
28803 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28804
28805         * docs/gst/gstreamer-sections.txt:
28806         * docs/gst/tmpl/gstbasesrc.sgml:
28807         * gst/gstelement.c:
28808         * gst/gstelement.h:
28809         * gst/gstevent.c:
28810         * gst/gstutils.c:
28811           doc fixes
28812
28813 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28814
28815         * docs/manual/advanced-autoplugging.xml:
28816           Fix autoplugging example.
28817
28818 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28819
28820         * docs/manual/advanced-autoplugging.xml:
28821         * docs/manual/mime-world.fig:
28822           Try to get autoplugging working, fix type detection. Fix text
28823           in hello-world image.
28824
28825 2005-06-29  Wim Taymans  <wim@fluendo.com>
28826
28827         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28828         (gst_base_sink_change_state):
28829         Small debug line.
28830
28831         * gst/gstclock.h:
28832         map SIGNAL and BROADCAST to the right function.
28833
28834         * gst/gstobject.h:
28835         Remove redundant braces.
28836
28837         * gst/gstpad.c: (gst_pad_set_caps):
28838         Don't call setcaps function when reseting caps to NULL.
28839
28840         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28841         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28842         (gst_system_clock_id_unschedule):
28843         Use BROADCAST as this is what we do.
28844
28845 2005-06-29  Wim Taymans  <wim@fluendo.com>
28846
28847         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28848         We are actually prerolling before commiting the state
28849         change. 
28850
28851 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28852
28853         * docs/manual/advanced-clocks.xml:
28854         * docs/manual/advanced-interfaces.xml:
28855         * docs/manual/advanced-metadata.xml:
28856         * docs/manual/advanced-position.xml:
28857         * docs/manual/advanced-schedulers.xml:
28858         * docs/manual/advanced-threads.xml:
28859         * docs/manual/appendix-porting.xml:
28860         * docs/manual/basics-bins.xml:
28861         * docs/manual/basics-bus.xml:
28862         * docs/manual/basics-elements.xml:
28863         * docs/manual/basics-helloworld.xml:
28864         * docs/manual/basics-pads.xml:
28865         * docs/manual/highlevel-components.xml:
28866         * docs/manual/manual.xml:
28867         * docs/manual/thread.fig:
28868           Update (until threads/scheduling) Application Development Manual;
28869           remove GstThread, add GstBus, add simple porting checklist, add
28870           documentation for tag writing, clocks, make all examples until this
28871           part compile and run.
28872         * examples/manual/Makefile.am:
28873           Update from changes to Application Development Manual; add bus
28874           example, remove thread example.
28875
28876 2005-06-28  Wim Taymans  <wim@fluendo.com>
28877
28878         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28879         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28880         (gst_bus_source_dispatch):
28881         Add debugging messages.
28882         Make internal methods static.
28883         Handle the case where the bus is flushed in the handler.
28884         
28885         * gst/gstelement.c: (gst_element_get_bus):
28886         Fix refcount in _get_bus();
28887
28888         * gst/gstpipeline.c: (gst_pipeline_change_state),
28889         (gst_pipeline_get_clock_func):
28890         Clock refcounting fixes.
28891         Handle the case where preroll timed out more gracefully.
28892         
28893         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28894         Clean up the internal thread in dispose. This is needed
28895         for subclasses that actually get disposed.
28896         
28897         * gst/schedulers/threadscheduler.c:
28898         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28899         (gst_thread_scheduler_dispose):
28900         Free thread pool in dispose.
28901
28902 2005-06-28  Andy Wingo  <wingo@pobox.com>
28903
28904         * tests/network-clock-utils.scm (debug, print-event): New utils.
28905
28906         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28907         (*packet-loss*): Unified loss probability.
28908         (network-time): Report out-of-band events.
28909
28910         * tests/plot-data: Add support for out-of-band events. Hack it
28911         into this script instead of passing it down the pipe; should fix
28912         this later.
28913
28914 2005-06-28  Wim Taymans  <wim@fluendo.com>
28915
28916         * docs/gst/gstreamer.types:
28917         * docs/gst/tmpl/gstbasesrc.sgml:
28918         * docs/gst/tmpl/gstpad.sgml:
28919         Docs fixes.
28920
28921 2005-06-28  Wim Taymans  <wim@fluendo.com>
28922
28923         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28924         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28925         (gst_proxy_pad_do_fixatecaps):
28926         Correctly proxy the check_pull_range function.
28927
28928 2005-06-28  Andy Wingo  <wingo@pobox.com>
28929
28930         * tests/network-clock.scm: Removed need for slib.
28931         
28932 2005-06-28  Wim Taymans  <wim@fluendo.com>
28933
28934         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28935         (gst_basesink_preroll_queue_flush):
28936         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28937         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28938         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28939         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28940         (gst_proxy_pad_set_property):
28941         * gst/gstpad.c:
28942         * gst/gstpad.h:
28943         * gst/gstqueue.c: (gst_queue_init):
28944         The deprecated pad loop function is removed now.
28945
28946 2005-06-28  Andy Wingo  <wingo@pobox.com>
28947
28948         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28949         New parameters, simulate network packet loss.
28950
28951         * tests/network-clock-utils.scm: Initialize the RNG.
28952
28953 2005-06-28  Wim Taymans  <wim@fluendo.com>
28954
28955         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28956         (gst_basesink_event), (gst_basesink_deactivate):
28957         Flushing the preroll queue always needs to unlock the waiters.
28958
28959 2005-06-28  Edward Hervey  <edward@fluendo.com>
28960
28961         * gst/gstpipeline.c: (gst_pipeline_send_event): 
28962         Wheen a seek was successful on a pipeline, set the stream_time to the
28963         seek offset in order to have a synchronized stream_time.
28964
28965 2005-06-28  Wim Taymans  <wim@fluendo.com>
28966
28967         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28968         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28969         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28970         (gst_proxy_pad_do_fixatecaps):
28971         Call wrapper function instead of just calling the function
28972         pointers. This takes care of any locking and whatmore.
28973
28974 2005-06-28  Wim Taymans  <wim@fluendo.com>
28975
28976         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28977         (gst_pad_pull_range):
28978         * gst/gstpad.h:
28979         CONNECTED -> LINKED.
28980
28981 2005-06-28  Andy Wingo  <wingo@pobox.com>
28982
28983         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28984         source-munging commit!!!
28985
28986         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
28987         (gst_object_sink): Take gpointer arguments, not GstObject --
28988         avoids casts. Like GLib.
28989
28990         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28991         activate.
28992
28993 2005-06-27  Andy Wingo  <wingo@pobox.com>
28994
28995         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28996         remaining buffer.
28997
28998         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28999         returns a sorted copy of the trace list.
29000         (gst_alloc_trace_print_live): New API, only prints traces with
29001         live objects. Sort the list.
29002         (gst_alloc_trace_print_all): Sort the list.
29003         (gst_alloc_trace_print): Align columns.
29004
29005         * gst/elements/gstttypefindelement.c:
29006         * gst/elements/gsttee.c:
29007         * gst/base/gstbasesrc.c:
29008         * gst/base/gstbasesink.c:
29009         * gst/base/gstbasetransform.c:
29010         * gst/gstqueue.c: Adapt for pad activation changes.
29011
29012         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29013         sched.
29014         (gst_pipeline_dispose): Drop ref on sched.
29015
29016         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29017         (gst_pad_activate_default): Push mode by default.
29018         (pre_activate_switch, post_activate_switch): New stubs, things to
29019         do before and after switching activation modes on pads.
29020         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29021         the pad's activate function to choose which mode to activate.
29022         Shortcut on deactivation and call the right function directly.
29023         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29024         mode.
29025         (gst_pad_activate_push): New API, same for push mode.
29026         (gst_pad_set_activate_function) 
29027         (gst_pad_set_activatepull_function) 
29028         (gst_pad_set_activatepush_function): Setters for new API.
29029
29030         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29031         Trace all miniobjects.
29032         (gst_mini_object_make_writable): Unref the arg if we copy, like
29033         gst_caps_make_writable.
29034
29035         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29036
29037         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29038         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29039         Adapt for new pad API.
29040
29041         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29042
29043         * gst/gstelement.h:
29044         * gst/gstelement.c (gst_element_iterate_src_pads) 
29045         (gst_element_iterate_sink_pads): New API functions.
29046         
29047         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29048         should fold into gstiterator.c in some form.
29049         (gst_element_pads_activate): Simplified via use of fold and
29050         delegation of decisions to gstpad->activate.
29051
29052         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29053         help in debugging.
29054
29055         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29056         class once in init, like gstmessage. Didn't run into this issue
29057         but it seems correct. Don't initialize a trace, gstminiobject does
29058         that.
29059
29060         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29061         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29062         to the bus.
29063         (assert_live_count): New util function, uses alloc traces to check
29064         cleanup.
29065
29066         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29067         To be modified when unlink drops the internal pad.
29068
29069 2005-06-27  Wim Taymans  <wim@fluendo.com>
29070
29071         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29072         (gst_bin_change_state):
29073         Cleanup the get_state() function a little, make sure it
29074         iterates the same set of elements.
29075         Added stub iterate_state_order().
29076
29077 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29078
29079         * docs/gst/gstreamer-docs.sgml:
29080         * docs/gst/gstreamer-sections.txt:
29081         * docs/gst/gstreamer.types:
29082         * docs/gst/tmpl/gstbasesink.sgml:
29083         * docs/gst/tmpl/gstbasesrc.sgml:
29084         * docs/gst/tmpl/gstbasetransform.sgml:
29085         * docs/gst/tmpl/gstelement.sgml:
29086         * docs/gst/tmpl/gstiterator.sgml:
29087         * gst/base/gstbasesrc.c:
29088         * gst/base/gstbasesrc.h:
29089         * gst/base/gstbasetransform.h:
29090         * gst/gstelement.c:
29091         * gst/gstiterator.h:
29092           adding basetransform and iterator docs
29093
29094 2005-06-27  Andy Wingo  <wingo@pobox.com>
29095
29096         * docs/design/part-activation.txt: Notes on how activation should
29097         work -- not quite implemented yet.
29098
29099 2005-06-25  Wim Taymans  <wim@fluendo.com>
29100
29101         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29102         At least get the chain function correct, needs more
29103         fixing.
29104
29105 2005-06-25  Wim Taymans  <wim@fluendo.com>
29106
29107         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29108         (gst_basesink_handle_object), (gst_basesink_event),
29109         (gst_basesink_do_sync), (gst_basesink_handle_event),
29110         (gst_basesink_change_state):
29111         * gst/gsttask.h:
29112         Right, two problems here: ghostpads don't take locks and
29113         glib _rec_mutex_lock_full() with depth==0 still locks.
29114         Catch illegal locking and g_warn them.
29115
29116 2005-06-25  Wim Taymans  <wim@fluendo.com>
29117
29118         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29119         Have to check for completion now...
29120
29121 2005-06-25  Wim Taymans  <wim@fluendo.com>
29122
29123         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29124         (gst_basesink_handle_object), (gst_basesink_event),
29125         (gst_basesink_do_sync), (gst_basesink_handle_event),
29126         (gst_basesink_change_state):
29127         * gst/gstpad.h:
29128         Unlock STREAM_LOCK whatever the recursion was.
29129
29130 2005-06-25  Wim Taymans  <wim@fluendo.com>
29131
29132         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29133         (gst_basesink_preroll_queue_empty),
29134         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29135         (gst_basesink_event), (gst_basesink_do_sync),
29136         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29137         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29138         (gst_basesink_change_state):
29139         Reworked the base sink, handle event and buffer serialisation
29140         correctly and removed possible deadlock.
29141         Handle EOS correctly.
29142
29143 2005-06-25  Wim Taymans  <wim@fluendo.com>
29144
29145         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29146         (gst_pipeline_change_state):
29147         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29148         Allow elements to post EOS in the state change function.
29149         Fix up -launch, make it exit the poll loop when the
29150         pipeline actually changed state.
29151         Fix up warning parsing in -launch.
29152
29153 2005-06-25  Wim Taymans  <wim@fluendo.com>
29154
29155         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29156         (gst_tee_sink_activate):
29157         Core takes STREAM_LOCK for us now.
29158
29159 2005-06-25  Wim Taymans  <wim@fluendo.com>
29160
29161         * gst/gstelement.c: (gst_element_get_state_func),
29162         (gst_element_set_state):
29163         * gst/gstelement.h:
29164         * gst/gstmessage.c: (gst_message_parse_error),
29165         (gst_message_parse_warning):
29166         Keep track of current target state while performing a state
29167         change so that subclasses can do something interesting.
29168         Fix parsing of warning/error messages when GError is NULL.
29169
29170 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29171
29172         * docs/gst/Makefile.am:
29173         * docs/gst/gstreamer-docs.sgml:
29174         * docs/gst/gstreamer-sections.txt:
29175         * docs/gst/gstreamer.types:
29176         * docs/gst/tmpl/gstbasesink.sgml:
29177         * docs/gst/tmpl/gstbasesrc.sgml:
29178         * docs/gst/tmpl/gstbin.sgml:
29179         * docs/gst/tmpl/gstcompat.sgml:
29180         * docs/gst/tmpl/gstfakesink.sgml:
29181         * docs/gst/tmpl/gstfakesrc.sgml:
29182         * docs/gst/tmpl/gstfilesink.sgml:
29183         * docs/gst/tmpl/gstfilesrc.sgml:
29184         * docs/gst/tmpl/gstindex.sgml:
29185         * docs/manual/appendix-quotes.xml:
29186         * gst/base/gstbasesrc.h:
29187         * gst/elements/gstfakesrc.h:
29188         * gst/gstmessage.h:
29189           start pulling in base classes and elements in our docs
29190
29191 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29192
29193         * docs/gst/Makefile.am:
29194         * docs/libs/Makefile.am:
29195           fixed make distcheck with gtk-doc 1.3
29196
29197 2005-06-23  Wim Taymans  <wim@fluendo.com>
29198
29199         * gst/gstelement.c: (gst_element_get_state_func),
29200         (gst_element_set_state), (gst_element_change_state):
29201         When the state did not change, also report NO_PREROLL
29202         when it matters.
29203
29204 2005-06-23  Wim Taymans  <wim@fluendo.com>
29205
29206         * gst/gstpad.c: (gst_pad_event_default):
29207         * gst/gstqueue.c: (gst_queue_loop):
29208         No unsafe task pausing please.
29209
29210 2005-06-23  Wim Taymans  <wim@fluendo.com>
29211
29212         * gst/schedulers/threadscheduler.c:
29213         (gst_thread_scheduler_task_start),
29214         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29215         Ref the task before pushing it on the threadpool. This
29216         makes sure that we have a ref when the threadfunction is
29217         actually called.
29218
29219 2005-06-23  Andy Wingo  <wingo@pobox.com>
29220
29221         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29222         offset is greater than the file's size.
29223
29224         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29225         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29226         * gst/gstobject.c (gst_object_class_init): Make the class lock
29227         recursive. Wim won't let me drop deep_notify. Decodebin works
29228         again, whoopdy doo.
29229
29230         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29231         internal pad, and hacks accordingly. Doesn't do it on the target
29232         pad because we change its caps. Probably catches all cases of
29233         interest tho.
29234         (gst_ghost_pad_set_property): Connect to notify::caps as
29235         appropritate.
29236
29237         * tests/network-clock.scm (plot-simulation): Pipe data to the
29238         elite python skript.
29239
29240         * tests/network-clock-utils.scm (define-parameter): New macro,
29241         defines a parameter that can be set via the command line.
29242         (set-parameter!, parse-parameter-arguments): Command line args
29243         parser.
29244
29245         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29246         stdin.
29247
29248 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29249
29250         * gst/elements/gsttypefindelement.c:
29251         (gst_type_find_element_handle_event):
29252           Don't restart typefinding on a discont.
29253         * gst/gstelement.c: (gst_element_set_state):
29254           Debug spelling fix.
29255         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29256           Allow changing mode of an active pad.
29257           Debug output fixes.
29258         * gst/registries/gstlibxmlregistry.c: (load_feature):
29259           Don't cast a static pad template to a normal pad template.
29260
29261 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29262
29263         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29264         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29265           remove gst_strtoll completely, since it didn't actually do
29266           anything more than what g_ascii_strtoull already does.
29267           check for range errors when deserializing
29268           do a cast for the unsigned cases; but further fixing needs
29269           a decision on what the interpretation of "(int)" and
29270           deserialization should be for values that fall outside the
29271           type's boundaries (ie, refuse, or interpret as casting)
29272
29273 2005-06-23  Wim Taymans  <wim@fluendo.com>
29274
29275         * check/Makefile.am:
29276         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29277         * docs/design/part-live-source.txt:
29278         * docs/design/part-states.txt:
29279         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29280         (gst_basesrc_set_live), (gst_basesrc_is_live),
29281         (gst_basesrc_get_range), (gst_basesrc_activate),
29282         (gst_basesrc_change_state):
29283         * gst/base/gstbasesrc.h:
29284         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29285         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29286         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29287         * gst/gstelement.c: (gst_element_get_state_func),
29288         (gst_element_set_state):
29289         * gst/gstelement.h:
29290         * gst/gsttypes.h:
29291         * tools/gst-launch.c: (event_loop), (main):
29292         Added support for live sources and other elements that
29293         cannot do preroll.
29294         Updated design docs, added live-source design doc.
29295         Implemented live source functionality in basesrc
29296         Fix error condition in _bin_get_state()
29297         Implement live source handling in -launch.
29298         Added check for live sources.
29299         Fixed case in GstBin where elements were changed state
29300         multiple times.
29301
29302
29303 2005-06-23  Andy Wingo  <wingo@pobox.com>
29304
29305         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29306         borken refcounting.
29307
29308         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29309         gst_caps_replace takes care of this for us.
29310
29311         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29312         gst_pad_set_caps on the target, not just its setcaps() function.
29313
29314         * tests/network-clock.scm: 
29315         * tests/network-clock-utils.scm: A network clock simulator.
29316         Something of an algorithmic testbed before doing something in C.
29317
29318 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29319
29320         * check/Makefile.am:
29321         * check/gst/capslist.h:
29322           copy over from 0.8, and add two with bitmasks specified with
29323           (int) 0xFF...
29324         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29325           add test to parse everything from capslist.h
29326         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29327         (main):
29328           add test for structure deserialization
29329         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29330           add tests for deserialization of strings to int types
29331         * gst/gststructure.c: (gst_structure_nth_field_name):
29332         * gst/gststructure.h:
29333           add a way to get the name of a field referenced by index
29334         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29335           instead of checking if the resulting long long lies between
29336           min and max, we check if the long long would fit into
29337           a number of bytes for the final type.
29338           This fixes cases where a string represents 2^32 - 1, which
29339           when cast to int would be the (valid) -1, but is bigger than
29340           G_MAXINT
29341
29342 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29343
29344         * gst/parse/grammar.y:
29345           add a log line for type deserialization
29346
29347 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29348
29349         * check/gst/gstvalue.c: (START_TEST):
29350         * gst/gstvalue.c: (gst_value_deserialize):
29351           return long long, not int, so gint64 deserialization actually
29352           works.  Is there any flag that makes the compiler check this ?
29353           Fixes #308559
29354
29355 2005-06-22  Wim Taymans  <wim@fluendo.com>
29356
29357         * gst/gstbuffer.h:
29358         Added convenience macros for setting buffers in GValue.
29359
29360 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29361
29362         * check/gst/.cvsignore:
29363         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29364           add a test deserializing int64, and comment part out because
29365           it fails, yay !
29366
29367 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29368
29369         * check/Makefile.am:
29370         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29371         * testsuite/Makefile.am:
29372         * testsuite/caps/Makefile.am:
29373         * testsuite/caps/value_serialize.c:
29374         * testsuite/test_gst_init.c:
29375           move a value_serialize test over
29376
29377 2005-06-20  Wim Taymans  <wim@fluendo.com>
29378
29379         * gst/gstpad.c:
29380         Small doc updates.
29381         
29382         * gst/gstvalue.c: (gst_value_compare_buffer),
29383         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29384         (gst_value_compare_flags), (gst_value_serialize_flags),
29385         (gst_value_deserialize_flags), (_gst_value_initialize):
29386         Fix serialisation of buffers, they are not boxed types anymore
29387
29388 2005-06-20  Wim Taymans  <wim@fluendo.com>
29389
29390         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29391         Testcase to show error in buffer-on-caps serialisation.
29392
29393 2005-06-20  Andy Wingo  <wingo@pobox.com>
29394
29395         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29396         will be adding to later.
29397
29398         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29399         if its socks fill with rocks.
29400         (gst_system_clock_obtain): Set the name on object construction.
29401         Avoid double-checked locking.
29402
29403 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29404
29405         * gst/gsturi.c: (gst_element_make_from_uri):
29406           Fix potential endless loop.
29407
29408 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29409
29410         * check/Makefile.am:
29411           add gsttag
29412         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29413         (main):
29414           move over from testsuite dir and clean up
29415         * configure.ac:
29416         * gst/gsttag.c:
29417         * testsuite/Makefile.am:
29418         * testsuite/tags/.cvsignore:
29419         * testsuite/tags/Makefile.am:
29420         * testsuite/tags/merge.c:
29421           remove testsuite/tags
29422
29423 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29424
29425         * docs/gst/gstreamer-sections.txt:
29426         * docs/gst/tmpl/gstenumtypes.sgml:
29427         * win32/gstenumtypes.c:
29428           clean up documentation build a little
29429
29430 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29431
29432         * check/gstcheck.h:
29433           add macros for checking refcounts on objects and caps
29434         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29435           add some more unit tests
29436         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29437         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29438           fix leaked refcounts (I hope :)) so unittest works
29439         * gst/gstpad.h:
29440           whitespace removal
29441
29442 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29443
29444         * configure.ac: back to HEAD
29445
29446 === release 0.9.1 ===
29447
29448 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29449
29450         * NEWS:
29451         * RELEASE:
29452           updated
29453
29454 2005-06-17  Andy Wingo  <wingo@pobox.com>
29455
29456         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29457         assert; it's always possible that the pad gets deactivated in
29458         between the checks in gstpad.c and the implementation. Rely on
29459         finish_preroll() to return a FLUSHING or similar instead of on the
29460         assert.
29461         
29462         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29463         clock and post an EOS message if we come out of finish_preroll in
29464         the playing state.
29465
29466 2005-06-16  David Schleef  <ds@schleef.org>
29467
29468         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29469         (gst_capsfilter_set_property): Allow NULL as possible value
29470         for filter_caps property, indicating GST_CAPS_ANY.
29471
29472 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29473
29474         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29475           fix debug output
29476         * gst/schedulers/Makefile.am:
29477           use libgst prefix
29478         * gstreamer.spec.in:
29479           fix spec for it
29480
29481 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29482
29483         * gstreamer.spec.in:
29484           clean up
29485
29486 2005-06-08  Andy Wingo  <wingo@pobox.com>
29487
29488         * gst/gstutils.c: RPAD fixes all around.
29489         (gst_element_link_pads): Refcounting fixes.
29490
29491         * tools/gst-inspect.c:
29492         * tools/gst-xmlinspect.c:
29493         * parse/grammar.y:
29494         * gst/base/gsttypefindhelper.c:
29495         * gst/base/gstbasesink.c:
29496         * gst/gstqueue.c: RPAD fixes.
29497
29498         * gst/gstghostpad.h:
29499         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29500         pads. The tricky thing is they provide both source and sink
29501         interfaces, since they proxy the internal pad for the external
29502         pad, and vice versa. Implement with lower-level ProxyPad objects,
29503         with the interior proxy pad as a child of the exterior ghost pad.
29504         Should write a doc on this.
29505         
29506         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29507         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29508         gst_object API.
29509         
29510         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29511         pads are real pads. No ghost pads in this file. Not documenting
29512         the myriad s/RPAD/PAD/ and REALIZE fixes.
29513         (gst_pad_class_init): Add properties for "direction" and
29514         "template". Both are construct-only, so they can't change during
29515         the life of the pad. Fixes properly deriving from GstPad.
29516         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29517         derived objects, just set properties when creating the objects via
29518         g_object_new.
29519         (gst_pad_get_parent): Implement as a function, return NULL if the
29520         parent is not an element.
29521         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29522         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29523         
29524         * gst/gstobject.c (gst_object_class_init): Make name a construct
29525         property. Don't set it in the object init.
29526
29527         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29528         with UNKNOWN direction.
29529         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29530         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29531         (gst_element_remove_pad): Remove ghost-pad special cases.
29532         (gst_element_pads_activate): Remove rpad cruft.
29533
29534         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29535         catch the pad's-parent-not-an-element case.
29536
29537         * gst/gst.h: Include gstghostpad.h.
29538
29539         * gst/gst.c (init_post): No more real, ghost pads.
29540
29541         * gst/Makefile.am: Add gstghostpad.[ch].
29542
29543         * check/Makefile.am:
29544         * check/gst/gstbin.c:
29545         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29546         into a bin creates ghost pads, and that the refcounts are right.
29547         Partly moved from gstbin.c.
29548
29549 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29550
29551         * check/gst-libs/.cvsignore:
29552         * check/gst/.cvsignore:
29553         * check/pipelines/.cvsignore:
29554           ignore more
29555         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29556         (START_TEST), (cleanup_suite), (main):
29557           add some tests related to cleanup after running pipelines
29558
29559 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29560
29561         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29562           add a testsuite for GstBuffer
29563
29564 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29565
29566         * gst/gstminiobject.h:
29567           add defines for accessing the refcount
29568
29569 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29570
29571         * Makefile.am: added support for html unit test coverage reports
29572
29573 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29574
29575         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29576           Free existing caps if the capsfilter changes. Add a FIXME about
29577           setting those caps on the pads.
29578
29579         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29580           Before adding a ghost pad to a parent bin, check that there isn't
29581           already one for the element on the bin. Prevents infinite recursion
29582           when using decodebin in parse pipelines. Andy says he'll rewrite the
29583           way this works anyway, so ignore the hack.
29584
29585 2005-06-02  Andy Wingo  <wingo@pobox.com>
29586
29587         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29588         file size, pass it on to the type find helper.
29589
29590         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29591         segment_start and segment_end properly according to the seek
29592         method. Segment_end is still a bit flaky because offset can be
29593         negative for CUR and END cases, but it takes -1 as an "unset"
29594         value.
29595
29596 2005-06-02  Wim Taymans  <wim@fluendo.com>
29597
29598         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29599         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29600         (gst_basesink_activate):
29601         * gst/base/gstbasesink.h:
29602         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29603         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29604         (gst_pad_query), (gst_pad_start_task):
29605         * gst/gstpad.h:
29606         * gst/gstqueue.c: (gst_queue_bufferalloc),
29607         (gst_queue_handle_sink_event), (gst_queue_chain):
29608         Bufferalloc: return GstFlowReturn to more accuratly report
29609         why allocation failed.
29610
29611 2005-06-02  Wim Taymans  <wim@fluendo.com>
29612
29613         * gst/gstpipeline.c: (gst_pipeline_send_event):
29614         Take snapshot of state without blocking.
29615
29616 2005-06-02  Wim Taymans  <wim@fluendo.com>
29617
29618         * docs/design/part-TODO.txt:
29619         * docs/design/part-caps.txt:
29620         * docs/design/part-clocks.txt:
29621         * docs/design/part-negotiation.txt:
29622         * docs/design/part-preroll.txt:
29623         Small doc updates 
29624
29625 2005-05-30  Wim Taymans  <wim@fluendo.com>
29626
29627         * gst/elements/gstidentity.c: (gst_identity_event),
29628         (gst_identity_transform), (gst_identity_get_property):
29629         Protect last_message property as it is accessed from
29630         multiple threads.
29631
29632 2005-05-30  Wim Taymans  <wim@fluendo.com>
29633
29634         * gst/gstelement.c: (gst_element_init),
29635         (gst_element_pads_activate), (gst_element_change_state):
29636         Slicker pad activation code.
29637
29638 2005-05-30  Wim Taymans  <wim@fluendo.com>
29639
29640         * gst/Makefile.am:
29641         * gst/gstelement.h:
29642         * gst/gstelementfactory.h:
29643         * gst/gsttypes.h:
29644         Move elementfactory methods to separate .h file.
29645
29646 2005-05-30  Wim Taymans  <wim@fluendo.com>
29647
29648         * docs/design/part-overview.txt:
29649         * gst/gstsystemclock.h:
29650         Small typo fixes, doc updates.
29651
29652 2005-05-30  Wim Taymans  <wim@fluendo.com>
29653
29654         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29655         (init_popt_callback):
29656         Remove cpu-opt flag.
29657
29658 2005-05-30  Wim Taymans  <wim@fluendo.com>
29659
29660         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29661         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29662         * gst/gstbuffer.h:
29663         Avoid typechecking in places where not needed.
29664         Added accessor for malloc_data.
29665
29666 2005-05-30  Wim Taymans  <wim@fluendo.com>
29667
29668         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29669         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29670         (gst_pad_configure_sink), (gst_pad_configure_src),
29671         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29672         (gst_pad_start_task):
29673         Propagate errors from _set_caps() in configure_src/sink
29674         functions instead of returning TRUE.
29675         FLUSH events can travel up and downstream
29676
29677
29678 2005-05-30  Wim Taymans  <wim@fluendo.com>
29679
29680         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29681         (gst_basesink_activate):
29682         Handle EOS in preroll.
29683
29684 2005-05-30  Wim Taymans  <wim@fluendo.com>
29685
29686         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29687         (gst_queue_loop), (gst_queue_handle_src_event):
29688         Remove old pieces of code
29689         Flushing the queue in an upstream event is a very bad idea.
29690
29691 2005-05-26  Andy Wingo  <wingo@pobox.com>
29692
29693         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29694         gst_value_set_mini_object so as to add a ref on the object (which
29695         will be removed when the value is unset).
29696
29697         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29698         arg type in ::handoff.
29699
29700         * gst/gstelement.c (gst_element_change_state): Also deactivate
29701         pads in READY->NULL, just in case the element didn't make it to
29702         PAUSED. Wingo tested, Wim approved.
29703
29704 2005-05-26  Wim Taymans  <wim@fluendo.com>
29705
29706         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29707         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29708         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29709         A flushing pad cannot be used to alloc_buffer from.
29710
29711 2005-05-26  Wim Taymans  <wim@fluendo.com>
29712
29713         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29714         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29715         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29716         (gst_bus_create_watch), (gst_bus_add_watch_full):
29717         * gst/gstbus.h:
29718         Implement a real GSource and use g_main_context_wakeup() to
29719         signal new messages instead of the socketpair.
29720
29721 2005-05-25  Wim Taymans  <wim@fluendo.com>
29722
29723         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29724         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29725         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29726         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29727         (gst_pad_send_event), (gst_pad_start_task):
29728         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29729         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29730         (gst_queue_sink_activate), (gst_queue_src_activate),
29731         (gst_queue_change_state):
29732         * gst/gstqueue.h:
29733         Fix state changes for non sinks. We now change sinks, then elements
29734         with unconnected srcpads, then the rest.
29735         More efficient queue unlocking in flush and state changes.
29736         Set the pad activate mode even if it does not have an activate
29737         function.
29738
29739 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29740
29741         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29742           Don't go in pull mode for non-seekable sources.
29743         * gst/elements/gsttypefindelement.h:
29744         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29745         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29746         (free_entry), (stop_typefinding),
29747         (gst_type_find_element_handle_event), (find_peek),
29748         (gst_type_find_element_chain), (do_pull_typefind),
29749         (gst_type_find_element_change_state):
29750           Allow typefinding (w/o seeking) in push-mode, simplified version
29751           of what was in 0.8.
29752         * gst/gstutils.c: (gst_buffer_join):
29753         * gst/gstutils.h:
29754           gst_buffer_join() from 0.8.
29755
29756 2005-05-25  Wim Taymans  <wim@fluendo.com>
29757
29758         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29759         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29760         (gst_pad_send_event), (gst_pad_start_task):
29761         Disable attempt at mode switching until it is figured out.
29762
29763 2005-05-25  Wim Taymans  <wim@fluendo.com>
29764
29765         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29766         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29767         (gst_basesink_finish_preroll), (gst_basesink_chain),
29768         (gst_basesink_loop), (gst_basesink_activate),
29769         (gst_basesink_change_state):
29770         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29771         (gst_basesrc_get_range), (gst_basesrc_loop),
29772         (gst_basesrc_activate):
29773         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29774         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29775         (gst_real_pad_init), (gst_real_pad_set_property),
29776         (gst_real_pad_get_property), (gst_pad_set_active),
29777         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29778         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29779         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29780         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29781         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29782         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29783         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29784         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29785         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29786         (gst_pad_stop_task):
29787         * gst/gstpad.h:
29788         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29789         (gst_queue_loop), (gst_queue_src_activate):
29790         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29791         (gst_task_get_state):
29792         * gst/gsttask.h:
29793         * gst/schedulers/threadscheduler.c:
29794         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29795         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29796         in task function.
29797         Remove ACTIVE pad flag, use FLUSHING everywhere
29798         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29799         functions.
29800         Add locks around IS_FLUSHING when reading.
29801         Take STREAM lock in chain(), get_range() functions so plugins
29802         don't need to take it anymore.
29803         
29804
29805
29806 2005-05-25  Wim Taymans  <wim@fluendo.com>
29807
29808         * tools/gst-launch.c: (event_loop):
29809         Unref message after using its contents instead of
29810         before.
29811
29812 2005-05-24  Wim Taymans  <wim@fluendo.com>
29813
29814         * docs/design/draft-ghostpads.txt:
29815         * docs/design/draft-push-pull.txt:
29816         * docs/design/draft-query.txt:
29817         * docs/design/part-overview.txt:
29818         Docs updates, added general overview doc.
29819
29820 2005-05-21  David Schleef  <ds@schleef.org>
29821
29822         * docs/gst/tmpl/old/GstBin.sgml:
29823         * docs/gst/tmpl/old/GstBuffer.sgml:
29824         * docs/gst/tmpl/old/GstCaps.sgml:
29825         * docs/gst/tmpl/old/GstClock.sgml:
29826         * docs/gst/tmpl/old/GstCompat.sgml:
29827         * docs/gst/tmpl/old/GstData.sgml:
29828         * docs/gst/tmpl/old/GstElement.sgml:
29829         * docs/gst/tmpl/old/GstEvent.sgml:
29830         * docs/gst/tmpl/old/GstIndex.sgml:
29831         * docs/gst/tmpl/old/GstStructure.sgml:
29832         * docs/gst/tmpl/old/GstTag.sgml:
29833         * docs/gst/tmpl/old/cothreads.sgml:
29834         * docs/gst/tmpl/old/cothreads_compat.sgml:
29835         * docs/gst/tmpl/old/gettext.sgml:
29836         * docs/gst/tmpl/old/gobject2gtk.sgml:
29837         * docs/gst/tmpl/old/grammar.tab.sgml:
29838         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29839         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29840         * docs/gst/tmpl/old/gst_private.sgml:
29841         * docs/gst/tmpl/old/gstaggregator.sgml:
29842         * docs/gst/tmpl/old/gstarch.sgml:
29843         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29844         * docs/gst/tmpl/old/gstbufferstore.sgml:
29845         * docs/gst/tmpl/old/gstdata_private.sgml:
29846         * docs/gst/tmpl/old/gstdisksink.sgml:
29847         * docs/gst/tmpl/old/gstdisksrc.sgml:
29848         * docs/gst/tmpl/old/gstelementfactory.sgml:
29849         * docs/gst/tmpl/old/gstextratypes.sgml:
29850         * docs/gst/tmpl/old/gstfakesink.sgml:
29851         * docs/gst/tmpl/old/gstfakesrc.sgml:
29852         * docs/gst/tmpl/old/gstfdsink.sgml:
29853         * docs/gst/tmpl/old/gstfdsrc.sgml:
29854         * docs/gst/tmpl/old/gstfilesink.sgml:
29855         * docs/gst/tmpl/old/gstfilesrc.sgml:
29856         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29857         * docs/gst/tmpl/old/gstidentity.sgml:
29858         * docs/gst/tmpl/old/gstindexfactory.sgml:
29859         * docs/gst/tmpl/old/gstmarshal.sgml:
29860         * docs/gst/tmpl/old/gstmd5sink.sgml:
29861         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29862         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29863         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29864         * docs/gst/tmpl/old/gstpipefilter.sgml:
29865         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29866         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29867         * docs/gst/tmpl/old/gstshaper.sgml:
29868         * docs/gst/tmpl/old/gstspider.sgml:
29869         * docs/gst/tmpl/old/gstspideridentity.sgml:
29870         * docs/gst/tmpl/old/gststatistics.sgml:
29871         * docs/gst/tmpl/old/gsttee.sgml:
29872         * docs/gst/tmpl/old/gsttimecache.sgml:
29873         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29874         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29875         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29876         * docs/gst/tmpl/old/types.sgml:
29877           I didn't intend to add these or check them in.
29878
29879 2005-05-19  David Schleef  <ds@schleef.org>
29880
29881         * configure.ac: Use -no-common everywhere.  In a sane world, it
29882           would be the default in libtool, because without it, you can't
29883           build DLLs on Windows.
29884         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29885         * docs/gst/gstreamer-sections.txt:
29886         * docs/gst/tmpl/gstcpu.sgml:
29887         * docs/gst/tmpl/gstdata.sgml:
29888         * docs/gst/tmpl/gstthread.sgml:
29889
29890 2005-05-19  David Schleef  <ds@schleef.org>
29891
29892         * gst/gstminiobject.c: (gst_value_set_mini_object),
29893         (gst_value_take_mini_object), (gst_value_get_mini_object):
29894         * gst/gstminiobject.h: Add GValue set/get functions.
29895
29896 2005-05-19  Wim Taymans  <wim@fluendo.com>
29897
29898         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29899         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29900         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29901         * gst/gstbuffer.h:
29902         * gst/gstbus.c: (gst_bus_post):
29903         * gst/gstelement.c: (gst_element_get_random_pad):
29904         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29905         Make subbufer unref the parent in finalize.
29906         some more debugging info.
29907
29908
29909 2005-05-19  Wim Taymans  <wim@fluendo.com>
29910
29911         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29912         (gst_basesink_init), (gst_basesink_finalize),
29913         (gst_basesink_activate), (gst_basesink_change_state):
29914         Don't free preroll queue too early.
29915
29916 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29917
29918         * gst/Makefile.am:
29919         * gst/ROADMAP:
29920           Hi, I'm outdated. Please shoot me.
29921
29922 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29923
29924         * gst/gstpipeline.c: (gst_pipeline_send_event):
29925           Do not access variables after they have been deleted.
29926
29927 2005-05-19  Wim Taymans  <wim@fluendo.com>
29928
29929         * tools/gst-inspect.c: (print_plugin_features):
29930         A plugin feature does unfortunatly not use the
29931         object name yet...
29932
29933 2005-05-18  Wim Taymans  <wim@fluendo.com>
29934
29935         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29936         Port _span() functions to new subbuffers.
29937
29938 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29939
29940         * gst/gstbin.c: (gst_bin_add_func):
29941           Fix clock settery in bins when adding kids after the clock has
29942           been selected.
29943
29944 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29945
29946         * gst/elements/gstidentity.c: (gst_identity_class_init):
29947           Workaround until signals support GstMiniObject.
29948
29949 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
29950
29951         * gst/gstbuffer.c:
29952         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29953
29954 2005-05-18  Wim Taymans  <wim@fluendo.com>
29955
29956         * gst/base/Makefile.am:
29957         * gst/base/gstadapter.c: (gst_adapter_base_init),
29958         (gst_adapter_class_init), (gst_adapter_init),
29959         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29960         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29961         (gst_adapter_flush), (gst_adapter_available),
29962         (gst_adapter_available_fast):
29963         * gst/base/gstadapter.h:
29964         Ported and added adapter to the base classes.
29965
29966 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29967
29968         * gst/gst.c:
29969         * gst/gstmessage.c:
29970           Make sure the class is reffed/unreffed once before threads can be
29971           used.  Fixes #304551.
29972
29973 2005-05-17  Wim Taymans  <wim@fluendo.com>
29974
29975         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29976         (gst_basesink_chain_unlocked), (gst_basesink_activate):
29977         * gst/gstminiobject.c: (gst_mini_object_get_type),
29978         (gst_mini_object_free):
29979         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29980         (gst_pad_push), (gst_pad_push_event):
29981         * gst/gstqueue.c: (gst_queue_change_state):
29982         Don't queue buffers in basesink when we are flushing.
29983         Unref buffer when flushing in basesink.
29984         Flush queue when going to READY
29985         Unref buffer when _push() returns an error.
29986         Don't free MiniObject instance when refcount is incremented
29987         in _finalize() so that we can recover objects.
29988
29989 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29990
29991         * docs/manual/advanced-schedulers.xml:
29992         * docs/manual/appendix-checklist.xml:
29993         * docs/pwg/advanced-clock.xml:
29994         * docs/pwg/advanced-interfaces.xml:
29995         * docs/pwg/advanced-request.xml:
29996         * docs/pwg/advanced-types.xml:
29997         * docs/pwg/intro-preface.xml:
29998         * examples/plugins/example.c: (gst_example_get_type),
29999         (gst_example_class_init), (gst_example_chain),
30000         (gst_example_set_property), (gst_example_get_property),
30001         (gst_example_change_state), (plugin_init):
30002         * examples/plugins/example.h:
30003           small doc fixes
30004
30005 2005-05-17  Wim Taymans  <wim@fluendo.com>
30006
30007         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30008         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30009         * gst/gstqueue.c: (gst_queue_change_state):
30010         Clear queue when going to READY.
30011         Remove IN_SETCAPS flag too.
30012
30013 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30014
30015         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30016           Remove implicit cast from gboolean to GstElementStateReturn;
30017           make sure we still return failure in paused => ready case if
30018           the parent class fails to change state and our own stop 
30019           vfunc succeeds.
30020
30021 2005-05-17  Wim Taymans  <wim@fluendo.com>
30022
30023         * tools/gst-launch.c: (event_loop):
30024         Message was unreffed too soon.
30025
30026 2005-05-16  Andy Wingo  <wingo@pobox.com>
30027
30028         * gst/gstbin.c (sink_iterator_filter): Err... um...
30029
30030         * check/gst/gstbin.c (test_ghost_pads): New test for the
30031         ghosting-if-elements-not-in-same-bin behavior.
30032
30033 2005-05-16  David Schleef  <ds@schleef.org>
30034
30035         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30036         accessing refcount directly.
30037
30038 2005-05-15  David Schleef  <ds@schleef.org>
30039
30040         * check/Makefile.am: remove GstData checks
30041         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30042         * gst/Makefile.am: add miniobject, remove data
30043         * gst/gst.h: add miniobject, remove data
30044         * gst/gstdata.c: remove
30045         * gst/gstdata.h: remove
30046         * gst/gstdata_private.h: remove
30047         * gst/gsttypes.h: remove GstEvent and GstMessage
30048         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30049         * gst/gstmarshal.list: change BOXED -> OBJECT
30050
30051         Implement GstMiniObject.
30052         * gst/gstminiobject.c:
30053         * gst/gstminiobject.h:
30054
30055         Modify to be subclasses of GstMiniObject.
30056         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30057         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30058         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30059         (gst_subbuffer_get_type), (gst_subbuffer_init),
30060         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30061         (gst_buffer_span):
30062         * gst/gstbuffer.h:
30063         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30064         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30065         (_gst_event_copy), (gst_event_new):
30066         * gst/gstevent.h:
30067         * gst/gstmessage.c: (_gst_message_initialize),
30068         (gst_message_get_type), (gst_message_class_init),
30069         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30070         (gst_message_new), (gst_message_new_error),
30071         (gst_message_new_warning), (gst_message_new_tag),
30072         (gst_message_new_state_changed), (gst_message_new_application):
30073         * gst/gstmessage.h:
30074         * gst/gstprobe.c: (gst_probe_perform),
30075         (gst_probe_dispatcher_dispatch):
30076         * gst/gstprobe.h:
30077         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30078         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30079         (_gst_query_copy), (gst_query_new):
30080
30081         Update elements for GstData -> GstMiniObject changes
30082         * gst/gstquery.h:
30083         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30084         (gst_queue_chain), (gst_queue_loop):
30085         * gst/elements/gstbufferstore.c:
30086         (gst_buffer_store_add_buffer_func),
30087         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30088         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30089         (gst_fakesink_render):
30090         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30091         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30092         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30093         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30094         (gst_filesrc_create_read):
30095         * gst/elements/gstidentity.c: (gst_identity_class_init):
30096         * gst/elements/gsttypefindelement.c:
30097         (gst_type_find_element_src_event), (free_entry_buffers),
30098         (gst_type_find_element_handle_event):
30099         * libs/gst/dataprotocol/dataprotocol.c:
30100         (gst_dp_header_from_buffer):
30101         * libs/gst/dataprotocol/dataprotocol.h:
30102         * libs/gst/dataprotocol/dp-private.h:
30103
30104 2005-05-15  David Schleef  <ds@schleef.org>
30105
30106         * gst/elements/gstelements.c: Don't include headers that were
30107         just removed.
30108
30109 2005-05-15  David Schleef  <ds@schleef.org>
30110
30111         * gst/elements/Makefile.am: Remove some elements that don't
30112         need to be in the core (or even exist at all).
30113         * gst/elements/gstaggregator.c:
30114         * gst/elements/gstaggregator.h:
30115         * gst/elements/gstmd5sink.c:
30116         * gst/elements/gstmd5sink.h:
30117         * gst/elements/gstmultifilesrc.c:
30118         * gst/elements/gstmultifilesrc.h:
30119         * gst/elements/gstpipefilter.c:
30120         * gst/elements/gstpipefilter.h:
30121         * gst/elements/gstshaper.c:
30122         * gst/elements/gstshaper.h:
30123         * gst/elements/gststatistics.c:
30124         * gst/elements/gststatistics.h:
30125         * po/POTFILES.in: Remove above files.
30126
30127 2005-05-14  Andy Wingo  <wingo@pobox.com>
30128
30129         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30130         so as to get the refs right.
30131         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30132         unreffing objects that don't pass the filter.
30133
30134         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30135         gst_element_set_bus.
30136         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30137         normal cases, this will destroy the bus.
30138
30139         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30140         object.
30141
30142         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30143         has no sinks.
30144
30145 2005-05-13  Andy Wingo  <wingo@pobox.com>
30146
30147         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30148         gst_pad_link, call pad_link_maybe_ghosting,
30149         (pad_link_maybe_ghosting): Links pads, making sure that the
30150         elements being linked are in the same bin.
30151         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30152         Helpers for pad_link_maybe_ghosting.
30153
30154 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30155
30156         * configure.ac:
30157           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30158
30159 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30160
30161         * docs/design/part-element-source.txt:
30162           Mention GstPushSrc
30163
30164 2005-05-12  Wim Taymans  <wim@fluendo.com>
30165
30166         * gst/base/gstbasesink.c: (gst_basesink_init),
30167         (gst_basesink_activate):
30168         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30169         (gst_basesrc_is_seekable):
30170         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30171         (bin_element_is_sink), (gst_bin_change_state):
30172         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30173         * gst/gstelement.h:
30174         Identify sinks by their flag to avoid overly complicated
30175         checks (fow now).
30176         Do state changes even for elements not reachable from the
30177         sinks.
30178         BaseSink is a sink now :)
30179         Some more debugging info in the basesrc.
30180
30181
30182 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30183
30184         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30185           Implement _query on a bin, similar to _send_event.
30186
30187 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30188
30189         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30190           Discont event offset format should be GST_FORMAT_BYTES,
30191           not GST_FORMAT_TIME.
30192
30193 2005-05-12  Wim Taymans  <wim@fluendo.com>
30194
30195         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30196         Same fix as Ronald's but without the signal. 
30197
30198 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30199
30200         * gst/gstutils.c: (gst_element_query_position):
30201           No, an element is not a pad.
30202
30203 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30204
30205         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30206         (gst_bin_get_state):
30207           If a child is removed from a bin while we remove the child from
30208           the bin and while we're retrieving its state, signal this to the
30209           get_state function so we abort the wait (instead of waiting for
30210           a timeout) and can immediately re-iterate over all other elements.
30211
30212 2005-05-12  Wim Taymans  <wim@fluendo.com>
30213
30214         * gst/base/Makefile.am:
30215         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30216         (gst_basesrc_start):
30217         * gst/base/gstbasesrc.h:
30218         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30219         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30220         (gst_pushsrc_init), (gst_pushsrc_create):
30221         * gst/base/gstpushsrc.h:
30222         Added is_seekable to BaseSrc
30223         Added simple PushSrc.
30224
30225 2005-05-11  Wim Taymans  <wim@fluendo.com>
30226
30227         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30228         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30229         (gst_element_link_pads), (gst_element_query_position),
30230         (gst_element_query_convert), (intersect_caps_func),
30231         (gst_pad_query_position), (gst_pad_query_convert):
30232         Fix refcounting in utils function.
30233         No point in trying to activate a pad when it's added, it could
30234         be added from the state change function and then we deadlock, the
30235         element has to decide what to do.
30236
30237 2005-05-10  Andy Wingo  <wingo@pobox.com>
30238
30239         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30240         *all* the arguments.
30241
30242         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30243         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30244         lock (according to the docs -- if this is wrong change the docs).
30245
30246         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30247         flush messages in the NULL state.
30248
30249         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30250         message immediately and return.
30251         (gst_bus_set_flushing): New function. If a bus is flushing, it
30252         flushes out any queued messages and immediately unrefs new
30253         messages. This is so when an element goes to NULL, all of the
30254         unhandled messages coming from it can be freed, and their
30255         references to the element dropped. In other words: message source
30256         ref considered harmful :P
30257
30258         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30259         we're finished with it.
30260
30261         * gst/gstmessage.c (gst_message_new_state_changed): 
30262
30263 2005-05-10  Wim Taymans  <wim@fluendo.com>
30264
30265         * gst/gstvalue.c: (gst_value_compare_flags),
30266         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30267         (_gst_value_initialize):
30268         Added flags serialize/deserialize/compare code.
30269
30270 2005-05-09  Andy Wingo  <wingo@pobox.com>
30271
30272         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30273         Intersect the peer's caps with our caps.
30274
30275 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30276
30277         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30278         * gst/elements/gsttypefindelement.c: (find_peek):
30279           Handle negative offsets better. Fixes decodebin.
30280
30281 2005-05-09  Wim Taymans  <wim@fluendo.com>
30282
30283         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30284         (gst_base_transform_event):
30285         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30286         Implement accept_caps.
30287         Fix silly lock/unlock mismatch in base class.
30288
30289 2005-05-09  Wim Taymans  <wim@fluendo.com>
30290
30291         * docs/design/draft-push-pull.txt:
30292         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30293         * gst/elements/gstfilesink.c: (gst_filesink_init),
30294         (gst_filesink_query):
30295         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30296         (gst_type_find_handle_src_query), (find_element_get_length):
30297         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30298         * gst/gstelement.h:
30299         * gst/gstmessage.c:
30300         * gst/gstmessage.h:
30301         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30302         (gst_real_pad_get_caps_unlocked),
30303         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30304         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30305         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30306         (gst_real_pad_dispose), (gst_real_pad_finalize),
30307         (gst_pad_load_and_link), (gst_pad_save_thyself),
30308         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30309         (gst_pad_check_pull_range), (gst_pad_pull_range),
30310         (gst_pad_template_get_type), (gst_pad_template_class_init),
30311         (gst_pad_template_init), (gst_pad_template_dispose),
30312         (name_is_valid), (gst_static_pad_template_get),
30313         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30314         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30315         (gst_pad_get_element_private), (gst_pad_start_task),
30316         (gst_pad_pause_task), (gst_pad_stop_task),
30317         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30318         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30319         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30320         (gst_ghost_pad_new):
30321         * gst/gstpad.h:
30322         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30323         (gst_query_new_position), (gst_query_set_position),
30324         (gst_query_parse_position), (gst_query_new_convert),
30325         (gst_query_set_convert), (gst_query_parse_convert):
30326         * gst/gstquery.h:
30327         * gst/gstqueryutils.c:
30328         * gst/gstqueryutils.h:
30329         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30330         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30331         (gst_queue_handle_src_query):
30332         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30333         (gst_element_query_position), (gst_element_query_convert),
30334         (intersect_caps_func), (gst_pad_query_position),
30335         (gst_pad_query_convert):
30336         * gst/gstutils.h:
30337         * tools/gst-inspect.c: (print_pad_info):
30338         * tools/gst-xmlinspect.c: (print_element_info):
30339         Remove old query functions. Ported old code.
30340         Added position/convert helper functions to gstutils.
30341         Reordered gstpad.c code, grouping relevant things.
30342         Remove gst_message_new(), always need to speficy a specific
30343         message.
30344
30345
30346 2005-05-09  Andy Wingo  <wingo@pobox.com>
30347
30348         * gst/gstiterator.h: Add some includes.
30349
30350         * gst/gstqueryutils.h: Include more headers.
30351
30352         * gst/gstpad.h:
30353         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30354         some uses of gst_pad_query.
30355
30356         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30357         NULL out parameters.
30358         (gst_query_new_position): New proc, allocates a new position
30359         query.
30360
30361         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30362         gstqueryutils.c to the build.
30363
30364         * gst/gststructure.c (gst_structure_set_valist): Implement with
30365         the generic G_VALUE_COLLECT.
30366         
30367 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30368
30369         * gst/Makefile.am: (gst_headers):
30370         Added gstqueryutils.h to the list of headers to install, that was
30371         a 'nachty' move wingo :)
30372
30373 2005-05-06  Andy Wingo  <wingo@pobox.com>
30374
30375         * gst/gstquery.h
30376         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30377         GstData, init a memchunk.
30378         (standard_definitions): Add a few query types, deprecate a few.
30379         (gst_query_get_type): New proc.
30380         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30381         implementation.
30382         (gst_query_new_application, gst_query_get_structure): New public
30383         procs.
30384
30385         * docs/design/draft-query.txt: Removed LINKS from the query types,
30386         because all the rest can be dispatched to other pads -- seemed
30387         ugly to have a query that couldn't be dispatched. internal_links
30388         is fine as a pad method.
30389
30390         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30391         in gstpad.c, but maintain binary compatibility for the moment.
30392         Will fix before 0.9 is out.
30393
30394         * gst/gstqueryutils.c: 
30395         * gst/gstqueryutils.h: New files, implement 3 methods for each
30396         query type: parse_query, parse_response, and set. Probably need an
30397         allocator as well.
30398
30399         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30400
30401         * gst/elements/gstfilesink.c (gst_filesink_query2):
30402         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30403         query_types, and formats methods.
30404
30405         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30406         (gst_pad_set_query2_function): New functions.
30407         (gst_real_pad_init): Set query2_default as the default query2
30408         function. Basically just dispatches to internally linked pads.
30409
30410         Needs review!
30411         
30412         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30413         without using the atomic operations. Only one thread can possibly
30414         be accessing the data at this point. Changed so as to avoid
30415         gst_atomic operations.
30416
30417 2005-05-06  Wim Taymans  <wim@fluendo.com>
30418
30419         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30420         Also set caps if we use the fallback buffer alloc.
30421
30422 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30423
30424         * docs/gst/Makefile.am:
30425         * docs/gst/gstreamer-docs.sgml:
30426         * docs/gst/gstreamer-sections.txt:
30427         * docs/gst/tmpl/gstatomic.sgml:
30428         * docs/gst/tmpl/gstmemchunk.sgml:
30429         * testsuite/elements/struct_i386.h:
30430         * win32/GStreamer.vcproj:
30431         * win32/Makefile:
30432           Purge GstAtomic stuff from docs and win32 makefiles as well
30433
30434 2005-05-06  Wim Taymans  <wim@fluendo.com>
30435
30436         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30437         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30438         * gst/gstpad.c: (gst_pad_peer_get_caps):
30439         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30440         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30441         (gst_queue_src_activate), (gst_queue_change_state):
30442         * gst/gstqueue.h:
30443         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30444         (intersect_caps_func):
30445         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30446         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30447         Some fixes for the peer_get_caps() change.
30448
30449 2005-05-06  Wim Taymans  <wim@fluendo.com>
30450
30451         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30452         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30453         (gst_basesink_activate):
30454         Actually do something with error codes returned from the push
30455         functions.
30456
30457 2005-05-06  Wim Taymans  <wim@fluendo.com>
30458
30459         * docs/design/part-element-sink.txt:
30460         * docs/design/part-element-source.txt:
30461         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30462         (gst_basesink_event), (gst_basesink_activate):
30463         * gst/base/gstbasesink.h:
30464         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30465         (gst_basesrc_activate):
30466         * gst/base/gstbasesrc.h:
30467         * gst/gstelement.c: (gst_element_pads_activate):
30468         Some more documentation.
30469         Fixed scheduling decision in _pads_activate().
30470
30471 2005-05-05  Andy Wingo  <wingo@pobox.com>
30472
30473         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30474         the test suite.
30475
30476 2005-05-05  Wim Taymans  <wim@fluendo.com>
30477
30478         * gst/base/Makefile.am:
30479         * gst/base/gstbasesink.h:
30480         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30481         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30482         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30483         (gst_collectpads_class_init), (gst_collectpads_init),
30484         (gst_collectpads_finalize), (gst_collectpads_new),
30485         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30486         (find_pad), (gst_collectpads_remove_pad),
30487         (gst_collectpads_is_active), (gst_collectpads_collect),
30488         (gst_collectpads_collect_range), (gst_collectpads_start),
30489         (gst_collectpads_stop), (gst_collectpads_peek),
30490         (gst_collectpads_pop), (gst_collectpads_available),
30491         (gst_collectpads_read), (gst_collectpads_flush),
30492         (gst_collectpads_chain):
30493         * gst/base/gstcollectpads.h:
30494         * gst/elements/Makefile.am:
30495         * gst/elements/gstelements.c:
30496         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30497         (gst_fakesink_get_times), (gst_fakesink_event),
30498         (gst_fakesink_preroll), (gst_fakesink_render):
30499         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30500         (gst_filesink_init), (gst_filesink_set_location),
30501         (gst_filesink_open_file), (gst_filesink_close_file),
30502         (gst_filesink_pad_query), (gst_filesink_event),
30503         (gst_filesink_render), (gst_filesink_change_state):
30504         * gst/elements/gstfilesink.h:
30505         Added object to help in making collect pad based elements.
30506         Ported filesink.
30507         Make event function in sink baseclass return gboolean.
30508
30509 2005-05-05  Wim Taymans  <wim@fluendo.com>
30510
30511         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30512         (gst_bin_get_by_name):
30513         * gst/gstbuffer.h:
30514         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30515         (gst_clock_finalize):
30516         * gst/gstdata.c: (gst_data_replace):
30517         * gst/gstdata.h:
30518         * gst/gstelement.c: (gst_element_request_pad),
30519         (gst_element_pads_activate):
30520         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30521         (gst_object_unref):
30522         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30523         (gst_pad_set_checkgetrange_function),
30524         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30525         (gst_pad_check_pull_range), (gst_pad_pull_range),
30526         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30527         (gst_pad_pause_task), (gst_pad_stop_task):
30528         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30529         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30530         Fix name lookup in GstBin.
30531         Added _data_replace() function and _buffer_replace()
30532         Use finalize method to clean up clock.
30533         Fix refcounting on request pads.
30534         Fix pad schedule mode error.
30535         Some more object refcounting debug info,
30536
30537
30538 2005-05-04  Andy Wingo <wingo@pobox.com>
30539
30540         * check/Makefile.am:
30541         * docs/gst/tmpl/gstatomic.sgml:
30542         * docs/gst/tmpl/gstplugin.sgml:
30543         * gst/base/gstbasesink.c: (gst_basesink_activate):
30544         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30545         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30546         (gst_basesrc_query), (gst_basesrc_set_property),
30547         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30548         (gst_basesrc_activate):
30549         * gst/base/gstbasesrc.h:
30550         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30551         (gst_base_transform_src_activate):
30552         * gst/elements/gstelements.c:
30553         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30554         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30555         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30556         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30557         (gst_type_find_element_checkgetrange),
30558         (gst_type_find_element_activate):
30559         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30560         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30561         (gst_caps_load_thyself):
30562         * gst/gstelement.c: (gst_element_pads_activate),
30563         (gst_element_save_thyself), (gst_element_restore_thyself):
30564         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30565         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30566         * gst/gstpad.h:
30567         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30568         (gst_xml_parse_file), (gst_xml_parse_memory),
30569         (gst_xml_get_element), (gst_xml_make_element):
30570         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30571         (_file_index_id_save_xml), (gst_file_index_commit):
30572         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30573         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30574         (load_paths):
30575         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30576         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30577         * tools/gst-complete.c: (main):
30578         * tools/gst-compprep.c: (main):
30579         * tools/gst-inspect.c: (print_element_properties_info):
30580         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30581         * tools/gst-xmlinspect.c: (print_element_properties):
30582         GCC 4 fixen.
30583         
30584 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30585
30586         * gst/gstplugin.c: (gst_plugin_check_module),
30587         (gst_plugin_check_file), (gst_plugin_load_file):
30588             apply patch from #172526 to make register work on MacOSX
30589
30590 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30591
30592         * docs/gst/tmpl/gstconfig.sgml:
30593         * gst/gstconfig.h.in:
30594           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30595         * testsuite/debug/printf_extension.c: (main):
30596           Do not use GST_PTR_FORMAT on pointers to types with
30597           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30598         * testsuite/elements/property.h:
30599           use correct printf format
30600
30601 2005-05-02  Wim Taymans  <wim@fluendo.com>
30602
30603         * docs/design/draft-push-pull.txt:
30604         * docs/design/draft-query.txt:
30605         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30606         (gst_basesrc_start):
30607         Added draft for new query API.
30608         Added draft for better selecting scheduling methods.
30609         Make basesrc ignore length if the subclass does not support
30610         it.
30611
30612 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30613
30614         * gst/Makefile.am:
30615           possible fixes for automake-1.5 - _LIBADD is reserved
30616
30617 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30618
30619         * docs/faq/Makefile.am:
30620         * docs/manual/Makefile.am:
30621         * docs/manuals.mak:
30622         * docs/pwg/Makefile.am:
30623         * gst/Makefile.am:
30624           possible fixes for automake-1.5
30625
30626 2005-04-28  Wim Taymans  <wim@fluendo.com>
30627
30628         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30629         (gst_basesink_pad_getcaps), (gst_basesink_init),
30630         (gst_basesink_do_sync):
30631         * gst/gstclock.c: (gst_clock_entry_new):
30632         * gst/gstevent.c: (gst_event_discont_get_value):
30633         * gst/gstpipeline.c: (pipeline_bus_handler),
30634         (gst_pipeline_change_state):
30635         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30636         Better debugging of clocking info.
30637         Allow NULL values when getting discont values.
30638
30639 2005-04-27  Wim Taymans  <wim@fluendo.com>
30640
30641         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30642         * check/gst/gstpad.c: (gst_pad_suite):
30643         Increase timeout for checks.
30644
30645 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30646
30647         * check/Makefile.am:
30648           fix the broken rule for cleanup.  Apparently this rule is
30649           only needed on FC2, so maybe this warrants further autotool
30650           inspection.
30651
30652 2005-04-26  Wim Taymans  <wim@fluendo.com>
30653
30654         * gst/gsttrashstack.h:
30655         Ooohh. a nasty one! After having a failed pop() from the stack,
30656         it's possible that the stack is empty. In that case, don't
30657         follow the NULL pointer.
30658
30659 2005-04-25  Wim Taymans  <wim@fluendo.com>
30660
30661         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30662         (gst_pad_set_checkgetrange_function),
30663         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30664         (gst_pad_check_pull_range), (gst_pad_pull_range),
30665         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30666         (gst_pad_pause_task), (gst_pad_stop_task):
30667         * gst/gstplugin.c: (gst_plugin_load):
30668         * gst/gstplugin.h:
30669         Remove gst_library_load as it does more harm than good with
30670         the new g_module flags.
30671         Revert bogus caps template check in pad linking, pad caps
30672         are important when linking not the template, which is more
30673         general than the current caps.
30674
30675 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30676
30677         * gst/autoplug/.cvsignore:
30678         * gst/autoplug/Makefile.am:
30679         * gst/autoplug/gstsearchfuncs.c:
30680         * gst/autoplug/gstsearchfuncs.h:
30681         * gst/autoplug/gstspider.c:
30682         * gst/autoplug/gstspider.h:
30683         * gst/autoplug/gstspideridentity.c:
30684         * gst/autoplug/gstspideridentity.h:
30685         * gst/autoplug/spidertest.c:
30686           Die, spider, die.
30687
30688 2005-04-25  Wim Taymans  <wim@fluendo.com>
30689
30690         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30691         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30692         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30693         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30694         * gst/gstpad.h:
30695         Added stubs for unimplemented functions. 
30696
30697 2005-04-24  David Schleef  <ds@schleef.org>
30698
30699         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30700         please fix.
30701
30702 2005-04-24  David Schleef  <ds@schleef.org>
30703
30704         Convert everything from GstAtomicInt to g_atomic_int_*, and
30705         remove gstatomic.
30706         * gst/Makefile.am:
30707         * gst/gstatomic.c:
30708         * gst/gstatomic.h:
30709         * gst/gstatomic_impl.h:
30710         * gst/gstbuffer.c:
30711         * gst/gstcaps.c:
30712         * gst/gstcaps.h:
30713         * gst/gstclock.c:
30714         * gst/gstclock.h:
30715         * gst/gstdata.c:
30716         * gst/gstdata.h:
30717         * gst/gstdata_private.h:
30718         * gst/gstevent.c:
30719         * gst/gstinfo.c:
30720         * gst/gstinfo.h:
30721         * gst/gstmessage.c:
30722         * gst/gstobject.c:
30723         * gst/gstobject.h:
30724         * gst/gststructure.c:
30725         * gst/gststructure.h:
30726         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30727         * gst/gstutils.h:
30728
30729 2005-04-24  David Schleef  <ds@schleef.org>
30730
30731         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30732         make the regressions tests work.  Remove some code that is no
30733         longer true.
30734         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30735         Disable warning for pads without templates.
30736
30737 2005-04-24  David Schleef  <ds@schleef.org>
30738
30739         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30740         functions that handle filtered links.
30741         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30742         removed functions.
30743         * gst/gstutils.c: Fix/remove utility functions that handle
30744         filtered caps.
30745         * gst/gstutils.h:
30746         * gst/gstvalue.c: Add serialization/deserialization of caps
30747         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30748         requires fixing so that the filter caps notation creates
30749         a capsfilter element and sets the filter_caps property.  I
30750         think everyone probably wants to keep the shorthand notation.
30751         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30752         * docs/gst/tmpl/gstpad.sgml:
30753
30754         * gst/elements/gstelements.c: Register capsfilter element.
30755         * gst/Makefile.am: fix spacing
30756         * docs/random/ds/0.9-suggested-changes: random
30757
30758 2005-04-23  David Schleef  <ds@schleef.org>
30759
30760         * gst/elements/Makefile.am:
30761         * gst/elements/gstcapsfilter.c: New element that acts like an
30762         identity, but filters caps.  Will eventually replace filtered
30763         caps in pad linking.
30764         * gst/gstutils.c: (gst_element_create_all_pads): New function
30765         to create all the ALWAYS pads that are registered with an
30766         element class.  This functionality should eventually be
30767         merged in with GstElement initialization.
30768         * gst/gstutils.h:
30769         * testsuite/trigger/README: part of trigger test code that should
30770         have been checked in a long time ago.
30771
30772 2005-04-23  David Schleef  <ds@schleef.org>
30773
30774         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30775         needed with new versions of libtool (nobody will confirm this),
30776         and hard to carry around.
30777         * gst/autoplug/Makefile.am:
30778         * gst/base/Makefile.am:
30779         * gst/elements/Makefile.am:
30780         * gst/indexers/Makefile.am:
30781         * gst/schedulers/Makefile.am:
30782         * libs/gst/bytestream/Makefile.am:
30783         * libs/gst/control/Makefile.am:
30784         * libs/gst/dataprotocol/Makefile.am:
30785         * libs/gst/getbits/Makefile.am:
30786
30787 2005-04-21  Wim Taymans  <wim@fluendo.com>
30788
30789         * docs/design/draft-push-pull.txt:
30790         * docs/design/part-MT-refcounting.txt:
30791         * docs/design/part-TODO.txt:
30792         * docs/design/part-caps.txt:
30793         * docs/design/part-events.txt:
30794         * docs/design/part-gstbus.txt:
30795         * docs/design/part-gstpipeline.txt:
30796         * docs/design/part-messages.txt:
30797         * docs/design/part-push-pull.txt:
30798         * docs/design/part-query.txt:
30799         Some more docs.
30800
30801 2005-04-21  Wim Taymans  <wim@fluendo.com>
30802
30803         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30804         (gst_message_new), (gst_message_new_error),
30805         (gst_message_new_warning), (gst_message_new_tag),
30806         (gst_message_new_state_changed), (gst_message_new_application),
30807         (gst_message_get_structure):
30808         * gst/gstmessage.h:
30809         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30810         (gst_structure_copy_conditional):
30811         Use parent refcount in GstMessage to ensure GstStructure
30812         consistency.
30813         Cleaned up headers a bit.
30814         
30815
30816 2005-04-20  Wim Taymans  <wim@fluendo.com>
30817
30818         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30819         (gst_basesink_pad_getcaps), (gst_basesink_init),
30820         (gst_basesink_chain_unlocked):
30821         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30822         (gst_type_find_helper):
30823         * gst/elements/gsttypefindelement.c:
30824         (gst_type_find_element_have_type), (gst_type_find_element_init),
30825         (stop_typefinding), (gst_type_find_element_handle_event),
30826         (find_suggest), (gst_type_find_element_chain),
30827         (gst_type_find_element_checkgetrange),
30828         (gst_type_find_element_getrange), (do_typefind),
30829         (gst_type_find_element_activate):
30830         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30831         (gst_buffer_default_free), (gst_buffer_default_copy),
30832         (gst_buffer_set_caps):
30833         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30834         (gst_caps_replace):
30835         * gst/gstmessage.c: (gst_message_new),
30836         (gst_message_new_state_changed):
30837         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30838         (gst_pad_set_checkgetrange_function),
30839         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30840         (gst_pad_set_caps), (gst_pad_check_pull_range),
30841         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30842         * gst/gstpad.h:
30843         * gst/gsttypefind.c: (gst_type_find_register):
30844         Make gst_caps_replace() work like other _replace() functions.
30845         Use _caps_replace() where possible.
30846         Make sure _message_new() initialises its field.
30847         Add gst_static_pad_template_get_caps()
30848
30849
30850 2005-04-18  Andy Wingo  <wingo@pobox.com>
30851
30852         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30853         on the peer, not the pad. I think that was a typo. Pass an extra
30854         arg to see if random access is possible. Activate the pads as
30855         PULL_RANGE if possible.
30856
30857         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30858
30859         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30860         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30861         to PROP_....
30862
30863 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30864
30865         * docs/faq/using.xml:
30866           Add note on gstreamer-properties (#154996).
30867
30868 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30869
30870         * docs/random/bbb/optional-properties:
30871           Some analysis on optional properties.
30872
30873 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30874
30875         * docs/gst/tmpl/gstelementfactory.sgml:
30876         * gst/gstelement.h:
30877         * gst/gstelementfactory.c: (gst_element_factory_init),
30878         (gst_element_factory_cleanup), (gst_element_register),
30879         (__gst_element_factory_add_static_pad_template),
30880         (gst_element_factory_get_static_pad_templates),
30881         (gst_element_factory_can_src_caps),
30882         (gst_element_factory_can_sink_caps):
30883         * gst/registries/Makefile.am:
30884         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30885         (gst_xml_registry_class_init), (gst_xml_registry_init),
30886         (gst_xml_registry_new), (gst_xml_registry_set_property),
30887         (gst_xml_registry_get_property), (get_time), (make_dir),
30888         (gst_xml_registry_get_perms_func),
30889         (plugin_times_older_than_recurse), (plugin_times_older_than),
30890         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30891         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30892         (add_to_char_array), (read_string), (read_uint), (read_enum),
30893         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30894         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30895         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30896         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30897         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30898         (gst_xml_registry_rebuild):
30899         * gst/registries/gstlibxmlregistry.h:
30900         * tools/gst-compprep.c: (main):
30901         * tools/gst-inspect.c: (print_pad_templates_info):
30902         * tools/gst-xmlinspect.c: (print_element_info):
30903           Use libxml2 for registry parsing, use staticpadtemplates in
30904           elementfactories. Makes gst_init() +/- 10x faster.
30905
30906 2005-04-12  Wim Taymans  <wim@fluendo.com>
30907
30908         * gst/base/Makefile.am:
30909         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30910         (gst_basesink_pad_getcaps), (gst_basesink_init),
30911         (gst_basesink_event), (gst_basesink_change_state):
30912         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30913         (gst_basesrc_init), (gst_basesrc_query),
30914         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30915         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30916         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30917         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30918         (gst_basesrc_stop), (gst_basesrc_activate),
30919         (gst_basesrc_change_state):
30920         * gst/base/gsttypefindhelper.c: (helper_find_peek),
30921         (helper_find_suggest), (gst_type_find_helper):
30922         * gst/base/gsttypefindhelper.h:
30923         * gst/elements/Makefile.am:
30924         * gst/elements/gstelements.c:
30925         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30926         (gst_fakesink_get_times), (gst_fakesink_event),
30927         (gst_fakesink_preroll), (gst_fakesink_render):
30928         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30929         (gst_fakesrc_init), (gst_fakesrc_event_handler),
30930         (gst_fakesrc_get_property), (gst_fakesrc_create),
30931         (gst_fakesrc_start), (gst_fakesrc_stop):
30932         * gst/elements/gstfakesrc.h:
30933         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30934         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30935         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30936         (gst_filesrc_create_read), (gst_filesrc_create),
30937         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30938         (gst_filesrc_start):
30939         * gst/elements/gsttypefindelement.c:
30940         (gst_type_find_element_have_type), (gst_type_find_element_init),
30941         (start_typefinding), (stop_typefinding), (push_buffer_store),
30942         (gst_type_find_element_handle_event),
30943         (gst_type_find_element_chain),
30944         (gst_type_find_element_checkgetrange),
30945         (gst_type_find_element_getrange), (do_typefind),
30946         (gst_type_find_element_activate),
30947         (gst_type_find_element_change_state):
30948         * gst/elements/gsttypefindelement.h:
30949         * gst/gstpipeline.c: (pipeline_bus_handler):
30950         Added typefind helper.
30951         Small preroll fix in the base sink.
30952         Disable typefind code in basesrc.
30953         Crude port of typefindelement.
30954         Fakesrc cleanups.
30955
30956
30957 2005-04-11  Wim Taymans  <wim@fluendo.com>
30958
30959         * check/gst/gstbus.c: (gstbus_suite):
30960         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30961         * check/gstcheck.h:
30962           Fix up the timeout so that the test does not fail.
30963
30964 2005-04-06  Wim Taymans  <wim@fluendo.com>
30965
30966         * gst/base/README:
30967         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30968         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30969         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30970         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30971         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30972         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30973         (gst_basesrc_stop), (gst_basesrc_activate),
30974         (gst_basesrc_change_state), (basesrc_find_peek),
30975         (basesrc_find_suggest), (gst_basesrc_type_find):
30976         * gst/base/gstbasesrc.h:
30977         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30978         (gst_filesrc_class_init), (gst_filesrc_init),
30979         (gst_filesrc_finalize), (gst_filesrc_set_location),
30980         (gst_filesrc_set_property), (gst_filesrc_get_property),
30981         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30982         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30983         (gst_filesrc_create_read), (gst_filesrc_create),
30984         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30985         * gst/elements/gstfilesrc.h:
30986         * gst/gstelement.c: (gst_element_get_state_func),
30987         (gst_element_lost_state), (gst_element_pads_activate):
30988         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30989         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30990         (gst_pad_pull_range):
30991         * gst/gstpad.h:
30992         More work on the generic source base class, implement seeking,
30993         query.
30994         Make filesrc extend the base source class.
30995         Added gst_pad_set_checkgetrange_function to GstPad.
30996
30997 2005-04-06  Andy Wingo  <wingo@pobox.com>
30998
30999         * pkgconfig/gstreamer-base.pc.in:
31000         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31001
31002         * pkgconfig/Makefile.am:
31003         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31004
31005 2005-04-04  Wim Taymans  <wim@fluendo.com>
31006
31007         * gst/base/Makefile.am:
31008         * gst/base/README:
31009         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31010         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31011         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31012         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31013         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31014         (gst_basesrc_base_init), (gst_basesrc_class_init),
31015         (gst_basesrc_init), (gst_basesrc_get_formats),
31016         (gst_basesrc_get_query_types), (gst_basesrc_query),
31017         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31018         (gst_basesrc_set_property), (gst_basesrc_get_property),
31019         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31020         (gst_basesrc_loop), (gst_basesrc_activate),
31021         (gst_basesrc_change_state):
31022         * gst/base/gstbasesrc.h:
31023         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31024         (gst_fakesrc_class_init), (gst_fakesrc_init),
31025         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31026         (gst_fakesrc_get_property), (gst_fakesrc_create):
31027         * gst/elements/gstfakesrc.h:
31028         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31029         (gst_filesrc_open_file), (gst_filesrc_loop),
31030         (gst_filesrc_activate), (filesrc_find_peek),
31031         (gst_filesrc_type_find):
31032         Made base source class, make fakesrc extend it.
31033         Add comments to basesink class.
31034         Some filesrc cleanup.
31035
31036 2005-03-31  David Schleef  <ds@schleef.org>
31037
31038         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31039         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31040         expected to link against libgstreamer.
31041         * gst/base/Makefile.am: link against libgstreamer
31042         * gst/elements/Makefile.am: same
31043
31044 2005-03-31  Andy Wingo  <wingo@pobox.com>
31045
31046         * tests/instantiate/Makefile.am:
31047         * tests/instantiate/caps.c: Add test to test speed of caps copy
31048         and free.
31049
31050         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31051         GMemChunk to be fair.
31052
31053         * gst/gsttrashstack.h: Remove warning about using the fallback
31054         trash stack implementation, it's still faster than malloc.
31055
31056 2005-03-30  Andy Wingo  <wingo@pobox.com>
31057
31058         * tests/complexity.c: Add a copyright.
31059
31060 2005-03-31  Wim Taymans  <wim@fluendo.com>
31061
31062         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31063         (gst_base_transform_class_init), (gst_base_transform_init),
31064         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31065         (gst_base_transform_get_property),
31066         (gst_base_transform_sink_activate),
31067         (gst_base_transform_src_activate),
31068         (gst_base_transform_change_state):
31069         * gst/base/gstbasetransform.h:
31070         * gst/elements/gstidentity.c: (gst_identity_class_init),
31071         (gst_identity_event), (gst_identity_check_perfect),
31072         (gst_identity_transform), (gst_identity_start),
31073         (gst_identity_stop):
31074         Added start/stop methods to transform base class so subclasses 
31075         don't need to deal with state changes even.
31076
31077 2005-03-31  Wim Taymans  <wim@fluendo.com>
31078
31079         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31080         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31081         * gst/gstevent.h:
31082         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31083         (gst_pad_pull_range):
31084         Added rate to the discont event to prepare for variable speed
31085         and reverse playback.
31086
31087 2005-03-29  David Schleef  <ds@schleef.org>
31088
31089         * configure.ac:
31090         * testsuite/trigger/Makefile.am:
31091         * testsuite/trigger/trigger.c: A little example program to show
31092         how trigger-based elements can work.
31093
31094 2005-03-29  Wim Taymans  <wim@fluendo.com>
31095
31096         * gst/base/Makefile.am:
31097         * gst/base/README:
31098         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31099         (gst_basesink_base_init), (gst_basesink_class_init),
31100         (gst_basesink_pad_getcaps), (gst_basesink_init),
31101         (gst_basesink_activate), (gst_basesink_change_state):
31102         * gst/base/gstbasesink.h:
31103         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31104         (gst_base_transform_base_init), (gst_base_transform_finalize),
31105         (gst_base_transform_class_init), (gst_base_transform_init),
31106         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31107         (gst_base_transform_event), (gst_base_transform_getrange),
31108         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31109         (gst_base_transform_set_property),
31110         (gst_base_transform_get_property),
31111         (gst_base_transform_sink_activate),
31112         (gst_base_transform_src_activate),
31113         (gst_base_transform_change_state):
31114         * gst/base/gstbasetransform.h:
31115         * gst/elements/gstidentity.c: (gst_identity_finalize),
31116         (gst_identity_class_init), (gst_identity_init),
31117         (gst_identity_event), (gst_identity_check_perfect),
31118         (gst_identity_transform), (gst_identity_set_property),
31119         (gst_identity_get_property), (gst_identity_change_state):
31120         * gst/elements/gstidentity.h:
31121         * gst/gstelement.c: (gst_element_get_state_func),
31122         (gst_element_lost_state), (gst_element_pads_activate):
31123         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31124         (gst_pad_check_pull_range), (gst_pad_pull_range):
31125         * gst/gstpad.h:
31126         Simplify pad activation.
31127         Added function to check if pull_range can be performed.
31128         Error out when pulling inactive or flushing pads.
31129         Removed const from refcounted types as it does not make sense.
31130         Simplify pad templates in basesink
31131         Added base class for simple 1-to-1 transforms.
31132         Make identity subclass the base transform.
31133
31134 2005-03-29  Andy Wingo  <wingo@pobox.com>
31135
31136         * docs/libs/gstreamer-libs-overrides.txt: 
31137         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31138         really don't understand what's going on, but like whatever. I want
31139         green buildbot!
31140
31141         * docs/gst/Makefile.am:
31142         * docs/libs/Makefile.am: Dist the overrides files.
31143
31144         * check/Makefile.am (clean-local): Remove .libs directories.
31145
31146         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31147         elements to EXTRA_DIST, so po/ files are happy.
31148
31149         * po/POTFILES.in: Er, remove it here.
31150
31151         * po/POTFILES: Remove gstspider.c.
31152
31153         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31154
31155         * docs/libs/gstreamer-libs-docs.sgml: 
31156         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31157         bytestream.
31158
31159         * tests/complexity.c (main): Set the length of the preroll queue
31160         on the sinks to prevent a lockup.
31161
31162         * libs/gst/dataprotocol/Makefile.am: 
31163         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31164         the same as the one in check/gst-libs/gdp.c.
31165
31166         * po/, docs/gst/: Commit automatic changes to docs and po files.
31167
31168         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31169         the versioned libgstbase.
31170
31171         * check/Makefile.am: Depend on an unversioned gst-register, seems
31172         to make autoconf happier.
31173
31174         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31175
31176 2005-03-28  Wim Taymans  <wim@fluendo.com>
31177
31178         * configure.ac:
31179         * docs/design/part-gstelement.txt:
31180         * docs/design/part-negotiation.txt:
31181         * docs/design/part-preroll.txt:
31182         * docs/design/part-scheduling.txt:
31183         * docs/design/part-states.txt:
31184         * gst/Makefile.am:
31185         * gst/base/Makefile.am:
31186         * gst/base/README:
31187         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31188         (gst_basesink_base_init), (gst_basesink_class_init),
31189         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31190         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31191         (gst_basesink_set_pad_functions),
31192         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31193         (gst_basesink_set_property), (gst_basesink_get_property),
31194         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31195         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31196         (gst_basesink_preroll_queue_push),
31197         (gst_basesink_preroll_queue_empty),
31198         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31199         (gst_basesink_event), (gst_basesink_get_times),
31200         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31201         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31202         (gst_basesink_loop), (gst_basesink_activate),
31203         (gst_basesink_change_state):
31204         * gst/base/gstbasesink.h:
31205         * gst/elements/Makefile.am:
31206         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31207         (gst_fakesink_class_init), (gst_fakesink_init),
31208         (gst_fakesink_set_property), (gst_fakesink_get_property),
31209         (gst_fakesink_get_times), (gst_fakesink_event),
31210         (gst_fakesink_preroll), (gst_fakesink_render),
31211         (gst_fakesink_change_state):
31212         * gst/elements/gstfakesink.h:
31213         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31214         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31215         * gst/gstelement.c: (gst_element_add_pad),
31216         (gst_element_get_state_func), (gst_element_abort_state),
31217         (gst_element_commit_state), (gst_element_lost_state),
31218         (gst_element_set_state), (gst_element_pads_activate):
31219         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31220         * gst/gstpipeline.c: (gst_pipeline_send_event),
31221         (gst_pipeline_change_state):
31222         Added state change code.
31223         Added/updated docs.
31224         Added sink base class, make fakesink extend the base class.
31225         Small cleanups in GstPipeline.
31226
31227 2005-03-26  David Schleef  <ds@schleef.org>
31228
31229         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31230         is broken and should be implemented in a different library.
31231         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31232         * gst/gst.h: remove gstcpu.h
31233         * gst/gstcpu.c: remove
31234         * gst/gstcpu.h: remove
31235         * gst/Makefile.am.future: Remove this file.  It's ancient.
31236
31237 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31238
31239         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31240         (gst_bin_send_event):
31241           Add default event/set_manager handlers. The set_manager handler
31242           takes care that the manager is distributed over kids that were
31243           already in the bin before the manager was set. The event handler
31244           is a utility virtual function that sends the event over all sinks,
31245           so that gst_element_send_event (bin, event); has the expected
31246           behaviour.
31247         * gst/gstpad.c: (gst_pad_event_default):
31248           Re-install default event handling for discontinuities, so that
31249           seeking works without requiring hacks in applications or extra
31250           code in sinks.
31251         * gst/gstpipeline.c: (gst_pipeline_class_init),
31252         (gst_pipeline_send_event):
31253           Half hack, half utility: set a pipeline to PAUSED for seek events,
31254           since that is the only way we can guarantee a/v sync. Means that
31255           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31256           and it "just works".
31257
31258 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31259
31260         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31261           Lock/unlock mismatch.
31262
31263 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31264
31265         * docs/faq/gst-uninstalled:
31266           add gst-plugins-base
31267         * docs/gst/Makefile.am:
31268           don't error out until docs are fixed
31269         * docs/gst/gstreamer.types:
31270           remove thread
31271
31272 2005-03-22  Wim Taymans  <wim@fluendo.com>
31273
31274         * check/Makefile.am:
31275         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31276         * gst/gststructure.c: (gst_structure_set_valist),
31277         (gst_structure_copy_conditional):
31278         Activated more tests.
31279         Added message test.
31280         Added G_TYPE_POINTER to GstStructure.
31281         
31282
31283 2005-03-22  Wim Taymans  <wim@fluendo.com>
31284
31285         * docs/design/part-TODO.txt:
31286         * docs/design/part-events.txt:
31287         * docs/design/part-gstbin.txt:
31288         * docs/design/part-gstbus.txt:
31289         * docs/design/part-gstpipeline.txt:
31290         * docs/design/part-messages.txt:
31291         * gst/gstbus.c:
31292         * gst/gstmessage.c:
31293         Docs updates
31294
31295 2005-03-21  Wim Taymans  <wim@fluendo.com>
31296
31297         * gst/gstbus.c: (gst_bus_post):
31298         Fix copy-and-paste error.
31299
31300 2005-03-21  Wim Taymans  <wim@fluendo.com>
31301
31302         * check/Makefile.am:
31303         * gst/Makefile.am:
31304         * gst/elements/Makefile.am:
31305         * gst/elements/gstelements.c:
31306         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31307         (gst_fakesink_event), (gst_fakesink_chain):
31308         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31309         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31310         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31311         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31312         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31313         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31314         (gst_fakesrc_loop), (gst_fakesrc_activate),
31315         (gst_fakesrc_change_state):
31316         * gst/elements/gstfakesrc.h:
31317         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31318         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31319         (gst_filesrc_open_file), (gst_filesrc_loop),
31320         (gst_filesrc_activate), (gst_filesrc_change_state),
31321         (filesrc_find_peek), (filesrc_find_suggest),
31322         (gst_filesrc_type_find):
31323         * gst/elements/gstidentity.c: (gst_identity_finalize),
31324         (gst_identity_class_init), (gst_identity_init),
31325         (gst_identity_proxy_getcaps), (identity_queue_push),
31326         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31327         (gst_identity_getrange), (gst_identity_chain),
31328         (gst_identity_sink_loop), (gst_identity_src_loop),
31329         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31330         (gst_identity_set_property), (gst_identity_get_property),
31331         (gst_identity_change_state):
31332         * gst/elements/gstidentity.h:
31333         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31334         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31335         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31336         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31337         (gst_tee_sink_activate):
31338         * gst/elements/gsttee.h:
31339         * gst/gst.c: (gst_register_core_elements), (init_post):
31340         * gst/gst.h:
31341         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31342         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31343         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31344         (gst_bin_change_state):
31345         * gst/gstbin.h:
31346         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31347         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31348         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31349         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31350         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31351         (bus_watch_callback), (bus_watch_destroy),
31352         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31353         (poll_timeout), (gst_bus_poll):
31354         * gst/gstbus.h:
31355         * gst/gstcaps.h:
31356         * gst/gstdata.h:
31357         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31358         (gst_element_post_message), (gst_element_message_full),
31359         (gst_element_get_state_func), (gst_element_get_state),
31360         (gst_element_abort_state), (gst_element_commit_state),
31361         (gst_element_lost_state), (gst_element_set_state),
31362         (gst_element_pads_activate), (gst_element_change_state),
31363         (gst_element_dispose), (gst_element_set_manager_func),
31364         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31365         (gst_element_set_manager), (gst_element_get_manager),
31366         (gst_element_set_bus), (gst_element_get_bus),
31367         (gst_element_set_scheduler), (gst_element_get_scheduler):
31368         * gst/gstelement.h:
31369         * gst/gstevent.c: (gst_event_new_segment_seek),
31370         (gst_event_new_flush):
31371         * gst/gstevent.h:
31372         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31373         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31374         (gst_message_new_eos), (gst_message_new_error),
31375         (gst_message_new_warning), (gst_message_new_tag),
31376         (gst_message_new_state_changed), (gst_message_new_application),
31377         (gst_message_get_structure), (gst_message_parse_tag),
31378         (gst_message_parse_state_changed), (gst_message_parse_error),
31379         (gst_message_parse_warning):
31380         * gst/gstmessage.h:
31381         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31382         (gst_real_pad_set_property), (gst_pad_set_active),
31383         (gst_pad_is_active), (gst_pad_set_blocked_async),
31384         (gst_pad_set_blocked), (gst_pad_is_blocked),
31385         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31386         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31387         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31388         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31389         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31390         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31391         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31392         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31393         (gst_pad_set_caps), (gst_pad_configure_sink),
31394         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31395         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31396         (gst_real_pad_dispose), (gst_real_pad_finalize),
31397         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31398         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31399         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31400         * gst/gstpad.h:
31401         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31402         (pipeline_bus_handler), (gst_pipeline_change_state),
31403         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31404         * gst/gstpipeline.h:
31405         * gst/gstprobe.h:
31406         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31407         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31408         (gst_queue_link_src), (gst_queue_bufferalloc),
31409         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31410         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31411         (gst_queue_loop), (gst_queue_handle_src_event),
31412         (gst_queue_handle_src_query), (gst_queue_src_activate),
31413         (gst_queue_change_state):
31414         * gst/gstqueue.h:
31415         * gst/gstscheduler.c: (gst_scheduler_init),
31416         (gst_scheduler_dispose), (gst_scheduler_create_task),
31417         (gst_scheduler_factory_create):
31418         * gst/gstscheduler.h:
31419         * gst/gststructure.c: (gst_structure_get_type),
31420         (gst_structure_copy_conditional):
31421         * gst/gststructure.h:
31422         * gst/gsttaginterface.h:
31423         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31424         (gst_task_init), (gst_task_dispose), (gst_task_create),
31425         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31426         (gst_task_pause):
31427         * gst/gsttask.h:
31428         * gst/gstthread.c:
31429         * gst/gstthread.h:
31430         * gst/gsttypes.h:
31431         * gst/schedulers/Makefile.am:
31432         * gst/schedulers/cothreads_compat.h:
31433         * gst/schedulers/entryscheduler.c:
31434         * gst/schedulers/faircothreads.c:
31435         * gst/schedulers/faircothreads.h:
31436         * gst/schedulers/fairscheduler.c:
31437         * gst/schedulers/gstbasicscheduler.c:
31438         * gst/schedulers/gstoptimalscheduler.c:
31439         * gst/schedulers/gthread-cothreads.h:
31440         * gst/schedulers/threadscheduler.c:
31441         (gst_thread_scheduler_task_get_type),
31442         (gst_thread_scheduler_task_class_init),
31443         (gst_thread_scheduler_task_init),
31444         (gst_thread_scheduler_task_start),
31445         (gst_thread_scheduler_task_stop),
31446         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31447         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31448         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31449         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31450         (plugin_init):
31451         * libs/gst/Makefile.am:
31452         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31453         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31454         (gst_file_pad_parent_set):
31455         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31456         (gst_dp_event_from_packet):
31457         * tests/complexity.c: (main):
31458         * tests/mass_elements.c: (main):
31459         * testsuite/states/locked.c: (message_received), (main):
31460         * testsuite/states/parent.c: (main):
31461         * tools/gst-inspect.c: (print_element_flag_info),
31462         (print_implementation_info), (print_pad_info):
31463         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31464         (main):
31465         * tools/gst-md5sum.c: (event_loop), (main):
31466         * tools/gst-typefind.c: (main):
31467         * tools/gst-xmlinspect.c: (print_element_info):
31468         Next big merge.
31469         Added GstBus for mainloop integration.
31470         Added GstMessage for sending notifications on the bus.
31471         Added GstTask as an abstraction for pipeline entry points.
31472         Removed GstThread.
31473         Removed Schedulers.
31474         Simplified GstQueue for multithreaded core.
31475         Made _link threadsafe, removed old capsnego.
31476         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31477         Added pad blocking functions.
31478         Reworked scheduling functions in GstPad to prepare for
31479         scheduling updates soon.
31480         Moved events out of data stream.
31481         Simplified GstEvent types.
31482         Added return values to push/pull.
31483         Removed clocking from GstElement.
31484         Added prototypes for state change function for next merge.
31485         Removed iterate from bins and state change management.
31486         Fixed some elements, disabled others for now.
31487         Fixed -inspect and -launch.
31488         Added check for GstBus.
31489
31490 2005-03-10  Wim Taymans  <wim@fluendo.com>
31491
31492         * docs/design/part-MT-refcounting.txt:
31493         * docs/design/part-clocks.txt:
31494         * docs/design/part-gstelement.txt:
31495         * docs/design/part-gstobject.txt:
31496         * docs/design/part-standards.txt:
31497         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31498         (gst_bin_remove_func), (gst_bin_remove):
31499         * gst/gstbin.h:
31500         * gst/gstbuffer.c:
31501         * gst/gstcaps.h:
31502         * testsuite/clock/clock1.c: (main):
31503         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31504         (main):
31505         * testsuite/dlopen/loadgst.c: (do_test):
31506         * testsuite/refcounting/bin.c: (add_remove_test1),
31507         (add_remove_test2), (main):
31508         * testsuite/refcounting/element.c: (main):
31509         * testsuite/refcounting/element_pad.c: (main):
31510         * testsuite/refcounting/pad.c: (main):
31511         * tools/gst-launch.c: (sigint_handler_sighandler):
31512         * tools/gst-typefind.c: (main):
31513         Doc updates.
31514         Added doc about clock.
31515         removed gst_bin_iterate_recurse_up(), marked methods
31516         for removal.
31517         Fix more testsuites.
31518
31519 2005-03-09  Wim Taymans  <wim@fluendo.com>
31520
31521         * gst/gstpad.c: (gst_pad_get_direction),
31522         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31523         (gst_pad_collect_valist):
31524         * testsuite/bins/interface.c: (main):
31525         * testsuite/caps/audioscale.c: (test_caps):
31526         * testsuite/caps/caps.c: (test1), (test2), (test3):
31527         * testsuite/caps/deserialize.c: (main):
31528         * testsuite/caps/enumcaps.c: (main):
31529         * testsuite/caps/filtercaps.c: (main):
31530         * testsuite/caps/intersect2.c: (main):
31531         * testsuite/caps/random.c: (main):
31532         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31533         * testsuite/caps/sets.c: (check_caps):
31534         * testsuite/caps/simplify.c: (check_caps), (main):
31535         * testsuite/caps/subtract.c: (check_caps):
31536         Fix _pad_get_direction wrt ghostpads.
31537         Fix caps testsuite.
31538
31539 2005-03-09  Wim Taymans  <wim@fluendo.com>
31540
31541         * check/Makefile.am:
31542         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31543         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31544         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31545         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31546         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31547         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31548         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31549         (bin_element_is_sink), (gst_bin_iterate_sinks),
31550         (gst_bin_iterate_all_by_interface):
31551         * gst/gstbin.h:
31552         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31553         (gst_element_change_state), (gst_element_dispose),
31554         (gst_element_finalize), (gst_element_set_loop_function):
31555         * gst/gstelement.h:
31556         * gst/gstiterator.c: (find_custom_fold_func):
31557         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31558         (gst_pad_collectv), (gst_pad_collect_valist),
31559         (gst_pad_template_new):
31560         * gst/gstpipeline.c: (gst_pipeline_class_init),
31561         (gst_pipeline_dispose), (gst_pipeline_set_property),
31562         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31563         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31564         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31565         * gst/gstutils.h:
31566         * gst/schedulers/entryscheduler.c:
31567         * gst/schedulers/gstbasicscheduler.c:
31568         (gst_basic_scheduler_cothreaded_chain),
31569         (gst_basic_scheduler_chain_add_element):
31570         * testsuite/bins/interface.c: (main):
31571         Added GstBin test.
31572         Added GstSystemClock test.
31573         Implemented clock distribution code in GstBin.
31574         Implemented iterate sinks method for future use.
31575         Rearranged gstelement.h
31576         Fix GstIterator comparison bug.
31577         Moved some code to GstPipeline, mostly clocking related.
31578
31579 2005-03-09  Wim Taymans  <wim@fluendo.com>
31580
31581         * configure.ac:
31582         * gst/gst_private.h:
31583         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31584         (gst_bin_remove_func), (gst_bin_remove),
31585         (gst_bin_get_by_name_recurse_up):
31586         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31587         (gst_clock_id_compare_func), (gst_clock_id_wait),
31588         (gst_clock_id_wait_async), (gst_clock_init),
31589         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31590         * gst/gstelement.h:
31591         * gst/gstinfo.c: (_gst_debug_init):
31592         * gst/gstobject.h:
31593         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31594         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31595         * gst/gstpad.h:
31596         Bump version number, we're now 0.9.0
31597         Add future debugging category.
31598         Fix NULL _unref() in _get_by_name_recurse_up
31599         Rearrange gstpad.h.
31600         Update some docs.
31601
31602 2005-03-08  Wim Taymans  <wim@fluendo.com>
31603
31604         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31605         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31606         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31607         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31608         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31609         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31610         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31611         * gst/elements/gstidentity.c: (gst_identity_class_init):
31612         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31613         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31614         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31615         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31616         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31617         (gst_tee_link):
31618         * gst/gstelement.c: (gst_element_class_init),
31619         (gst_element_base_class_init), (gst_element_init),
31620         (gst_element_get_random_pad), (gst_element_wait_state_change),
31621         (gst_element_change_state), (gst_element_dispose),
31622         (gst_element_finalize), (gst_element_set_loop_function):
31623         * gst/gstelement.h:
31624         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31625         * gst/gstthread.c: (gst_thread_class_init),
31626         (gst_thread_release_children_locks), (gst_thread_change_state):
31627         * gst/schedulers/gstbasicscheduler.c:
31628         (gst_basic_scheduler_loopfunc_wrapper),
31629         (gst_basic_scheduler_chain_wrapper),
31630         (gst_basic_scheduler_src_wrapper),
31631         (gst_basic_scheduler_remove_element):
31632         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31633         Remove threadsafe properties. Fix elements because GObject
31634         complains when installing a property before declaring a
31635         set/get_property handler.
31636         Rearrange gstelement.h file, use STATE macros for state locks.
31637         Free mutexes in the finalize method instead of dispose.
31638
31639 2005-03-08  Wim Taymans  <wim@fluendo.com>
31640
31641         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31642         * gst/gstthread.c: (gst_thread_release_children_locks):
31643         Added parentage check.
31644         Fix build og GstThread again.
31645
31646 2005-03-08  Wim Taymans  <wim@fluendo.com>
31647
31648         * docs/design/part-MT-refcounting.txt:
31649         * docs/design/part-conventions.txt:
31650         * docs/design/part-gstobject.txt:
31651         * docs/design/part-relations.txt:
31652         * docs/design/part-standards.txt:
31653         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31654         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31655         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31656         (gst_bin_iterate_all_by_interface):
31657         * gst/gstbuffer.h:
31658         * gst/gstclock.h:
31659         * gst/gstelement.c: (gst_element_class_init),
31660         (gst_element_change_state), (gst_element_set_loop_function):
31661         * gst/gstelement.h:
31662         * gst/gstiterator.c:
31663         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31664         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31665         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31666         (gst_object_set_parent), (gst_object_unparent),
31667         (gst_object_check_uniqueness):
31668         * gst/gstobject.h:
31669         Docs updates, clean up some headers.
31670
31671 2005-03-07  Wim Taymans  <wim@fluendo.com>
31672
31673         * check/.cvsignore:
31674         * check/Makefile.am:
31675         * check/gst-libs/.cvsignore:
31676         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31677         * check/gst/.cvsignore:
31678         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31679         (START_TEST), (gstbus_suite), (main):
31680         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31681         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31682         (gst_data_suite), (main):
31683         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31684         (add_fold_func), (gstiterator_suite), (main):
31685         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31686         (thread_name_object), (thread_name_object_default),
31687         (gst_object_name_compare), (gst_object_suite), (main):
31688         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31689         (gst_pad_suite), (main):
31690         * check/gstcheck.c: (gst_check_log_message_func),
31691         (gst_check_log_critical_func), (gst_check_init):
31692         * check/gstcheck.h:
31693         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31694         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31695         Added checks.
31696
31697 2005-03-07  Wim Taymans  <wim@fluendo.com>
31698
31699         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31700         (gst_list_iterator_next), (gst_list_iterator_resync),
31701         (gst_list_iterator_free), (gst_iterator_new_list),
31702         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31703         (gst_iterator_free), (gst_iterator_push), (filter_next),
31704         (filter_resync), (filter_uninit), (filter_free),
31705         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31706         (gst_iterator_foreach), (find_custom_fold_func),
31707         (gst_iterator_find_custom):
31708         * gst/gstiterator.h:
31709         Added missing files.
31710
31711 2005-03-07  Wim Taymans  <wim@fluendo.com>
31712
31713         * Makefile.am:
31714         * configure.ac:
31715         * docs/design/part-MT-refcounting.txt:
31716         * docs/design/part-conventions.txt:
31717         * docs/design/part-gstobject.txt:
31718         * docs/design/part-relations.txt:
31719         * examples/mixer/mixer.c: (main):
31720         * examples/thread/thread.c: (eos), (main):
31721         * gst/Makefile.am:
31722         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31723         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31724         (gst_spider_plug_from_srcpad):
31725         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31726         (gst_spider_identity_change_state),
31727         (gst_spider_identity_sink_loop_type_finding):
31728         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31729         * gst/elements/gstidentity.c: (gst_identity_init):
31730         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31731         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31732         * gst/elements/gsttypefindelement.c: (free_entry):
31733         * gst/gst.c:
31734         * gst/gst.h:
31735         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31736         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31737         (gst_bin_set_index), (gst_bin_set_element_sched),
31738         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31739         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31740         (gst_bin_iterate_elements), (iterate_child_recurse),
31741         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31742         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31743         (compare_interface), (gst_bin_get_by_interface),
31744         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31745         * gst/gstbin.h:
31746         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31747         (gst_buffer_default_free), (gst_buffer_default_copy),
31748         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31749         (gst_buffer_create_sub):
31750         * gst/gstbuffer.h:
31751         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31752         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31753         (gst_caps_unref), (gst_static_caps_get),
31754         (gst_caps_remove_and_get_structure), (gst_caps_append),
31755         (gst_caps_append_structure), (gst_caps_remove_structure),
31756         (gst_caps_copy_nth), (gst_caps_set_simple),
31757         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31758         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31759         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31760         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31761         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31762         (gst_caps_structure_figure_out_union),
31763         (gst_caps_switch_structures), (gst_caps_do_simplify),
31764         (gst_caps_replace), (gst_caps_from_string),
31765         (gst_caps_copy_conditional):
31766         * gst/gstcaps.h:
31767         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31768         (_gst_clock_id_free), (gst_clock_id_unref),
31769         (gst_clock_id_compare_func), (gst_clock_id_wait),
31770         (gst_clock_id_wait_async), (gst_clock_class_init),
31771         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31772         (gst_clock_get_time), (gst_clock_set_time_adjust),
31773         (gst_clock_set_property), (gst_clock_get_property):
31774         * gst/gstclock.h:
31775         * gst/gstcompat.h:
31776         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31777         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31778         * gst/gstdata.h:
31779         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31780         (gst_element_requires_clock), (gst_element_provides_clock),
31781         (gst_element_set_clock), (gst_element_clock_wait),
31782         (gst_element_wait), (gst_element_set_time_delay),
31783         (gst_element_is_indexable), (gst_element_add_pad),
31784         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31785         (pad_compare_name), (gst_element_get_static_pad),
31786         (gst_element_request_pad), (gst_element_get_request_pad),
31787         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31788         (gst_element_class_get_pad_template_list),
31789         (gst_element_class_get_pad_template), (gst_element_error_func),
31790         (gst_element_get_random_pad), (gst_element_get_event_masks),
31791         (gst_element_send_event), (gst_element_seek),
31792         (gst_element_get_query_types), (gst_element_query),
31793         (gst_element_get_formats), (gst_element_convert),
31794         (gst_element_is_locked_state), (gst_element_set_locked_state),
31795         (gst_element_sync_state_with_parent), (gst_element_change_state),
31796         (gst_element_finalize), (gst_element_yield),
31797         (gst_element_interrupt), (gst_element_set_scheduler),
31798         (gst_element_get_scheduler), (gst_element_set_loop_function):
31799         * gst/gstelement.h:
31800         * gst/gstevent.h:
31801         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31802         (gst_format_get_by_nick), (gst_format_get_details),
31803         (gst_format_iterate_definitions):
31804         * gst/gstformat.h:
31805         * gst/gstindex.c: (gst_index_gtype_resolver):
31806         * gst/gstinfo.c:
31807         * gst/gstinfo.h:
31808         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31809         (gst_mem_chunk_free):
31810         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31811         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31812         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31813         (gst_object_dispatch_properties_changed),
31814         (gst_object_set_name_default), (gst_object_set_name),
31815         (gst_object_get_name), (gst_object_set_name_prefix),
31816         (gst_object_get_name_prefix), (gst_object_set_parent),
31817         (gst_object_get_parent), (gst_object_unparent),
31818         (gst_object_check_uniqueness), (gst_object_save_thyself),
31819         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31820         (gst_object_set_property), (gst_object_get_property),
31821         (gst_object_get_path_string):
31822         * gst/gstobject.h:
31823         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31824         (gst_real_pad_init), (gst_real_pad_get_property),
31825         (gst_pad_custom_new), (gst_pad_get_direction),
31826         (gst_pad_set_active), (gst_pad_is_active),
31827         (gst_pad_set_event_function), (gst_pad_is_linked),
31828         (gst_pad_link_free), (gst_pad_link_intersect),
31829         (gst_pad_link_fixate), (gst_pad_set_caps),
31830         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31831         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31832         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31833         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31834         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31835         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31836         (gst_pad_realize), (gst_pad_get_allowed_caps),
31837         (gst_real_pad_dispose), (gst_real_pad_finalize),
31838         (gst_pad_collectv), (gst_pad_collect_valist),
31839         (gst_pad_template_dispose), (gst_pad_template_new),
31840         (gst_pad_get_internal_links):
31841         * gst/gstpad.h:
31842         * gst/gstpipeline.c: (gst_pipeline_dispose),
31843         (gst_pipeline_change_state):
31844         * gst/gstpipeline.h:
31845         * gst/gstplugin.c:
31846         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31847         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31848         * gst/gstpluginfeature.h:
31849         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31850         * gst/gstquery.c: (_gst_query_type_initialize),
31851         (gst_query_type_register), (gst_query_type_get_by_nick),
31852         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31853         * gst/gstquery.h:
31854         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31855         * gst/gstscheduler.c: (gst_scheduler_add_element),
31856         (gst_scheduler_factory_create):
31857         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31858         (gst_structure_free), (gst_structure_set_name),
31859         (gst_structure_id_set_value), (gst_structure_set_value),
31860         (gst_structure_set_valist), (gst_structure_remove_field),
31861         (gst_structure_remove_fields),
31862         (gst_structure_remove_fields_valist),
31863         (gst_structure_remove_all_fields), (gst_structure_foreach),
31864         (gst_structure_map_in_place),
31865         (gst_caps_structure_fixate_field_nearest_int),
31866         (gst_caps_structure_fixate_field_nearest_double):
31867         * gst/gststructure.h:
31868         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31869         (gst_system_clock_init), (gst_system_clock_dispose),
31870         (gst_system_clock_async_thread),
31871         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31872         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31873         * gst/gstsystemclock.h:
31874         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31875         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31876         * gst/gsttaginterface.c:
31877         * gst/gstthread.c: (gst_thread_dispose),
31878         (gst_thread_release_children_locks), (gst_thread_change_state),
31879         (gst_thread_main_loop):
31880         * gst/gsttrashstack.h:
31881         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31882         * gst/gsttypes.h:
31883         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31884         (gst_element_request_pad), (gst_element_get_pad_from_template),
31885         (gst_element_request_compatible_pad),
31886         (gst_element_get_compatible_pad_filtered),
31887         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31888         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31889         (gst_element_link_many), (gst_element_link),
31890         (gst_element_link_pads), (gst_element_unlink_pads),
31891         (gst_element_unlink_many), (gst_element_unlink),
31892         (gst_pad_can_link_filtered), (gst_pad_can_link),
31893         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31894         (gst_object_default_error), (gst_bin_add_many),
31895         (gst_bin_remove_many), (gst_element_populate_std_props),
31896         (gst_element_class_install_std_props), (gst_buffer_merge),
31897         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31898         (link_fold_func), (gst_pad_proxy_setcaps):
31899         * gst/gstutils.h:
31900         * gst/gstvalue.c: (gst_value_deserialize_string):
31901         * gst/parse/grammar.y:
31902         * gst/schedulers/gstbasicscheduler.c:
31903         (gst_basic_scheduler_cothreaded_chain),
31904         (gst_basic_scheduler_chain_recursive_add),
31905         (gst_basic_scheduler_pad_link):
31906         * gst/schedulers/gstoptimalscheduler.c:
31907         (get_group_schedule_function),
31908         (gst_opt_scheduler_state_transition),
31909         (gst_opt_scheduler_add_element), (element_get_reachables_func):
31910         * libs/gst/bytestream/bytestream.c:
31911         * libs/gst/dataprotocol/dataprotocol.c:
31912         (gst_dp_header_from_buffer):
31913         * po/nb.po:
31914         * po/ru.po:
31915         * tests/threadstate/threadstate2.c: (eos):
31916         * tools/gst-compprep.c: (main):
31917         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31918         (print_pad_info), (print_children_info):
31919         * tools/gst-launch.c: (idle_func), (main):
31920         * tools/gst-md5sum.c: (idle_func), (main):
31921         * tools/gst-xmlinspect.c: (print_element_info):
31922         First THREADED backport attempt, focusing on adding locks and
31923         making sure the API is threadsafe. Needs more work. More docs
31924         follow this week.
31925
31926 2005-02-24  Andy Wingo  <wingo@pobox.com>
31927
31928         * tests/bench-complexity.scm:
31929         * tests/complexity.gnuplot: New files, good for running complexity
31930         benchmarks.
31931
31932         * tests/Makefile.am:
31933         * tests/complexity.c: New test, sets up N elements, at each level
31934         teeing into M streams per element. Eeeenteresting.
31935
31936         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31937         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31938         running bench-mass_elements.scm.
31939
31940         * tests/bench-mass_elements.scm: New script, runs mass_elements
31941         for various numbers of identities, outputting the results to a
31942         file. Requires guile 1.6. Just for testing.
31943
31944 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
31945
31946         * gst/schedulers/fairscheduler.c:
31947           compile with debug disabled
31948
31949 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
31950
31951         * configure.ac:
31952           hunting season on 0.9 is now OPEN