gst/gstbin.c: Get the seqnum before we dispose the message.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * gst/gstbin.c: (gst_bin_handle_message_func):
4         Get the seqnum before we dispose the message.
5
6 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
7
8         * docs/design/part-TODO.txt:
9         Refer to the framestepping document.
10
11 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
12
13         * gst/gstbin.c: (bin_handle_async_start),
14         (gst_bin_handle_message_func), (gst_bin_query):
15         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
16         (gst_base_sink_event), (gst_base_sink_change_state):
17         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
18         (gst_base_src_loop), (gst_base_src_change_state):
19         Copy seqnums from events to messages so that they can all be related
20         back to eachother.
21
22 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
23
24         * tools/gst-launch.c: (event_loop):
25         Print the message seqnums.
26
27 2008-11-04  Andy Wingo  <wingo@pobox.com>
28
29         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
30
31 2008-11-04  Andy Wingo  <wingo@pobox.com>
32
33         Add sequence numbers to events and messages. See #559250.
34
35         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
36         API: New functions.
37
38         * gst/gstevent.h:
39         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
40         events with a new sequence number, and copy it when copying.
41         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
42         an event's sequence number.
43
44         * gst/gstmessage.h:
45         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
46         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
47         so with messages.
48
49         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
50
51 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
52
53         * docs/manual/advanced-position.xml:
54         * docs/manual/basics-bins.xml:
55         * docs/manual/basics-bus.xml:
56         * docs/manual/basics-pads.xml:
57         * docs/manual/intro-gstreamer.xml:
58         * docs/manual/intro-preface.xml:
59         Some Application Development Manual fixes thanks to
60         Andrew Feren. Fixes #558459.
61
62 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
63
64         * gst/gstregistrybinary.c:
65           Don't bother with the GTimer if we don't output the results.
66
67 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
68
69         Patch by: David Schleef  <ds@schleef.org>
70
71         * libs/gst/net/Makefile.am:
72         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
73
74 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
75
76         * gst/gstregistrybinary.c:
77           Oh my, studip, stupid me. Remove double stat() call.
78
79 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
80
81         * gst/gstpreset.c:
82           Use g_unlink instead of unlink.
83
84         * gst/gststructure.c:
85           Use glib type.
86
87         * gst/gstutils.c:
88           Add a FIXME:.
89
90         * gst/gsttaglist.c:
91         * gst/gsttypefind.c:
92         * gst/gstvalue.c:
93           Formatting & whitespaces.
94
95 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
96
97         * plugins/elements/gstidentity.c:
98           Doc typo. Use return value of parent_class->event.
99   
100         * plugins/elements/gsttypefindelement.c:
101           Chain up at the end for consistency.
102   
103 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
104
105         * docs/Makefile.am:
106         * docs/gst/gstreamer-docs.sgml:
107         * docs/gst/gstreamer-sections.txt:
108         * docs/gst/running.xml:
109         * docs/libs/gstreamer-libs-docs.sgml:
110           Change to xinclude based build - its faster and easier to maintain.
111
112 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
113
114         * gst/gstregistrybinary.c:
115         * gst/gstregistryxml.c:
116           Use g_unlink() as none of these are directories.
117
118 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
119
120         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
121         Some more comments.
122
123 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
124
125         * libs/gst/base/gstbasetransform.c:
126         (gst_base_transform_find_transform), (gst_base_transform_getrange):
127         If we have a fixate function, call it even if we already have fixed caps
128         because the subclass might add some caps. Makes audioconvert add a
129         default channel layout.
130
131 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
132
133         * libs/gst/base/gstbasetransform.c:
134         (gst_base_transform_prepare_output_buffer),
135         (gst_base_transform_getrange):
136         Clear the output buffer variable.
137         Cleanups to the error path in the getrange function.
138         Fixes #557649.
139
140 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
141
142         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
143         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
144         Use gst_buffer_try_new_and_alloc() and handle errors instead of
145         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
146         be allocated.
147
148 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
149
150         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
151         Set the last_stop to a more meaningful position when configuring the
152         segment. ie. the start/stop of the segment or clipped against the
153         updated segment boundaries.
154
155         * tests/check/gst/gstsegment.c: (GST_START_TEST):
156         Add some unit tests for the last_stop.
157
158 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
159
160         * libs/gst/base/gstbytereader.c:
161         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
162         copies of them.
163
164 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
165
166         * docs/gst/gstreamer-sections.txt:
167         * gst/gstutils.h:
168         API: Move float endianness conversion macros from libgstfloatcast
169         to core as it's useful in general, even in core. Fixes bug #555196.
170         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
171         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
172         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
173
174         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
175         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
176         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
177         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
178
179 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
180
181         * docs/libs/gstreamer-libs-sections.txt:
182         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
183         (gst_byte_reader_peek_data):
184         * libs/gst/base/gstbytereader.h:
185         * win32/common/libgstbase.def:
186         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
187         to get a pointer to the data at the current position and have
188         a guaranteed size.
189
190 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
191
192         * configure.ac:
193         Fix a bug in the output of the configure script summary
194         when --gst-disable-registry is supplied
195
196 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
197
198         * libs/gst/base/gstbitreader.c:
199         * libs/gst/base/gstbytereader.c:
200         Fix the names of 2 functions in the docs strings.
201
202 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
203
204         * libs/gst/base/gstbasetransform.c:
205         (gst_base_transform_prepare_output_buffer),
206         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
207         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
208         refcount problems as seen in banshee and maybe also in farsight2.
209         Remove atomic int now that we need to take the lock anyways.
210
211 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
212
213         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
214         (gst_base_sink_default_prepare_seek_segment),
215         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
216         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
217         (gst_base_sink_query):
218         Implement more seeking in pull mode.
219         Use pad convert functions to convert position to the requested format.
220         Fix position/duration reporting in pull mode.
221         Implement position and duration reporting in other formats than time.
222
223         * libs/gst/base/gstbasesink.h:
224         Add member to keep track of when the segment is playing.
225
226 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
227
228         * gst/gstpad.c: (gst_pad_configure_src):
229         When we use gst_pad_alloc_buffer() without wanting to set the caps we
230         also don't need to check if the caps are compatible because the caller
231         presumably is going to perform its own custom checks. Fixes some cases
232         where basetransform elements would error out when it was not needed.
233
234 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
235
236         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
237         Update comment.
238
239         * libs/gst/base/gstbasetransform.c:
240         (gst_base_transform_handle_buffer),
241         (gst_base_transform_reconfigure):
242         Add some debug info.
243
244         * win32/common/libgstbase.def:
245         Add new method.
246
247 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
248
249         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
250           Remove duplicated assignment and log a message in failure case.
251
252 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
253
254         Patch by: Dig Ge <dig.ge.cn at gmail com>
255
256         * tests/examples/helloworld/helloworld.c: (main):
257           Fix copy'n'paste bug in hello world example (#556900).
258
259 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
260
261         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
262         (gst_base_sink_query):
263         Query the total number of bytes when activating the pad in pull mode.
264         Implement duration query in pull mode by using the installed pad convert
265         function to convert from bytes to the requested format.
266
267 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
268
269         * docs/libs/gstreamer-libs-sections.txt:
270         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
271         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
272         (gst_base_sink_event), (gst_base_sink_perform_seek),
273         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
274         (gst_base_sink_send_event), (gst_base_sink_change_state):
275         * libs/gst/base/gstbasesink.h:
276         Add method to commit the state in subclasses.
277         Refactor the flush_start and flush_stop code because we need it for
278         flushing while seeking too.
279         Implement the beginnings of seeking in pull mode.
280         Use the segment last_stop field for the pulling offset.
281         Fix the pause method in pull mode.
282         Configure the segment to BYTES for pull mode.
283         API: GstBaseSink::gst_base_sink_do_preroll()
284
285 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
286
287         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
288         Update some docs.
289
290 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
291
292         * gst/gstquark.c: (_priv_gst_quarks_initialize):
293           Fix printf format warning.
294
295 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
296
297         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
298         Fix flow aggregation of tee. Error out immediately for all flow returns
299         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
300         and return OK if at least one pad is linked.
301
302         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
303         and otherwise returned the flow return of the last pad, which is wrong.
304         
305         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
306         (GST_START_TEST), (tee_suite):
307         Add unit tests for the flow aggregation.
308
309 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
310
311         * docs/design/part-TODO.txt:
312         Remove item from the todo list because it was fixed with the latency
313         state change rewrites.
314
315         * docs/design/part-seeking.txt:
316         * docs/design/part-segments.txt:
317         Update some docs.
318
319         * gst/gstevent.c: (gst_event_new_new_segment_full),
320         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
321         (gst_event_parse_buffer_size), (gst_event_new_qos),
322         (gst_event_parse_qos), (gst_event_new_seek),
323         (gst_event_parse_seek), (gst_event_new_latency),
324         (gst_event_parse_latency):
325         Use quarks to construct and parse events.
326
327         * gst/gstquark.c: (_priv_gst_quarks_initialize):
328         * gst/gstquark.h:
329         Add some more quarks to the table.
330         Emit a warning when the quark tables are not in sync.
331
332         * tests/check/gst/gstbus.c: (GST_START_TEST):
333         Add an assert.
334
335 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
336
337         * plugins/elements/Makefile.am:
338         * plugins/indexers/Makefile.am:
339           Don't install static libs for plugins. Fixes #550851 for core.
340
341 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
342
343         * gst/gstbus.c: (gst_bus_source_finalize),
344         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
345         (gst_bus_enable_sync_message_emission),
346         (gst_bus_disable_sync_message_emission),
347         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
348         Fix deadlock, g_source_get_id() cannot be called in finalize.
349         Keep track of the watch source by keeping a pointer to the source object
350         instead.
351         Use the bus lock to protect access to the pointer to the current
352         watch source.
353
354 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
355
356         Base on Patch by: Olivier Crete <tester at tester dot ca>
357
358         * gst/gstbus.c: (gst_bus_source_finalize),
359         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
360         Only allow one bus watch to be set at a time. This is necessary
361         because the dispatcher pops the message from the bus and the second
362         watcher will then get NULL or the next message (and the first won't
363         get this next message then, etc). If more than one "watcher" is
364         required signal watches should be used. Fixes bug #526044.
365
366 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
367
368         * tools/gst-launch.c:
369         Change the printing of the 'buffering...' output to avoid putting
370         a \r in a translateable string (flagged by the TP).
371
372 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
373
374         * gst/gstxml.c:
375         Clarify that the save_thyself() and restore_thyself() virtual
376         functions of GstObject need to be overriden, not
377         gst_object_(save|restore)_thyself() which is impossible.
378         Fixes bug #555700.
379
380 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
381
382         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
383         Revert a patch from 21 months ago that broke caps negotiation in pull
384         mode. Basically, having a buffer pass over a pad will trigger the
385         setcaps function when caps change, just like in push mode.
386
387 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
388
389         * docs/design/part-negotiation.txt:
390         Update the docs some more.
391
392         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
393         If we pull a buffer with non-trivial caps, suggest those caps with the
394         max probability.
395
396 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
397
398         * docs/design/part-TODO.txt:
399         Add another limitation of pad-blocking with segment seeks not pushing
400         EOS events.
401
402 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
403
404         * win32/common/libgstbase.def:
405         * win32/common/libgstreamer.def:
406         Add new symbols to the win32 defs files
407
408 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
409
410         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
411         (gst_bin_handle_message_func):
412         The message src can be NULL, don't try to print the object names in that
413         case.
414
415         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
416         Add some more debug info.
417
418         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
419         (GST_START_TEST):
420         Add some debug.
421         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
422         scheduling modes.
423
424 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
425
426         * docs/design/part-negotiation.txt:
427         Small doc update.
428
429         * docs/libs/gstreamer-libs-sections.txt:
430         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
431         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
432         (gst_base_sink_init), (gst_base_sink_set_blocksize),
433         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
434         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
435         (gst_base_sink_loop), (gst_base_sink_pad_activate),
436         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
437         (gst_base_sink_change_state):
438         * libs/gst/base/gstbasesink.h:
439         Add blocksize property and methods to control the amount of data
440         to pull.
441         Negotiate first before activating upstream in pull mode so that they can
442         negotiate themselves.
443         When we operate in pull mode, we only accept the caps that we
444         negotiated.
445         Make the sink go ASYNC to PAUSED, like all other sinks.
446         API: GstBaseSink::gst_base_sink_set_blocksize()
447         API: GstBaseSink::gst_base_sink_get_blocksize()
448         API: GstBaseSink::blocksize
449
450         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
451         (gst_base_src_set_live), (gst_base_src_is_live),
452         (gst_base_src_set_format), (gst_base_src_query_latency),
453         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
454         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
455         (gst_base_src_set_property), (gst_base_src_get_property):
456         * libs/gst/base/gstbasesrc.h:
457         Add typechecking in public API functions.
458         Add methods to control the blocksize in subclasses.
459         API: GstBaseSrc::gst_base_src_set_blocksize()
460         API: GstBaseSrc::gst_base_src_get_blocksize()
461
462 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
463
464         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
465         (buffer_probe), (event_probe), (GST_START_TEST):
466         We now see 3 events go through our pad, since basesink now sends
467         upstream latency events.
468
469 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
470
471         * gst/gstpipeline.c: (gst_pipeline_change_state):
472         Release the object lock before trying to flush the bus.
473
474 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
475
476         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
477         Forward LATENCY events upstreams so that elements know about the total
478         pipeline latency. Fixes #555307.
479
480 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
481
482         * plugins/elements/gstqueue.c:
483         Allow through queries when we don't know how
484         to adjust them (not TIME or BYTES), as otherwise it's
485         not possible to query the current position in order
486         to seek in other formats at all.
487
488 2008-10-08  Andy Wingo  <wingo@pobox.com>
489
490         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
491
492 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
493
494         * gst/gstghostpad.c:
495         * gst/gstghostpad.h:
496         Unbreak -good build, private is a reserved c++ keyword.
497
498 2008-10-08  Andy Wingo  <wingo@pobox.com>
499
500         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
501         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
502         removal: re-add GST_GHOST_PAD_CAST to the header.
503
504         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
505         (GstGhostPadClass): Publically expose these structures so as to
506         allow easy subclassing from C. Hide the member data behind a
507         private opaque data pointer.
508
509         * gst/gstghostpad.c: Adapt to store instance data in the type
510         instance's private data region, not in the public struct.
511
512 2008-10-08  Andy Wingo  <wingo@pobox.com>
513
514         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
515         template via g_object_get(), be sure to unref it.
516
517         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
518
519 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
520
521         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
522         If we can't get a cache file don't try to save something to it.
523         Dereferencing NULL pointers usually isn't a good idea.
524
525 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
526
527         * tests/check/Makefile.am:
528         * tests/check/gst/gstabi.c:
529         * tests/check/gst/struct_sparc.h:
530         * tests/check/libs/libsabi.c:
531         * tests/check/libs/struct_sparc.h:
532         Add Sparc ABI checks
533
534         * tests/check/gst/gstvalue.c: (GST_START_TEST):
535         Cast signed integer to unsigned to avoid a compiler warning.
536
537 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
538
539         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
540         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
541         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
542         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
543         (gst_byte_reader_peek_int24_be):
544         Use new GST_READ_UINT24_(LE|BE) macros.
545
546 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
547
548         * docs/gst/gstreamer-sections.txt:
549         * gst/gstutils.h:
550         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
551         as it's too easy to break the ISO C strict aliasing rules with simple
552         casts to the corresponding type and this would introduce hard to debug
553         bugs. Fixes bug #545714.
554
555         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
556
557 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
558
559         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
560         * gst/gstghostpad.c: (gst_ghost_pad_construct):
561           Add 'Since' bits to gtk-doc chunks for new API.
562
563 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
564
565         * docs/gst/gstreamer-sections.txt:
566         Fix documentation
567
568 2008-10-06  Andy Wingo  <wingo@pobox.com>
569
570         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
571         that will be called on the malloc_data to free it. Basically a way
572         to avoid subclassing when all you need is a different free
573         function, i.e. free() instead of g_free().
574
575         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
576         calling the free function.
577         (gst_buffer_init): Initialize the free function to g_free.
578
579 2008-10-06  Andy Wingo  <wingo@pobox.com>
580
581         * gst/gstghostpad.h:
582         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
583         finishes the initialization of ghost pad. Useful for language
584         bindings and subclassers of GstGhostPad. Fixes #539108.
585         (gst_ghost_pad_new_full): Use the new constructor.
586
587 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
588
589         Base on Patch by: Olivier Crete <tester at tester dot ca>
590
591         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
592         (gst_bin_remove_func), (update_degree),
593         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
594         Keep track of pads that are being linked/unlinked and resync the state
595         changes.
596
597         * gst/gstpad.c: (gst_pad_get_direction),
598         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
599         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
600         (gst_pad_link_prepare), (gst_pad_link),
601         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
602         (gst_pad_check_pull_range), (gst_pad_get_range),
603         (gst_pad_pull_range):
604         Some code cleanups, use macros to check pad direction.
605         Don't need to take the lock on the pad direction.
606         Post structure change when pads are linked/unlinked.
607         Change some checks into _return_if_fail().
608
609         * tests/check/gst/gstbin.c:
610         (test_link_structure_change_state_changed_sync_cb),
611         (GST_START_TEST), (gst_bin_suite):
612         Add testcase for pad link/unlinke resync during a state change.
613         Fixes #510354.
614
615 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
616
617         * docs/gst/gstreamer-sections.txt:
618         * gst/gstmessage.c: (gst_message_new_structure_change),
619         (gst_message_parse_structure_change):
620         * gst/gstmessage.h:
621         Implement STRUCTURE_CHANGED messages. These messages will be used to
622         signal the parent bin of link/unlink operations that could require a
623         resync when doing a state change. See ##510354.
624         API: gst_message_new_structure_change()
625         API: gst_message_parse_structure_change()
626
627 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
628
629         * gst/gstquark.c:
630         * gst/gstquark.h:
631         Add some more quarks for new message. See #510354.
632
633 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
634
635         * docs/libs/gstreamer-libs-docs.sgml:
636         * docs/libs/gstreamer-libs-sections.txt:
637         * libs/gst/base/Makefile.am:
638         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
639         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
640         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
641         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
642         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
643         (gst_bit_reader_skip_to_byte):
644         * libs/gst/base/gstbitreader.h:
645         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
646         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
647         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
648         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
649         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
650         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
651         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
652         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
653         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
654         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
655         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
656         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
657         * libs/gst/base/gstbytereader.h:
658         * tests/check/Makefile.am:
659         * tests/check/libs/bitreader.c: (GST_START_TEST),
660         (gst_bit_reader_suite):
661         * tests/check/libs/bytereader.c: (GST_START_TEST),
662         (gst_byte_reader_suite):
663         API: Add bit reader and byte reader classes, including documentation
664         and an extensive unit test suite. Fixes bug #553554.
665
666 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
667
668         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
669         (gst_base_sink_query):
670         Improve position reporting while flushing and other intermediate state
671         changes. Fixes #553874.
672
673 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
674
675         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
676
677         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
678         Original patch by : Simon Descaries
679         Fix small refount leak in caps compatibility check.
680         Fixes #551676.
681
682 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
683
684         * docs/pwg/advanced-request.xml:
685           Fix 0.8 api usage in example. Fixes #554561
686
687         * docs/pwg/appendix-porting.xml:
688           Change 0.9 to 0.10 here.
689
690 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
691
692         * docs/manual/basics-data.xml:
693           Change "event-event interaction" to "element-element interaction".
694           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
695           updates.
696
697 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
698
699         * configure.ac:
700         Back to development -> 0.10.21.1
701
702 === release 0.10.21 ===
703
704 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
705
706         * configure.ac:
707           releasing 0.10.21, "Take These Things From Me"
708
709 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
710
711         * configure.ac:
712         0.10.20.4 pre-release
713
714 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
715
716         * libs/gst/base/gstbasetransform.c:
717         * plugins/elements/gstcapsfilter.c:
718         * tests/check/Makefile.am:
719         * tests/check/elements/.cvsignore:
720         * tests/check/elements/capsfilter.c:
721         Fix assertion in basetransform when the subclass chooses not to
722         allocate a buffer in prepare_buffer(), and make capsfilter error out
723         cleanly if requested to apply caps that don't completely specify the
724         buffer. Fixes #551509
725
726 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
727
728         * libs/gst/base/gstbasetransform.c:
729         (gst_base_transform_prepare_output_buffer):
730         Take new caps ref because our old one might have been gone when the
731         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
732
733 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
734
735         * configure.ac:
736           Do not probe availability of check unit test library when cross
737           compiling, as test would not work anyway. Also cleanup verbose output
738           of the check test. Fixes #551952.
739
740 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
741
742         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
743
744         * gst/gstelement.c: (gst_element_sync_state_with_parent):
745         Avoid leaking the parent ref when we fail changing the state of the
746         element using gst_element_sync_state_with_parent(). Fixes #551978.
747
748 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
749
750         * docs/manual/intro-motivation.xml::
751           Remove some bits that no longer apply, update others (#551642).
752
753 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
754
755         * configure.ac:
756         0.10.20.2 pre-release
757
758         * po/LINGUAS:
759         * po/id.po:
760         * po/pt_BR.po:
761
762         New translations.
763
764 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
765
766         * win32/common/config.h.in:
767           Add GST_DATADIR, hard-code cpu to x86.
768
769         * win32/common/libgstreamer.def:
770           Spaces to tabs.
771
772 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
773
774         * gst/gsttaglist.h:
775           Fix Since: markers for new geo tags.
776
777 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
778
779         * gst/gsttaglist.h:
780           Fix actual tag name define after renaming from altitude to elevation.
781
782 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
783
784         * gst/gstpad.c: (add_unref_pad_to_list),
785         (gst_pad_get_internal_links_default):
786         Add fallback when calling the deprecated function on an element that
787         implements the new internal_link handler.
788
789 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
790
791         * docs/gst/gstreamer-sections.txt:
792         * gst/gsttaglist.c:
793         * gst/gsttaglist.h:
794           Add new tags for geo location and clarify purpose of existing location
795           tag. Fixes #481169
796
797 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
798
799         Patch by: Olivier Crete <tester at tester dot ca>
800
801         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
802         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
803         Use thread-safe internal links iterator. Fixes #549504.
804
805 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
806
807         Based on patch by: Olivier Crete <tester at tester dot ca>
808
809         * docs/gst/gstreamer-sections.txt:
810         * win32/common/libgstreamer.def:
811         * gst/gstpad.c: (gst_pad_init),
812         (gst_pad_set_iterate_internal_links_function),
813         (int_link_iter_data_free), (iterate_pad),
814         (gst_pad_iterate_internal_links_default),
815         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
816         * gst/gstpad.h:
817         Add threadsafe replacement functions for getting internal links of an
818         element. Deprecate the old internal links functions.
819         API:GstPad::gst_pad_set_iterate_internal_links_function()
820         API:GstPad::GstPadIterIntLinkFunction
821         API:GstPad::gst_pad_iterate_internal_links()
822         API:GstPad::gst_pad_iterate_internal_links_default()
823
824         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
825         (gst_proxy_pad_init):
826         Implement threadsafe internal links.
827
828         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
829         Unit test for internal links on tee. See #549504.
830
831 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
832
833         * tests/check/Makefile.am:
834         libs/transform1 test requires libs/test_transform.c
835
836 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
837
838         * gst/gstpad.c: (gst_pad_get_internal_links_default):
839         Die evil deadlock, die !
840
841 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
842
843         * gst/gstutils.c: (gst_element_get_compatible_pad):
844         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
845         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
846         Fix all leaks due to the bug in gst_pad_template_new() by which it does
847         not steal the refcount of the given caps as stated.
848
849         REVERT THIS COMMIT ONCE FIXED !
850         REVERT THIS COMMIT ONCE FIXED !
851         REVERT THIS COMMIT ONCE FIXED !
852         REVERT THIS COMMIT ONCE FIXED !
853         REVERT THIS COMMIT ONCE FIXED !
854         REVERT THIS COMMIT ONCE FIXED !
855
856 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
857
858         * gst/gstiterator.c:
859         * gst/gstiterator.h:
860         After 3 years it's about time to revise the documentation of the
861         iterator objects.
862
863 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
864
865         * gst/gstpad.c: (gst_pad_get_internal_links_default):
866         Make the internal links function less thread-unsafe and add some
867         comments, dunno why.
868
869 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
870
871         * gst/gst_private.h:
872           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
873           build with --disable-gst-debug.
874
875 2008-08-28  David Schleef  <ds@schleef.org>
876
877         * gst/gstpadtemplate.c: Revert last change, since it breaks
878           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
879           but shouldn't be enabled until we've released fixed versions
880           of -good and -ffmpeg.
881
882 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
883
884         * gst/gstobject.c:
885           Put the gst_object_get_name() back in.
886
887 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
888
889         * gst/gstpadtemplate.c:
890           The old behaviour was that gst_pad_template_new() takes ownership of
891           the caps. As we now call g_object_new() which calls g_object_set() and
892           which copies the caps, we have to unref them to not leak them. Fixes
893           make valgrid for me.
894
895 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
896
897         * gst/gsturi.c:
898           Don't segfault on input like "tel:+1-123-555-1234".
899
900 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
901
902         * gst/gstobject.c:
903           Due to popular request also include ObjectType in
904           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
905
906 2008-08-26  David Schleef  <ds@schleef.org>
907
908         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
909           src_val must be positive, because that's not a requirement.
910           This causes problems with converting negative granulepos
911           values for Dirac.
912         * gst/gstquery.c: Same, gst_query_new_convert().
913
914 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
915
916         * gst/gstclock.c: (gst_clock_add_observation):
917         Add some more debugging to the clock slaving code.
918
919         * win32/common/libgstbase.def:
920         Add new basetransform method.
921
922 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
923
924         * gst/gstbin.c: (gst_bin_element_set_state):
925         Take the (recursive) state lock between getting the locked state of an
926         element and changing the element state. This allows the application to
927         lock an element's state and then change its state without races.
928
929 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
930
931         * gst/gstbin.c: (gst_bin_element_set_state):
932         When an element is in the locked state we still want to update the
933         base_time of the element.
934
935 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
936
937         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
938         Use the result from gst_pad_set_caps() instead of assuming the element
939         always accepted the caps computed by the default negotiate function.
940
941 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
942
943         * docs/libs/gstreamer-libs-sections.txt:
944         * libs/gst/base/gstbasetransform.c:
945         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
946         (gst_base_transform_chain), (gst_base_transform_suggest),
947         (gst_base_transform_reconfigure):
948         * libs/gst/base/gstbasetransform.h:
949         Implement method for reconfiguring basetransform.
950         API: GstBaseTransform::gst_base_transform_reconfigure()
951
952 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
953
954         patch by: Murray Cumming <murrayc@murrayc.com>
955
956         * gst/gstutils.c:
957           Mention that this is just like gst_buffer_merge() but with extra
958           unreffing for C coders. Advise language bindings not to wrap it.
959           Fixes Bug #533856.
960           
961           Also fix file comment.
962
963 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
964
965         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
966
967         * plugins/elements/gstfakesink.c:
968         * plugins/elements/gstfakesrc.c:
969           Call super::event() when not handling it. Fixes #544855.
970
971 2008-08-19  Michael Smith <msmith@songbirdnest.com>
972
973         Patch by: Alessandro Decina <alessandro@nnva.org>
974         * plugins/elements/gstfilesrc.c:
975           Use 64 bit variants of stat functions on win32, to enable support
976           of large files there.
977           Fixes #547277.
978
979 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
980
981         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
982         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
983         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
984         (gst_base_sink_get_position), (gst_base_sink_change_state):
985         Improve position reporting in the flushing state.
986         Also report the position when we are not yet prerolled but we
987         have a newsegment event. Fixes #543444.
988         Improve the pull-based negotiation code.
989
990         * tests/check/elements/fakesink.c: (GST_START_TEST),
991         (fakesink_suite):
992         Add testcase for position reporting while flushing in PAUSED and
993         PLAYING.
994
995         * tests/check/generic/sinks.c: (GST_START_TEST):
996         Update unit-test, we can now query the position as soon as we receive a
997         NEWSEGMENT event.
998
999 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1000
1001         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1002
1003         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1004         When the subclass event handler releases the PREROLL_LOCK, we could be
1005         in the flushing state and we have to ignore the event. Fixes #548394.
1006
1007 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1008
1009         * tools/gst-launch.1.in:
1010           Document GST_REGISTRY_UPDATE environment variable.
1011
1012 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1013
1014         * libs/gst/base/gstbasetransform.c:
1015         (gst_base_transform_prepare_output_buffer):
1016         If the element is configured in passthrough mode but the
1017         prepare_output_buffer gave us a new output buffer, discard that buffer
1018         and reuse the input buffer.
1019
1020 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1021
1022         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1023
1024         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1025         (gst_tee_request_new_pad), (gst_tee_release_pad),
1026         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1027         * plugins/elements/gsttee.h:
1028         Protect pad_alloc with a new lock so that we can be sure that nothing is
1029         performing a pad_alloc when removing the pad. Fixes #547835.
1030
1031         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1032         (buffer_alloc_harness_teardown), (app_thread_func),
1033         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1034         Added testcase for shutdown race.
1035
1036 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1037
1038         * gst/gstpad.h:
1039         Add doc
1040
1041 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1042
1043         * libs/gst/base/gstbasetransform.c:
1044         (gst_base_transform_prepare_output_buffer),
1045         (gst_base_transform_buffer_alloc):
1046         Go over the buffer_alloc function again and make sure we always end up
1047         allocating a buffer.
1048         Add some more docs.
1049         Avoid doing pad alloc when we have a pending suggestion because we
1050         cannot yet deal with changing caps in that case. Fixes #547728
1051
1052 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1053
1054         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1055
1056         * docs/manual/advanced-clocks.xml:
1057         * docs/manual/clocks.png:
1058         * docs/manual/diagrams-clocks.svg:
1059           Add one more image showing different times together with a describing
1060           paragraph. Fixes #547729.
1061
1062 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1063
1064         * win32/common/libgstbase.def:
1065         Add new method.
1066
1067 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1068
1069         * libs/gst/base/gstbasetransform.c:
1070         (gst_base_transform_transform_caps),
1071         (gst_base_transform_prepare_output_buffer),
1072         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1073         Don't overwrite the outsize when calculating the expected size of a new
1074         buffer because we still need it in case we cannot process the new
1075         buffer.
1076         When converting the size of the new buffer to an upstream size, actually
1077         use the expected size of the buffer, not some other random value.
1078         Use an atomic int to signal that a new upstream caps suggestion is
1079         available.
1080         When we can convert the current buffer to a new format, check if the
1081         buffer size is of the expected size and allocate a new buffer of the
1082         expected size when this is not the case. Fixes #546883.
1083
1084         * tests/check/libs/transform1.c: (GST_START_TEST):
1085         remove ifdeffed code from the unit test.
1086
1087 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1088
1089         * pkgconfig/gstreamer-uninstalled.pc.in:
1090         * pkgconfig/gstreamer.pc.in:
1091           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1092           called gstcontroller-0.10.
1093
1094 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1095
1096         * gst/gstchildproxy.h:
1097         * gst/gstpreset.h:
1098           Remove double interface from doc-string.        
1099
1100 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1101
1102         * libs/gst/base/gstbasesrc.c:
1103         * libs/gst/base/gstbasetransform.c:
1104           Fix headings in docs and gtk-doc warnings.
1105
1106 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1107
1108         * gst/gstregistrybinary.c:
1109           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1110           libc.
1111           Fixes #544776.
1112
1113 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1114
1115         * libs/gst/base/gstbasetransform.c:
1116         (gst_base_transform_buffer_alloc):
1117         Fix a "may be used unitialized" warning.
1118
1119 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1120
1121         * docs/gst/gstreamer-sections.txt:
1122         * gst/gstpreset.h:
1123           Document preset-iface vmethods.
1124
1125 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1126
1127         * docs/manual/advanced-interfaces.xml:
1128           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1129           only used to discover devices.
1130
1131 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1132
1133         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1134
1135         * gst/gst.c: (init_pre):
1136         Make sure gettext returns translations in UTF-8 encoding rather
1137         than in the current locale encoding (#546822).
1138
1139 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1140
1141         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1142         Fix subset test.
1143
1144         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1145         Improve unit test subset tests and add a testcase for the subset failure
1146         cases.
1147
1148         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1149         Improve subtraction unit test.
1150
1151 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1152
1153         * plugins/elements/gsttee.c:
1154           Unlock, instead of locking again.
1155
1156 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1157
1158         * gst/gstpad.h:
1159         Clarify the docs a bit more.
1160
1161 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1162
1163         * tests/examples/metadata/read-metadata.c:
1164           Don't leak old taglist.
1165
1166 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1167
1168         Patch by: Olivier Crete <tester at tester dot ca>
1169
1170         * gst/gststructure.c:
1171         (gst_structure_fixate_field_nearest_fraction):
1172         Avoid overflows in fixation code when dealing with MAXINT values, which
1173         v4l2src seems to do.
1174         Fixes #546328.
1175
1176         * tests/check/gst/gststructure.c: (GST_START_TEST):
1177         Make a unit test to check the fix. 
1178
1179 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1180
1181         * plugins/elements/gstcapsfilter.c: (copy_func),
1182         (gst_capsfilter_set_property):
1183         Use new caps suggestion feature of basetransform to request a caps
1184         negotiation upstream.
1185
1186 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1187
1188         * docs/libs/gstreamer-libs-sections.txt:
1189         Add new function:
1190         API: GstBaseTransform::gst_base_transform_suggest()
1191
1192         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1193         (gst_base_transform_init), (gst_base_transform_transform_caps),
1194         (gst_base_transform_transform_size),
1195         (gst_base_transform_configure_caps),
1196         (gst_base_transform_can_transform),
1197         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1198         (gst_base_transform_prepare_output_buffer),
1199         (gst_base_transform_buffer_alloc),
1200         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1201         (gst_base_transform_chain), (gst_base_transform_activate),
1202         (gst_base_transform_set_passthrough),
1203         (gst_base_transform_is_passthrough),
1204         (gst_base_transform_set_in_place),
1205         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1206         (gst_base_transform_set_qos_enabled),
1207         (gst_base_transform_is_qos_enabled),
1208         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1209         (gst_base_transform_reconfigure):
1210         * libs/gst/base/gstbasetransform.h:
1211         Rewrite of basetransform to perform negotiation outside of the
1212         buffer_alloc functions.  Fixes #545853.
1213
1214         * tests/check/libs/transform1.c: (GST_START_TEST),
1215         (buffer_alloc_ct2):
1216         Update unit test.
1217
1218 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1219
1220         * tests/check/gst/gstpreset.c:
1221           Only run preset tests when $HOME is writable. Preliminary fix for
1222           #545433.
1223
1224 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1225
1226         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1227         (gst_bin_change_state_func), (bin_handle_async_done),
1228         (gst_bin_handle_message_func):
1229         Fix race for bins that simulate ASYNC state changes by inserting
1230         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1231         pending ASYNC messages even when the bin does not have ASYNC children.
1232         We note detect this behaviour because we will receive an ASYNC message
1233         that is originating from the bin itself. 
1234         Fixes races with decodebin2 state changes.
1235
1236         * tests/check/gst/gstbin.c: (GST_START_TEST):
1237         Add some more debug.
1238
1239 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1240
1241         * gst/gsttaglist.c: (_gst_tag_initialize):
1242           Fix typo.
1243
1244 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1245
1246         * gst/gsttaglist.c:
1247           Argh. actually save the text before committing. Now adds
1248           gst_tag_merge_strings_with_comma() to gst_tag_register().
1249
1250 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1251
1252         * gst/gsttaglist.c:
1253         * gst/gsttaglist.h:
1254           Do as tim pointed out and actually register the new tag. Also improve
1255           te docs and use gst_tag_merge_strings_with_comma() method to allow
1256           retriving all keywords merged in one list.
1257
1258 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1259
1260         * configure.ac:
1261         * docs/gst/gstreamer.types:
1262           Revert 'accidential' change of the configure option removal. We still
1263           need to generate the types file in configure --disable-load-save.
1264
1265 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1266
1267         * docs/gst/gstreamer-sections.txt:
1268         * gst/gsttaglist.h:
1269           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1270
1271 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1272
1273         * gst/gstpadtemplate.c:
1274           (gst_pad_template_class_init), (gst_static_pad_template_get),
1275           (gst_pad_template_new), (gst_pad_template_pad_created),
1276           (gst_pad_template_set_property), (gst_pad_template_get_property):
1277           Add "name-template", "direction", "presence" and "caps" properties,
1278           so that gst_pad_template_new() is just a thin wrapper around
1279           g_object_new(), which is better for bindings. (Fixes: #539772)
1280
1281 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1282
1283         * gst/gsturi.c:
1284           Be more liberal in what URIs we accept.
1285           Do not unescape bits of the URI for no apparent reason before passing to
1286           the element. Fixes #545352.
1287
1288 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1289
1290         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1291
1292         * gst/gst.c:
1293         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1294
1295 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1296
1297         * configure.ac:
1298         * docs/gst/gstreamer-sections.txt:
1299         * docs/gst/gstreamer.types:
1300         * docs/gst/gstreamer.types.in:
1301         * gst/Makefile.am:
1302         * gst/gst.c:
1303         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1304         * gst/gstconfig.h.in:
1305         * gst/gstelement.c: (gst_element_get_index):
1306         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1307         (gst_registry_binary_load_feature),
1308         (gst_registry_binary_read_cache):
1309         * gst/gstregistryxml.c: (load_feature),
1310         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1311         * plugins/Makefile.am:
1312         * tools/gst-indent:
1313         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1314         (print_plugin_features), (print_element_features):
1315         * tools/gst-xmlinspect.c: (print_event_masks),
1316         (print_element_info):
1317         * win32/common/gstconfig.h:
1318         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1319
1320         Disabling the indexers and URI handler code will only reduce the
1321         required amount of memory by a very small amount but on the other hand
1322         requires much more maintaince work. Apart from that many places of
1323         code are broken when disabling them.
1324
1325         Disabling the enum types doesn't reduce the required amount of memory
1326         by more than a few bytes and makes it hard to fix bugs like #539772,
1327         i.e. use the enums as GObject properties.
1328
1329 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1330
1331         * docs/design/part-TODO.txt:
1332         Add some thoughts and problems with upstream renegotiation.
1333
1334 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1335
1336         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1337         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1338         Remove silly redundant debug.
1339         Add some more debug info.
1340         Clarify the docs regarding new caps received from pad_alloc.
1341
1342 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1343
1344         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1345         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1346         Make setting the caps more threadsafe.
1347
1348 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1349
1350         * docs/design/part-element-transform.txt:
1351         Update docs.
1352
1353 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1354
1355         * plugins/elements/gstqueue.c: (gst_queue_init),
1356         (gst_queue_acceptcaps):
1357         Add and use a custom acceptcaps function instead of falling back to the
1358         potentially less optimized default implementation.
1359
1360 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1361
1362         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1363           Only sanity-check the buffer size if requested_caps == buffer_caps
1364           (ie. don't take pad caps into account, they're not relevant here)
1365
1366 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1367
1368         * plugins/elements/gsttee.c:
1369         * plugins/elements/gsttee.h:
1370           Reverting as not everything is clear yet. Needs some general design
1371           work.
1372
1373 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1374
1375         * ChangeLog:
1376           ChangeLog surgery for tee commit.
1377
1378 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1379
1380         * docs/gst/gstreamer-sections.txt:
1381           Cleanup section-file.
1382
1383 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1384
1385         * plugins/elements/gsttee.c:
1386         * plugins/elements/gsttee.h:
1387           Relay tag events in tee. Fixes parts of #474016.
1388           Downgrades 3 reoccurring debugs to log.
1389
1390 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1391
1392         * configure.ac:
1393         * libs/gst/Makefile.am:
1394           Build the net library if we have winsock2.
1395
1396 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1397
1398         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1399
1400         * docs/manual/advanced-threads.xml:
1401         * docs/manual/diagrams-pipelines.svg:
1402         * docs/manual/hello-world.png:
1403         * docs/manual/linked-elements.png:
1404         * docs/manual/mime-world.png:
1405         * docs/manual/queue.png:
1406         * docs/manual/thread-buffering.png:
1407         * docs/manual/thread-synchronizing.png:
1408           Replace one diagram with two separate ones and updates others.
1409           Fixes #542401.
1410
1411 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1412
1413         * gst/gstelement.h:
1414         Fix link in documentation.
1415
1416 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1417
1418         * gst/gstmessage.c:
1419         Fix confusing documentation.
1420
1421 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1422
1423         * libs/gst/base/gstbasesrc.h:
1424         revert the changes to the header file for the ABI.
1425
1426 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1427
1428         * libs/gst/base/gstbasesrc.c:
1429         * libs/gst/base/gstbasesrc.h:
1430         Don't cache the seekable status.
1431         Fixes bug #544174
1432
1433 2008-07-24  Rene Stadler  <mail@renestadler.de>
1434
1435         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1436         code to close the pipeline graph.  This prevents the program from
1437         printing internal data flow errors.
1438
1439 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1440
1441         * docs/manual/basics-bus.xml:
1442         Correct typo. Fixes bug #544320.
1443
1444 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1445
1446         * configure.ac:
1447           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1448           Add check (taken from -base) for winsock, adds WIN32_LIBS
1449         * gst/Makefile.am:
1450           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1451           winsock.
1452           Define GST_EXPORTS when building libgstreamer (only used on win32)
1453         * gst/gst_private.h:
1454         * gst/gstinfo.h:
1455           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1456           for symbols that we need to export in both these files.
1457         * gst/gstpoll.c:
1458           Include gst_private.h higher up to avoid some compile problems on win32.
1459
1460 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1461
1462         * gst/gstvalue.c:
1463         Fix typos.
1464
1465 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1466
1467         * gst/gstcaps.c:
1468         Previous commit was wrong NULL caps does not exist
1469         and indicate an error, so also add a FIXME to
1470         gst_caps_is_equal where NULL caps are accepted.
1471
1472 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1473
1474         * gst/gstcaps.c:
1475         Allow passing of NULL to gst_caps_union
1476
1477 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1478
1479         * gst/gstghostpad.c:
1480         Add in doc that gst_ghost_pad_set_target can accept
1481         NULL to clear target
1482
1483 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1484
1485         * gst/gstplugin.c:
1486         * gst/gstregistry.c:
1487           GstRegistryPool doesn't exist; don't refer to it in docs.
1488           Don't refer to functions that don't exist in docs, it's
1489           unhelpful.
1490
1491 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1492
1493         * gst/gst.c:
1494         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1495
1496 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1497
1498         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1499
1500         * docs/pwg/building-testapp.xml:
1501         Don't use an undeclared variable in the example program.
1502         Fixes bug #542573.
1503
1504 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1505
1506         * gst/gstdebugutils.c:
1507           Squeeze ghost-pad links and remove <> from classname labels to save
1508           more horizontal space.
1509
1510 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1511
1512         * gst/gstdebugutils.c:
1513           Give request and sometimes pads a different shpe style. Condense the
1514           graphs a little more.
1515
1516 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1517
1518         * configure.ac:
1519           Don't require flex and bison if the parser is disabled.
1520
1521 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1522
1523         * libs/gst/controller/gstinterpolationcontrolsource.c:
1524         (_list_find_sorted_custom):
1525         Don't use declarations after statements.
1526
1527 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1528
1529         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1530         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1531         of the the child-added / -removed signals as GstChildProxy
1532         only supports GstObjects.
1533
1534 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1535
1536         * gst/gstdebugutils.c:
1537         Fix memleak
1538
1539 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1540
1541         Patch by: Alessandro Decina <alessandro at nnva dot org>
1542
1543         * gst/gstpoll.c:
1544         Fix "ignored return value" compiler warning with newer glibc.
1545
1546 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1547
1548         * gst/gstchildproxy.c:
1549         Fix copy&paste error in gst_child_proxy_removed() documentation.
1550
1551 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1552
1553         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1554           Print error debug message if plugin description fields that should
1555           be set are NULL.
1556
1557         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1558           Don't crash if the string to serialise is NULL (it really should
1559           not be, but apparently this used to work with the xml registry ...).
1560
1561 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1562
1563         * tools/gst-plot-timeline.py:
1564         Fix parsing of log messages
1565
1566 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1567
1568         * win32/common/libgstbase.def::
1569           Sort alphabetically so make check-exports doesn't barf.
1570
1571 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1572
1573         * gst/gstevent.c:
1574           Use gst_format_get_name() to improve debug output.
1575
1576         * gst/gstpreset.c:
1577           Remove #ifdef'ed code. Add TODO comment.
1578
1579         * gst/gstsegment.c:
1580           Add debug output to ease spotting format != segment.format assertions.
1581
1582 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1583
1584         * tests/check/libs/gdp.c: (gst_dp_suite):
1585         Also enable the GDP unit test again on PPC now that the bug
1586         is fixed.
1587
1588 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1589
1590         * libs/gst/dataprotocol/dataprotocol.c:
1591         Don't write to the same region of memory as a uint64 and uint16
1592         as this breaks strict aliasing rules and apparantly breaks on PPC
1593         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1594
1595 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1596
1597         * libs/gst/controller/gstinterpolationcontrolsource.c:
1598           Optimize list handling. Use own find function. Exploit that fact that
1599           the list is sorted. Also pass back the node before, so that we can
1600           insert quickly. Have a fast path for append.
1601
1602 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1603
1604         * docs/design/draft-framestep.txt:
1605         * docs/design/part-negotiation.txt:
1606           Fix two typos.
1607
1608 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1609
1610         * configure.ac:
1611           Show configuration sumary after configure run. Based on patch by
1612           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1613
1614 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1615
1616         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1617
1618         * docs/manual/advanced-autoplugging.xml:
1619         * docs/manual/advanced-threads.xml:
1620         * docs/manual/basics-bins.xml:
1621         * docs/manual/basics-elements.xml:
1622         * docs/manual/basics-helloworld.xml:
1623         * docs/manual/basics-pads.xml:
1624           Add scale factor for pdf output.
1625
1626         * docs/manual/intro-basics.xml:
1627           Switched sections "pads" and "bins" and added a pipeline diagram.
1628
1629         * docs/manual/intro-gstreamer.xml:
1630           Added more info on gstreamer.
1631
1632         * docs/manual/intro-motivation.xml:
1633           Commented out the whole section "current problem", which sounds
1634           historical and somehow osolete; it could be turned in a positive
1635           way and reused to improve the design principles.
1636
1637         * docs/manual/intro-preface.xml:
1638           - Update URLs to library.gnome.org. 
1639           - Do not mention GTK+ in preliminary reading (irrelevant). 
1640           - Mention Plugin Writer's Manual and further reading only in the
1641             previous section.
1642           - Added a list of most relevant GObject/glib topics.
1643
1644         * docs/manual/Makefile.am:
1645         * docs/manual/bin-element-ghost.fig:
1646         * docs/manual/bin-element-ghost.png:
1647         * docs/manual/bin-element-noghost.fig:
1648         * docs/manual/bin-element-noghost.png:
1649         * docs/manual/bin-element.fig:
1650         * docs/manual/bin-element.png:
1651         * docs/manual/filter-element-multi.fig:
1652         * docs/manual/filter-element-multi.png:
1653         * docs/manual/filter-element.fig:
1654         * docs/manual/filter-element.png:
1655         * docs/manual/gstreamer-overview.png:
1656         * docs/manual/hello-world.fig:
1657         * docs/manual/hello-world.png:
1658         * docs/manual/linked-elements.fig:
1659         * docs/manual/linked-elements.png:
1660         * docs/manual/mime-world.fig:
1661         * docs/manual/mime-world.png:
1662         * docs/manual/queue.fig:
1663         * docs/manual/queue.png:
1664         * docs/manual/simple-player.png:
1665         * docs/manual/sink-element.fig:
1666         * docs/manual/sink-element.png:
1667         * docs/manual/src-element.fig:
1668         * docs/manual/src-element.png:
1669         * docs/manual/diagrams-general.svg:
1670         * docs/manual/diagrams-pipelines.svg:
1671           Removed .fig, added .png counterpart.
1672           
1673           Fixes: #539137
1674
1675 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1676
1677         * plugins/elements/gstmultiqueue.c:
1678         * plugins/elements/gstmultiqueue.h:
1679         revert extra-size-buffers stuff, caused some race conditions
1680         and extra-size-buffers is not used anymore. Docs needs some updates
1681
1682 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1683
1684         * win32/common/config.h:
1685         * win32/common/gstenumtypes.c:
1686         * win32/common/gstenumtypes.h:
1687         * win32/common/gstversion.h:
1688           Update win32 files.
1689
1690 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1691
1692         * gst/gstdebugutils.h: (GstDebugGraphDetails),
1693           (GST_DEBUG_BIN_TO_DOT_FILE):
1694           Add missing Since' markers to gtk-doc blurbs.
1695
1696 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
1697
1698         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1699         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1700         (set_caps_1), (set_caps_ct1), (transform_ct1),
1701         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1702         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1703         (transform_size_ct2), (buffer_alloc_ct2):
1704         Add some more tests with switching caps in buffer_alloc.
1705
1706 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1707
1708         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1709         (gst_test_trans_class_init), (result_sink_chain),
1710         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1711         (gst_test_trans_push), (gst_test_trans_pop):
1712         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1713         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1714         (set_caps_1), (set_caps_ct1), (transform_ct1),
1715         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1716         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1717         (transform_size_ct2), (buffer_alloc_ct2),
1718         (gst_basetransform_suite):
1719         More tests, prepare for tests with switching caps in buffer_alloc.
1720
1721 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1722
1723         * plugins/elements/gstmultiqueue.c:
1724         * plugins/elements/gstmultiqueue.h:
1725         Fix dead-lock in underrun_cb
1726
1727 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1728
1729         * docs/design/part-states.txt:
1730         Fix device open/close docs.
1731
1732 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1733
1734         * ChangeLog:
1735           Mention bugnumber for last commit.
1736
1737 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1738
1739         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1740
1741         * docs/manual/manual.xml:
1742         - Reorganised the previous "introduction" bundle into Foreword,
1743         Introduction, and About GStreamer. The two first are <preface>
1744         docbook elements. The later is the first part of the book.
1745         - added intro-gstreamer.xml (content partially from
1746         intro-preface.xml)
1747         - moved appendix-win32.xml into appendix-integration.xml
1748
1749         * docs/manual/intro-preface.xml: gstreamer section moved...
1750         * docs/manual/intro-gstreamer.xml: ...here. new file.
1751
1752         * docs/manual/appendix-win32.xml: removed file. Content moved...
1753         * docs/manual/appendix-integration.xml: ...here.
1754         
1755         * docs/manual/highlevel-components.xml: section about GstEditor moved...
1756         * docs/manual/appendix-checklist.xml: ...here.
1757         
1758         Fixes: 538764
1759
1760 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1761
1762         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1763
1764         * docs/manual/basics-helloworld.xml:
1765         * docs/manual/hello-world.fig:
1766           - Explicitely include glib.h.
1767           - Do not use global variables.
1768           - Use g_printerr() instead of g_print().
1769           - Minor formating/renaming to increase readibility.
1770           - Renamed new_pad() to on_pad_added()
1771           - Improved explenatory comments.
1772           - renamed ogg parser to ogg demuxer
1773           - Use "autoaudiosink" instead of "alsasink".
1774           Fixes: #538619
1775
1776 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1777
1778         * ChangeLog:
1779           Remove cvs conflict marker.
1780
1781 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1782
1783         * docs/README:
1784           Document that for plgin-docs we extraxt he short-desc from the element
1785           details.
1786
1787         * docs/design/part-states.txt:
1788           Tell that devices should be closed in PAUSED -> READY.
1789
1790         * docs/manual/README:
1791           Document how tests in the manual are handled.
1792
1793         * docs/manuals.mak:
1794           Typo in comment.
1795
1796 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1797
1798         * gst/gstbin.c: (bin_query_latency_fold):
1799         Only care about latency min and max when the sink is actually a live
1800         sink.
1801
1802 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1803
1804         * docs/design/part-block.txt:
1805         Fix typo.
1806
1807         * docs/design/part-element-transform.txt:
1808         Add notes about why transform needs to know input/output sizes.
1809         Add some issues that need to be solved.
1810         Add some more use cases.
1811
1812         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1813         (gst_test_trans_class_init), (result_sink_chain),
1814         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1815         (gst_test_trans_push), (gst_test_trans_pop):
1816         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1817         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1818         (set_caps_1), (set_caps_ct1), (transform_ct1),
1819         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1820         (gst_basetransform_suite):
1821         Add suport for different pad templates and buffer-alloc.
1822         Add more checks for caps and buffer-alloc.
1823         Add checks for proxy buffer alloc.
1824         Add unit test for copy transform.
1825
1826 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1827
1828         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1829
1830         * docs/manual/appendix-integration.xml:
1831         * docs/manual/appendix-licensing.xml:
1832         * docs/manual/basics-elements.xml:
1833         * docs/manual/basics-helloworld.xml:
1834         * docs/manual/basics-pads.xml:
1835         * docs/manual/highlevel-components.xml:
1836         * docs/manual/highlevel-xml.xml:
1837         * docs/manual/intro-basics.xml:
1838         * docs/manual/intro-preface.xml:
1839           Typo and formatting fixes (#538594).
1840
1841 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1842
1843         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1844         Fix some memory leaks and uses of object instances that we don't
1845         actually own.
1846
1847 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1848
1849         * plugins/elements/gstmultiqueue.c:
1850         Add functionality to extra-size-buffers property.
1851
1852 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1853
1854         * plugins/elements/gstmultiqueue.c:
1855         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1856         activate the pads if they are added in STATE_NULL.
1857
1858 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1859
1860         * docs/libs/gstreamer-libs-sections.txt:
1861         Add new API to doc
1862         * libs/gst/check/gstcheck.c:
1863         * libs/gst/check/gstcheck.h:
1864         API: gst_check_teardown_pad_by_name
1865
1866 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1867
1868         * libs/gst/check/gstcheck.c:
1869         * libs/gst/check/gstcheck.h:
1870         Also setup request pads and allow setup pads by name (#537812)
1871         API: gst_check_setup_src_pad_by_name
1872         API: gst_check_setup_sink_pad_by_name
1873
1874 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1875
1876         * tests/check/gst/gstbuffer.c:
1877         * tests/check/pipelines/parse-launch.c:
1878           Use HAVE_VALGRIND_H some more.
1879
1880 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1881
1882         * scripts/cvs-update.sh:
1883           Pass arguments to make.
1884           Run autoregen.sh if Makefile is not there.
1885
1886 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1887
1888         * configure.ac:
1889         * gst/gstinfo.c:
1890           Don't assume that <valgrind/valgrind.h> exists just because
1891           the binary is there.
1892
1893 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1894
1895         * tests/check/Makefile.am:
1896         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1897         (gst_test_trans_class_init), (gst_test_trans_init),
1898         (gst_test_trans_set_data), (result_sink_chain),
1899         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1900         (gst_test_trans_pop):
1901         * tests/check/libs/transform1.c: (GST_START_TEST),
1902         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1903         Add some test basetransform element and the beginnings of various
1904         unit tests for it.
1905
1906 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1907
1908         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1909         Increase code readability.
1910         Don't try to compare buffer offsets when ther are invalid.
1911
1912 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
1913
1914         * docs/design/Makefile.am:
1915           Dist some more design docs.
1916
1917         * docs/random/moving-plugins:
1918           Small addition: good plugins mustn't have functional code
1919           within assertion macros.
1920
1921 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1922
1923         * docs/design/draft-framestep.txt:
1924         Some ideas about a framestep API
1925
1926         * docs/design/part-element-transform.txt:
1927         Start design and use cases for basetransform in order to get it
1928         fixed soon.
1929
1930 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
1931
1932         * gst/gsttaglist.h:
1933           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1934           be in UTF-8 encoding.
1935
1936 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
1937
1938         * gst/gstbus.c:
1939           Make it known that gst_bus_poll() is pure evil (fixes #538810).
1940
1941 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
1942
1943         * plugins/elements/gstcapsfilter.c:
1944         * plugins/elements/gstfakesink.c:
1945         * plugins/elements/gstfakesrc.c:
1946         * plugins/elements/gstfdsink.c:
1947         * plugins/elements/gstfdsrc.c:
1948         * plugins/elements/gstfilesink.c:
1949         * plugins/elements/gstfilesrc.c:
1950         * plugins/elements/gstidentity.c:
1951         * plugins/elements/gstmultiqueue.c:
1952         * plugins/elements/gstqueue.c:
1953         * plugins/elements/gsttee.c:
1954         * plugins/elements/gsttypefindelement.c:
1955           Remove short_description. Add basic docs for gsttypefindelement.
1956           Simplify markup for fakesrc/fdsrc.
1957
1958 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1959
1960         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1961         Added Since doc.
1962
1963 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1964
1965         Patch by: Joel Larsson <tilljoel at gmail dot com>
1966
1967         * docs/plugins/gstreamer-plugins.args:
1968         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1969         (gst_fd_src_init), (gst_fd_src_update_fd),
1970         (gst_fd_src_set_property), (gst_fd_src_get_property),
1971         (gst_fd_src_create):
1972         * plugins/elements/gstfdsrc.h:
1973         Add timeout property like udpsrc. Fixes #538628.
1974         Add some more docs and example pipelines.
1975
1976 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1977
1978         * docs/libs/gstreamer-libs-sections.txt:
1979         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1980         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
1981         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
1982         (gst_base_sink_do_sync):
1983         * libs/gst/base/gstbasesink.h:
1984         * win32/common/libgstbase.def:
1985         Add method to allow sinks to specify additional delay between the sync
1986         times and the actual rendering of the data.
1987         API: gst_base_sink_set_render_delay()
1988         API: gst_base_sink_get_render_delay()
1989
1990 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
1991
1992         * configure.ac:
1993         Bump version number back to dev -> 0.10.20.1
1994
1995 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
1996
1997         * docs/gst/gstreamer-sections.txt:
1998         * gst/gsttaglist.c: (_gst_tag_initialize):
1999         * gst/gsttaglist.h:
2000         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2001         Fixes bug #538568.
2002
2003 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2004
2005         * libs/gst/controller/gstcontroller.c:
2006           Revert one change, that make ret value possible uninitialized.
2007
2008 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2009
2010         * libs/gst/controller/gstcontroller.c:
2011           Use freeze/thaw notify to sync notify emission a bit (its also more
2012           efficient). Move debug output to LOG (is called a lot in a loop).
2013           Always unset g_values if the have been initialized.
2014
2015 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2016
2017         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2018         (gst_base_sink_wait_eos), (gst_base_sink_event):
2019         If we have not seen a buffer before EOS, use the segment values to
2020         report the current position instead of invalid positions.
2021
2022 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2023
2024         * docs/plugins/tmpl/.cvsignore:
2025         * tests/check/gst/.cvsignore:
2026           Ignore more.
2027
2028 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2029
2030         * libs/gst/controller/gstinterpolation.c:
2031         * libs/gst/controller/gstinterpolationcontrolsource.c:
2032         * tests/check/libs/controller.c:
2033           Rewrite handling of default values. Fix overflow with unsigned types
2034           in linear interpolation. Remove now obsolete _first_value() function.
2035           Add more tests. Fixes #538201.
2036
2037 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2038
2039         * libs/gst/base/gstbasetransform.c:
2040         (gst_base_transform_class_init), (gst_base_transform_init),
2041         (gst_base_transform_transform_caps),
2042         (gst_base_transform_prepare_output_buffer):
2043         Add debug info.
2044         When a buffer is writable, its metadata is also writable so we don't
2045         need to subbuffer (which then makes the buffer not-writable anymore).
2046
2047 === release 0.10.20 ===
2048
2049 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2050
2051         * configure.ac:
2052           releasing 0.10.20, "You Crazy Diamond"
2053
2054 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2055
2056         * configure.ac:
2057         0.10.19.3 pre-release
2058
2059 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2060
2061         * configure.ac:
2062         * gst/gstpreset.c:
2063         Rename DATADIR to GST_DATADIR to avoid build problems
2064         on win32. Patch By: David Schleef <ds@schleef.org>
2065         Fixes: #536857
2066
2067 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2068
2069         * configure.ac:
2070         Explicitely link with -ldl if dladdr() is found there. Before it was
2071         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2072         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2073
2074 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2075
2076         * gst/gsterror.c: (_gst_stream_errors_init):
2077           Fix typo (spotted by Fabricio Godoy, #536723).
2078
2079 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2080
2081         * configure.ac:
2082         0.10.19.2 pre-release
2083
2084 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2085
2086         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2087         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2088         Add some debug.
2089         Make sure we don't generate invalid QoS messages.
2090
2091 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2092
2093         * gst/gstevent.c: (gst_event_new_qos):
2094         Add some assert and docs for invalid input to the qos function.
2095
2096 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2097
2098         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2099         (gst_base_sink_get_position):
2100         The reported position must always be smaller than the last seen
2101         timestamps (or timestamp + duration for reverse).
2102
2103 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2104
2105         Patch by: Rob Bradford <rob at robster dot org dot uk>
2106
2107         * gst/gstregistry.c: (gst_registry_scan_path_level):
2108         Don't recurse into .debug directories as some distros install
2109         the debugging symbols next to the plugins in .debug directories
2110         and dlopen() crashes on them sometimes. Fixes bug #508070.
2111
2112         Add FIXME for 0.11 to not recurse into directories at all because
2113         it's very inconsistent to the behaviour of other PATH environment
2114         variables.
2115
2116 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2117
2118         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2119         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2120         Fix position query range checks in reverse playback.
2121
2122 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2123
2124         * gst/gstelement.c:
2125         * gst/gstelement.h:
2126         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2127         clear of the reference to the resulting pad must be released later
2128         or not, resulting in possible leaks. Fixes bug #533865.
2129
2130 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2131
2132         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2133
2134         * gst/gstelementfactory.c:
2135         Small doc fix. Fixes #535285.
2136
2137 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2138
2139         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2140
2141         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2142         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2143         (gst_base_src_loop), (gst_base_src_set_flushing),
2144         (gst_base_src_change_state):
2145         Make sending an EOS event to the basesrc non-blocking even if the
2146         implementation does blocking waits in the create function. This is done
2147         by unlocking the create function when EOS is sent.
2148         Fixes #535218.
2149
2150 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2151
2152         * tools/gst-inspect.c: (print_element_properties_info):
2153         If possible print the element type of GValueArray properties.
2154
2155 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2156
2157         * gst/gstiterator.c:
2158         Remove an unused field from the private GstListIterator struct.
2159
2160 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2161
2162         * libs/gst/controller/gstcontroller.c:
2163           Add parameter guards.
2164
2165 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2166
2167         * tests/check/gst/gstpipeline.c:
2168           Revert test change and add comment why it should not work.
2169
2170 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2171
2172         * tests/check/gst/gstpipeline.c:
2173           Extending the test a little to verify that we also get the NULL state-
2174           change message.
2175
2176 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2177
2178         * gst/gstpreset.c: (gst_preset_default_get_meta),
2179           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2180           (gst_preset_load_preset), (gst_preset_save_preset),
2181           (gst_preset_rename_preset), (gst_preset_delete_preset),
2182           (gst_preset_set_meta):
2183           Add Since: markers to docs blurbs.
2184
2185         * win32/common/libgstreamer.def:
2186           Add recently-added API.
2187
2188 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2189
2190         Patch by: Stefan Kost  <ensonic@users.sf.net>
2191
2192         * configure.ac:
2193         Add DATADIR for storing presets.
2194
2195         * docs/gst/gstreamer-docs.sgml:
2196         * docs/gst/gstreamer-sections.txt:
2197         * docs/gst/gstreamer.types.in:
2198         Add GstPreset to docs.
2199
2200         * gst/Makefile.am:
2201         * gst/gst.h:
2202         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2203         (preset_open_and_parse_header), (preset_parse_version),
2204         (preset_merge), (preset_get_keyfile),
2205         (gst_preset_default_get_preset_names),
2206         (gst_preset_default_get_property_names),
2207         (gst_preset_default_load_preset),
2208         (gst_preset_default_save_presets_file),
2209         (gst_preset_default_save_preset),
2210         (gst_preset_default_rename_preset),
2211         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2212         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2213         (gst_preset_default_reset), (gst_preset_get_preset_names),
2214         (gst_preset_get_property_names), (gst_preset_load_preset),
2215         (gst_preset_save_preset), (gst_preset_rename_preset),
2216         (gst_preset_delete_preset), (gst_preset_set_meta),
2217         (gst_preset_get_meta), (gst_preset_class_init),
2218         (gst_preset_base_init), (gst_preset_get_type):
2219         * gst/gstpreset.h:
2220         Add GstPreset to core. Fixes #396779
2221
2222         * tests/check/Makefile.am:
2223         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2224         (gst_preset_test_set_property), (gst_preset_test_class_init),
2225         (gst_preset_test_base_init), (gst_preset_test_get_type),
2226         (gst_preset_test_plugin_init), (GST_START_TEST),
2227         (remove_preset_file), (test_setup), (test_teardown),
2228         (gst_preset_suite):
2229         Add GstPreset unit tests.
2230
2231 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2232
2233         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2234         The default event function on a sinkpad should return TRUE when
2235         there are no internal links but should collect the return values from
2236         the internal links otherwise.
2237
2238 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2239
2240         * plugins/elements/gsttypefindelement.c:
2241         (gst_type_find_element_src_event),
2242         (gst_type_find_element_handle_event):
2243         Use faster and safer _pad_push_event().
2244
2245 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2246
2247         * docs/gst/gstreamer-sections.txt:
2248         * gst/gstutils.c: (element_find_unlinked_pad),
2249           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2250         * gst/gstutils.h:
2251           API: add gst_bin_find_unlinked_pad()
2252           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2253
2254 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2255
2256         * gst/gstclock.c:
2257         * gst/gstclock.h:
2258         * gst/gsttask.c:
2259         * gst/gsttask.h:
2260         Fixed a bunch of typos.
2261
2262 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2263
2264         * gst/gstpad.h:
2265         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2266           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2267           (gst_parse_bin_from_description_full):
2268         * gst/gstutils.h:
2269           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2270
2271 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2272
2273         * docs/pwg/advanced-tagging.xml:
2274           Small docs update, can't be bothered to rewrite the nonsensical
2275           examples right now.
2276
2277 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2278
2279         * gst/gstevent.h:
2280           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2281
2282 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2283
2284         * gst/parse/grammar.y:
2285           Remove unneeded casts.
2286
2287 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2288
2289         * gst/parse/grammar.y:
2290         * tests/check/pipelines/parse-launch.c:
2291           Get all missing elements from a parse launch string if possible
2292           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2293
2294 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2295
2296         * tests/check/Makefile.am:
2297         * tests/check/pipelines/parse-launch.c:
2298           Add some unit tests for the new gst_parse_launch*_full() API.
2299           (Exposes a previously-existing memory leak in the error code
2300           path, so adding to VALGRIND_TO_FIX for now).
2301
2302 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2303
2304         * docs/gst/gstreamer-sections.txt:
2305         * gst/gst.c: (init_post):
2306         * gst/gst_private.h: (_GstParseContext):
2307         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2308           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2309           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2310           (gst_parse_launch_full):
2311         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2312           (GstParseFlags), (GstParseContext):
2313         * gst/gstutils.c: (gst_parse_bin_from_description),
2314           (gst_parse_bin_from_description_full):
2315         * gst/gstutils.h:
2316         * gst/parse/grammar.y:
2317         * gst/parse/types.h:
2318         * win32/common/libgstreamer.def:
2319           Add new gst_parse_*_full API (#528178):
2320           API: gst_parse_launch_full()
2321           API: gst_parse_launchv_full()
2322           API: gst_parse_bin_from_description_full()
2323           API: gst_parse_context_new()
2324           API: gst_parse_context_free()
2325           API: gst_parse_context_get_missing_elements()
2326
2327 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2328
2329         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2330
2331         * docs/faq/gst-uninstalled:
2332           Also support ffmpeg in gst-uninstalled.
2333
2334 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2335
2336         * configure.ac:
2337         After discussion on IRC use the binary registry as default
2338         but allow to disable it with --disable-binary-registry.
2339
2340         * win32/common/libgstreamer.def:
2341         Add the two new symbols for the binary registry.
2342
2343 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2344
2345         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2346         * gst/gstutils.c: (gst_parse_bin_from_description):
2347         * gst/parse/grammar.y: (graph):
2348           More guards against bad input; typo fix; some minor clean-ups.
2349
2350 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2351
2352         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2353
2354         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2355         If nothing else can be used, use the last buffer's start time as
2356         the segment's last stop. Fixes bug #534258.
2357
2358 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2359
2360         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2361           Move size sanity check to the right place: downstream may return
2362           a buffer with a smaller size if the buffer caps are different than
2363           the requested ones, as may happen when doing reverse negotiation.
2364
2365 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2366
2367         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2368         (gst_file_sink_render):
2369         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2370         (gst_file_src_start):
2371         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2372         use it yet.
2373
2374 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2375
2376         * gst/gstpad.c: (gst_pad_load_and_link):
2377         * gst/gstutils.c: (gst_element_link_pads),
2378         (gst_element_unlink_pads):
2379         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2380         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2381         (gst_check_teardown_sink_pad),
2382         (gst_check_element_push_buffer_list):
2383         * tests/check/elements/fakesink.c: (GST_START_TEST):
2384         * tests/check/elements/filesink.c:
2385         * tests/check/elements/filesrc.c: (GST_START_TEST):
2386         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2387         (mq_sinkpad_to_srcpad):
2388         * tests/check/elements/tee.c: (GST_START_TEST):
2389         * tests/check/generic/sinks.c: (GST_START_TEST):
2390         * tests/check/gst/gstbin.c: (GST_START_TEST):
2391         * tests/check/gst/gstevent.c: (GST_START_TEST):
2392         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2393         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2394         * tests/check/gst/gstquery.c: (GST_START_TEST):
2395         * tests/check/gst/gstutils.c: (GST_START_TEST):
2396         * tests/check/libs/basesrc.c: (GST_START_TEST):
2397         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2398         (gst_parse_test_element_change_state):
2399         Don't use gst_element_get_pad().
2400
2401 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2402
2403         * docs/Makefile.am:
2404         Fix installing plugin documentation when gtk-doc is disabled.
2405
2406 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2407
2408         * docs/manual/advanced-autoplugging.xml:
2409         * docs/manual/basics-helloworld.xml:
2410         * docs/manual/basics-pads.xml:
2411         * docs/manual/highlevel-components.xml:
2412         Avoid using a bad function in the example code.
2413
2414 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2415
2416         * gst/gstclock.c: (gst_clock_set_calibration):
2417         Fix debug of the new clock rate.
2418
2419 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2420
2421         * win32/common/libgstbase.def:
2422         Add gst_base_sink_wait_clock() to the exported symbols.
2423
2424 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2425
2426         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2427
2428         * libs/gst/base/gstbasetransform.c:
2429         (gst_base_transform_sink_event):
2430         Unref events that the GstBaseTransform::event vfunc didn't want to
2431         have forwarded by the base class. Closes a leak in identity.
2432         Fixes bug #446763.
2433
2434 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2435
2436         * docs/libs/gstreamer-libs-sections.txt:
2437         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2438         * libs/gst/base/gstbasesink.h:
2439         Expose a method that was previously used internally to synchronize
2440         against the clock because it can be useful for subclasses too.
2441         API: GstBaseSink::gst_base_sink_wait_clock()
2442
2443 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2444
2445         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2446           Add sanity check to make sure we don't get smaller buffers
2447           than requested (and fallback to normal buffer alloc if we do).
2448
2449 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2450
2451         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2452         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2453         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2454         Refactor adjusting the running_time with latency and offset into a
2455         separate method.
2456         When doing clipping, we still want to use the subclass get_times method,
2457         just in case the DURATION or TIMESTAMP are not set.
2458
2459 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2460
2461         * docs/gst/gstreamer-sections.txt:
2462         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2463         * gst/gsttypefind.h:
2464         * win32/common/libgstreamer.def:
2465           API: add gst_type_find_suggest_simple(), #533740.
2466
2467 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2468
2469         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2470           Use right error code when typefinding fails, so we can use
2471           the default (translated) error messages.
2472
2473 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2474
2475         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2476         (gst_base_src_start):
2477         When the subclass did not set caps on outgoing buffers, configure the
2478         caps we negotiated on the source pad.
2479         When the typefind helper does not find caps, error out properly instead
2480         of doing things with NULL caps.
2481
2482 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2483
2484         * gst/gsttypefind.h:
2485           Tabs to spaces, oh yes!
2486
2487 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2488
2489         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2490           Add David's and Benjamin's tests for array intersection to the
2491           unit test suite (#147931).
2492
2493 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2494
2495         * gst/gstevent.c:
2496           Document that gst_event_new_tag() and gst_event_new_navigation()
2497           take ownership of the taglist/structure passed to them. (#533635).
2498
2499 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2500
2501         * docs/Makefile.am:
2502         Don't descend into the plugins dir if plugin docs building
2503         is disabled.
2504
2505         * docs/README:
2506         Add a note about the new type:GTypeName syntax for the plugin
2507         documentation .types file.
2508
2509 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2510
2511         * gst/gstmessage.c: (gst_message_new_error),
2512         (gst_message_new_warning), (gst_message_new_info):
2513         * gst/gstmessage.h:
2514         Mark the debug string parameters as const. Fixes bug #533490.
2515
2516 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2517
2518         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2519         Sort buffer cache list by end offsets. This makes sure that we don't
2520         stop to search for a cached buffer that contains the requested data
2521         too early.
2522         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2523         more efficient. Fixes bug #459862.
2524
2525 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2526
2527         * gst/gstinfo.c:
2528           Explain why we copy the list.
2529
2530         * gst/gstpipeline.c:
2531           Improve docs.
2532
2533         * gst/gstutils.c:
2534           Add one debug-log statement to help tracing probelms with linking pads.
2535
2536 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2537
2538         * tests/check/gst/gstinfo.c:
2539         Add a test for removing the default log handler. Seems to fail under
2540         windows.
2541
2542 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2543
2544         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2545         Release pad lock before calling out to avoid a possible deadlock.
2546
2547 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2548
2549         * gst/parse/grammar.y:
2550         Remove unneeded value unset.
2551
2552         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2553         Add unit test for de/serialization of caps.
2554
2555 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2556
2557         * plugins/elements/gstfakesink.c:
2558         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2559         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2560         (gst_fake_src_class_init):
2561         Use custom marshalers that take GstMiniObject as first parameter.
2562         Using OBJECT as parameter while a GstMiniObject is given will lead
2563         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2564
2565 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2566
2567         * plugins/elements/gsttypefindelement.c:
2568         (gst_type_find_element_handle_event),
2569         (gst_type_find_element_send_cached_events),
2570         (gst_type_find_element_change_state):
2571         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2572         immediately.
2573
2574 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2575
2576         * plugins/elements/gsttypefindelement.c:
2577         (gst_type_find_handle_src_query), (stop_typefinding),
2578         (gst_type_find_element_handle_event),
2579         (gst_type_find_element_send_cached_events),
2580         (gst_type_find_element_change_state):
2581         Forward FLUSH_START events immediately and clean up instead of
2582         caching them.
2583
2584 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2585
2586         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2587
2588         * libs/gst/base/gstbasetransform.c:
2589         (gst_base_transform_buffer_alloc):
2590         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2591         fall back to default negotiation in the chain function if the caps
2592         are different from what was requested. Fixes bug #526768.
2593
2594 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2595
2596         * gst/gstsegment.c:
2597         * tests/check/gst/gstsegment.c:
2598           No, let's not use g_slice_{dup|copy} here, since they only exist
2599           since GLib 2.14 and we still depend only on >= 2.12. Also add
2600           unit test for gst_segment_copy().
2601
2602 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2603
2604         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2605           Try to fix 'dereferencing type-punned pointer will break strict
2606           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2607           changed the default GType typedef from gulong to gsize at some point,
2608           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2609           g_once_* functions all take a gsize * though, so work around the type
2610           mismatch for C++ by doing everything in gsize and casting to GType
2611           later.
2612
2613 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2614
2615         * plugins/elements/gstmultiqueue.c:
2616         Add documentation for the signals to push our core plugin docs
2617         coverage back up to 100%.
2618
2619 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2620
2621         * gst/gstinfo.h (GST_FUNCTION):
2622           Reverted GST_FUNCTION to the old version as we don't want the
2623           full signature in C++ code. Also added support for MSVC.
2624
2625 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2626
2627         * gst/gstutils.h:
2628         Intern the type name string, similar to what G_DEFINE_TYPE does.
2629
2630 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2631
2632         * gst/gstutils.h:
2633         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2634
2635 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2636
2637         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2638
2639         * libs/gst/base/gstbasetransform.c:
2640         (gst_base_transform_buffer_alloc):
2641         Don't passthrough buffer allocation too easily if the caps change.
2642         This breaks when working in passthrough mode and upstream changes
2643         it's caps. Fixes bug #526768.
2644
2645 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2646
2647         * gst/gstinfo.c (gst_debug_log_valist):
2648           Improved the __FILE__ part of debug output for MSVC.
2649
2650 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2651
2652         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2653           Declaration after statement fix for compilers like MSVC.
2654
2655 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2656
2657         * win32/common/config.h.in:
2658           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2659           use the real thing than having "???" unconditionally.
2660
2661 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2662
2663         * gst/gstinfo.h (GST_FUNCTION):
2664           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2665
2666 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2667
2668         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2669         Small code cleanup.
2670
2671         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2672         (gst_base_sink_set_flushing):
2673         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2674         Fix some comments.
2675
2676 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2677
2678         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2679         (gst_fake_src_init), (gst_fake_src_set_property),
2680         (gst_fake_src_get_property), (gst_fake_src_start):
2681         * plugins/elements/gstfakesrc.h:
2682         Added format property to control the format of the newsegment events.
2683         API: GstFakeSrc:format
2684
2685 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2686
2687         * win32/common/libgstreamer.def:
2688         Add gst_pad_has_name() to the exported symbols.
2689
2690 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2691
2692         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2693         * libs/gst/base/gstbasetransform.c:
2694         (gst_base_transform_prepare_output_buffer):
2695         Don't allow negative sizes when allocating new buffers.
2696         Fixes bug #461253.
2697
2698 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2699
2700         Patch by: Sjoerd Simons <sjoerd at luon net>
2701
2702         * gst/gstbus.c: (gst_bus_source_dispatch):
2703           Don't print a warning if the queue is empty when we try to pop
2704           here. That could happen if another thread or callback set the
2705           bus to flushing between the source's check/prepare and the
2706           dispatch being called (#531538).
2707
2708 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2709
2710         * plugins/elements/gstmultiqueue.c:
2711           Small docs fix.
2712         
2713 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
2714
2715         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2716         Add unit test for deserializing uint64s and check some really large
2717         numbers in the int64 test.
2718
2719 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2720
2721         * tools/gst-inspect.c: (n_print), (print_hierarchy),
2722         (print_interfaces), (print_element_properties_info),
2723         (print_signal_info):
2724         Use "%s" as format string instead of printing strings directly.
2725
2726 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2727
2728         * gst/gstclock.c: (gst_clock_set_calibration):
2729         Make some checks actually useful.
2730
2731         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2732         Remove some unused code. Unsigned integers tend to be >= 0.
2733
2734 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2735
2736         * gst/gstminiobject.c: (gst_value_get_mini_object):
2737           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2738           function was not in the unscheduled 0.10.19 release.
2739
2740 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2741
2742         * gst/gstregistry.c: (gst_registry_scan_path_level):
2743           Only print one log message per non-plugin file.
2744
2745 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2746
2747         * gst/gstinfo.c: (gst_debug_log_default):
2748           Fix alignment of debug log columns on 64-bit.
2749
2750 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2751
2752         * docs/libs/Makefile.am:
2753         * docs/libs/gstreamer-libs-sections.txt:
2754           Ignore private controller headers for docs.
2755
2756 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
2757
2758         * libs/gst/controller/gstcontrollerprivate.h:
2759         * libs/gst/controller/gsthelper.c:
2760         * libs/gst/controller/gstinterpolation.c:
2761         * libs/gst/controller/gstinterpolationcontrolsource.c:
2762         (gst_interpolation_control_source_set_interpolation_mode):
2763         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2764         * libs/gst/controller/lib.c:
2765         Move some private declarations into private headers.
2766
2767 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
2768
2769         * gst/gstdebugutils.c: (debug_dump_element_pad):
2770         Remove some code that is unused after Stefan's refactoring and uses
2771         uninitialized variables now, resulting in a compiler warning.
2772
2773 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2774
2775         * gst/gstregistry.c: (gst_registry_scan_path_level):
2776           Run g_str_has_suffix() only on the file name, not the
2777           entire file path.
2778
2779 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
2780
2781         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2782           Since we're not called only from the chain function any longer,
2783           we can't assume that there's always data in the queue, so move
2784           the is_full check to the beginning of the loop (otherwise we'd
2785           hit the assert when changing the limit properties while the
2786           queue is empty or not running yet).
2787           Also, only set a discont if items were actually removed from
2788           the queue.
2789
2790         * tests/check/elements/queue.c: (test_leaky_downstream):
2791           Test case for the above.
2792
2793 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2794
2795         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2796
2797         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2798         (gst_queue_chain), (queue_capacity_change),
2799         (gst_queue_set_property):
2800         When changing thr max capacity of a leaky queue, immediatly drop buffers
2801         instead of waiting for a push on the sinkpad. Fixes #530637.
2802
2803 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
2804
2805         * gst/gstdebugutils.c:
2806           Refactor code and fix handling of ghostpads and their proxypads.
2807
2808 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2809
2810         * docs/gst/gstreamer-sections.txt:
2811         * gst/gstevent.c: (gst_event_has_name):
2812         * gst/gstevent.h:
2813         * tests/check/gst/gstevent.c: (GST_START_TEST):
2814         Add method to conveniently check the name of a custom event with
2815         gst_event_has_name().
2816         Reformat the event docs so that related methods are put together instead
2817         of the default alphabetical sort.
2818         Update unit test with new method.
2819         API: GstEvent::gst_event_has_name()
2820
2821 2008-04-28  Michael Smith <msmith@songbirdnest.com>
2822
2823         * libs/gst/check/Makefile.am:
2824           Don't add an explicit link to libgstreamer-0.10.la; it's already
2825           included in GST_OBJ_LIBS.
2826
2827 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
2828
2829         * gst/gst.c:
2830         Register GstClock type from a type-safe context. Fixes bug #530317.
2831
2832 2008-04-25  Michael Smith <msmith@songbirdnest.com>
2833
2834         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2835         * tools/gst-run.c:
2836           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2837
2838 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2839
2840         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2841         (gst_bin_dispose):
2842         Use the GLib stuff to create a private structure.
2843         Add some locking around some dispose methods to make them a little
2844         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2845
2846 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
2847
2848         * libs/gst/base/gstbasesink.h:
2849         * libs/gst/base/gstbasesrc.h:
2850         * libs/gst/base/gstbasetransform.h:
2851         * libs/gst/base/gstcollectpads.h:
2852           Fix doc typos and unify caps a bit.
2853
2854 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
2855
2856         * tools/gst-launch.1.in:
2857           Forgot to also add the envvar docs here.
2858
2859 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
2860
2861         * gst/gst.c: (init_post), (gst_deinit):
2862         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2863           (test_concurrent_create), (gst_pipeline_suite):
2864           Ref some more classes in gst_init() to work around thread-safety
2865           issues in pre-2.16 GLibs, and add basic unit test.
2866
2867 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2868
2869         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2870         (gst_base_sink_send_event):
2871         Rearrange the latency query code. We always want to do the upstream
2872         query, even if we are not live so that the upstream elements can get the
2873         latency results too. If we fail doing the query and we are live, we
2874         return TRUE afterwards.
2875
2876 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2877
2878         patch by: Jason Zhao <e3423c@motorola.com>
2879
2880         * docs/gst/running.xml:
2881         * gst/gst.c:
2882           Enable/disable scan_and_update_registry() based on commandline switch
2883           or environment variable. Fixes #520468.
2884           
2885         * ChangeLog:
2886           Fix typo in my previous commit.
2887
2888 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2889
2890         * gst/gstregistrybinary.c:
2891           Add a warning if we hit unhandled factories when saving.
2892           More debug logging detail, but move to LOG category.
2893
2894 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2895
2896         * gst/gstregistry.c:
2897           Tell the *truth* when improving the documentation.
2898
2899 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
2900
2901         * gst/gstelementfactory.c: (gst_element_factory_make):
2902         Unref the factory after it was used the last time, not before.
2903
2904         * gst/gstindexfactory.c: (gst_index_factory_make):
2905         Improve debugging a bit and don't leak a ref to the index factory with
2906         each call.
2907
2908 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2909
2910         * gst/gstregistry.c:
2911           Improve the documentation.
2912
2913 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2914
2915         * gst/gstsegment.c:
2916           The glib macro seems to be borked. Use g_slice_copy directly and cast
2917           in the hope that this fixes the warning on 64bit.
2918
2919 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2920
2921         * gst/gstsegment.c:
2922           Document the new function. Use g_slice_dup() (no need for
2923           gst_segment_init()).    
2924
2925 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2926
2927         * docs/gst/gstreamer-sections.txt:
2928           Move GParamSepc macros to standart section.
2929   
2930         * gst/gstbin.c:
2931           Dn't document _get_type - its in private section in docs anyway and
2932           this doc-blob was incomplete.
2933
2934         * gst/gstclock.h:
2935           Fix wrong symbol names in docs.
2936
2937         * gst/gstmacros.h:
2938           Add once doc sentence.
2939
2940         * tests/check/gst/.cvsignore:
2941           Ignore more.
2942
2943 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
2944
2945         * docs/gst/Makefile.am:
2946           And remove those libs here.
2947
2948 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
2949
2950         * docs/libs/Makefile.am:
2951           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
2952
2953 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2954
2955         Patch by: Olivier Crete <tester at tester dot ca>
2956
2957         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2958         Add the min-threshold to the min latency if possible. Fixes #529148.
2959
2960 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
2961
2962         * docs/gst/gstreamer.types.in:
2963           Stupid editor, I removed that line as it should go in yet.
2964
2965 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
2966
2967         * docs/gst/gstreamer.types.in:
2968         * docs/libs/gstreamer-libs.types:
2969           Remove library types fro core docs and have them in libs docs.
2970           Reformat and cleanup. Add comment for miniobject types.
2971
2972 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
2973
2974         * gst/gsturi.c: (gst_uri_get_protocol):
2975           Fix leak: g_strdown operates on the string in place, while
2976           g_ascii_strdown() returns a newly-allocated string.
2977
2978 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
2979
2980         * tools/gst-inspect.c: (print_uri_handler_info),
2981         (print_element_info):
2982         Print the URI protocols and the URI type supported by the element.
2983
2984 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2985
2986         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
2987         Use g_value_take_string() instead of the deprecated
2988         g_value_set_string_take_ownership().
2989
2990 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2991
2992         * gst/gstregistrybinary.c: (_gst_crc32):
2993         Return the old CRC instead of 0 if we give a NULL buffer
2994         or a buffer with a length of 0.
2995
2996 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2997
2998         * gst/gsturi.c: (gst_uri_protocol_check_internal),
2999         (gst_uri_get_protocol), (gst_uri_has_protocol),
3000         (gst_uri_construct), (gst_uri_handler_set_uri):
3001         A valid URI scheme can also include '+', '-' and '.' additional
3002         to alphanumeric characters as per RFC 3986 Section 3.1.
3003
3004         Handle URI schemes case insensitive in all places and convert
3005         to lower-case when constructing an URI or setting an URI with
3006         the GstURIHandler interface. Fixes bug #528868.
3007         All elements can still assume (as before) that they will
3008         get passed URIs with a lower-case URI scheme by the GstURIHandler
3009         interface.
3010
3011 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3012
3013         * gst/gstcaps.c: (gst_static_caps_get):
3014         * gst/gstclock.c: (gst_clock_entry_new):
3015           Don't use g_atomic_set_int where it's not needed.
3016
3017 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3018
3019         * gst/gstvalue.c: (gst_value_deserialize_caps):
3020         * gst/parse/grammar.y:
3021         Fix 2 caps leaks.
3022
3023 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3024
3025         * gst/gstutils.c: (gst_atomic_int_set):
3026         Use g_atomic_int_set() here too instead of assignment +
3027         g_atomic_int_get().
3028
3029 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3030         
3031         * gst/gstutils.c:
3032         * gst/gstutils.h:
3033         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3034         now that we depend on new enough GLib.
3035
3036         * gst/gstcaps.c: (gst_static_caps_get):
3037         * gst/gstclock.c: (gst_clock_entry_new):
3038         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3039         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3040         (gst_debug_category_set_threshold):
3041         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3042         (gst_base_sink_set_qos_enabled):
3043         * libs/gst/net/gstnettimeprovider.c:
3044         (gst_net_time_provider_set_property):
3045         Use g_atomic_int_set() instead of gst_atomic_int_set().
3046
3047 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3048
3049         * gst/gstquery.c:
3050           Also use G_GINT64_CONSTANT for the queries.
3051
3052 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3053
3054         * gst/gstmessage.c:
3055           Use G_GINT64_CONSTANT in varargs function.
3056
3057 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3058
3059         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3060         Initialize the registry magic with zeroes.
3061
3062 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3063
3064         * gst/gstregistrybinary.c: (_gst_crc32),
3065         (gst_registry_binary_write),
3066         (gst_registry_binary_initialize_magic),
3067         (gst_registry_binary_write_cache),
3068         (gst_registry_binary_check_magic),
3069         (gst_registry_binary_read_cache):
3070         * gst/gstregistrybinary.h:
3071         Add crc32 checksum to the binary registry file and check this before
3072         accepting a registry file.
3073
3074         Also free the data list when writing to the registry file fails.
3075
3076 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3077
3078         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3079         (gst_registry_binary_load_feature),
3080         (gst_registry_binary_load_plugin):
3081         If an element supports the Uri interface, returns a valid pointer
3082         to the supported URI protocols but this pointer contains nothing
3083         don't try to save that as it will corrupt the registry.
3084
3085         Don't unref the plugin if we added it to the registry already but
3086         fail to load a feature as gst_registry_add_plugin() takes ownership
3087         of the plugin.
3088
3089         Improve debugging a bit.
3090
3091 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3092
3093         * gst/gsttaglist.h:
3094           Clarify some tag item docs after discussion on irc.
3095
3096 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3097
3098         * docs/gst/gstreamer-docs.sgml:
3099           Remove commented out plugins (they have their own docs). Update
3100           comments.
3101
3102 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3103
3104         * docs/gst/gstreamer-docs.sgml:
3105         * docs/gst/gstreamer-sections.txt:
3106         * gst/gstparamspecs.c:
3107         * gst/gstparamspecs.h:
3108           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3109           docs to own section.
3110
3111         * gst/gstvalue.c:
3112           This now only documents GValue.
3113           
3114         * docs/libs/gstreamer-libs-sections.txt:
3115         * libs/gst/controller/gstcontroller.h:
3116           Remove GST_PARAM_CONTROLLABLE.
3117
3118 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3119
3120         * docs/README:
3121           Correct file path. Tell about how to use -overrides.txt.
3122         * docs/design/draft-tagreading.txt:
3123           Small design update.
3124
3125 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3126
3127         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3128         (gst_registry_binary_load_plugin):
3129         Fix a typo in a debug message and revert change from yesterday as
3130         gst_registry_add_plugin() will only fail if something is really wrong
3131         already and we can't survive it anyway.
3132
3133 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3134
3135         * gst/gst.c: (init_post), (gst_deinit):
3136           Pre-register GstGError GType from a thread-safe context
3137           (fixes #527967); unref enum type classes in deinit.
3138
3139 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3140
3141         Patch by: Rene Stadler <mail at renestadler de>
3142
3143         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3144           Merging an empty list with another list in KEEP_ALL mode should
3145           yield an empty list as result and not the second list (#512578).
3146
3147         * tests/check/gst/gsttagsetter.c:
3148           Add unit test for tag merge modes and the aforementioned bug.
3149
3150 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3151
3152         Patch by: Rene Stadler <mail at renestadler de>
3153
3154         * gst/gsttaglist.h:
3155           Fix description to match the order in the table (#512577).
3156   
3157 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3158
3159         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3160
3161         * libs/gst/net/gstnettimepacket.h:
3162         * docs/libs/gstreamer-libs-sections.txt:
3163           Define socklen_t as int if it's not defined yet. Fixes compilation
3164           with MSVC6 and other versions where socklen_t is not defined in
3165           the windows headers (#518022).
3166
3167 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3168
3169         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3170         If gst_registry_add_plugin() fails our reference to the plugin is
3171         invalid so don't try to use it anymore and instead error out.
3172
3173 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3174
3175         * tools/gst-xmlinspect.c: (print_element_info), (main):
3176           De-cruft a bit. If no argument is specified, print all elements in
3177           XML syntax rather than a freestyle list of elements like gst-inspect.
3178           Also, don't print XML header chunk unless we actually have something
3179           to print (ie. don't print it before an error message); print error
3180           message to stderr not stdout. Remove support for printing plugin
3181           info (it would just output something freestyle along the lines of
3182           gst-inspect so far), which fixes #514507. Also add license header.
3183
3184 2008-04-11  Julien Moutte  <julien@fluendo.com>
3185
3186         Mac OS X love...
3187         * configure.ac: Merge platform specific defines, introduce a new
3188         define on OS X to remember that forking when updating registry is
3189         unsafe.
3190         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3191         module.
3192         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3193         is defined.
3194         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3195         condition that leads to absolutely no plugins being registered on
3196         OS X.
3197
3198 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3199
3200         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3201
3202         * gst/gstutils.c: (gst_pad_add_data_probe),
3203           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3204           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3205           (gst_pad_add_buffer_probe_full):
3206         * gst/gstutils.h:
3207         * docs/gst/gstreamer-sections.txt:
3208         * win32/common/libgstreamer.def:
3209           Add gst_pad_add_*_probe_full() functions with a notify callback that
3210           lets the caller free the data it passes to the probe functions. This
3211           is useful for bindings such as gst-python or gstreamermm (#526814).
3212           API: gst_pad_add_data_probe_full
3213           API: gst_pad_add_buffer_probe_full
3214           API: gst_pad_add_event_probe_full
3215
3216         * tests/check/gst/gstutils.c:
3217           Add minimal unit test to make sure freeing the data actually works
3218           as expected.
3219
3220         * tests/benchmarks/.cvsignore:
3221           Random cvsignore addendum.
3222
3223 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3224
3225         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3226           (GST_DEBUG_BIN_TO_DOT_FILE):
3227           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3228           to it in the docs (since these are macros the types of the arguments
3229           won't be shown in the docs otherwise).
3230
3231 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3232
3233         * gst/gstpad.c:
3234           Do not abort on out of memory for pad_alloc_buffer.
3235
3236 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3237
3238         * libs/gst/check/gstcheck.c:
3239           Remove blank line between symbol name ad parameters to fix gtkdoc
3240           warning.
3241
3242 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3243
3244         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3245
3246         * docs/gst/gstreamer-sections.txt:
3247         * gst/gstsegment.c:
3248         * gst/gstsegment.h:
3249         * win32/common/libgstreamer.def:
3250           Expose gst_segment_copy() to make things easier for the c++ bindings.
3251           Fixes #518932.
3252           API: gst_segment_copy()
3253
3254 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3255
3256         * gst/gst.c: (gst_init_get_option_group), (init_post):
3257           Fix const position; ref GType classes for enum types to work
3258           around thread-safety issues in GLib versions < 2.16.
3259
3260 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3261
3262         * docs/design/part-buffering.txt:
3263         Fix some typos and set the estimated total for push mode to -1.
3264
3265         * gst/gstquery.c: (gst_query_new_buffering):
3266         Set buffering-left to 0 as we're not buffering by default.
3267
3268         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3269         Implement BUFFERING query.
3270
3271 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3272
3273         Based on patch by: Milosz Derezynski <internalerror gmail com>
3274
3275         * gst/gsterror.c: (_gst_stream_errors_init):
3276         * gst/gsterror.h:
3277           Add two new error codes for encrypted content. Fixes #524659.
3278           API: GST_STREAM_ERROR_DECRYPT
3279           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3280
3281 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3282
3283         * gst/gstquery.h:
3284           Fix typo.
3285
3286         * win32/common/libgstreamer.def:
3287           Add new functions.
3288
3289 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3290
3291         * plugins/elements/gstidentity.c: (gst_identity_event),
3292         (gst_identity_start):
3293         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3294         event after processing some data. Fixes bug #526042.
3295
3296 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3297
3298         * docs/gst/gstreamer-sections.txt:
3299         * gst/gstquery.c: (gst_query_parse_latency),
3300         (gst_query_set_buffering_percent),
3301         (gst_query_parse_buffering_percent),
3302         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3303         * gst/gstquery.h:
3304         Rename _avail -> _range
3305         API: gst_query_set_buffering_range
3306         API: gst_query_parse_buffering_range
3307
3308 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3309
3310         * docs/design/part-buffering.txt:
3311         * gst/gstquark.c:
3312         * gst/gstquark.h:
3313         * gst/gstquery.c: (gst_query_parse_latency),
3314         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3315         (gst_query_parse_buffering_percent):
3316         * gst/gstquery.h:
3317         Add busy field and quark for the buffering query so that the app can
3318         only use the query to see if buffering is in progress.
3319
3320 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3321
3322         * docs/gst/gstreamer-sections.txt:
3323         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3324         (gst_message_parse_buffering_stats):
3325         * gst/gstmessage.h:
3326         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3327         (gst_query_parse_latency), (gst_query_new_buffering),
3328         (gst_query_set_buffering_percent),
3329         (gst_query_parse_buffering_percent),
3330         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3331         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3332         * gst/gstquery.h:
3333         Reorder the message docs and headers for clarity.
3334         Add aditional buffering stats API for messages.
3335         Add buffering query.
3336         Convert some leftover queries to use GstQuark.
3337         API: gst_message_set_buffering_stats
3338         API: gst_message_parse_buffering_stats
3339         API: GST_QUERY_BUFFERING
3340         API: GstBufferingMode
3341         API: gst_query_new_buffering
3342         API: gst_query_set_buffering_percent
3343         API: gst_query_parse_buffering_percent
3344         API: gst_query_set_buffering_stats
3345         API: gst_query_parse_buffering_stats
3346
3347 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3348
3349         * gst/gstmessage.c: (gst_message_new_error),
3350         (gst_message_new_warning), (gst_message_new_info),
3351         (gst_message_new_buffering), (gst_message_new_state_changed),
3352         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3353         (gst_message_new_new_clock), (gst_message_new_segment_start),
3354         (gst_message_new_segment_done), (gst_message_new_duration),
3355         (gst_message_new_async_start), (gst_message_parse_buffering),
3356         (gst_message_parse_state_changed),
3357         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3358         (gst_message_parse_new_clock), (gst_message_parse_error),
3359         (gst_message_parse_warning), (gst_message_parse_info),
3360         (gst_message_parse_segment_start),
3361         (gst_message_parse_segment_done), (gst_message_parse_duration),
3362         (gst_message_parse_async_start):
3363         Use GstQuark for messages.
3364
3365 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3366
3367         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3368         * gst/gstquark.h:
3369         Add some more quarks needed for messages and queries.
3370
3371 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3372
3373         * docs/design/part-buffering.txt:
3374         Remove the "none" buffering mode, STREAM is a good default.
3375         Move estimated-time to the avail query, that's when it will be needed.
3376         Other small typo fixes and updates.
3377
3378 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3379
3380         * gst/gstindex.c: (gst_index_resolver_get_type):
3381           Don't put descriptions into the nick field of a GEnumValue: it's not
3382           meant for that and some language bindings rely on the nick field to
3383           construct constants and the like. Fixes #526705.
3384
3385 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3386
3387         * NEWS:
3388         * RELEASE:
3389         * gstreamer.doap:
3390           Merge other changes from 0.10.19 release branch.
3391
3392 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3393
3394         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3395
3396         * configure.ac:
3397         Actually build dlls when cross-compiling with mingw32.
3398         Fixes bug #526247.
3399
3400 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3401
3402         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3403
3404         * gst/gstpoll.c:
3405         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3406
3407 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3408
3409         * docs/design/draft-latency.txt:
3410         Fix typo.
3411
3412         * docs/design/part-buffering.txt:
3413         Update design docs with more buffering ideas.
3414
3415 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3416
3417         * configure.ac:
3418           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3419
3420 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3421
3422         * configure.ac:
3423           Revert part that belongs to the preset patch.
3424
3425 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3426
3427         * configure.ac:
3428           Add qoutes to the define. Fixes # 525961.
3429
3430 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3431
3432         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3433         (gst_file_index_load), (gst_file_index_add_id),
3434         (gst_file_index_get_assoc_entry):
3435         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3436         (gst_mem_index_free_id), (gst_mem_index_add_id),
3437         (gst_mem_index_index_format):
3438         Use GSlice when possible.
3439
3440 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3441
3442         * libs/gst/controller/gstinterpolationcontrolsource.c:
3443         (gst_control_point_free),
3444         (gst_interpolation_control_source_set_internal):
3445         Use GSlice for allocating the control points.
3446
3447 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3448
3449         * plugins/elements/gsttypefindelement.c:
3450         (gst_type_find_element_class_init),
3451         (gst_type_find_element_set_property),
3452         (gst_type_find_element_get_property),
3453         (gst_type_find_element_activate):
3454         * plugins/elements/gsttypefindelement.h:
3455         Cleanup properties.
3456         Fix pad leak when peer query fails.
3457         We can still typefind when the peer returns -1.
3458         Add property to force caps and bypass typefinding. This will be used in
3459         uridecodebin.
3460         API::force-caps
3461
3462 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3463
3464         * configure.ac:
3465         Require GLib 2.12.
3466
3467         * gst/glib-compat-private.h:
3468         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3469         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3470         Unconditionally use GSlice for allocation.
3471
3472         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3473         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3474         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3475         (gst_structure_free):
3476         Use GSlice for allocation.
3477
3478 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3479
3480         * gst/parse/Makefile.am:
3481         * gst/parse/grammar.tab.pre.c:
3482         * gst/parse/grammar.tab.pre.h:
3483         * gst/parse/lex._gst_parse_yy.pre.c:
3484         Require a new enough flex and bison and remove the parser hacks to use
3485         a pre-regenerated version.
3486
3487 2008-04-01  Julien Moutte  <julien@fluendo.com>
3488
3489         patch by: Jason Zhao <E3423C@motorola.com>
3490
3491         * configure.ac: Add a configure switch to disable option parsing
3492         in gst_init.
3493         Fixes #522882.
3494
3495 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3496
3497         * configure.ac:
3498         * gst/gstregistry.c:
3499           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3500           and handle this case.
3501
3502         * gst/gst.c:
3503           Add a comment here describing, why we stat each plugin and not try to
3504           be smart.
3505
3506 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3507
3508         * libs/gst/base/gstbasetransform.c:
3509         (gst_base_transform_prepare_output_buffer):
3510         Also unset the GAP flag on buffers if we're working inplace but
3511         the element is not GAP-aware.
3512
3513         Mark a comment as FIXME 0.11.
3514
3515 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3516
3517         * gst/gst.c:
3518           Fix type in log message and add one to ease seeing how long registry
3519           cache verification takes.
3520
3521         * gst/gstregistry.c:
3522           Only test plugin filenames against G_MODULE_SUFFIX.
3523
3524 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3525
3526         * gst/gstdebugutils.c:
3527           Improve handling ghost/proxy pads.
3528
3529 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3530
3531         * docs/gst/gstreamer-sections.txt:
3532         * gst/gstpad.c:
3533         * gst/gstpad.h:
3534           Expose macro to docs and fix link to it.
3535
3536 2008-03-27  Michael Smith <msmith@fluendo.com>
3537
3538         * libs/gst/dataprotocol/dataprotocol.c:
3539         (gst_dp_packet_from_event_1_0):
3540           When calculating GDP body CRC, use the correct pointer. 
3541           Fixes part of #522401.
3542
3543 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3544
3545         Patch by: Mark Nauwelaerts <manauw at skynet be>
3546
3547         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3548         (gst_identity_init), (gst_identity_prepare_output_buffer):
3549         Identity is not always a passthrough element, it can modify the buffer
3550         timestamps when it has a datarate and operates in single-segment mode.
3551         We therefore make it an in_place filter with a custom buffer prepare
3552         function that conditionally makes the input buffer metadata writable
3553         when needed.  Fixes #523985.
3554
3555 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3556
3557         Patch by: Mark Nauwelaerts <manauw at skynet be>
3558
3559         * gst/gstclock.h:
3560         * libs/gst/base/gstbasesrc.h:
3561         * libs/gst/base/gstbasetransform.c:
3562         * libs/gst/check/gstcheck.c:
3563         Small documentation fixes. Fixes #523978.
3564
3565 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3566
3567         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3568         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3569         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3570
3571 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3572
3573         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3574         (single_queue_underrun_cb):
3575         When trying to make room in the queue, bump the max allowed buffers
3576         bigger than the current amount of buffers in the queue. this fixes some
3577         nasty deadlocks in multiqueue when dynamically changing the limits of
3578         the queue.
3579
3580 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3581
3582         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3583
3584         * gst/gstcaps.c: (gst_caps_set_simple),
3585         (gst_caps_set_simple_valist), (gst_caps_intersect):
3586         * gst/gstcaps.h:
3587         Constify the field gchar * params in set_simple and friends.
3588         Fixes #522326.
3589
3590 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3591
3592         * gst/gstvalue.c: (gst_value_transform_object_string):
3593         Transform a GstObject to a more meaningfull string that includes the
3594         object type in addition to its name.
3595
3596 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3597
3598         * ChangeLog:
3599           ChangeLog surgery to add bugnumber to commit.
3600
3601 2008-03-23  Rene Stadler  <mail@renestadler.de>
3602
3603         * libs/gst/base/gstbasetransform.c:
3604         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3605
3606 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3607
3608         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3609         Rename constant everywhere and don't forget one occurence.
3610
3611 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3612
3613         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3614         Align memory to the pointer size even if the architecture allows
3615         unaligned memory access. Unaligned memory access usually comes with
3616         performance penality.
3617
3618 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3619
3620         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3621         (gst_registry_binary_check_magic),
3622         (gst_registry_binary_load_pad_template),
3623         (gst_registry_binary_load_feature),
3624         (gst_registry_binary_load_plugin):
3625         Align memory to the pointer size instead of always 32 bit. Fixes
3626         unaligned memory accesses on ia64 and friends.
3627
3628         * gst/gstregistrybinary.h:
3629         Bump binary registry format version for this as it changes the
3630         format on those architectures that don't have unaligned access
3631         and 64 bit pointers.
3632
3633 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3634
3635         * docs/pwg/advanced-dparams.xml:
3636         * docs/pwg/building-props.xml:
3637         * docs/pwg/other-source.xml:
3638         * gst/glib-compat.h:
3639         * gst/gstbin.c: (gst_bin_class_init):
3640         * gst/gstclock.c: (gst_clock_class_init):
3641         * gst/gstindex.c: (gst_index_class_init):
3642         * gst/gstobject.c: (gst_object_class_init):
3643         * gst/gstpad.c: (gst_pad_class_init):
3644         * gst/gstpipeline.c: (gst_pipeline_class_init):
3645         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3646         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3647         * libs/gst/base/gstbasetransform.c:
3648         (gst_base_transform_class_init):
3649         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3650         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3651         (_gst_check_fault_handler_sighandler),
3652         (_gst_check_fault_handler_setup), (gst_check_init):
3653         * libs/gst/controller/gstcontroller.c:
3654         (_gst_controller_class_init):
3655         * libs/gst/controller/gstlfocontrolsource.c:
3656         (gst_lfo_control_source_class_init):
3657         * libs/gst/net/gstnetclientclock.c:
3658         (gst_net_client_clock_class_init):
3659         * libs/gst/net/gstnettimeprovider.c:
3660         (gst_net_time_provider_class_init):
3661         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3662         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3663         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3664         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3665         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3666         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3667         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3668         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3669         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3670         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3671         * plugins/elements/gsttee.c: (gst_tee_class_init):
3672         * plugins/elements/gsttypefindelement.c:
3673         (gst_type_find_element_class_init):
3674         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3675         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3676         use it everywhere for GParamSpecs that use static strings (i.e. all).
3677         This gives us less memory usage, fewer allocations and thus less
3678         memory defragmentation. Fixes bug #523806.
3679
3680 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3681
3682         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3683         (gst_param_spec_mini_object):
3684         * gst/gstminiobject.h:
3685         * win32/common/libgstreamer.def:
3686         * docs/gst/gstreamer-sections.txt:
3687         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3688         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3689         GstParamSpecMiniObject into a public header for this.
3690
3691         This make GstMiniObject a bit more consistent with GObject and makes
3692         it possible to extend the param specs.
3693
3694         gst_value_dup_mini_object is mainly useful for set_property methods.
3695
3696         Fixes bug #523798.
3697
3698         * tools/gst-inspect.c: (print_element_properties_info):
3699         Print something useful for GstMiniObject properties and not just
3700         "unknown type".
3701
3702 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3703
3704         * docs/gst/gstreamer-sections.txt:
3705         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3706         (gst_registry_binary_check_magic):
3707         * gst/gstregistrybinary.h:
3708         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3709         and add it to the (private part) of the docs to fix the build.
3710
3711 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3712
3713         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3714         (gst_registry_binary_check_magic),
3715         (gst_registry_binary_read_cache):
3716         * gst/gstregistrybinary.h:
3717         Don't use GST_MAJORMINOR for the binary registry version. Instead
3718         hardcode a value that must be changed whenever the format changes
3719         in an incompatible way.
3720         Also don't GST_ERROR when there is a version mismatch, just
3721         regenerate the registry silently.
3722
3723 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
3724
3725         * configure.ac:
3726         Back to development - 0.10.18.1
3727
3728 === release 0.10.18 ===
3729
3730 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
3731
3732         * configure.ac:
3733           releasing 0.10.18, "So far away"
3734
3735 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
3736
3737         * configure.ac:
3738         * win32/common/config.h:
3739         0.10.17.4 pre-release
3740
3741 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
3742
3743         Patch by: Ole André Vadla Ravnås
3744             <ole dot andre dot ravnas at tandberg dot com>
3745
3746         * docs/gst/gstreamer-sections.txt:
3747         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3748         (gst_poll_update_winsock_event_mask),
3749         (gst_poll_prepare_winsock_active_sets),
3750         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3751         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3752         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3753         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3754         (gst_poll_check_ctrl_commands), (gst_poll_wait):
3755         * gst/gstpoll.h:
3756         * win32/common/libgstreamer.def:
3757         Add new function gst_poll_fd_ignored() for improved Windows
3758         compatibility.
3759         Various minor fixes and cleanups. See #520808.
3760
3761 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
3762
3763         * gst/gstindex.c: (gst_index_entry_free):
3764         * gst/gstindex.h:
3765           Don't free key strings which we don't own. Fixes crash in
3766           gst_index_entry_free() (#522741).
3767
3768         * tests/check/Makefile.am:
3769         * tests/check/gst/.cvsignore:
3770         * tests/check/gst/gstindex.c: (test_index_entries),
3771           (gst_index_suite), (gst_index):
3772           Add unit test for the above.
3773
3774 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
3775
3776         * win32/common/libgstreamer.def:
3777         Remove symbols that were removed recently. Fixes bug #521740.
3778
3779 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
3780
3781         * configure.ac:
3782         * win32/common/config.h:
3783         0.10.17.3 pre-release
3784
3785 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3786
3787         Patch by: Ole André Vadla Ravnås
3788             <ole dot andre dot ravnas at tandberg dot com>
3789
3790         * docs/gst/gstreamer-sections.txt:
3791         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3792         (gst_poll_update_winsock_event_mask), (gst_poll_new),
3793         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3794         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3795         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3796         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3797         (gst_poll_fd_can_write), (gst_poll_wait),
3798         (gst_poll_set_controllable), (gst_poll_restart),
3799         (gst_poll_set_flushing):
3800         * gst/gstpoll.h:
3801         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3802         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3803         (gst_net_time_provider_new):
3804         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3805         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3806         * tests/benchmarks/gstpollstress.c: (main):
3807         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3808         Remove GstPollMode from the API, it does not make sense to let the
3809         application control this.
3810         Add support for Win32.
3811         Fix the testsuite. Fixes #520671.
3812
3813 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
3814
3815         Patch by: Ole André Vadla Ravnås
3816             <ole dot andre dot ravnas at tandberg dot com>
3817
3818         * gst/gstregistrybinary.c:
3819         Include io.h for write() and close() when building with MSVC. Fixes
3820         bug #520877.
3821
3822 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
3823
3824         * configure.ac:
3825         * gst/gst_private.h:
3826         * gst/gstconfig.h.in:
3827         * gst/gstregistry.h:
3828         * gst/gstregistrybinary.c:
3829         * win32/common/gstconfig.h:
3830           Move registry backend API to private headers where we can. Add
3831           fixme-0.11 comments for the others. Add stubs for the xml backend when
3832           using the binary to ensure they functions exists (they should not be
3833           used though). Fixes #520756.
3834
3835 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
3836
3837         * configure.ac:
3838         * win32/common/config.h:
3839         0.10.17.2 prelease
3840
3841 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
3842
3843         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3844         (gst_registry_binary_read_cache):
3845         * gst/gstregistryxml.c: (gst_registry_save):
3846         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3847         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3848         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3849         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3850         Switch to using portabl gsize/gssize instead of size_t/ssize_t
3851         Fixes #520152
3852
3853 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
3854
3855         * gst/gstminiobject.c:
3856         Import gst_private.h before any other header that might include other
3857         glib headers. This fixes the build on windows using native compilers.
3858
3859 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3860
3861         * win32/common/gstconfig.h:
3862           Add here too, just for completeness.
3863
3864 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3865
3866         * configure.ac:
3867         * gst/gstconfig.h.in:
3868         * gst/gstregistry.h:
3869           Fix broken use of config.h-defined preprocessor directive in a public
3870           header file. Add a corresponding define to gstconfig.h, since we can't
3871           really remove those function declarations from the header file now
3872           (or can we? and why are they there in the first place?).
3873
3874 2008-03-03  Andy Wingo  <wingo@pobox.com>
3875
3876         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3877         the new warning.
3878
3879         * gst/gststructure.c (gst_structure_from_string): Warn if
3880         structure_from_string didn't consume the whole string, but the
3881         caller did not provide an end pointer.
3882
3883 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
3884
3885         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3886
3887         * gst/gstregistryxml.c: (read_string), (load_feature):
3888           Strings allocated by libxml2 should be freed with xmlFree(), not
3889           with g_free(). Fixes issues on windows in certain contexts (#519698).
3890
3891 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
3892
3893         * gst/gstinterface.c: (gst_element_implements_interface):
3894           Don't crash if the element supports the interface queried, but does
3895           not implement GstImplementsInterface. Fixes #519584.
3896
3897         * tests/check/Makefile.am:
3898         * tests/check/gst/.cvsignore:
3899         * tests/check/gst/gstinterface.c:
3900           Add unit test for the above.
3901
3902 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3903
3904         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3905         Small doc update.
3906
3907 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3908
3909         * gst/gstsegment.c: (gst_segment_set_seek),
3910         (gst_segment_to_stream_time):
3911         Improve some comment.
3912         Update variables where it makes more sense.
3913
3914 2008-02-29  Rene Stadler  <mail@renestadler.de>
3915
3916         * gst/gsturi.c: (gst_uri_handler_get_protocols):
3917         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
3918         URIHandlers implemented using language bindings.
3919
3920 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
3921
3922         * gst/gstelementfactory.h:
3923         * tests/check/elements/fakesink.c:
3924         * tests/check/elements/fakesrc.c: (setup_fakesrc):
3925         * tests/check/elements/fdsrc.c: (setup_fdsrc):
3926         * tests/check/elements/filesink.c: (setup_filesink):
3927         * tests/check/elements/filesrc.c: (setup_filesrc):
3928         * tests/check/elements/identity.c: (setup_identity):
3929         * tests/check/elements/tee.c:
3930         * tests/check/generic/sinks.c:
3931         * tests/check/generic/states.c: (setup), (teardown):
3932         * tests/check/gst/gst.c:
3933         * tests/check/gst/gstabi.c:
3934         * tests/check/gst/gstbin.c:
3935         * tests/check/gst/gstbus.c: (pull_messages):
3936         * tests/check/gst/gstcaps.c:
3937         * tests/check/gst/gstelement.c:
3938         * tests/check/gst/gstevent.c:
3939         * tests/check/gst/gstghostpad.c:
3940         * tests/check/gst/gstiterator.c:
3941         * tests/check/gst/gstmessage.c:
3942         * tests/check/gst/gstminiobject.c: (my_foo_init):
3943         * tests/check/gst/gstobject.c: (thread_name_object),
3944         (gst_object_suite):
3945         * tests/check/gst/gstpad.c:
3946         * tests/check/gst/gstplugin.c:
3947         * tests/check/gst/gstpoll.c:
3948         * tests/check/gst/gstquery.c:
3949         * tests/check/gst/gstsegment.c:
3950         * tests/check/gst/gststructure.c:
3951         * tests/check/gst/gstsystemclock.c:
3952         * tests/check/gst/gsttask.c:
3953         * tests/check/gst/gstutils.c:
3954         * tests/check/gst/gstvalue.c:
3955         * tests/check/gst/struct_hppa.h:
3956         * tests/check/gst/struct_i386.h:
3957         * tests/check/gst/struct_ppc32.h:
3958         * tests/check/gst/struct_ppc64.h:
3959         * tests/check/gst/struct_x86_64.h:
3960         * tests/check/libs/adapter.c: (create_and_fill_adapter):
3961         * tests/check/libs/basesrc.c:
3962         * tests/check/libs/controller.c: (GST_START_TEST):
3963         * tests/check/libs/gdp.c:
3964         * tests/check/libs/gstnetclientclock.c:
3965         * tests/check/libs/gstnettimeprovider.c:
3966         * tests/check/libs/libsabi.c:
3967         * tests/check/libs/struct_hppa.h:
3968         * tests/check/libs/struct_i386.h:
3969         * tests/check/libs/struct_ppc32.h:
3970         * tests/check/libs/struct_ppc64.h:
3971         * tests/check/libs/struct_x86_64.h:
3972         * tests/check/pipelines/cleanup.c:
3973         * tests/check/pipelines/simple-launch-lines.c:
3974         * tests/check/pipelines/stress.c:
3975         And correct even more valid sparse warnings.
3976
3977         * win32/common/libgstreamer.def:
3978         Add gst_poll_fd_init to the list of symbols.
3979
3980 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
3981
3982         * gst/gstconfig.h.in:
3983         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
3984         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
3985         (gst_check_log_critical_func), (gst_check_drop_buffers),
3986         (gst_check_element_push_buffer_list):
3987         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
3988         (gst_controller_get_type):
3989         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
3990         (gst_object_get_controller), (gst_object_get_control_source):
3991         * libs/gst/controller/gstinterpolationcontrolsource.c:
3992         (gst_interpolation_control_source_new):
3993         * libs/gst/controller/gstlfocontrolsource.c:
3994         (gst_lfo_control_source_new):
3995         * libs/gst/dataprotocol/dataprotocol.c:
3996         (gst_dp_event_from_packet_0_2):
3997         * plugins/elements/gstfdsrc.c:
3998         * plugins/elements/gstmultiqueue.c:
3999         * plugins/elements/gsttee.c:
4000         * plugins/elements/gsttypefindelement.c:
4001         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4002         (gst_file_index_add_association):
4003         * plugins/indexers/gstmemindex.c:
4004         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4005         * tests/check/elements/queue.c: (setup_queue):
4006         * tests/check/gst/gstpipeline.c:
4007         * tests/check/libs/collectpads.c: (setup), (teardown),
4008         (gst_collect_pads_suite):
4009         * tests/examples/adapter/adapter_test.c:
4010         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4011         * tests/examples/xml/createxml.c:
4012         * tests/examples/xml/runxml.c:
4013         * tools/gst-inspect.c:
4014         * tools/gst-run.c:
4015         Correct all relevant warnings found by the sparse semantic code
4016         analyzer. This include marking several symbols static, using
4017         NULL instead of 0 for pointers, not using variable sized arrays
4018         on the stack, moving variable declarations to the beginning of
4019         a block and using "foo (void)" instead of "foo ()" for declarations.
4020
4021 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4022
4023         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4024         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4025         Don't reset GstPollFDs, this is not necessary at all.
4026
4027         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4028         (delayed_restart), (delayed_control):
4029         Use GST_POLL_FD_INIT.
4030
4031 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4032
4033         * gst/gstpoll.c: (gst_poll_fd_init):
4034         * gst/gstpoll.h:
4035         Added Since tags.
4036
4037         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4038         Use some more init macros.
4039
4040 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4041
4042         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4043         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4044         Use init macros and functions.
4045
4046 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4047
4048         * docs/gst/gstreamer-sections.txt:
4049         * gst/gstpoll.c: (gst_poll_fd_init):
4050         * gst/gstpoll.h:
4051         Add INIT macro and _init method for initializing the GstPollFD.
4052
4053 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4054
4055         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4056         (gst_fd_sink_update_fd):
4057         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4058         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4059         (delayed_restart), (delayed_control):
4060         Initialize some uninitialized variables as spotted by valgrind.
4061
4062 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4063
4064         * tests/benchmarks/Makefile.am:
4065         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4066         (main):
4067         Add poll stress test.
4068
4069 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4070
4071         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4072
4073         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4074         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4075         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4076         * plugins/elements/gstfdsink.h:
4077         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4078         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4079         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4080         (gst_fd_src_uri_set_uri):
4081         * plugins/elements/gstfdsrc.h:
4082         Port to GstPoll. See #505417.
4083
4084 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4085
4086         * win32/common/libgstreamer.def:
4087         Add new gst_poll_ symbols to win32 defs.
4088
4089 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4090
4091         * docs/libs/gstreamer-libs-sections.txt:
4092         * libs/gst/net/gstnetclientclock.c:
4093         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4094         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4095         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4096         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4097         * libs/gst/net/gstnetclientclock.h:
4098         * libs/gst/net/gstnettimeprovider.c:
4099         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4100         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4101         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4102         (gst_net_time_provider_new):
4103         * libs/gst/net/gstnettimeprovider.h:
4104         Use a private stuct to not break ABI.
4105
4106 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4107
4108         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4109
4110         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4111         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4112         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4113         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4114         * libs/gst/net/gstnetclientclock.h:
4115         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4116         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4117         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4118         (gst_net_time_provider_new):
4119         * libs/gst/net/gstnettimeprovider.h:
4120         Massive code removal and cleanups because of GstPoll.
4121         Fixes #505417.
4122
4123 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4124
4125         * configure.ac:
4126         Add checks for poll, ppoll and pselect.
4127
4128         * docs/gst/gstreamer-docs.sgml:
4129         * docs/gst/gstreamer-sections.txt:
4130         Add docs for GstPoll.
4131
4132         * gst/Makefile.am:
4133         * gst/gst.h:
4134         * gst/gstpoll.c: (find_index), (selectable_fds),
4135         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4136         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4137         (gst_poll_set_mode), (gst_poll_get_mode),
4138         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4139         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4140         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4141         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4142         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4143         (gst_poll_fd_can_write), (gst_poll_wait),
4144         (gst_poll_set_controllable), (gst_poll_restart),
4145         (gst_poll_set_flushing):
4146         * gst/gstpoll.h:
4147         Add generic poll abstraction. We ideally don't want to have this in core
4148         here but in glib intead...
4149         This code will be used in various network elements and ultimately for
4150         the nanosecond precision monotonic clock (that's why it's here in core).
4151         It'll allow us to implement cancelable socket operations for windows too.
4152
4153         * tests/check/Makefile.am:
4154         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4155         (delayed_stop), (delayed_restart), (delayed_flush),
4156         (delayed_control), (gst_poll_suite):
4157         Add GstPoll unit test.
4158
4159 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4160
4161         * gst/gstfilter.c:
4162           Improve documentation of gst_filter_run(). Fixes #518627.
4163
4164 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4165
4166         * docs/README:
4167           Add a few lines about the new 'check-inspected-versions' target.
4168
4169 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4170
4171         * tests/check/gst/gstevent.c:
4172           Add qos to the event test. Rename tcase/tsuite; is not only about
4173           custom events.
4174
4175 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4176
4177         * plugins/elements/gstqueue.c:
4178           Ensure that buffer metadata is writeable, before modifying. Spotted by
4179           Mike.
4180
4181 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4182
4183         * plugins/elements/gstqueue.c:
4184         * plugins/elements/gstqueue.h:
4185           When dropping buffers in leaky modes, mark next buffers we sent as
4186           DISCONT.
4187
4188 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4189
4190         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4191           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4192
4193 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4194
4195         * plugins/elements/Makefile.am:
4196         * plugins/elements/gstbufferstore.c:
4197         * plugins/elements/gstbufferstore.h:
4198         * plugins/elements/gsttypefindelement.h:
4199           Remove GstBufferStore, no idea why we were still building it.
4200           It's not used anywhere and superseded by GstAdapter.
4201
4202         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4203           (gst_file_src_create_mmap):
4204         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4205           Printf format fixes for 64-bit integers.
4206
4207 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4208
4209         * configure.ac:
4210         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4211         We're not in 0.8 times anymore.
4212
4213 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4214
4215         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4216         (gst_check_element_push_buffer_list):
4217         * libs/gst/check/gstcheck.h:
4218         Make the declaration in the header for
4219         gst_check_element_push_buffer_list match the implementation.
4220
4221         Fix up spelling, grammar and wording of the documentation in a few
4222         places, and add the Since keyword to new API functions.
4223         Use g_list_delete_link instead of g_list_remove in
4224         gst_check_drop_buffers, since it's immeasurably more efficient.
4225
4226         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4227         Use new gst_check_drop_buffers function where appropriate.
4228
4229         * win32/common/libgstbase.def:
4230         * win32/common/libgstreamer.def:
4231         Add new symbols gst_collect_pads_take_buffer, 
4232         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4233         exports
4234
4235         Changelog surgery to add API keyword to new gst_check API.
4236
4237 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4238
4239         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4240         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4241         Update pre-generated flex files with flex 2.3.34.
4242
4243 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4244
4245         * gst/gstminiobject.c:
4246           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4247           friendly to subclasses and not require them to know all internals
4248           of their parent class.
4249
4250 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4251
4252         * docs/libs/gstreamer-libs-sections.txt:
4253         * libs/gst/base/gstcollectpads.c:
4254         * libs/gst/base/gstcollectpads.h:
4255           Add sub-buffer functions to collectpads. Fixes #516187.
4256           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4257
4258 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4259
4260         * gst/gstbuffer.c:
4261           Copy selected buffer-flags when creating subbuffers.
4262           Fixes #516395.
4263
4264 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4265
4266         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4267         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4268         * gst/gstmessage.c: (gst_message_class_init),
4269         (gst_message_finalize):
4270         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4271         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4272         (gst_mmap_buffer_finalize):
4273         Properly chain up finalize functions to the parent class.
4274
4275 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4276
4277         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4278
4279         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4280         (gst_index_set_resolver_full):
4281         * gst/gstindex.h:
4282         Add new function with option to dispose of user_data in resolver.
4283         Actually call the dispose function when finalizing the object and not
4284         just when changing the resolver/filter.
4285         API: GstIndex::gst_index_set_resolver_full()
4286
4287         * docs/gst/gstreamer-sections.txt:
4288         Add new function to docs. Fixes #515469.
4289
4290 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4291
4292         * gst/gstindex.c: (gst_index_finalize):
4293         Chain up finalize to the parent class. Fixes leaking the GstObject
4294         name and other things.
4295
4296 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4297
4298         * configure.ac:
4299         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4300         pre-releases or releases.
4301
4302         * docs/faq/gst-uninstalled:
4303         Add gst-plugins-gl
4304
4305         * docs/random/release:
4306         Change one of the steps - we only upload core & base to Gnome FTP
4307
4308 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4309
4310         * gst/gstconfig.h.in:
4311           Add 'id' for example.
4312
4313         * gst/gstpad.c:
4314         * gst/gstutils.c:
4315         * plugins/elements/gstfdsink.c:
4316           Link to signals. Doc and comment fixes.
4317
4318 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4319
4320         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4321         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4322           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4323           unused and unimplemented; finally, it is plugin features, not
4324           plugins, that have ranks.
4325           
4326 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4327
4328         * gst/gstpluginfeature.h:
4329           Clarify GstRank range docs.
4330
4331 2008-02-05  David Schleef  <ds@schleef.org>
4332
4333         * gst/gst.c: Add a separate gst_deinitialized that prevents
4334           gst_init() from being called after gst_deinit().  Fixes #509559
4335
4336 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4337
4338         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4339         (gst_bin_class_init):
4340         * gst/gstelement.c: (gst_element_base_class_init),
4341         (gst_element_class_add_pad_template):
4342         * gst/gstpadtemplate.c: (gst_pad_template_init):
4343         * gst/gstpipeline.c: (gst_pipeline_get_type),
4344         (gst_pipeline_base_init), (gst_pipeline_class_init):
4345         * libs/gst/base/gstbasesink.c:
4346         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4347         (gst_base_src_base_init), (gst_base_src_class_init):
4348         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4349         (gst_capsfilter_class_init):
4350         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4351         (gst_fake_sink_class_init):
4352         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4353         (gst_fake_src_class_init):
4354         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4355         (gst_fd_sink_class_init):
4356         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4357         (gst_fd_src_class_init):
4358         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4359         (gst_file_sink_class_init):
4360         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4361         (gst_file_src_class_init):
4362         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4363         (gst_identity_class_init):
4364         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4365         (gst_multi_queue_class_init):
4366         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4367         (gst_queue_class_init):
4368         * plugins/elements/gsttee.c: (gst_tee_base_init),
4369         (gst_tee_class_init):
4370         * plugins/elements/gsttypefindelement.c:
4371         (gst_type_find_element_base_init),
4372         (gst_type_find_element_class_init):
4373         * tests/check/gst/gstelement.c: (gst_element_suite):
4374         Revert previous changes to the behaviour of GstPadTemplates, etc
4375         and the possiblity to call them in class_init as it breaks too
4376         many elements. Reopens bug #491501.
4377
4378         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4379         several places.
4380
4381 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4382
4383         * tools/gst-launch.c:
4384         Dump one graph per pipeline state-change and state change name
4385         (if GST_DEBUG_DUMP_DOT_DIR is set).
4386
4387 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4388
4389         * gst/gstpad.c:
4390         * tests/check/gst/gstpad.c:
4391         Be sure that we have a new copy of the caps and not
4392         reffed caps from a template
4393
4394 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4395
4396         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4397         * gst/gstpipeline.c: (gst_pipeline_get_type),
4398         (gst_pipeline_class_init):
4399         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4400         (gst_base_sink_class_init):
4401         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4402         (gst_base_src_class_init):
4403         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4404         (gst_base_transform_class_init):
4405         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4406         (gst_collect_pads_class_init):
4407         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4408         * libs/gst/net/gstnettimeprovider.c:
4409         (gst_net_time_provider_base_init),
4410         (gst_net_time_provider_class_init):
4411         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4412         (gst_capsfilter_class_init):
4413         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4414         (gst_fake_sink_class_init):
4415         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4416         (gst_fake_src_class_init):
4417         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4418         (gst_fd_sink_class_init):
4419         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4420         (gst_fd_src_class_init):
4421         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4422         (gst_file_sink_class_init):
4423         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4424         (gst_file_src_class_init):
4425         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4426         (gst_identity_class_init):
4427         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4428         (gst_multi_queue_class_init):
4429         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4430         (gst_queue_class_init):
4431         * plugins/elements/gsttee.c: (gst_tee_base_init),
4432         (gst_tee_class_init):
4433         * plugins/elements/gsttypefindelement.c:
4434         (gst_type_find_element_base_init),
4435         (gst_type_find_element_class_init):
4436         Don't use base_init where not absolutely necessary. For example it's
4437         not necessary anymore for adding pad templates or setting element
4438         details.
4439
4440         Leave empty base_init functions in several places as GST_BOILERPLATE
4441         still defines and uses them.
4442
4443 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4444
4445         * gst/gstelement.c: (gst_element_base_class_init),
4446         (gst_element_class_add_pad_template):
4447         * gst/gstpadtemplate.c:
4448         Make it possible (and recommended) to set element details and add
4449         pad templates in the class_init functions by copying the details/pad
4450         templates in GstElement's base_init.
4451
4452         Also make it possible to replace existing pad templates by adding
4453         a new one with the same name. This was done in a hackish fashion
4454         in same elements before already.
4455
4456         Don't reference pad templates that are added a second time. A
4457         new pad template has a refcount of one and is not floating anymore
4458         and to be owned by the element's class. Make this more explicit by
4459         mentioning it in the docs of gst_element_class_add_pad_template().
4460
4461         These changes are backwards compatible. Fixes bug #491501.
4462
4463         * tests/check/gst/gstelement.c:
4464         Add unit test for setting element details, adding pad templates and
4465         replacing them in a subclass.
4466
4467 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4468
4469         * tools/gst-inspect.c: (print_interfaces),
4470         (print_element_properties_info), (print_pad_info),
4471         (print_signal_info), (print_element_info):
4472         Fix a few memory leaks.
4473
4474 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4475
4476         * docs/libs/gstreamer-libs-sections.txt:
4477         * libs/gst/check/gstcheck.c:
4478         * libs/gst/check/gstcheck.h:
4479         Add more functions for unit testing: gst_check_drop_buffers,
4480         gst_check_caps_equal, gst_check_element_push_buffer_list,
4481         gst_check_element_push_buffer
4482         API: gst_check_drop_buffers
4483         API: gst_check_caps_equal
4484         API: gst_check_element_push_buffer_list
4485         API: gst_check_element_push_buffer
4486
4487 2008-02-01  Julien Moutte  <julien@fluendo.com>
4488
4489         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4490         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4491         (gst_index_finalize), (gst_index_entry_free),
4492         (gst_index_add_association): Fix memory leaks.
4493         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4494         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4495         (gst_mem_index_free_format), (gst_mem_index_free_id),
4496         (gst_mem_index_finalize): Fix memory leaks.
4497         * win32/common/config.h: Updated to CVS HEAD.
4498
4499 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4500
4501         * docs/README:
4502           Some more details about how the plugin docs works.
4503
4504         * docs/plugins/gstreamer-plugins-sections.txt:
4505           Whitespace cleanup.
4506
4507 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4508
4509         * gst/parse/grammar.tab.pre.c:
4510         * gst/parse/grammar.tab.pre.h:
4511         * gst/parse/grammar.y:
4512         * gst/parse/lex._gst_parse_yy.pre.c:
4513           Add delayed set-property. This allows to set properties on dynamicaly
4514           created objects (pads in videomxer). Fixes #509391.
4515
4516 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4517
4518         * gst/gstutils.c:
4519         Check if caps are not NULL (fix bug #510194)
4520
4521 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4522
4523         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4524         (gst_base_sink_get_position_paused):
4525         Add fixme regarding EOS in pull mode.
4526         Fix position reporting in PAUSED for negative rates.
4527
4528 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4529
4530         * gst/gstminiobject.c: (gst_mini_object_replace):
4531         When replacing a miniobject, do a quick equality check first so that we
4532         can avoid a ref/unref pair.
4533
4534 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4535
4536         * docs/design/part-synchronisation.txt:
4537         Update some docs.
4538
4539         * docs/plugins/Makefile.am:
4540         * docs/plugins/gstreamer-plugins-docs.sgml:
4541         * docs/plugins/gstreamer-plugins-sections.txt:
4542         * plugins/elements/gstmultiqueue.c:
4543         Add multiqueue to the docs.
4544
4545 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4546
4547         * configure.ac:
4548           Back to CVS
4549
4550 === release 0.10.17 ===
4551
4552 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4553
4554         * configure.ac:
4555           releasing 0.10.17, "Due Negligence"
4556
4557 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4558
4559         * gst/gstutils.c:
4560         Revert caps != NULL check temporarily for 0.10.17 release.
4561
4562 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4563
4564         * gst/gstutils.c:
4565         Check if caps are not NULL (fix bug #510194)
4566
4567 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4568
4569         * gst/gstutils.c:
4570         Fix compilation on systems that have posix timers but no
4571         monotonic clock.
4572         Fixes: #512715
4573         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4574         dot net>
4575
4576 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4577
4578         * tools/gst-inspect.c:
4579         Revert previous commit in preparation for an impromptu 0.10.17 release
4580
4581 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4582
4583         * tools/gst-inspect.c: (print_interfaces),
4584         (print_element_properties_info), (print_pad_info),
4585         (print_signal_info), (print_element_info):
4586         Fix a few memory leaks.
4587
4588 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4589
4590         * configure.ac:
4591         Back to CVS
4592
4593 === release 0.10.16 ===
4594
4595 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4596
4597         * configure.ac:
4598           releasing 0.10.16, "Special Dispensation"
4599
4600 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4601
4602         * configure.ac:
4603           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4604           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4605           not fail when trying to crosscompile on OpenEmbedded (#511750).
4606
4607 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4608
4609         * docs/manuals.mak:
4610         Use $(MAKE) instead of make to fix the build if GNU make is
4611         called different. Fixes bug #510747.
4612
4613 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4614
4615         * gst/gstplugin.c: (_gst_plugin_initialize):
4616           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4617           again, which I broke two commits ago when changing the API
4618           of gst_plugin_register_static(): the g_list_foreach() in
4619           _gst_plugin_register_static still assumed the old function
4620           signature and would therefore fail (re-fixes #510187).
4621
4622         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4623           (_gst_plugin_register_static), (gst_plugin_register_static):
4624           Revert the (technically correct) change to call g_thread_init() from
4625           the pre-main() constructor. This will break programs which call
4626           g_thread_init() without an if (!g_thread_supported()) guard in their
4627           main function. We could just blame it on GLib or the application, but
4628           it's probably best to just avoid this altogether and simply not use
4629           any GLib functions here and use plain old malloc() with a simple
4630           array to store the plugins to register later when gst_init() is
4631           finally called (re-fixes #510187).
4632
4633         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4634           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4635           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4636           (GST_START_TEST), (gst_plugin_suite):
4637           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4638           works.
4639
4640 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4641
4642         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4643           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4644           This makes gtk-doc complain, but results in slightly better
4645           compiler errors. The old _gst_plugin_register_static() is
4646           still guarded, so there'll be a compiler warning about that
4647           instead. Fixes #510187 too.
4648
4649 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4650
4651         * gst/gst.c: (init_post):
4652         * gst/gstplugin.c: (_gst_plugin_register_static),
4653           (gst_plugin_register_static), (_gst_plugin_initialize):
4654         * gst/gstplugin.h: (GstPluginFilter):
4655           Change API of gst_plugin_register_static() to not take
4656           a GstPluginDesc, but rather just take all the arguments
4657           in a GstPluginDesc directly. This is more intuitive and
4658           avoids certain mistakes when porting code from
4659           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4660           Fixes #510187.
4661
4662         * tests/check/gst/gstplugin.c:
4663           Fix up for changed API.
4664
4665 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4666
4667         * docs/faq/legal.xml:
4668           Update FAQ, Totem actually has an exception these days.
4669
4670 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4671
4672         * win32/common/libgstreamer.def:
4673         Add new API declarations
4674
4675 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4676
4677         * gst/gstminiobject.c:
4678           Spelling fixes for the API docs.
4679
4680 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4681
4682         * libs/gst/base/gstbasetransform.c:
4683           Fix long property description for QoS.
4684
4685 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4686
4687         * gst/gst.c:
4688         _gst_trace_on is already provided by gsttrace.h, no need to declare
4689         it ourselves.
4690
4691         * docs/libs/gstreamer-libs-sections.txt:
4692         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4693         and remove strange tcase_add_test which is outputting a warning.
4694
4695         * libs/gst/check/gstcheck.c:
4696         * libs/gst/check/gstcheck.h:
4697         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4698         and define them in gstcheck.c instead of having every .c file whcih
4699         includes gstcheck.h be defining its own copy and relying on symbol
4700         interposing to marry them all, which doesn't work on Solaris.
4701
4702         * tests/check/elements/identity.c: (GST_START_TEST):
4703         Don't define 'buffers' locally, it comes from libgstcheck.
4704
4705         * tests/check/generic/sinks.c: (send_buffer):
4706         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4707
4708         * tests/check/gst/gststructure.c: (GST_START_TEST):
4709         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4710         * tests/check/gst/gstutils.c: (GST_START_TEST):
4711         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4712         Add a bunch of casts to make various constants fit the types
4713         they're being assigned to.
4714
4715 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
4716
4717         * gst/gstchildproxy.c:
4718           Improve docs and add some ideas for making this more general-purpose.
4719
4720 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4721
4722         * gst/gst_private.h: (GST_CAT_TYPES):
4723           Add GST_CAT_TYPES, for consistency, and so that the other
4724           debug categories don't make fun of it. Spotted by Saur on IRC.
4725
4726 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4727
4728         * gst/parse/Makefile.am:
4729           Move types.h from EXTRA_DIST to noinst_HEADERS.
4730
4731 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4732
4733         * autogen.sh:
4734           Add -Wno-portability to the automake parameters to stop warnings
4735           about GNU make extensions being used. We require GNU make in almost
4736           every Makefile anyway.
4737
4738         * configure.ac:
4739           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4740           at the same time is required for per target flags.
4741
4742 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4743
4744         * gst/gstmacros.h:
4745           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4746           __GNUC__ is defined before using it.
4747
4748 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4749
4750         * docs/gst/gstreamer-sections.txt:
4751         * gst/gst.c: (init_post):
4752         * gst/gstplugin.c: (_gst_plugin_register_static),
4753           (gst_plugin_register_static), (_gst_plugin_initialize),
4754           (gst_plugin_register_func):
4755         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4756           API: add gst_plugin_register_static() and deprecate
4757           GST_PLUGIN_DEFINE_STATIC, since it's not portable
4758           (#498924).
4759           Also, in _gst_plugin_register_static(), make sure to call
4760           g_thread_init() before calling GLib functions such as
4761           g_list_append() if we're not initialised yet, since that
4762           may lead to random crashes with older GSlice/GLib versions.
4763
4764         * tests/check/gst/gstplugin.c:
4765           Adapt unit test to above changes.
4766
4767 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4768
4769         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4770         * gst/gstcaps.c: (gst_caps_to_string):
4771         * gst/gststructure.c: (GST_ASCII_IS_STRING),
4772           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4773           Yet another gratuitous GString micro-optimisation: add a (private)
4774           function that serialises a structure appending to an existing
4775           GString, so that when we serialise caps we don't need to alloc+free
4776           a throwaway GString for each structure (each of which also entailing
4777           multiple reallocs on the way); also use g_string_sized_new() in
4778           various places with an approximate string length to avoid reallocs
4779           within GString. See #500143.
4780
4781 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4782
4783         * gst/gststructure.c: (gst_structure_id_set_value):
4784           Always check UTF-8 conformance of structure strings and not only
4785           if the debugging system is enabled; reasoning: the behaviour of
4786           the actual code shouldn't really change depending on whether the
4787           debugging system is enabled or not (#508291).
4788
4789 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
4790
4791         * Makefile.am:
4792           Remove old coverage target in favour of "make lcov".
4793
4794 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4795
4796         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4797         (gst_base_src_loop):
4798         The start segment for reverse playback goes from start to last_stop.
4799
4800 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4801
4802         Patch by: Peter Kjellerstedt <pkj axis com>
4803
4804         * gst/gstclock.h:
4805         Cast the results from the timeval/spec_to_time macros to what the
4806         docs say it casts to, a GstClockTime. fixes #508175.
4807
4808 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4809
4810         * gst/gstbuffer.c:
4811         Update some comments.
4812
4813         * tools/gst-inspect.c: (print_element_properties_info):
4814         Improve printing of flags.
4815
4816 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4817
4818         * libs/gst/base/gstbasetransform.c:
4819           (gst_base_transform_transform_size):
4820           Print element name with g_warning() if there's a problem
4821           with the unit size.
4822
4823 2008-01-07  David Schleef  <ds@schleef.org>
4824
4825         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4826
4827         * libs/gst/controller/gstcontroller.h:
4828         * libs/gst/controller/gstcontrolsource.h:
4829         * libs/gst/controller/gstinterpolationcontrolsource.h:
4830         * libs/gst/controller/gstlfocontrolsource.h:
4831         * libs/gst/dataprotocol/dataprotocol.h:
4832           Fix empty prototypes.  Fixes bug #507957.
4833
4834 2008-01-07  David Schleef  <ds@schleef.org>
4835
4836         * docs/faq/dependencies.xml: Fix typo.
4837
4838 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4839
4840         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4841         (gst_base_src_loop):
4842         Don't update the last_stop position in do_seek, that's the position we
4843         did a seek to.
4844         Read backwards when we have a negative rate.
4845
4846         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4847         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4848         (filesrc_suite):
4849         Add check for reverse reading.
4850
4851 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
4852
4853         Patch by: Alexis Ballier <aballier at gentoo org>
4854
4855         * tests/check/gst/gstabi.c:
4856         * tests/check/gst/struct_ppc64.h:
4857         * tests/check/libs/libsabi.c:
4858         * tests/check/libs/struct_ppc64.h:
4859           Decide which header to include based on the userland ABI target
4860           and not the kernel/cpu. Fix up structure sizes of ppc64 header
4861           for 64-bit userland (#503590).  Might need something similar for
4862           x86 too.
4863
4864 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4865
4866         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4867           Log the reason why fopen fails in addition to the fact that it failed.
4868           
4869 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
4870
4871         * gst/parse/parse.l:
4872         Use "%option never-interactive" to prevent useless calls to isatty()
4873         on every input when parsing. Also use "%option noinput" to not define
4874         the static input/yyinput functions which we don't use anyway. This
4875         removes a compiler warning with gcc 4.3 and saves some bytes in the
4876         library.
4877         
4878         * gst/parse/lex._gst_parse_yy.pre.c:
4879         Regenerated for the above change.
4880
4881 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
4882
4883         * gst/gstpad.c: (fixate_value):
4884         Don't crash when trying to fixate and empty list.
4885         Fixes #506643.
4886
4887 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
4888
4889         * docs/faq/gst-uninstalled:
4890         Clarify the comments to make the usage of this script and what it
4891         does easier to understand.
4892
4893 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4894
4895         * tools/gst-plot-timeline.py:
4896         Add more options to gst-plot-timeline
4897
4898 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
4899
4900         * docs/design/part-synchronisation.txt:
4901         Some more info on how the stream_time in GstBaseSink is done.
4902
4903 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
4904
4905         * tests/check/generic/sinks.c: (gst_sinks_suite):
4906           Put back the tcase_set_timeout(), apparently it's needed after
4907           all; fix it up in a way that makes things work with valgrind too.
4908
4909 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4910
4911         * gst/gstdebugutils.c:
4912           Add warning when failed to open file for writing.
4913
4914 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
4915
4916         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
4917
4918         * gst/gstvalue.c: (gst_value_is_fixed):
4919           Optimisation: bail out of the loop as early as possible (#500143).
4920
4921 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
4922
4923         * gst/gstcaps.c: (gst_caps_to_string):
4924         * gst/gstinfo.c: (gst_debug_construct_term_color):
4925         * gst/gstparse.c: (gst_parse_launchv):
4926         * gst/gstutils.c: (gst_util_dump_mem):
4927         * gst/gstvalue.c: (gst_value_serialize_any_list),
4928           (gst_value_transform_any_list_string):
4929           Bunch of gratuitous nano-optimisations.
4930
4931 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
4932
4933         * tests/check/generic/sinks.c: (async_done_func),
4934           (async_done_eos_func):
4935           Fix leak in unit test (bus sync handler must unref the message
4936           if it returns GST_BUS_DROP). Don't fiddle with the default test
4937           timeout, this is smaller than the current preconfigured value
4938           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
4939           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
4940
4941 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4942
4943         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4944
4945         * configure.ac:
4946         Check for stdio_ext.h for the filesink changes.
4947
4948         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
4949         (gst_file_sink_class_init), (gst_file_sink_init),
4950         (gst_file_sink_dispose), (gst_file_sink_set_property),
4951         (gst_file_sink_get_property), (gst_file_sink_open_file),
4952         (gst_file_sink_close_file):
4953         * plugins/elements/gstfilesink.h:
4954         Add two properties to control the buffering mode and size.
4955         API: GstFileSink::buffer-mode
4956         API: GstFileSink::buffer-size
4957         Fixes #500150.
4958
4959 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4960
4961         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
4962         Add some more docs to explain why a FIXME was wrongly added. 
4963
4964 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
4965
4966         * gst/gstobject.c:
4967           Fix typo in the gst_object_{ref,unref} documentation.
4968
4969 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
4970
4971         * tests/check/libs/controller.c:
4972         * tests/check/libs/typefindhelper.c:
4973         * tests/check/pipelines/parse-launch.c:
4974           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
4975           going to be deprecated (see #498924).
4976
4977 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
4978
4979         * gst/gsttypefind.c: (gst_type_find_register):
4980           Make gst_type_find_register work for static typefind functions,
4981           ie. allow passing plugin == NULL (prerequisite for #498924).
4982
4983         * gst/gstelementfactory.c: (gst_element_register):
4984           Small docs addition.
4985
4986 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
4987
4988         * gst/gstpad.c: (gst_pad_dispose):
4989         Really unlink the peer pad instead of setting the peer pointer to NULL
4990         when we dispose the pad.
4991         This correctly calls the unlink functions and makes sure that the peer
4992         does not have a handle to invalid memory. See #504671.
4993
4994         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4995         Add testsuite for above case.
4996
4997 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
4998
4999         Patch by: Peter Kjellerstedt <pkj axis com>
5000
5001         * libs/gst/check/gstcheck.h:
5002           Fix detection of the check version we're compiling against (would
5003           otherwise break if check goes v0.10.0); correctly report the
5004           name of the failed test again in case of failure, instead of
5005           just 'tf' (fixes #504499).
5006
5007 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5008
5009         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5010         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5011         (gst_base_src_loop), (gst_base_src_set_flushing),
5012         (gst_base_src_change_state):
5013         Allow sending EOS to the source to make it send out an EOS event from
5014         the streaming thread.
5015         Update docs and deprecate the old NULL/READY shutdown method.
5016
5017         * tests/check/libs/basesrc.c: (GST_START_TEST),
5018         (gst_basesrc_suite):
5019         Add unit test for controlled shutdown.
5020
5021 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5022
5023         * docs/design/part-synchronisation.txt:
5024         Small updates.
5025
5026         * gst/gstsegment.c: (gst_segment_set_seek),
5027         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5028         (gst_segment_to_running_time):
5029         The seek format can be different from the segment format when the start
5030         and stop values are not to be updated, when we only do a rate change for
5031         example.
5032
5033         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5034         (gst_segment_suite):
5035         Add a testcase for the rate-only seeks, checking that the format is
5036         correctly ignored when start and stop are not updated.
5037
5038 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5039
5040         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5041
5042         * win32/vs8/grammar.vcproj:
5043         * win32/vs8/libgstcontroller.vcproj:
5044         * win32/vs8/libgstreamer.vcproj:
5045         Fix compilation with VS8 and include some missing files.
5046
5047 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5048
5049         * gst/gsttaglist.c:
5050           Small docs addition: mention that the strings returned by
5051           gst_tag_list_get_string*() are in UTF-8 encoding.
5052
5053 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5054
5055         * Makefile.am:
5056           The check-exports stuff moved to common/win32.mak, so include that.
5057
5058 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5059
5060         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5061         (gst_base_src_perform_seek), (gst_base_src_get_range),
5062         (gst_base_src_set_playing), (gst_base_src_change_state):
5063         Make _wait_playing() not check any variables so that we can call this
5064         function from subclasses. Move the checks elsewhere similar to
5065         _wait_preroll() in basesink.
5066         Add some debugging.
5067         Only signal the LIVE cond when we are going back to PLAYING.
5068
5069 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5070
5071         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5072           Use g_remove() and g_rename(). Check result of g_rename(), and
5073           don't leak the open file descriptor if we error out when writing.
5074
5075         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5076           Must check the return value of close() after writing out the new
5077           registry file.  Sometimes write problems such as out-of-diskspace
5078           are only reported when the file is closed and not already during
5079           the write.  This may have caused partial/broken registry files in
5080           some rare circumstances. Should fix #503675.
5081
5082 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5083
5084         * docs/gst/.cvsignore:
5085         * docs/libs/.cvsignore:
5086         * docs/plugins/.cvsignore:
5087         Ignore files generated by new common/* modifications
5088
5089 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5090
5091         * win32/common/libgstbase.def:
5092           Yes, you can also have a <TAB> if you want.
5093
5094 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5095
5096         * win32/common/libgstbase.def:
5097           Add new basetransform API to win export file.
5098
5099 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5100
5101         * tests/check/gst/gstbin.c:
5102           Adjust the test to the refcount change two days ago.
5103
5104 2007-12-14  David Schleef  <ds@schleef.org>
5105
5106         * docs/faq/getting.xml: Fix typo.
5107
5108 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5109
5110         * docs/libs/gstreamer-libs-sections.txt:
5111         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5112           (gst_base_transform_prepare_output_buffer),
5113           (gst_base_transform_set_gap_aware):
5114         * libs/gst/base/gstbasetransform.h:
5115           API: Add gst_base_transform_set_gap_aware() to control whether
5116           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5117           get buffers with this flag at all. Fixes #503231.
5118
5119 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5120
5121         * libs/gst/base/gstbasesink.c:
5122         * libs/gst/base/gstbasesrc.c:
5123         * libs/gst/base/gstbasetransform.c:
5124           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5125           thread. Correct log message in gstbasesrc.c.
5126
5127 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5128
5129         * gst/gstutils.c: (element_find_unconnected_pad):
5130           Fix possible compiler warning (#503417).
5131
5132 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5133
5134         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5135           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5136
5137 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5138
5139         * tools/gst-inspect.c: (print_element_properties_info):
5140           Add support for GstFraction properties.
5141
5142 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5143
5144         * Makefile.am:
5145           Add check-exports target and run it as part of 'make check'
5146           (see #499140 and #493983).
5147
5148         * gst/gst_private.h:
5149         * gst/gstelementfactory.h:
5150         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5151         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5152           (_priv_gst_in_valgrind):
5153         * gst/gstinfo.h: (GstLogFunction):
5154         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5155           (gst_type_find_register):
5156         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5157           (gst_type_find_factory_get_type):
5158         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5159           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5160           (gst_controller_new_valist), (gst_controller_new_list),
5161           (_gst_controller_dispose), (_gst_controller_class_init):
5162         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5163         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5164           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5165           (gst_object_get_controller), (gst_object_set_controller),
5166           (gst_object_suggest_next_sync), (gst_object_sync_values),
5167           (gst_object_set_control_source), (gst_object_get_control_source),
5168           (gst_object_get_value_arrays), (gst_object_get_value_array),
5169           (gst_object_get_control_rate), (gst_object_set_control_rate):
5170         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5171         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5172           Make some functions that should be static static; rename some
5173           private symbols so that they don't get exported; add some FIXME
5174           comments so we can move accidentally exported functions into
5175           our private section in 0.11.
5176
5177         * win32/common/libgstreamer.def:
5178           Add gst_utils_get_timestamp().
5179
5180 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5181
5182         * gst/gstvalue.c:
5183         * gst/gstvalue.h:
5184           Add more missing "Since:" tags to docs.
5185
5186 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5187
5188         * gst/gstutils.c:
5189           Add mising "Since:" to docs.
5190
5191 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5192
5193         * gst/gstplugin.c:
5194           Include "glib-compat-private.h" to fix the build on system with
5195           glib < 2.10. Fixes #503131.
5196
5197 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5198
5199         * gst/gstutils.c:
5200         * gst/gstutils.h:
5201           Actually its not PURE as it gets the time from elsewhere.
5202
5203 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5204
5205         * docs/gst/gstreamer-sections.txt:
5206         * gst/gstclock.h:
5207         * gst/gstdebugutils.c:
5208         * gst/gstinfo.c:
5209         * gst/gstutils.c:
5210         * gst/gstutils.h:
5211         * libs/gst/base/gstbasesink.c:
5212         * tools/gst-launch.c:
5213           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5214           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5215           Thanks Tim for spotting.
5216           API: gst_util_get_timestamp
5217
5218 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5219
5220         * configure.ac:
5221           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5222
5223 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5224
5225         * gst/gststructure.c: (gst_structure_validate_name),
5226           (gst_structure_new_valist), (gst_structure_parse_value),
5227           (gst_structure_from_string):
5228           Don't crash in _from_string() if the structure name is not valid
5229           (fixes #501560).  Allow structure names to start with a number
5230           again (this apparently broke the ubuntu codec installer).
5231
5232         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5233           (GST_START_TEST):
5234           Add unit test for the crash; update unit tests for new behaviour.
5235
5236 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5237
5238         * gst/gstutils.c:
5239         Clarify gst_element_get_compatible_pad() documentation.
5240         Fixes #500919.
5241
5242 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5243
5244         * tests/check/Makefile.am:
5245           Don't forget to dist {gst,libs}/struct_hppa.h.
5246
5247 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5248
5249         * libs/gst/base/gstbasesink.c:
5250           Use new API to get elapsed time.
5251
5252 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5253
5254         * gst/gstdebugutils.c:
5255         * gst/gstinfo.c:
5256           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5257
5258         * tools/gst-launch.c:
5259           Use new API to get elapsed time.
5260
5261 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5262
5263         * docs/gst/gstreamer-sections.txt:
5264         * gst/gstclock.h:
5265         * gst/gstdebugutils.c:
5266         * gst/gstinfo.c:
5267           Rename new API + ChangeLog surgery to remove old name from last entry..
5268
5269 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5270
5271         * docs/gst/gstreamer-sections.txt:
5272         * gst/gstclock.h:
5273         * gst/gstdebugutils.c:
5274         * gst/gstinfo.c:
5275           Now hide the different clock stuff behind a macro.
5276
5277 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5278
5279         * configure.ac:
5280         * gst/gstdebugutils.c:
5281         * gst/gstinfo.c:
5282           Apply the posix-timer check from #361155. Conditionally use the posix
5283           timer for logging. This gives better timestamp precission, less
5284           overhead and no ntp jitter.
5285
5286 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5287
5288         * gst/gstminiobject.c: (gst_mini_object_get_type),
5289         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5290         (gst_mini_object_finalize), (gst_mini_object_copy),
5291         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5292         (gst_mini_object_replace), (param_mini_object_validate),
5293         (gst_param_spec_mini_object_get_type):
5294         Some cleanup and checking against invalid function parameters.
5295
5296 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5297
5298         * docs/gst/gstreamer-sections.txt:
5299         * gst/gstclock.h:
5300         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5301         (gst_systemclock_suite):
5302         Start merging in the easy bits of #361155, the monotonic clock patch.
5303         This one adds a few handy macros with docs and a testsuite.
5304
5305 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5306
5307         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5308         Be a bit smarter when seeking, like, don't try to do a seek when it's
5309         not needed. This avoids errors when the file is not seekable.
5310         Fixes #499771.
5311
5312 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5313
5314         * docs/gst/gstreamer-docs.sgml:
5315         * docs/gst/gstreamer-sections.txt:
5316         * docs/gst/gstreamer.types.in:
5317         * gst/Makefile.am:
5318         * gst/gst.h:
5319         * gst/gstpreset.c:
5320         * gst/gstpreset.h:
5321         * plugins/elements/gstqueue.c:
5322           Due to popular request remove preset interface again. :-(.
5323
5324 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5325
5326         * tools/gst-inspect.c:
5327           Print 'default value' for enums and flags too.
5328
5329 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5330
5331         * docs/random/ensonic/profiling.txt:
5332           More ideas.
5333
5334         * gst/gstbin.c:
5335           Fix typo and give better log output.
5336
5337         * gst/gstdebugutils.c:
5338         * gst/gstdebugutils.h:
5339           More ideas, make graphs a bit smaller and fix param name in macro.
5340
5341 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5342
5343         * gst/gstpreset.c:
5344           Try harder to use the return value from fgets().
5345
5346 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5347
5348         * gst/gstpreset.c:
5349           For theses two fgets we handle the error below.
5350
5351 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5352
5353         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5354         Only send upstream events upstream. Fixes #498746.
5355
5356 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5357
5358         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5359
5360         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5361         (gst_identity_init), (gst_identity_transform_ip),
5362         (gst_identity_set_property), (gst_identity_get_property):
5363         * plugins/elements/gstidentity.h:
5364         Add property to disable handoff signal emission. Fixes #498694.
5365         API: GstIdentity::signal-handoffs
5366
5367 2007-11-21  Julien Moutte  <julien@fluendo.com>
5368
5369         * docs/faq/gst-uninstalled: Yet another missing library for the
5370         uninstalled script (fft)
5371
5372 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5373
5374         * docs/faq/developing.xml:
5375         Add a question about how to submit new translations.
5376
5377         * docs/random/release:
5378         Update the contact email address for the Translation Project
5379
5380         * plugins/elements/gstfdsrc.c:
5381         The parent_class for fdsrc is pushsrc, not GstElement.
5382
5383 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5384
5385         * gst/gstpreset.c:
5386           Plug a leak and fix saving.
5387
5388 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5389
5390         * docs/gst/gstreamer-sections.txt:
5391         Add new gst_preset__get_property_names() function to the docs
5392         to fix the build.
5393
5394 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5395
5396         * gst/gstpreset.c:
5397         * gst/gstpreset.h:
5398           Change _get_preset_names API to return a strv with copies. Add
5399           _get_property_names to allow implementations to filter and provide
5400           good default implementation.
5401
5402 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5403
5404         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5405         script (sdp).
5406
5407 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5408
5409         * gst/gstpreset.c:
5410           More cleanups, docs, and TODOs from comments that now slowly come in.
5411
5412 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5413
5414         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5415         search path.
5416
5417 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5418
5419         * gst/gstpreset.c:
5420           Fix bogus warning and make the property type specific code more
5421           similar.
5422
5423 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5424
5425         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5426         it build on OS X.
5427
5428 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5429
5430         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5431         (gst_bin_add_func), (gst_bin_remove_func),
5432         (gst_bin_change_state_func), (gst_bin_continue_func):
5433         Change email, cleanups add some more debug and comments.
5434         Also set bus and clock on new elements when the pipeline was in error.
5435
5436 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5437
5438         * gst/gstbin.c:
5439         * gst/gstdebugutils.c:
5440           Fix build with --disable-gst-debug. Fixes #497859.
5441           Spotted by Sameer Naik.
5442
5443 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5444
5445         * gst/gstevent.c:
5446           Little documentation improvment.
5447
5448         * gst/gstpreset.c:
5449           More TODO cleanups. Remove c++ comments.
5450
5451         * libs/gst/controller/gstcontroller.c:
5452           Add TODO and use quark from static string.
5453
5454         * tests/check/gst/gstmessage.c:
5455         * tests/check/gst/gststructure.c:
5456           Use quark from static string.
5457
5458 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5459
5460         * gst/gstpreset.c:
5461           Add some comments and TODOs.
5462
5463         * gst/gstpreset.h:
5464           Add padding for future changes.
5465
5466         * plugins/elements/gstqueue.c:
5467           Implement the iface.    
5468
5469 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5470
5471         * docs/gst/gstreamer-docs.sgml:
5472         * docs/gst/gstreamer-sections.txt:
5473         * docs/gst/gstreamer.types.in:
5474         * gst/Makefile.am:
5475         * gst/gst.h:
5476         * gst/gstpreset.c:
5477         * gst/gstpreset.h:
5478           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5479
5480 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5481
5482         * configure.ac:
5483
5484         Back to CVS
5485
5486 === release 0.10.15 ===
5487
5488 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5489
5490         * configure.ac:
5491           releasing 0.10.15, "October"
5492
5493 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5494
5495         * win32/vs6/libgstreamer.dsp:
5496         Convert line endings back to DOS.
5497
5498 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5499
5500         * docs/design/draft-tagreading.txt:
5501         * docs/random/ensonic/profiling.txt:
5502         Update fast tagreading draft and performance profiling ideas.
5503
5504 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5505
5506         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5507         Don't hold the object lock when unreffing a buffer because it could
5508         cause a deadlock when the finalize function wants to grab the object
5509         lock too. Fixes #495133.
5510
5511 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5512
5513         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5514         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5515         Also accumulate time correctly when doing reverse playback. Fixes
5516         #488201,
5517         When converting to running and stream time, use default values for
5518         start/stop/time/accum when comparing different formats. Fixes #494245.
5519
5520         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5521         Do running/stream time in TIME format.
5522
5523         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5524         (gst_segment_suite):
5525         2 new unit tests for segment accumulation.
5526
5527 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5528
5529         * gst/gst.c: (init_pre):
5530         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5531           (_gst_debug_bin_to_dot_file):
5532           Move getenv() back into gst_init, so everyone can live happily
5533           ever after. Make sure the symbol isn't exported though.
5534
5535 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5536
5537         Patch by: Sebastien Moutte  <sebastien moutte net>
5538
5539         * win32/common/gstenumtypes.c:
5540         * win32/common/gstenumtypes.h:
5541           Update enum types.
5542
5543         * win32/vs6/libgstreamer.dsp:
5544           Update vs6 project files (#494343).
5545
5546 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5547
5548         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5549         (gst_base_src_perform_seek), (gst_base_src_default_event),
5550         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5551         (gst_base_src_activate_pull):
5552         Unify flushing code, remove some old unlock code that is no longer used.
5553         Take the streaming lock when seeking to avoid races. Fixes #492729.
5554         Added some more comments.
5555
5556 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5557
5558         * gst/gst.c: (_gst_disable_segtrap):
5559           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5560           we can use gst_segtrap_is_enabled() there now that we have that API.
5561           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5562           to do the getenv here (and export the variable).
5563
5564         * gst/gstdebugutils.c: (debug_dump_element),
5565           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5566           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5567
5568         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5569           (gst_debug_log_default):
5570           Rename _gst_info_start_time to priv_gst_info_start_time so it
5571           doesn't get exported (was never in any header).
5572
5573         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5574           (gst_plugin_loading_mutex):
5575           Make static mutex gst_plugin_loading_mutex really static (was never
5576           in any header), and use gst_segtrap_is_enabled() instead of
5577           _gst_disable_segtrap.
5578
5579         * gst/gsttrace.c: (_gst_trace_default):
5580           Make local _gst_trace_default static (was never in any header).
5581
5582 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5583
5584         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5585
5586         * win32/common/libgstbase.def:
5587         * win32/common/libgstcontroller.def:
5588         * win32/common/libgstdataprotocol.def:
5589         * win32/common/libgstnet.def:
5590         * win32/common/libgstreamer.def:
5591           Add more missing symbols, remove some duplicates, and sort
5592           as the 'sort' command sorts it (partially fixes #493983).
5593
5594 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5595
5596         * gst/gstelement.c: (gst_element_set_state_func):
5597         Only change the state cookie if a different state was set on the
5598         element. See #492729.
5599
5600 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5601
5602         * gst/gstvalue.c:
5603           Remove unused and uninitialised type variables that were still
5604           exported for some reason (they were never in any header files
5605           though).
5606
5607 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5608
5609         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5610         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5611         (gst_base_sink_event), (gst_base_sink_get_position_last),
5612         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5613         (gst_base_sink_change_state):
5614         Don't try to report a 0 position when we don't know, return -1 and FALSE
5615         instead. This mostly happens when we are prerolling.
5616         Make sure we can report the right position before we post the ASYNC_DONE
5617         message so that a message handler can query position without races.
5618
5619         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5620         (async_done_handoff), (async_done_func), (send_buffer),
5621         (async_done_eos_func), (gst_sinks_suite):
5622         Add two tests for the above.
5623
5624 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5625
5626         * MAINTAINERS:
5627         Update with new email address.
5628
5629         * docs/design/part-TODO.txt:
5630         Add some more info about future pad-block and negotiation changes.
5631
5632         * docs/design/part-buffering.txt:
5633         Add some ideas about buffering reporting.
5634
5635 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5636
5637         * tests/check/gst/gstobject.c:
5638         Disable silly racy test that always fails on this combination of CPU
5639         and kernel.
5640
5641 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5642
5643         Patch by: Murray Cumming  <murrayc@murrayc.com>
5644
5645         * gst/gstobject.c:
5646           Corrected the registration of the parent-set and parent-unset
5647           signals: The parameter is a GstObject, not a GObject (#493134).
5648
5649 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5650
5651         * gst/gst_private.h:
5652         * gst/gstbuffer.h:
5653         * gst/gstevent.h:
5654         * gst/gstformat.h:
5655         * gst/gstmessage.h:
5656         * gst/gstplugin.h:
5657         * gst/gstquery.h:
5658         * gst/gsttaglist.h:
5659         * gst/gstvalue.h:
5660           Move declaration of private _gst_foo_initialize() functions into
5661           our private header file where they should have been all along.
5662
5663 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5664
5665         * docs/plugins/gstreamer-plugins-sections.txt:
5666         * gst/gstdebugutils.h:
5667         * gst/gstxml.h:
5668         * plugins/elements/gstqueue.c:
5669           gtk-doc fixes; trailing-comma-in-enum fix.
5670
5671 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5672
5673         * gst/gst.c: (gst_deinit):
5674           Clean up on deinit (not the external ones though, doesn't seem to be
5675           needed for some reason).
5676
5677 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5678
5679         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5680           Remove __declspec(dllimport) for MSVC that was copied over into core
5681           from a plugin, obviously without ever having been tested (note the
5682           single underscore in _declspec in the initial commit), and that doesn't
5683           really make sense.  See #492077.
5684
5685 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5686
5687         * gst/gst.c: (init_post):
5688         * gst/gstevent.c: (_gst_event_initialize):
5689         * gst/gstquery.c: (_gst_query_initialize):
5690         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5691           g_type_class_ref() other types as well, see #349410 and #64764.
5692
5693         * gst/gstbuffer.c: (_gst_buffer_initialize):
5694         * gst/gstmessage.c: (_gst_message_initialize):
5695           Simplify existing g_type_class_ref().
5696
5697 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5698
5699         * gst/gstformat.c: (_gst_format_initialize):
5700           g_type_class_ref() our GstFormat type to make sure we avoid the
5701           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5702           bug #64764. Should fix intermittent tee unit test failures (#474823).
5703
5704 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5705
5706         * tests/check/elements/tee.c: (test_num_buffers):
5707           Simplify, simplify, simplify - or not.  Rewrite unit test
5708           not to use gst_parse_launch(); allow N sub-streams. Increasing
5709           the number of sub-streams seems to reproduce #474823 more easily.
5710
5711 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5712
5713         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5714
5715         * gst/gsttrace.c:
5716         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5717         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5718         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5719           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5720           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5721           so use _pipe() directly (#492077).
5722
5723         * win32/common/dirent.c: (_treaddir):
5724           Add a couple of casts to make it build without warnings with MSVC.
5725
5726         * win32/common/libgstreamer.def:
5727           Add some more symbols that need to be exported.
5728
5729 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5730
5731         * tests/examples/metadata/read-metadata.c: (message_loop):
5732           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5733           arriving in a second or third tag message are added to
5734           the tag list as well.
5735
5736 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
5737
5738         * libs/gst/base/gstbasesrc.c:
5739           Its "Since:" and not "@Since:". And remove an superflous cast.
5740
5741 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
5742
5743         * docs/libs/gstreamer-libs-sections.txt:
5744         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5745         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5746         (gst_base_sink_get_property), (gst_base_sink_render_object),
5747         (gst_base_sink_preroll_object),
5748         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5749         (gst_base_sink_change_state):
5750         * libs/gst/base/gstbasesink.h:
5751         Add a new last-buffer property that contains the last buffer used in
5752         basesink for preroll or rendering. useful for making snapshots.
5753         API: gst_base_sink_get_last_buffer()
5754         API: GstBaseSink::last-buffer
5755
5756 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5757
5758         * docs/gst/running.xml:
5759         * gst/gst.c:
5760         * gst/gstdebugutils.c:
5761         * gst/gstdebugutils.h:
5762         * tools/gst-launch.c:
5763           Improve bin graph dumping, by using the envvar to specify a path.
5764           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5765
5766 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
5767
5768         * plugins/elements/gsttypefindelement.c:
5769           (gst_type_find_element_handle_event),
5770           (gst_type_find_element_activate):
5771           Post special error message if we can't determine the type of a stream
5772           because it's empty.
5773
5774 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5775
5776         * docs/gst/running.xml:
5777         * gst/gstdebugutils.c:
5778           Document new env-var. Add one log-line after dumpng a graph.
5779
5780 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5781
5782         * configure.ac:
5783           Ugly hack to put the (recently removed and non-portable, apparently)
5784           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5785           GNU ld, because without that 'make check' fails miserably on my debian
5786           stable box.  Someone with more knowledge of linker intricacies and
5787           portability issues than me fix this properly please.
5788
5789 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
5790
5791         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5792         Reset last seen position after flushing so that we don't report the old
5793         position anymore.
5794
5795 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5796
5797         * gst/gstelementfactory.c: (gst_element_register):
5798         * gst/gsturi.h:
5799         Patch from Alessandro Decina adding get_type_full and
5800         get_protocols_full private vfuncs to the URIHandler interface
5801         to allow bindings to support creating URI handlers. 
5802         Partially fixes: #339279
5803         API: GstURIHandlerInterface::get_type_full
5804         API: GstURIHandlerInterface::get_protocols_full
5805
5806 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5807
5808         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5809         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5810         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5811         Make it so that pads are considered linked until a buffer is pushed
5812         and discovered otherwise. This avoids problems with decodebin2 hanging
5813         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5814         case.
5815
5816         Make sure we lock the multiqueue when updating the max-size properties.
5817         
5818         Fix a crash on Solaris in a debug statement in get_request_pad that
5819         passes a NULL string to GST_DEBUG. 
5820
5821         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5822         (run_output_order_test):
5823         Fix the test to allow the first buffer on not-linked pads to come out
5824         of sequence while multiqueue discovers that they are not-linked.
5825
5826 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5827
5828         * configure.ac:
5829         * libs/gst/check/Makefile.am:
5830         Use a custom export symbol regex for libgstcheck, as it needs
5831         to export symbols that don't match the standard GStreamer gst_*
5832         pattern, and  --export-dynamic is not portable (only works on 
5833         GNU ld)
5834
5835         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5836         (gst_check_setup_sink_pad):
5837         Make sure to pass a message parameter to the fail_* macros.
5838
5839         * tests/check/gst/gstinfo.c: (GST_START_TEST):
5840         Fix some compiler warnings.
5841
5842 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
5843
5844         * tests/check/gst/gststructure.c: (test_to_string):
5845           Disable test that checks that white spaces are not allowed
5846           in structure names or field names, since we need to
5847           support that for now for backwards compatibility reasons.
5848
5849 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
5850
5851         * docs/gst/gstreamer-sections.txt:
5852         * gst/gsttaglist.c:
5853         * gst/gsttaglist.h:
5854           API: add GST_TAG_ARTIST_SORTNAME
5855           API: add GST_TAG_ALBUM_SORTNAME
5856           API: add GST_TAG_TITLE_SORTNAME
5857           Add tag variants for sorting (#414539).
5858
5859 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
5860
5861         * gst/gststructure.c:
5862           Also allow white space for names so we don't break
5863           backwards compatibility.
5864
5865 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
5866
5867         * docs/design/part-TODO.txt:
5868         * docs/design/part-segments.txt:
5869         * docs/design/part-streams.txt:
5870         Small updates.
5871
5872 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
5873
5874         * docs/gst/gstreamer-sections.txt:
5875          Fixed documentation from my previous commit (added new API add
5876          gst_value_set_structure(), add gst_value_get_structure() and
5877          GST_VALUE_HOLDS_STRUCTURE).
5878
5879 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
5880
5881         * gst/gstdebugutils.c:
5882           Reflow code to fix uninitialized variable warning.
5883
5884 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
5885
5886         * gst/gstcaps.c: (gst_caps_to_string),
5887         (gst_caps_from_string_inplace):
5888         * gst/gststructure.c: (gst_structure_get_abbrs),
5889         (gst_structure_to_string), (gst_structure_from_string):
5890         * gst/gstvalue.c: (gst_value_set_structure),
5891         (gst_value_get_structure), (gst_value_serialize_structure),
5892         (gst_value_deserialize_structure), (_gst_value_initialize):
5893         * gst/gstvalue.h:
5894         * tests/check/gst/gststructure.c: (GST_START_TEST),
5895         (gst_structure_suite):
5896         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5897          Added GstStructure to gst_value_table and its related functions.
5898          Changed gst_structure_to_string to print ';' in the end.
5899          Changed gst_caps_to_string to not print ';' beteween its
5900          fields (structures) anymore and remove the lastes ';' from latest
5901          structure. Now it is possible to have nested structures.
5902          In addition, backward compatibilty is assured by accepting '\0' as
5903          end delimiter. Fixes: #487969.
5904          API: add gst_value_set_structure()
5905          API: add gst_value_get_structure()
5906          API: add GST_VALUE_HOLDS_STRUCTURE
5907
5908 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
5909
5910         * gst/gstbus.c:
5911           When no GSource callback has been set up, tell developer
5912           to use a function that actually exists.
5913
5914 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
5915
5916         * docs/gst/gstreamer-sections.txt:
5917         * gst/Makefile.am:
5918         * gst/gst.c:
5919         * gst/gst.h:
5920         * gst/gstdebugutils.c:
5921         * gst/gstdebugutils.h:
5922         * gst/gstinfo.c:
5923         * gst/gstinfo.h:
5924         * tools/gst-launch.c:
5925           Allow dumping pipelines as dot graphs. Fixes #456573.
5926
5927 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5928
5929         * gst/gststructure.c:
5930           Allow '+' as well, it can be part of media or mime types
5931           such as image/svg+xml.
5932
5933 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5934
5935         * docs/gst/gstreamer-sections.txt:
5936         * gst/gstbus.c:
5937         * gst/gstbus.h:
5938           API: add gst_bus_pop_filtered
5939           API: add gst_bus_timed_pop_filtered
5940           Two new functions for waiting for specific message types on the
5941           bus for a specified amount of time without iterating any main
5942           loops or main contexts.
5943
5944         * tests/check/gst/gstbus.c:
5945           Some tests for the new functions.
5946
5947 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5948
5949         * docs/libs/gstreamer-libs-sections.txt:
5950           Make gtk-doc ignore stuff it should ignore.
5951
5952 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5953
5954         * libs/gst/check/gstcheck.c:
5955         * libs/gst/check/gstcheck.h:
5956           Allow runtime selection of unit tests to run via the GST_CHECKS
5957           environment variable (test case function names, comma-separated).
5958
5959 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
5960
5961         * gst/gststructure.c:
5962         * tests/check/gst/gststructure.c:
5963           Revert serialisation change and constrain structure-names after
5964           consensus on irc. Update api documentation to reflect the change.
5965
5966 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
5967
5968         * gst/gststructure.c:
5969           Improve serialization and fix tests.
5970
5971         * tests/check/gst/gststructure.c:
5972           Add another test that covers why I actually did the previous structure
5973           change.
5974
5975 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
5976
5977         * tools/gst-inspect.c: (print_element_info):
5978         Don't crash when inspecting an element.
5979
5980 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5981
5982         * tests/check/gst/gststructure.c:
5983           Add unit test for escaping of structure name when serialising
5984           and deserialising to/from strings.
5985
5986 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
5987
5988         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5989         (gst_single_queue_new):
5990         * plugins/elements/gstqueue.c: (gst_queue_init),
5991         (gst_queue_push_one):
5992         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
5993         upstream is tricked into thinking it can suggest a format downstream
5994         while downstream does not support that format. The real problem is that
5995         core calls acceptcaps when pushing a buffer with new caps, for which we
5996         do a little workaround by setting the caps on the srcpad ourselves
5997         before pushing the buffer (until this is figured out). Fixes #486758.
5998
5999 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6000
6001         * gst/gststructure.c:
6002         * gst/gstvalue.c:
6003           Add some more comments and debug output. Quote structure name to fix
6004           deserialisation of some strings.
6005
6006 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6007
6008         * gst/gstbuffer.h:
6009           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6010           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6011
6012 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6013
6014         * tools/gst-inspect.c:
6015           Save approx. 400 1 byte allocs when printing. Use API to acces element
6016           details.
6017
6018         * tools/gst-run.c:
6019           Avoid a strdup.
6020
6021         * tools/gst-xmlinspect.c:
6022           Use API to acces element details.
6023
6024 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6025
6026         * gst/gstinfo.c:
6027           Fix some spelling errors.
6028
6029 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6030
6031         * gst/gstbin.c: (bin_handle_async_done):
6032         Correctly set the next state if all of our async children commited their
6033         state. This makes sure we can actually cancel the state change in
6034         progress. Fixes a regression in Rhythmbox when seeking.
6035
6036 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6037
6038         * gst/gstbin.c:
6039           Don't shadow local variable.
6040
6041         * gst/gstinfo.c:
6042           Don't shadow global function name.
6043
6044 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6045
6046         * gst/gstelementfactory.c:
6047         * gst/gstpluginfeature.c:
6048         * gst/gstpluginfeature.h:
6049         * gst/gstregistrybinary.c:
6050         * gst/gstregistryxml.c:
6051         * gst/gsttypefind.c:
6052           Use already-interned string for the private GstPluginFeature
6053           plugin_name field.
6054
6055 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6056
6057         * docs/libs/gstreamer-libs-sections.txt:
6058           Add new API to docs; fixes the build.
6059
6060 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6061         
6062         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6063
6064         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6065         (gst_base_sink_event):
6066         * libs/gst/base/gstbasesink.h:
6067         Add function to wait for EOS, subclasses can use this to correctly wait
6068         for devices to drain before performing the EOS logic. Fixes #485343.
6069         API: gst_base_sink_wait_eos()
6070
6071 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6072
6073         * gst/gstplugin.h:
6074           Cast description string constants in GST_PLUGIN_DEFINE macros
6075           to a (gchar*) to make C++ code using these macros compile
6076           without warning with g++-4.2 (see #462737).  Even if slightly
6077           ugly, this seems preferable to putting the description strings
6078           into the GLib quark table or making the structure member a
6079           const gchar * and doing casts in core code that allocs and
6080           frees these strings, or requiring a cast in the C++ code.
6081
6082 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6083
6084         * gst/gstinfo.h:
6085           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6086           to print the entire class/function signature into the log
6087           file for C++ code.  This only affects C++ code, for C code
6088           everything remains the same.
6089
6090 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6091
6092         * gst/gstbin.c: (remove_from_queue):
6093         Work around a problem with pipelines containing (semi)loops until a
6094         proper, more complicated solution is ready. See #475455.
6095
6096 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6097
6098         * gst/gstplugin.c:
6099         * gst/gstplugin.h:
6100         * gst/gstregistrybinary.c:
6101         * gst/gstregistryxml.c:
6102           Put more strings into the GLib quark table. No need to keep
6103           a hundred-something copies of identical version strings,
6104           license strings, package name strings and package origin
6105           strings around. 
6106
6107 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6108
6109         * docs/manual/advanced-dataaccess.xml:
6110           Don't imply that it's okay to unconditionally change
6111           buffer data or buffer metadata in a pad probe callback,
6112           and a bunch of other comments. Fixes #430031.
6113
6114 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6115
6116         * win32/common/gstenumtypes.c:
6117         * win32/common/gstenumtypes.h:
6118         * win32/common/gstversion.h:
6119           Update generated files.
6120
6121 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6122
6123         * docs/manual/advanced-autoplugging.xml:
6124           Prefix section with broken code with a warning (see #342432).
6125
6126 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6127
6128         * docs/manual/appendix-integration.xml:
6129         * docs/manual/basics-init.xml:
6130           Call g_thread_init() before g_option_context_new() to
6131           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6132
6133 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6134
6135         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6136         (gst_base_sink_queue_object_unlocked),
6137         (gst_base_sink_queue_object), (gst_base_sink_event),
6138         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6139         When we received EOS and are waiting for when to post the EOS message,
6140         our state is prerolled and we should not return ASYNC.
6141         Reorganize some code paths to implement this behavior.
6142
6143         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6144         (gst_sinks_suite):
6145         Add unit test to verify above EOS fix.
6146
6147 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6148
6149         * plugins/elements/gsttypefindelement.c:
6150         (gst_type_find_element_have_type), (gst_type_find_element_init),
6151         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6152         Move detecting the input caps of the sinkpad to the setcaps function.
6153         This allows us to update the output caps when we receive new input caps
6154         instead of always using the first detected caps.
6155
6156 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6157
6158         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6159         (gst_base_sink_get_position):
6160         Don't try to preroll non-async elements after a flush.
6161         Subtract latency form clock times when reporting position.
6162
6163 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6164
6165         * gst/gstpad.c: (gst_pad_pause_task):
6166         * gst/gstutils.c:
6167         Small comment and documentation update.
6168
6169 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6170
6171         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6172         (gst_base_src_set_live), (gst_base_src_is_live),
6173         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6174         (gst_base_src_default_event), (gst_base_src_wait),
6175         (gst_base_src_do_sync), (gst_base_src_get_range),
6176         (gst_base_src_pad_get_range), (gst_base_src_loop),
6177         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6178         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6179         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6180         (gst_base_src_change_state):
6181         Rework the locking of basesrc in a similar fashion to basesink. We
6182         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6183         us to handle live sources and semi live ones much better.
6184         Simplify flushing.
6185         Fix unlocking when seeking, shutting down and pausing in live sources.
6186
6187 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6188
6189         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6190         Fix compilation again.
6191
6192 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6193
6194         * gst/gstelement.c:
6195           Use meaningful categories for the logs to clean the default one.
6196
6197 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6198
6199         * tests/check/pipelines/cleanup.c:
6200           Print message name and not just number.
6201
6202 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6203
6204         * docs/design/draft-tagreading.txt:
6205           Add some more thoughts.
6206
6207 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6208
6209         * tests/check/pipelines/simple-launch-lines.c:
6210           Print message name and not just number.
6211
6212 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6213
6214         * libs/gst/base/gsttypefindhelper.c:
6215           Speedup typefinding. This is work in progress (see #459862).
6216
6217 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6218
6219         * gst/gstplugin.c:
6220           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6221           Spotted by Josep Torra Valles <josep@fluendo.com>.
6222
6223 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6224
6225         * gst/gstclock.h:
6226           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6227           field has moved to GstObject.
6228
6229 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6230
6231         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6232         (gst_base_src_get_range), (gst_base_src_change_state):
6233         Call unlock for live sources so that they can't get stuck in _create and
6234         produce a buffer before they are set back to PLAYING.
6235
6236 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6237
6238         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6239         (gst_queue_locked_dequeue):
6240         Comment the segment-related code... in the PROPER function.
6241         See #482147 and my commit from yesterday.
6242
6243 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6244
6245         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6246         Also initialize the counter that calculates the first timestamp on a
6247         buffer correctly for non-live sources.
6248
6249 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6250
6251         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6252         Disable code that's breaking the current-time-level reporting.
6253         See #482147
6254
6255 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6256
6257         * docs/gst/gstreamer-sections.txt:
6258         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6259         as they shouldn't show up. Fixes the docs build.
6260
6261 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6262         
6263         * gst/gstinfo.h:
6264         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6265         Define M_PI which is used in files which are including gstinfo.h. 
6266         VS6 includes doesn't define it.
6267         * win32/common/libgstbase.def:
6268         * win32/common/libgstcontroller.def:
6269         * win32/common/libgstreamer.def:
6270         Add new exported functions and variables.
6271         * win32/vs6/libgstcontroller.dsp:
6272         * win32/vs6/libgstreamer.dsp:
6273         Update the list of files to build.
6274         
6275 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6276
6277         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6278
6279         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6280         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6281         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6282         Improve debugging. Fixes #480858.
6283
6284 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6285
6286         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6287
6288         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6289         First patch of code cleanups, use the macros and right arguments in the
6290         macros to signal and lock the queue. See #480858.
6291
6292 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6293
6294         * gst/gstbus.c: (poll_func):
6295         Improve debugging when dealing with _poll().
6296
6297 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6298
6299         * gst/gstregistryxml.c:
6300           Fix memory leak I introduced a few days ago.
6301
6302 2007-09-26  Michael Smith <msmith@fluendo.com>
6303
6304         * gst/gstbuffer.c: (gst_buffer_finalize):
6305           Make it once again possible to free GstBuffers in the default
6306           build.
6307           The poisoning scribbles on parts of the miniobject we need in
6308           order to free it.
6309           Fixes #480341
6310
6311 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6312
6313         * docs/gst/gstreamer-sections.txt:
6314         * gst/gsttaglist.c:
6315         * gst/gsttaglist.h:
6316         API: add GST_TAG_COMPOSER, fixes #459809.
6317
6318 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6319
6320         * gst/gstplugin.c:
6321         * gst/gstplugin.h:
6322         Add the 3-clause BSD license and the MIT/X11 license to the license
6323         list. Fixes #479784.
6324
6325 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6326
6327         * docs/faq/getting.xml:
6328           Add Q+A about different GStreamer versions (#364056).
6329
6330 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6331
6332         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6333         (gst_base_sink_event), (gst_base_sink_change_state):
6334         Return correct gboolean from query function.
6335
6336 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6337
6338         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6339         (gst_base_sink_event), (gst_base_sink_query),
6340         (gst_base_sink_change_state):
6341         Simplify latency query.
6342         When not synchronizing, we can report latency without querying the peer
6343         element.
6344
6345 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6346
6347         * gst/gstobject.h:
6348         * gst/gstvalue.c:
6349         Fix small typos in the docs.
6350
6351 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6352
6353         * docs/design/draft-latency.txt:
6354         * docs/design/draft-push-pull.txt:
6355         * docs/design/draft-tagreading.txt:
6356         * docs/design/part-MT-refcounting.txt:
6357         * docs/design/part-activation.txt:
6358         * docs/design/part-block.txt:
6359         * docs/design/part-element-source.txt:
6360         * docs/design/part-events.txt:
6361         * docs/design/part-gstbin.txt:
6362         * docs/design/part-gstelement.txt:
6363         * docs/design/part-gstobject.txt:
6364         * docs/design/part-gstpipeline.txt:
6365         * docs/design/part-messages.txt:
6366         * docs/design/part-preroll.txt:
6367         * docs/design/part-push-pull.txt:
6368         * docs/design/part-qos.txt:
6369         * docs/design/part-query.txt:
6370         * docs/design/part-scheduling.txt:
6371         * docs/design/part-seeking.txt:
6372         * docs/design/part-segments.txt:
6373         * docs/design/part-states.txt:
6374         Documentation updates and typo fixes.
6375
6376 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6377
6378         * plugins/elements/gstfakesink.c:
6379           Add some debug text to error message to indicate that
6380           we errored out on request.
6381
6382         * tools/gst-launch.c:
6383           When the state change to PLAYING fails, check for an
6384           error message on the bus and print it.
6385
6386 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6387
6388         translated by: Jorge González González <aloriel@gmail.com>
6389
6390         * po/LINGUAS:
6391         * po/es.po:
6392           Added Spanish translation.
6393
6394 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6395
6396         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6397         Fix printf arguments.
6398
6399 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6400
6401         * tests/check/generic/states.c:
6402           Improved state change unit test.
6403
6404 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6405
6406         * gst/gstbin.h:
6407           Move priv to the right place.
6408
6409         * gst/gstsystemclock.c:
6410           Add FIXME: and improve log.
6411
6412         * tests/check/Makefile.am:
6413         * tests/examples/manual/Makefile.am:
6414           Work with all types of registries.
6415
6416 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6417
6418         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6419         Don't unref the event after pushing it. Fixes #478401.
6420
6421 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6422
6423         * .cvsignore:
6424         * tests/examples/manual/.cvsignore:
6425           Ignore registries in any format.
6426
6427 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6428
6429         * gst/glib-compat-private.h:
6430           Add compatibility macro for g_intern_string() for
6431           GLib-2.8 (any reason we can't just bump the
6432           requirement to at least 2.10?)
6433
6434         * gst/gstpadtemplate.h:
6435         * gst/gstelementfactory.c:
6436         * gst/gstregistryxml.c:
6437         * gst/gstregistrybinary.c:
6438           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6439           up the internal code accordingly.  This shouldn't be a problem, since
6440           there is no reason external code could ever assume the string in such
6441           a structure is dynamically allocated unless it did that itself;  the
6442           use of g_strdup() is private to element factories.  The new code also
6443           saves some memory by putting pad template name strings into the GLib
6444           quark table instead of allocating them dynamically.
6445           Declaring this field constant fixes warnings with g++-4.2 when using
6446           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6447
6448 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6449
6450         * gst/gstelementfactory.c:
6451           Release static caps. Fixes #475723.
6452
6453 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6454
6455         * gst/gstinfo.c:
6456         * gst/gstinfo.h:
6457           Make some internal API take const gchar * instead of just
6458           gchar * to avoid compiler warnings with g++-4.2.2 when
6459           passing string constants (partially fixes #478092).
6460
6461 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6462
6463         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6464         A latency query fails when one of the sinks fail.
6465
6466         * gst/gstelement.c: (gst_element_set_base_time):
6467         Improve debugging.
6468
6469 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6470
6471         * gst/gstbin.c: (gst_bin_continue_func):
6472         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6473         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6474         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6475
6476         Fix minor compilation warnings shown with Forte.
6477
6478 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6479
6480         * plugins/elements/gstqueue.c: (apply_buffer),
6481         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6482         Measure queue level based on the diff between head and tail timestamps
6483         even when pushing the first buffer.
6484
6485 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6486
6487         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6488         (gst_base_sink_event), (gst_base_sink_change_state):
6489         Sinks that don't preroll can always be queried for the latency.
6490         Don't post ASYNC start when we are not async.
6491
6492 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6493
6494         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6495         (gst_queue_handle_sink_event), (gst_queue_chain),
6496         (gst_queue_push_one), (gst_queue_handle_src_query),
6497         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6498         * plugins/elements/gstqueue.h:
6499         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6500         push more buffers but allow pushing of EOS and NEWSEGMENT.
6501         Add some more debug info here and there. Fixes #476514.
6502
6503 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6504
6505         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6506         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6507         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6508         (gst_base_sink_set_flushing), (gst_base_sink_query),
6509         (gst_base_sink_change_state):
6510         Latency query is allowed after we are prerolled. Introduce a new flag
6511         for this and stop abusing other variables.
6512
6513 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6514
6515         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6516         Push OOB events downstream when we get them in send_event. This allows
6517         the application to insert events in the pipeline.
6518         Add some more comments.
6519
6520 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6521
6522         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6523         (do_bin_latency), (gst_bin_change_state_func):
6524         * gst/gstpipeline.c: (gst_pipeline_change_state):
6525         Move latency query from GstPipeline to GstBin so that we can also
6526         use it when async-handling is enabled on bins.
6527
6528 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6529
6530         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6531         (gst_base_src_do_sync), (gst_base_src_change_state):
6532         Update docs.
6533         Clean up the timestamping and syncing code for pseudo live sources.
6534
6535 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6536
6537         Patch by: Steve Fink  <sphink gmail com>
6538
6539         * docs/manual/appendix-checklist.xml:
6540           Mention less -R switch in the section about debug output (#474055).
6541
6542 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6543
6544         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6545         Queue can latency to the pipeline up to the configured max size in time.
6546         Report this fact in the latency query.
6547
6548 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6549
6550         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6551
6552         * libs/gst/controller/gstinterpolation.c:
6553         * libs/gst/controller/gstlfocontrolsource.c:
6554         Use gst_guint64_to_gdouble() when converting from a uint64 or
6555         GstClockTime to double to fix the build on win32. Fixes #474371.
6556
6557 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6558
6559         * gst/gstbuffer.c: (gst_buffer_finalize):
6560         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6561         When finalizing a buffer the complete struct is filled with 0xff,
6562         thus making a use of the buffer after the final unref impossible.
6563
6564 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6565
6566         * tests/check/libs/controller.c: (GST_START_TEST):
6567         Use fail_unless_equals_int(a, b) instead of
6568         fail_unless_equals (a == b) to get better output on failures.
6569
6570 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6571
6572         * tests/check/gst/gsturi.c:
6573           Also check for the other file URI variant on win32.
6574
6575 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6576
6577         * gst/gsturi.c: (gst_uri_get_location):
6578           If there's no hostname, we want to return 'c:/foo/bar.txt'
6579           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6580
6581         * tests/check/gst/gsturi.c:
6582           Unit test for the above and a few more things.
6583
6584 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6585
6586         * docs/design/part-live-source.txt:
6587         Add docs on how live sources should timestamp.
6588
6589         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6590         Add some more debug info.
6591         For subclasses that are live and like to sync, add aditional startup
6592         latency to sync time and timestamps so that we timstamp according to the
6593         design doc.
6594
6595 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6596
6597         * gst/gstbuffer.c:
6598           Also do a g_type_class_ref() for the subbuffer type in
6599           the init function.
6600
6601 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6602
6603         * docs/gst/gstreamer-sections.txt:
6604         * gst/gstpad.c: (gst_pad_peer_query):
6605         * gst/gstpad.h:
6606         Add function to perform a query on the peer of a pad.
6607         API: gst_pad_peer_query()
6608
6609 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6610
6611         * tests/check/gst/gstsystemclock.c:
6612           Cleanup the test a little (use gst-logging and not g_message). Improve
6613           test to check if a wait reached the target.
6614
6615 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6616
6617         * docs/libs/gstreamer-libs-sections.txt:
6618           Add new API to docs and fix the build.
6619
6620 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6621
6622         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6623         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6624         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6625         (gst_base_src_get_property), (gst_base_src_do_sync):
6626         * libs/gst/base/gstbasesrc.h:
6627         Add property to make the basesrc timestamp buffers based on the current
6628         running time.
6629         API: GstBaseSrc::do-timestamp
6630         API: gst_base_src_set_do_timestamp()
6631         API: gst_base_src_get_do_timestamp()
6632
6633 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6634
6635         * docs/random/release:
6636           Really make sure translations are up-to-date before
6637           a release (#465010).
6638
6639 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6640
6641         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6642         Always destroy the timer, also in error cases.
6643
6644 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6645
6646         * docs/manual/highlevel-xml.xml:
6647         Fix XML example code. Fixes #472714.
6648
6649 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6650
6651         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6652         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6653         (gst_base_sink_query):
6654         Protect eos and have_preroll with the OBJECT lock so we don't need to
6655         take the PREROLL lock when querying the latency. Fixes #473846.
6656
6657 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6658
6659         * gst/gstelement.c:
6660           Give some log-messages a category.
6661
6662 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6663
6664         * gst/gststructure.c:
6665         (gst_structure_fixate_field_nearest_fraction):
6666         Fix fraction list fixation code. Take the fraction with the smallest
6667         difference with the target instead of the first one in the list.
6668
6669         * tests/check/gst/gststructure.c: (GST_START_TEST),
6670         (gst_structure_suite):
6671         Added test to verify correct fraction list fixation behaviour.
6672
6673 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6674
6675         * win32/common/libgstreamer.def:
6676           Export gst_bus_add_signal_watch too.
6677
6678 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6679
6680         * docs/libs/gstreamer-libs-sections.txt:
6681         Add new methods to docs.
6682
6683         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6684         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6685         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6686         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6687         * libs/gst/base/gstbasesink.h:
6688         Add ts-offset property to fine-tune the synchronisation.
6689         API: GstBaseSink::ts-offset property
6690         API: gst_base_sink_set_ts_offset()
6691         API: gst_base_sink_get_ts_offset()
6692
6693 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
6694
6695         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6696         (gst_base_sink_init), (gst_base_sink_set_sync),
6697         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6698         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6699         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6700         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6701         (gst_base_sink_get_property), (gst_base_sink_change_state):
6702         * libs/gst/base/gstbasesink.h:
6703         Add async property to instruct the sink never to inform the parent about
6704         ASYNC state changes, update docs.
6705         Check argument with g_return_* for the public functions.
6706         API: GstBaseSink::async property
6707         API: gst_base_sink_set_async_enabled()
6708         API: gst_base_sink_is_async_enabled()
6709
6710 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
6711
6712         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6713         Improve debugging.
6714
6715         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6716         (gst_base_src_default_query), (gst_base_src_wait),
6717         (gst_base_src_do_sync), (gst_base_src_change_state):
6718         Rearrange some code so that we can add support for measuring the 
6719         startup latency.
6720
6721 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
6722
6723         * docs/random/ensonic/dynlink.txt:
6724           More thoughs on this.
6725
6726         * plugins/elements/gstcapsfilter.c:
6727           Add bugzilla ticket number to FIXME comment.
6728
6729 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
6730
6731         * docs/design/part-TODO.txt:
6732         * docs/design/part-block.txt:
6733         Update some docs.
6734
6735 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6736
6737         * gst/Makefile.am:
6738           Revert patch which uses $(gst_headers) instead of $^ because it
6739           breaks make dist.
6740
6741 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6742
6743         * tests/check/gst/gstbin.c: (GST_START_TEST):
6744           Fix leaks in the new unit test.
6745
6746 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
6747
6748         * gst/gst.c:
6749           Don't use GST_INFO before the debug system is actually initialised
6750           (shouldn't do any harm, but won't print anything either, so we can
6751           just as well remove it).
6752
6753         * gst/gstinfo.h:
6754           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6755           compilers that don't support variadic macros (such as MSVC), should
6756           check for debug_level <= __gst_debug_min as well, since that's the
6757           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6758           inline helper functions. Should improve performance a bit, but also
6759           makes sure uses of GST_INFO et.al are ignored if the debugging
6760           system isn't initialised yet (instead of printing an assertion
6761           failure).
6762
6763 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
6764
6765         patch by: David Nečas <yeti@physics.muni.cz>
6766
6767         * gst/Makefile.am:
6768           Replace some non portable makefile constructs.
6769
6770 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
6771
6772         * common/gtk-doc-plugins.mak:
6773           Grrrrr. Don't remove the types file on make clean.
6774
6775 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
6776
6777         * tools/gst-launch.1.in:
6778         Add colorspace to example pipeline. Fixes #458274.
6779
6780 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
6781
6782         * docs/random/release:
6783           The release manager should run 'make download-po' before making a
6784           release to make sure translations are up-to-date.
6785
6786         * po/LINGUAS:
6787         * po/be.po:
6788         * po/pl.po:
6789         * po/rw.po:
6790           Add some new translations.
6791
6792 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
6793
6794         * tools/gst-launch.c: (event_loop), (main):
6795         Don´t try to do any state management when a live pipeline posts
6796         buffering messages.
6797         Also make the buffering string translatable.
6798
6799 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6800
6801         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6802         (bin_handle_async_start), (gst_bin_handle_message_func):
6803         Improve debugging.
6804         When adding elements, insert messages into the bus of the newly added
6805         element and make sure the element is the source of the message. This
6806         allows the parent bin to intercept the message and do the
6807         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6808         messages to the app (which is not allowed).
6809         Update some docs.
6810
6811         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6812         Fix testsuite so that is does not work around messages that should not
6813         have been posted in the first place.
6814
6815 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6816
6817         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6818         (update_degree), (gst_bin_sort_iterator_next):
6819         Fix annoying bug in the sorted iterator where a sink that is not really
6820         a sink (when it has downstream links) screwed up the iterator.
6821
6822         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6823         Unit test to verify the fix.
6824
6825 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6826
6827         * gst/gstmessage.h:
6828         Add some more docs for the messages.
6829
6830         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6831         (gst_base_sink_query):
6832         Add some more debugging.
6833
6834         * tools/gst-launch.c: (event_loop):
6835         When interrupting, don't try to set pipeline to PAUSED twice.
6836
6837 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
6838
6839         
6840         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6841         (bin_handle_async_start), (gst_bin_handle_message_func):
6842         Move ASYNC_START message posting to where it belongs, similar to
6843         async_done. 
6844         Don't post ASYNC_START when we are in error. 
6845         Post ASYNC_START when we added an async element to a bin.
6846
6847 2007-08-14  Julien MOUTTE  <julien@moutte.net>
6848
6849         * gst/gstindex.c: (gst_index_add_association): Fix index entry
6850         generation from vargs. Fixes #466595.
6851
6852 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
6853
6854         * gst/gstbin.c: (gst_bin_element_set_state):
6855         Always change the state of a NO_PREROLL element even if it has ASYNC
6856         elements inside (in case of a bin).
6857
6858         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6859         Unit test for this case.
6860
6861 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
6862
6863         * libs/gst/check/gstbufferstraw.c:
6864         * libs/gst/check/gstcheck.h:
6865         * libs/gst/controller/gstcontroller.c:
6866         * libs/gst/controller/gstcontrolsource.h:
6867         * libs/gst/controller/gstlfocontrolsource.h:
6868         * plugins/elements/gstcapsfilter.h:
6869         * plugins/elements/gstfdsink.h:
6870         * plugins/elements/gstfdsrc.h:
6871           Add more missing docs.
6872
6873 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6874
6875         * gst/gststructure.c:
6876         Add Since tag to docs.
6877
6878 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6879
6880         * docs/gst/gstreamer-sections.txt:
6881         * gst/gststructure.c: (gst_structure_get_uint):
6882         * gst/gststructure.h:
6883         Add function to get uint from a structure.
6884         API: gst_structure_get_uint()
6885
6886 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6887
6888         * gst/gstcaps.c: (gst_caps_set_simple_valist),
6889         (gst_caps_intersect):
6890         Fix proper check for simple caps.
6891
6892 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
6893
6894         * docs/gst/Makefile.am:
6895         * docs/libs/Makefile.am:
6896           Remove cruft and do some cleanups.
6897
6898         * docs/gst/gstreamer-docs.sgml:
6899         * docs/libs/gstreamer-libs-docs.sgml:
6900           Prepare for comming gtkdoc features (rebase against online docs).
6901
6902 2007-08-10  Michael Smith <msmith@fluendo.com>
6903
6904         * docs/gst/gstreamer-sections.txt:
6905           Add gst_registry_add_path to docs.
6906
6907 2007-08-10  Michael Smith <msmith@fluendo.com>
6908
6909         * gst/gstregistry.h:
6910           Add gst_registry_add_path, which was missing from this header.
6911
6912 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6913
6914         * libs/gst/controller/gstlfocontrolsource.c:
6915           Printf format fix.
6916
6917 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6918
6919         * libs/gst/base/gstbasesink.c:
6920           Don't send an async_start message during downwards state change if 
6921           target state is less than READY
6922
6923 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6924
6925         translated by: Gabor Kelemen <kelemeng@gnome.hu>
6926
6927         * po/LINGUAS:
6928         * po/hu.po:
6929           Added Hungarian translation.
6930
6931 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6932
6933         * po/fi.po:
6934         * po/it.po:
6935         * po/nl.po:
6936         * po/sv.po:
6937         * po/uk.po:
6938           Updated translations.
6939
6940 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
6941
6942         * libs/gst/controller/Makefile.am:
6943         Dist gstlfocontrolsourceprivate.h
6944
6945 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
6946
6947         * docs/libs/gstreamer-libs.types:
6948         Don't register the enum type gst_lfo_waveform_get_type() in the
6949         .types file - only GObject derived types belong.
6950
6951 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
6952
6953         Patch by: <arenevier at fdn dot fr>
6954
6955         * gst/gstbuffer.h:
6956         Remove comma from last element in enum to avoid compile errors when
6957         using -pendantic. Fixes #464366.
6958
6959 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
6960
6961         * docs/design/part-TODO.txt:
6962         Add some more TODO items
6963
6964         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
6965         Improve debugging.
6966
6967         * gst/gstcaps.c: (gst_caps_intersect):
6968         Optimize trivial intersection case between identical caps pointers.
6969
6970         * gst/gstelement.c: (gst_element_continue_state),
6971         (gst_element_set_state_func):
6972         * gst/gstpad.c:
6973         Fix spelling and grammar mistakes.
6974
6975 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
6976
6977         * po/POTFILES.in:
6978         * po/POTFILES.skip:
6979           Update POTFILES. Fixes #461599.
6980
6981 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
6982
6983         * gst/gst.c:
6984         Fix confusing typo in debug output.
6985
6986 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
6987
6988         reviewed by: Stefan Kost <ensonic@users.sf.net>
6989
6990         * libs/gst/controller/Makefile.am:
6991         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
6992         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
6993         (gst_lfo_control_source_new),
6994         (gst_lfo_control_source_set_waveform),
6995         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
6996         (gst_lfo_control_source_finalize),
6997         (gst_lfo_control_source_dispose),
6998         (gst_lfo_control_source_set_property),
6999         (gst_lfo_control_source_get_property),
7000         (gst_lfo_control_source_class_init):
7001         * libs/gst/controller/gstlfocontrolsource.h:
7002         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7003         API: Add GstLFOControlSource, a control source that gives values
7004         for specific timestamps based on several periodic waveforms.
7005         Fixes #459717.
7006
7007         * tests/check/libs/controller.c: (GST_START_TEST),
7008         (gst_controller_suite):
7009         * docs/libs/gstreamer-libs-docs.sgml:
7010         * docs/libs/gstreamer-libs-sections.txt:
7011         * docs/libs/gstreamer-libs.types:
7012         Add documentation and unit tests for GstLFOControlSource.
7013
7014 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7015
7016         * configure.ac:
7017         Back to CVS
7018
7019 === release 0.10.14 ===
7020
7021 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7022
7023         * configure.ac:
7024           releasing 0.10.14, "Breathing Vacuum"
7025
7026 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7027
7028         * gst/gstelement.c: (gst_element_class_set_details_simple):
7029         * gst/gstelement.h:
7030           Make strings passed to gst_element_class_set_details_simple()
7031           constant, as they should be (#462752).
7032
7033 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7034
7035         * gst/gstbin.c: (gst_bin_change_state_func),
7036         (bin_handle_async_done), (gst_bin_handle_message_func):
7037         Don't forget about the fact that some element went ASYNC even after a
7038         resync. This makes us post the ASYNC_DONE message correctly.
7039         Fixes #462558.
7040
7041 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7042
7043         * gst/gstregistry.c: (gst_registry_add_feature):
7044         When replacing an existing feature in the registry, make sure to
7045         continue holding a reference until we've replaced the name string
7046         within our feature hash table. Make sure to use g_hash_table_replace
7047         instead of g_hash_table_insert to ensure the new name string is used
7048         as a key instead of the old one that we're about to free.
7049         Fixes: #462085
7050
7051 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7052
7053         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7054         (gst_plugin_feature_set_name):
7055         Revert patch from #459466 until after the release and we can work
7056         out exactly what the problem is (if any).
7057
7058 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7059
7060         * docs/gst/gstreamer-sections.txt:
7061         * gst/gsttaglist.c:
7062         * gst/gsttaglist.h:
7063           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7064
7065 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7066
7067         * docs/libs/Makefile.am:
7068         Include our build-prefix libs and includes before the generic ones to
7069         avoid linking against the installed libs when we want the build-tree
7070         ones.
7071
7072 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7073
7074         Patch by: Steve Fink  <sphink gmail com>
7075
7076         * docs/pwg/building-testapp.xml:
7077           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7078           if people try to build or install the example from the plugin
7079           template against a GStreamer from package using the configure
7080           defaults.
7081
7082 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7083
7084         Patch by: Steve Fink  <sphink gmail com>
7085
7086         * tools/gst-inspect.1.in:
7087           Document --print-all and --print-plugin-auto-install-info command
7088           line options in man page.
7089
7090 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7091
7092         * docs/gst/gstreamer-sections.txt:
7093         Add docs for new api function.
7094
7095 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7096
7097         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7098         * gst/gstelementfactory.h:
7099         API: gst_element_factory_has_interface()
7100         Added method to check if an element factory implements a named
7101         interface.
7102
7103 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7104
7105         * configure.ac:
7106         * docs/gst/gstreamer.types.in:
7107           Another conditional doc check.
7108
7109         * gst/gstmessage.c:
7110         * gst/gstparamspecs.h:
7111         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7112         * gst/gstvalue.c:
7113         * gst/gstxml.h:
7114           API-doc fixes.
7115
7116 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7117
7118         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7119         (gst_registry_binary_load_feature),
7120         (gst_registry_binary_load_plugin),
7121         (gst_registry_binary_read_cache):
7122           Print error just once and with additional info.
7123
7124 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7125
7126         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7127         (helper_find_suggest), (helper_find_get_length),
7128         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7129         (gst_type_find_helper_for_buffer):
7130           Cleanup the typefindhelper code and add private doc comments.
7131
7132 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7133
7134         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7135         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7136         Fix capsfilter for cases where the caps set on capsfilter will provide
7137         additional information.
7138         Fixes #449197
7139
7140 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7141
7142         * gst/gsttypefindfactory.c:
7143           Fix docs that recommened wrong function to use.
7144
7145 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7146
7147         * tools/gst-inspect.c: (print_plugin_features):
7148           Also give media-type for typefinders in element output.
7149
7150 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7151
7152         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7153         (gst_registry_remove_features_for_plugin_unlocked),
7154         (gst_registry_add_feature), (gst_registry_remove_feature),
7155         (gst_registry_lookup_feature_locked):
7156         * gst/gstregistry.h:
7157           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7158           Fixes #459501.
7159
7160 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7161
7162         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7163         (gst_plugin_feature_set_name):
7164           Avoid double memory usage for pluginfeature names. Fixes #459466.
7165
7166 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7167
7168         * gst/gstpad.h:
7169           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7170           driving the pipeline may need to explicitly check for NOT_LINKED as
7171           well, since IS_FATAL doesn't cover that.
7172
7173 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7174
7175         * docs/pwg/advanced-types.xml:
7176           Fix typo and duplicate entry in video formats list.
7177
7178 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7179
7180         * libs/gst/controller/gstinterpolation.c:
7181         Also round to the nearest int when using cubic interpolation.
7182
7183 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7184
7185         * libs/gst/controller/gstinterpolation.c:
7186         When linearly interpolating integer types, round to the nearest int
7187         by adding 0.5. Don't do it for float/double types.
7188         Fixes the failing controller test on my machine, which is somehow
7189         rounding differently than on the buildbots.
7190
7191 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7192
7193         * tools/gst-plot-timeline.py:
7194           Better log parsing (categories can have -). Adjust text vs. lines, so
7195           that they span the same y-range.        
7196
7197 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7198
7199         * docs/random/ensonic/audiobaseclasses.txt:
7200         * docs/random/ensonic/dynlink.txt:
7201         * docs/random/ensonic/profiling.txt:
7202           Save my thoughts.
7203
7204         * docs/random/moving-plugins:
7205           Add note to use g_assert type macros.
7206
7207 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7208
7209         * configure.ac:
7210         * libs/gst/check/Makefile.am:
7211           Add libm check as we use in for plugins.
7212
7213 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7214
7215         * gst/gstbin.c: (gst_bin_continue_func):
7216         Check that the state_cookie hasn't changed since the continue_func
7217         was scheduled. Avoids problems where the state changes back to
7218         something it shouldn't be because it was changed in the meantime.
7219
7220 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7221
7222         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7223         (gst_registry_binary_save_string),
7224         (gst_registry_binary_save_pad_template),
7225         (gst_registry_binary_save_feature),
7226         (gst_registry_binary_save_plugin),
7227         (gst_registry_binary_load_feature),
7228         (gst_registry_binary_load_plugin),
7229         (gst_registry_binary_read_cache):
7230           Fix memory leak. Be less verbose in the log.
7231
7232 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7233
7234         * tests/check/elements/.cvsignore:
7235         Add file to cvsignore as commanded.
7236
7237 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7238
7239         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7240         (mq_dummypad_event), (run_output_order_test):
7241         Use a GStaticMutex to protect all cases where libcheck
7242         fail_if/fail_unless macros might be called from multiple threads
7243         simultaneously to avoid errors like:
7244           "check_pack.c:107: :-1081725400:Bad message type arg"
7245
7246 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7247
7248         * tests/check/pipelines/stress.c: (GST_START_TEST):
7249         Make sure we set the pipeline back to the NULL state before
7250         dropping our final reference.
7251
7252 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7253
7254         * tests/check/elements/tee.c: (GST_START_TEST):
7255         Make the tee stress-test a little less stressful so it doesn't just
7256         time out on slow-machines, and remove a small race when it's starting 
7257         up by adding a get_state() call.
7258
7259 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7260
7261         * gst/gst.c:
7262           Avoid reading registry twice on startup. Fixes #457322.
7263
7264 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7265
7266         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7267         * pkgconfig/gstreamer-check.pc.in:
7268         Substitute the CFLAGS for libcheck into our .pc file too so that
7269         dependent modules will pick it up properly if libcheck is installed
7270         into some other prefix.
7271
7272 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7273
7274         * configure.ac:
7275         Revert the pkg-config check for libcheck, since it pulls in the
7276         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7277         a proper solution, either from the check project, or something else.
7278
7279 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7280
7281         * configure.ac:
7282           Use pkg-config to locate check.
7283
7284 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7285
7286         * gst/gsttaglist.c:
7287           Fix doc syntax.
7288
7289         * gst/gstutils.c:
7290         * gst/gstutils.h:
7291           Add deprecation guards.
7292
7293         * libs/gst/base/gstcollectpads.h:
7294           Don't document object (this is implicitly private).
7295
7296 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7297
7298         * gst/gststructure.c: (gst_structure_parse_value):
7299           When deserialising foo=bar without a type cast, check if it's a
7300           boolean before falling back to a string type, otherwise things like
7301           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7302           because the filtercaps end up having a signed=(string)true field,
7303           which causes problems later when intersection caps.
7304
7305         * tests/check/gst/gststructure.c: (GST_START_TEST):
7306           Add a unit test for this.
7307
7308 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7309
7310         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7311
7312         * libs/gst/controller/Makefile.am:
7313         * libs/gst/controller/gstcontroller.c:
7314         (gst_controlled_property_add_interpolation_control_source),
7315         (gst_controlled_property_new), (gst_controlled_property_free),
7316         (gst_controller_find_controlled_property),
7317         (gst_controller_new_valist), (gst_controller_new_list),
7318         (gst_controller_new), (gst_controller_remove_properties_valist),
7319         (gst_controller_remove_properties_list),
7320         (gst_controller_remove_properties),
7321         (gst_controller_set_property_disabled),
7322         (gst_controller_set_disabled), (gst_controller_set_control_source),
7323         (gst_controller_get_control_source), (gst_controller_get),
7324         (gst_controller_sync_values), (gst_controller_get_value_array),
7325         (_gst_controller_dispose), (gst_controller_get_type),
7326         (gst_controlled_property_set_interpolation_mode),
7327         (gst_controller_set), (gst_controller_set_from_list),
7328         (gst_controller_unset), (gst_controller_unset_all),
7329         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7330         * libs/gst/controller/gstcontroller.h:
7331         * libs/gst/controller/gstcontrollerprivate.h:
7332         * libs/gst/controller/gstcontrolsource.c:
7333         (gst_control_source_class_init), (gst_control_source_init),
7334         (gst_control_source_get_value),
7335         (gst_control_source_get_value_array), (gst_control_source_bind):
7336         * libs/gst/controller/gstcontrolsource.h:
7337         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7338         (gst_object_get_control_source):
7339         * libs/gst/controller/gstinterpolation.c:
7340         (gst_interpolation_control_source_find_control_point_node),
7341         (gst_interpolation_control_source_get_first_value),
7342         (_interpolate_none_get), (interpolate_none_get),
7343         (interpolate_none_get_boolean_value_array),
7344         (interpolate_none_get_enum_value_array),
7345         (interpolate_none_get_string_value_array),
7346         (_interpolate_trigger_get), (interpolate_trigger_get),
7347         (interpolate_trigger_get_boolean_value_array),
7348         (interpolate_trigger_get_enum_value_array),
7349         (interpolate_trigger_get_string_value_array):
7350         * libs/gst/controller/gstinterpolationcontrolsource.c:
7351         (gst_control_point_free), (gst_interpolation_control_source_reset),
7352         (gst_interpolation_control_source_new),
7353         (gst_interpolation_control_source_set_interpolation_mode),
7354         (gst_interpolation_control_source_bind),
7355         (gst_control_point_compare), (gst_control_point_find),
7356         (gst_interpolation_control_source_set_internal),
7357         (gst_interpolation_control_source_set),
7358         (gst_interpolation_control_source_set_from_list),
7359         (gst_interpolation_control_source_unset),
7360         (gst_interpolation_control_source_unset_all),
7361         (gst_interpolation_control_source_get_all),
7362         (gst_interpolation_control_source_get_count),
7363         (gst_interpolation_control_source_init),
7364         (gst_interpolation_control_source_finalize),
7365         (gst_interpolation_control_source_dispose),
7366         (gst_interpolation_control_source_class_init):
7367         * libs/gst/controller/gstinterpolationcontrolsource.h:
7368         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7369         API: Refactor GstController into the core controller which can take
7370         a GstControlSource for providing actual values for timestamps.
7371         Implement a interpolation control source and use this for backward
7372         compatibility, deprecate a bunch of functions that are now handled
7373         by GstControlSource or GstInterpolationControlSource.
7374         Make it possible to disable the controller completely or only for
7375         specific properties. Fixes #450711.
7376         * docs/libs/gstreamer-libs-docs.sgml:
7377         * docs/libs/gstreamer-libs-sections.txt:
7378         * docs/libs/gstreamer-libs.types:
7379         Add new functions and classes to the docs.
7380         * tests/check/libs/controller.c: (GST_START_TEST),
7381         (gst_controller_suite):
7382         * tests/examples/controller/audio-example.c: (main):
7383         Port unit test and example to the new API and add some new
7384         unit tests.
7385
7386 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7387
7388         Patch by: Mark Nauwelaerts <manauw at skynet be>
7389
7390         * plugins/elements/gstmultiqueue.c:
7391         (gst_multi_queue_get_internal_links), (apply_buffer),
7392         (single_queue_overrun_cb), (gst_single_queue_new):
7393         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7394         the pipeline layout can be tracked correctly. Fixes #453732.
7395
7396 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7397
7398         * docs/gst/Makefile.am:
7399         * docs/libs/Makefile.am:
7400         * docs/plugins/Makefile.am:
7401           Simplify --extra-dir as gtkdoc scans recursively.
7402
7403 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7404
7405         * tools/gst-launch.c: (main):
7406         When we got an error, there is no point in waiting for preroll when
7407         shutting down.
7408
7409 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7410
7411         * plugins/elements/gsttee.c: (gst_tee_base_init),
7412         (gst_tee_request_new_pad), (gst_tee_release_pad),
7413         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7414         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7415         (gst_tee_chain):
7416         Be a lot smarter when deciding what srcpad to use for proxying
7417         the buffer_alloc. Also handle pad added/removed when doing so.
7418         Fixes #357959.
7419         Keep track of what pads we already pushed on in case we have pads
7420         added/removed while pushing. Fixes #374639 
7421
7422         * tests/check/Makefile.am:
7423         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7424         (tee_suite):
7425         Added unit test for pad resync.
7426
7427 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7428
7429         * po/nl.po:
7430         * po/sv.po:
7431           Updated translations.
7432
7433 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7434
7435         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7436
7437         * po/LINGUAS:
7438         * po/fi.po:
7439           Added new Finnish translation.
7440
7441 2007-06-28  Wim Taymans  <wim@fluendo.com>
7442
7443         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7444         (single_queue_overrun_cb):
7445         When figuring out when a queue is filled, use our internal time estimate
7446         based on segments, just like check_full does.
7447
7448 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7449
7450         * gst/gstminiobject.c: (gst_mini_object_get_type):
7451           Remove 3 do-nothing methods.
7452
7453 2007-06-27  Wim Taymans  <wim@fluendo.com>
7454
7455         Patch by: Tim Angus <tim at ngus dot net>
7456
7457         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7458         (gst_capsfilter_set_property):
7459         Take a reference instead of a copy when setting "caps".
7460         Fix documentation to clarify this behaviour. Fixes #449414.
7461
7462 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7463
7464         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7465         * gst/gstplugin.c: (gst_plugin_init):
7466         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7467         * gst/gstquery.c: (gst_query_get_type):
7468         * gst/gstregistry.c: (gst_registry_init):
7469         * gst/gsturi.c: (gst_uri_handler_base_init):
7470           Remove empty instance_init() functions to save relocs and lessen the
7471           noise. Remove some of the function prototypes that are doubled by
7472           G_DEFINE_TYPE.
7473           
7474 2007-06-27  Wim Taymans  <wim@fluendo.com>
7475
7476         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7477
7478         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7479         Add peer and direction in the XML serialisation of ghostpads.
7480         Fixes #449226.
7481
7482 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7483
7484         * configure.ac:
7485           Preserve useful information, thanks Tim.
7486
7487 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7488
7489         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7490         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7491         (gst_single_queue_push_one), (gst_multi_queue_loop),
7492         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7493         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7494         (compute_high_id), (gst_single_queue_new):
7495         * plugins/elements/gstmultiqueue.h:
7496         Take the multiqueue lock when updating the fill level so we don't get
7497         confused. 
7498
7499         After applying a buffer or event on the src pad segment, make sure to
7500         call gst_data_queue_limits_changed() to get the data queue to unblock
7501         and check the filled state again.
7502         
7503         Rework the not-linked pad handling so the logic is that not-linked 
7504         pads can push as fast as they like, but only so they never get 
7505         ahead of any linked pads.
7506
7507         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7508         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7509         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7510
7511         Add a test to check that not-linked pads always stay behind
7512         linked pads.
7513
7514         Fixes: #430682
7515
7516 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7517
7518         * docs/random/release:
7519           Some updates to the release procedure.
7520
7521 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7522
7523         * gst/gstelementfactory.c: (__gst_element_details_clear):
7524           Microoptimization that saves stunning 80 bytes.
7525
7526 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7527
7528         * docs/plugins/gstreamer-plugins.args:
7529         * docs/plugins/inspect/plugin-coreelements.xml:
7530         * docs/plugins/inspect/plugin-coreindexers.xml:
7531           Update docs with caps info.
7532
7533 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7534
7535         * po/it.po:
7536           Updated Italian translation.
7537
7538 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7539
7540         * ChangeLog:
7541         * po/vi.po:
7542           Update Vietnamese translations.
7543
7544 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7545
7546         * libs/gst/base/gstbasesink.c:
7547           Remove unused signal enum.
7548
7549 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7550
7551         * docs/gst/gstreamer-sections.txt:
7552         * gst/gstelement.c:
7553         * gst/gstutils.c: (gst_type_register_static_full):
7554         Beef up and include the docs for gst_type_register_static_full and
7555         gst_element_class_set_details_simple and add the API keyword
7556         in the ChangeLog.
7557
7558 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7559
7560         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7561         (update_time_level), (gst_single_queue_push_one),
7562         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7563         (single_queue_overrun_cb), (single_queue_underrun_cb),
7564         (single_queue_check_full):
7565         Fix setting max-* properties after adding queues.
7566         Use IS_FILLED for checking visible items.
7567         Signal overrun if multiple queues overrun.
7568         Add extra debug output.
7569         Patch by: Wim Taymans <wim@fluendo.com>
7570
7571 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7572
7573         * gst/gstelement.c: (gst_element_class_set_details_simple):
7574         * gst/gstelement.h:
7575         * gst/gstutils.c: (gst_type_register_static_full):
7576         * gst/gstutils.h:
7577         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7578         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7579         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7580         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7581         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7582         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7583         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7584         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7585         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7586         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7587         (apply_buffer), (gst_queue_chain):
7588         * plugins/elements/gsttee.c: (gst_tee_base_init):
7589         * plugins/elements/gsttypefindelement.c:
7590         (gst_type_find_element_base_init),
7591         (gst_type_find_element_class_init):
7592           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7593           API: add gst_type_register_static_full
7594           API: add gst_element_class_set_details_simple
7595
7596 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7597
7598         * docs/pwg/advanced-types.xml:
7599           Fix typo in iana.org URI.
7600
7601 2007-06-19  Andy Wingo  <wingo@pobox.com>
7602
7603         * tests/check/pipelines/simple-launch-lines.c
7604         (test_state_change_returns): Enable pull-mode tests now that
7605         basesink has been fixed.
7606
7607         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7608         Changed from gst_base_sink_is_prerolled, reversing the sense of
7609         the return value. Returns FALSE also if the sink is in pull mode,
7610         in which case it needs no preroll.
7611         (gst_base_sink_query, gst_base_sink_change_state): Update for
7612         needs_preroll change.
7613         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7614         chaining up, in which we return SUCCESS directly if we activated
7615         in pull mode instead of ASYNC. Involves countering an async_start
7616         message sent before chaining up; not sure if this is correct, in
7617         an ideal world we only send async-start when activating in push
7618         mode.
7619
7620         * tests/check/pipelines/simple-launch-lines.c
7621         (test_state_change_returns): New test, partially disabled until
7622         basesink is fixed.
7623
7624 2007-06-19  Wim Taymans  <wim@fluendo.com>
7625
7626         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7627         (gst_multi_queue_sink_event):
7628         Fix event leak.
7629
7630 2007-06-19  Wim Taymans  <wim@fluendo.com>
7631
7632         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7633         (gst_bin_change_state_func), (bin_push_state_continue),
7634         (bin_handle_async_start), (bin_handle_async_done),
7635         (gst_bin_handle_message_func):
7636         Move the common code for posting state-change messages into
7637         one function.
7638         Broadcast the state signal after we posted the messages.
7639         Mark the bin as busy when it's doing a state-change.
7640         Make sure async-start/done messages don't interfere with the bin's
7641         state when it's busy.
7642         After the state change, let the bin check which elements completed the
7643         state change while it was busy so that it can update its state.
7644
7645 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7646
7647         * docs/random/release:
7648         Add a note about updating the doap file to the release checklist
7649
7650 2007-06-18  Wim Taymans  <wim@fluendo.com>
7651
7652         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7653         (gst_single_queue_push_one), (gst_multi_queue_chain),
7654         (gst_multi_queue_sink_event):
7655         Make sure we don't reference the buffer/event after we have given away
7656         ownership in the queue.
7657
7658 2007-06-18  Wim Taymans  <wim@fluendo.com>
7659
7660         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7661         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7662         Update queue state _after_ adding the item in the queue because else we
7663         could end up being full without the element added yet.
7664
7665 2007-06-18  Wim Taymans  <wim@fluendo.com>
7666
7667         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7668         (gst_bin_remove_func), (gst_bin_get_state_func),
7669         (gst_bin_element_set_state), (gst_bin_continue_func),
7670         (bin_push_state_continue), (bin_handle_async_start),
7671         (bin_handle_async_done), (gst_bin_handle_message_func):
7672         * gst/gstbin.h:
7673         Immediatly commit the toplevel bin state when receiving an async-done
7674         message. This enables us to avoid spawning a thread to commit the state
7675         in some common cases and it also avoids some races.
7676         Avoid spawning a state thread when adding/removing async elements to a
7677         toplevel bin. Instead we immediatly update the bin state.
7678         Get rid of iterating all the children when getting the state in the bin
7679         because it is now always up-to-date.
7680         Fix bug where locked elements would always return _SUCCESS even it they
7681         returned NO_PREROLL before being locked.
7682         Fix the order of the state_change, async-start/done messages that was
7683         sometimes incorrect.
7684         Mark the state_dirty field as deprecated, we don't need it anymore as we
7685         are always up-to-date.
7686
7687         * gst/gstelement.c: (gst_element_get_state_func),
7688         (gst_element_continue_state):
7689         Small debug inprovements.
7690         Return the previous element state return when nothing is pending instead
7691         of blindly returning SUCCESS.
7692
7693         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7694         (gst_sinks_suite):
7695         Add a whole bunch of new testcases.
7696
7697 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
7698
7699         * po/uk.po:
7700         * po/vi.po:
7701           Update translations.
7702
7703 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
7704
7705         * gst/gstpad.c:
7706         Fix typo in the docs.
7707
7708 2007-06-15  Wim Taymans  <wim@fluendo.com>
7709
7710         * docs/libs/gstreamer-libs-sections.txt:
7711         Add docs for new methods.
7712
7713 2007-06-15  Wim Taymans  <wim@fluendo.com>
7714
7715         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7716         (gst_multi_queue_item_new):
7717         Don't use GSlice because we don't depend on >= 2.10 yet.
7718
7719 2007-06-15  Wim Taymans  <wim@fluendo.com>
7720
7721         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7722         (update_time_level), (apply_segment), (apply_buffer),
7723         (gst_single_queue_push_one), (gst_multi_queue_item_new),
7724         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7725         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7726         (single_queue_underrun_cb), (single_queue_check_full):
7727         Remove debug printf.
7728
7729 2007-06-15  Wim Taymans  <wim@fluendo.com>
7730
7731         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7732         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7733         (gst_data_queue_set_flushing), (gst_data_queue_push),
7734         (gst_data_queue_pop), (gst_data_queue_drop_head),
7735         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7736         * libs/gst/base/gstdataqueue.h:
7737         Various cleanups.
7738         Added methods to get the current levels and to inform the queue that the
7739         'full' limits changed.
7740
7741         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7742         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7743         (gst_single_queue_flush), (update_time_level), (apply_segment),
7744         (apply_buffer), (gst_single_queue_push_one),
7745         (gst_multi_queue_item_steal_object),
7746         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7747         (gst_multi_queue_loop), (gst_multi_queue_chain),
7748         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7749         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7750         (gst_multi_queue_src_query), (single_queue_overrun_cb),
7751         (single_queue_underrun_cb), (single_queue_check_full),
7752         (gst_single_queue_new):
7753         Keep track of time in the queue by measuring the difference between
7754         running_time on input and output. This gives more accurate results and
7755         can compensate for segments correctly.
7756         Make a queue by default only 5 buffers deep. We will now increase the
7757         buffer size depending on the filledness of the other queues.
7758         Factor out commong flush code.
7759         Make sure we don't add additional refcounts to buffers when we can avoid
7760         it.
7761         Propagate GstFlowReturn differently.
7762         Use GSlice for intermediate GstMultiQueueItems.
7763         Keep track of EOS.
7764         Resize queues on over and underruns based on filled level of other
7765         queues.
7766         When checking if the queue is filled, prefer to measure in time if we
7767         can and fall back to bytes when no time is known.
7768
7769         * plugins/elements/gstqueue.c:
7770         Fix return value.
7771
7772 2007-06-15  Wim Taymans  <wim@fluendo.com>
7773
7774         * libs/gst/base/gstbasetransform.c:
7775         (gst_base_transform_sink_event):
7776         Work around the brokenness of the event vmethod in basetransform. Prefer
7777         to return TRUE when the subclass returned FALSE (meaning don't forward
7778         the event). 
7779
7780         * libs/gst/base/gstbasetransform.h:
7781         Clarify the docs.
7782
7783 2007-06-15  Wim Taymans  <wim@fluendo.com>
7784
7785         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7786         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7787         (gst_base_src_default_query), (gst_base_src_get_range),
7788         (gst_base_src_start):
7789         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7790         Improve debugging.
7791
7792 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7793
7794         * docs/pwg/advanced-types.xml:
7795           Added more formats to caps table.
7796
7797 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7798
7799         * tools/gst-launch.c: (main):
7800           Remove crufy code. GOption does not need this workaround.
7801
7802 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7803
7804         * libs/gst/controller/gstcontroller.c:
7805         (gst_controlled_property_set_interpolation_mode):
7806           Fix wrong getter for enums in controller.
7807
7808 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7809
7810         * libs/gst/check/gstcheck.c: (gst_check_init):
7811           Intercept criticals and warnings in the Gst-Phonon log domain, so
7812           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7813           well.
7814         
7815 2007-06-14  Edward Hervey  <edward@fluendo.com>
7816
7817         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7818         Since this file doesn't include "gst.h" it will not go through the
7819         macros that disable GST_LOG if debugging was disabled.
7820
7821 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7822
7823         * libs/gst/check/Makefile.am:
7824         * libs/gst/check/gstcheck.h:
7825         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7826         * pkgconfig/gstreamer-check.pc.in:
7827           Ugly 'fix' for the controller unit test on the p5 bot: in
7828           fail_unless_equals_float() check whether the values are 'almost
7829           equal' by allowing a small absolute error, which should be good
7830           enough for our use cases (normal numbers and values close to 0).
7831           Proper fixage left to floating point arithmetic aficionados.
7832
7833 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7834
7835         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7836         (gst_base_sink_render_object), (gst_base_sink_get_position):
7837           Add two breaks thats where missing.
7838
7839 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7840
7841         * docs/libs/gstreamer-libs-sections.txt:
7842         * libs/gst/check/gstcheck.h:
7843           API: add fail_unless_equals_float() and assert_equals_float().
7844           Add documentation for some of the macros.
7845
7846         * tests/check/libs/controller.c: (GST_START_TEST):
7847           Use newly-added asserts.
7848
7849 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7850
7851         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7852           Show the caps change in the log to help spotting the case of not
7853           exactly matching caps.
7854
7855 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7856
7857         * docs/pwg/building-boiler.xml:
7858           Fix typos, spotted by Thijs Vermeir (#447190).
7859
7860 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
7861
7862         * docs/plugins/tmpl/.cvsignore:
7863         Ignore file to keep the buildbots happy
7864
7865 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
7866
7867         * docs/plugins/Makefile.am:
7868         * docs/plugins/gstreamer-plugins-docs.sgml:
7869         * docs/plugins/gstreamer-plugins-sections.txt:
7870         Pull fdsink into the docs too.
7871
7872 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
7873
7874         * libs/gst/controller/gstinterpolation.c:
7875         Actually use the new functions with min/max checks for the trigger and
7876         none interpolation modes for get() and get_value_array() instead of
7877         just the latter.
7878
7879 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
7880
7881         * libs/gst/controller/gstcontroller.c:
7882         (gst_controlled_property_free):
7883         Unset the minimum and maximum GValues when freeing the corresponding
7884         GstControllerProperty struct.
7885
7886 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
7887
7888         * libs/gst/controller/gstcontroller.c:
7889         (gst_controlled_property_new):
7890         * libs/gst/controller/gstcontrollerprivate.h:
7891         * libs/gst/controller/gstinterpolation.c:
7892         (gst_controlled_property_find_control_point_node),
7893         (interpolate_none_get), (interpolate_none_get_enum_value_array),
7894         (interpolate_none_get_string_value_array),
7895         (interpolate_trigger_get),
7896         (interpolate_trigger_get_enum_value_array),
7897         (interpolate_trigger_get_string_value_array):
7898         Protect against values larger or smaller than the minimum or maximum
7899         allowed value for the property when using values that can be compared.
7900
7901         Optimize trigger interpolator a bit by taking the last requested value
7902         into account instead of always looping through the complete list.
7903
7904         Fix coding style a bit, everywhere else we use "return foo" instead
7905         of "return (foo)".
7906         
7907         * tests/check/libs/controller.c: (GST_START_TEST),
7908         (gst_controller_suite):
7909         Add unit test for the protection against too large or too small
7910         values.
7911
7912 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
7913
7914         * docs/random/slomo/controller.txt:
7915         Add some thoughts about the future of the controller.
7916
7917 2007-06-08  Wim Taymans  <wim@fluendo.com>
7918
7919         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7920         Don't overflow in retimestamping code.
7921
7922 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
7923
7924         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7925         Use gst_util_guint64_to_gdouble for conversions.
7926         * win32/common/libgstreamer.def:
7927         Add new exported functions.
7928
7929 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
7930
7931         * gst/gstutils.c:
7932           Small docs addition.
7933
7934 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
7935
7936         * README:
7937           Remove that test line again.
7938
7939 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
7940
7941         * README:
7942           Test commit mail sending.
7943
7944 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
7945
7946         * configure.ac:
7947           Fix typo and test commit mail sending.
7948
7949 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
7950
7951         * tests/examples/controller/audio-example.c:
7952           Improve comment and test commit mail sending.
7953
7954 2007-06-07  Wim Taymans  <wim@fluendo.com>
7955
7956         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
7957         (gst_bin_remove_func), (gst_bin_element_set_state),
7958         (bin_handle_async_start), (bin_handle_async_done),
7959         (gst_bin_handle_message_func):
7960         Add helper function to find messages.
7961         Generate the async-done messages together with the state change
7962         messages.
7963         Small cleanups in handling toplevel bins.
7964
7965 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
7966
7967         * libs/gst/base/gstdataqueue.c:
7968         * libs/gst/base/gstdataqueue.h:
7969         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
7970         (gst_multi_queue_item_new), (gst_multi_queue_chain),
7971         (gst_multi_queue_sink_event):
7972         * tests/check/elements/multiqueue.c: (multiqueue_suite):
7973           Fix multiqueue leaking buffers and events when downstream or the
7974           queue are flushing. Make refcounting assumptions explicit and
7975           document them (shouldn't break existing code that uses it other than
7976           maybe leak miniobjects, but that already happens anyway). Add unit
7977           test for the most common flushing case. Fixes #423700.
7978           
7979 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
7980
7981         * libs/gst/controller/gstcontroller.c:
7982         Clarify docs: The get_all, get_value_array(s) functions
7983         don't modify the GObject properties.
7984
7985 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
7986
7987         * libs/gst/controller/gstcontroller.c:
7988         (gst_controlled_property_set_interpolation_mode),
7989         (gst_controlled_property_prepend_default),
7990         (gst_controlled_property_new), (gst_controller_set_unlocked),
7991         (gst_controller_set), (gst_controller_set_from_list),
7992         (gst_controller_unset), (gst_controller_unset_all):
7993         * libs/gst/controller/gstcontrollerprivate.h:
7994         * libs/gst/controller/gstinterpolation.c:
7995         Factor out the 'set' logic into gst_controller_set_unlocked for the
7996         gst_controller_set and gst_controller_set_from_list functions.
7997
7998         To make life of the interpolators easier always add a control point
7999         at timestamp zero with the default value.
8000
8001         In the linear interpolator make things more obvious by better variable
8002         naming (slope).
8003
8004         Implement cubic interpolation mode (by using a natural cubic spline)
8005         and map the quadratic interpolation mode to this too (as quadratic
8006         doesn't make much sense, see discussion on the list).
8007
8008         * tests/check/libs/controller.c: (GST_START_TEST),
8009         (gst_controller_suite):
8010         Add unit test for the cubic interpolation mode and check everywhere
8011         if the interpolation mode could be set as expected.
8012
8013 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8014
8015         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8016           Don't use GLib-2.10 functions, we still depend on
8017           GLib-how-old-is-it-again-2.8.
8018
8019 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8020
8021         * docs/gst/gstreamer-sections.txt:
8022         * gst/Makefile.am:
8023         * gst/gst.c:
8024         * gst/gst.h:
8025         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8026         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8027         (_gst_param_fraction_values_cmp),
8028         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8029         * gst/gstparamspecs.h:
8030         * gst/gstvalue.c:
8031         * tests/check/Makefile.am:
8032         * tests/check/gst/.cvsignore:
8033         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8034         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8035         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8036         (GST_START_TEST), (gst_param_spec_suite):
8037           API: add GstParamSpecFraction, so elements can have fraction
8038           properties without lots of painful string parsing (#444648).
8039
8040 2007-06-05  Wim Taymans  <wim@fluendo.com>
8041
8042         * gst/gstobject.c: (gst_object_class_init):
8043         Fix signal signature.
8044
8045         * gst/gstsegment.c:
8046         Add small clarification in the api docs.
8047
8048         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8049         States are protected with object lock.
8050
8051 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8052
8053         * AUTHORS:
8054         I should probably be listed as an author by now.
8055
8056         * docs/random/release:
8057         Update the release doc
8058
8059 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8060
8061         * gst/gstvalue.c:
8062           Make docs for gst_value_compare() mention return enums that
8063           actually exist.
8064
8065 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8066
8067         * configure.ac:
8068           Back to CVS
8069
8070 === release 0.10.13 ===
8071
8072 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8073
8074         * configure.ac:
8075           releasing 0.10.13, "With or without you"
8076
8077 2007-05-25  Wim Taymans  <wim@fluendo.com>
8078
8079         * gst/gstbin.c: (bin_handle_async_done):
8080         Make sure that the child bin stops after completing the async state
8081         change so that the parent can continue the state change to PLAYING.
8082         Fixes #441159.
8083
8084 2007-05-25  Wim Taymans  <wim@fluendo.com>
8085
8086         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8087         (unref_data), (gst_collect_pads_remove_pad),
8088         (gst_collect_pads_check_pads):
8089         Use additional refcounting to avoid crashes when dynamically adding and
8090         removing pads. Fixes #420206.
8091
8092 2007-05-24  Wim Taymans  <wim@fluendo.com>
8093
8094         * tools/gst-launch.c: (event_loop):
8095         When buffering goes from a two digit to a single digit number, make sure
8096         to remove the old second digit by writing a blank over it.
8097
8098 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8099
8100         * libs/gst/base/gstdataqueue.c:
8101           Eliminate tabs and trailing comma in enum list; fix some typos.
8102
8103 2007-05-24  Wim Taymans  <wim@fluendo.com>
8104
8105         * tests/check/gst/gstbin.c: (GST_START_TEST):
8106         Allow refcount of 3 and 4 because some state thread might still be busy
8107         with it.
8108
8109 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8110
8111         * plugins/elements/Makefile.am:
8112         * plugins/elements/gstmultiqueue.h:
8113         * plugins/elements/gstqueue.h:
8114           These are not installed headers, no need for padding.
8115
8116 2007-05-24  Wim Taymans  <wim@fluendo.com>
8117
8118         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8119         (gst_bin_continue_func):
8120         Enable latency for next release.
8121         Restore STATE_LOCK around recalc_state that was left out during the
8122         rewrite and could result in racy behaviour when _get_state and
8123         recalc_state are run concurrently. See #440463.
8124
8125 2007-05-23  Wim Taymans  <wim@fluendo.com>
8126
8127         * tests/check/gst/gstsystemclock.c: (store_callback),
8128         (GST_START_TEST):
8129         Improve test_async_order to also work when both timers are already
8130         expired when we get scheduled to check it.
8131
8132 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8133
8134         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8135         (gst_bin_set_property), (gst_bin_get_property),
8136         (gst_bin_remove_func), (gst_bin_handle_message_func):
8137         * gst/gstbin.h:
8138           'private' is a c++ keyword, let's not use that in header files,
8139           otherwise c++ compilers will throw a tantrum.
8140
8141 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8142
8143         * plugins/elements/gstelements.c:
8144         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8145         (gst_file_sink_get_current_offset):
8146         * plugins/indexers/gstindexers.c: (plugin_init):
8147           Use #ifdef for HAVE_XYZ for consistency.
8148
8149         * tests/check/Makefile.am:
8150         * tests/check/elements/.cvsignore:
8151         * tests/check/elements/filesink.c: (setup_filesink),
8152         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8153           Add some unit tests for filesink.
8154
8155 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8156
8157         Patch by: Mark Nauwelaerts <manauw at skynet be>
8158
8159         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8160         (gst_file_sink_query), (gst_file_sink_do_seek),
8161         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8162         * plugins/elements/gstfilesink.h:
8163           Fix position reporting; rename data_written member to current_pos to
8164           reflect its real meaning (fixes #412648).
8165
8166 2007-05-22  Edward Hervey  <edward@fluendo.com>
8167
8168         * docs/gst/gstreamer-sections.txt:
8169         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8170         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8171         (gst_bin_remove_func), (gst_bin_handle_message_func):
8172         * gst/gstbin.h:
8173         Add a property for bins that handle the state change of their childs.
8174         Fixes #435880
8175
8176 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8177
8178         * libs/gst/controller/gstinterpolation.c:
8179         Use an array of the correct type when using _get_value_array with
8180         linear interpolation.
8181
8182 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8183
8184         * gst/gstelement.c (gst_element_requires_clock,
8185           gst_element_provides_clock, gst_element_request_pad,
8186           gst_element_class_set_details, gst_element_class_set_details_simple,
8187           gst_element_default_send_event, gst_element_abort_state,
8188           gst_element_continue_state, gst_element_set_state,
8189           gst_element_set_state_func, iterator_activate_fold_with_resync):
8190         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8191           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8192           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8193           gst_pad_get_range, gst_pad_pull_range):
8194         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8195           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8196           GstPadActivateModeFunction, GstPadChainFunction,
8197           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8198           GstPadFixateCapsFunction, GstPadTemplate):
8199         * gst/gstpipeline.c (gst_pipeline_change_state,
8200           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8201           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8202           gst_pipeline_get_delay):
8203           Whitespace and docs fixes.
8204
8205 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8206
8207         * libs/gst/controller/gstinterpolation.c:
8208         (interpolate_trigger_get_enum_value_array),
8209         (interpolate_trigger_get_string_value_array):
8210         Add support for retrieving value arrays when using the trigger
8211         interpolation mode. 
8212
8213 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8214
8215         * libs/gst/controller/gstcontroller.c:
8216         (gst_controller_get_value_array):
8217         * libs/gst/controller/gstcontroller.h:
8218         Clarify the docs of gst_controller_get_value_array(): The array where
8219         the values should be written to must be allocated as there seems to be
8220         no way to get the size of a random GType. This doesn't change any
8221         behaviour. Also fix some typos all over the place and remove an unused,
8222         commented function that is not necessary as g_object_set() could be
8223         used instead.
8224         * tests/check/libs/controller.c: (GST_START_TEST),
8225         (gst_controller_suite):
8226         Add unit test for gst_controller_get_value_array().
8227
8228 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8229
8230         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8231
8232         Disable part of the gst_buffer_try_new_and_alloc test, because
8233         it can happily succeed on 64-bit systems where there's more address
8234         space available.
8235
8236 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8237
8238         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8239         Add unit test for the improved caps checking from bug #421543.
8240
8241 2007-05-21  Wim Taymans  <wim@fluendo.com>
8242
8243         * docs/design/part-synchronisation.txt:
8244         Small addition.
8245
8246         * gst/gstbin.c: (gst_bin_query):
8247         * plugins/elements/gstqueue.c: (apply_segment):
8248         Improve debugging.
8249
8250         * gst/gstmessage.h:
8251         Improve docs.
8252
8253 2007-05-21  Wim Taymans  <wim@fluendo.com>
8254
8255         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8256         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8257         (gst_pad_configure_src):
8258         Added simple version of improved caps checking. It was previously
8259         assumed that a setcaps function would check the validity of the caps but
8260         people prefer us to check caps against the template automatically. 
8261         Fixes #421543.
8262
8263 2007-05-21  Wim Taymans  <wim@fluendo.com>
8264
8265         * libs/gst/base/gstbasetransform.h:
8266         Fix macro for locking/unlocking the transform lock.
8267
8268 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8269
8270         * docs/plugins/tmpl/.cvsignore:
8271           Ignore more.
8272
8273 2007-05-18  Edward Hervey  <edward@fluendo.com>
8274
8275         * plugins/elements/gstqueue.c: (gst_queue_loop):
8276         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8277         for the subtle art of warning a potentially blocking thread that it
8278         should check the source pad return value, and relay the information
8279         upstream.
8280
8281 2007-05-18  Edward Hervey  <edward@fluendo.com>
8282
8283         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8284         Release the queue lock !
8285
8286 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8287
8288         * docs/libs/gstreamer-libs-sections.txt:
8289         Add the two new controller functions to the appropiate places.
8290
8291 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8292
8293         reviewed by: Stefan Kost <ensonic@users.sf.net>
8294
8295         * libs/gst/controller/gstcontroller.c:
8296         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8297         (_gst_controller_get_property), (_gst_controller_set_property),
8298         (_gst_controller_init), (_gst_controller_class_init):
8299         * libs/gst/controller/gstcontroller.h:
8300         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8301         (gst_object_get_control_rate), (gst_object_set_control_rate):
8302         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8303         Add API that provides sync suggestion timestamps for elements that
8304         call gst_object_sync_values() from which those elements can subdivide
8305         their processing loop to get the best results for the controlled
8306         properties. For now it just suggests last_sync + control_rate as
8307         new timestamp but this will be improved in the future.
8308
8309         While doing that change the control-rate property to a GstClockTime
8310         from guint and change it's meaning from samples to nanoseconds as
8311         the GstController doesn't know anything about sampling rate. Strictly
8312         speaking this breaks ABI but as the control-rate property didn't do
8313         anything in the past and as such couldn't be used this should be no
8314         problem.        
8315
8316 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8317
8318         reviewed by: Stefan Kost <ensonic@users.sf.net>
8319
8320         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8321         (gst_controller_unset_all):
8322         * libs/gst/controller/gstcontrollerprivate.h:
8323         * libs/gst/controller/gstinterpolation.c:
8324         (gst_controlled_property_find_control_point_node):
8325         Save last synced value from the list to continue searching from there
8326         in future syncs. This speeds everything up a bit.
8327         
8328 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8329
8330         reviewed by: Stefan Kost <ensonic@users.sf.net>
8331
8332         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8333         (gst_control_point_find), (gst_controlled_property_new),
8334         (gst_control_point_free), (gst_controlled_property_free),
8335         (gst_controller_set), (gst_controller_set_from_list),
8336         (gst_controller_unset), (gst_controller_unset_all),
8337         (gst_controller_sync_values):
8338         * libs/gst/controller/gstcontroller.h:
8339         * libs/gst/controller/gstcontrollerprivate.h:
8340         * libs/gst/controller/gstinterpolation.c:
8341         (gst_controlled_property_find_control_point_node),
8342         (interpolate_none_get), (interpolate_trigger_get):
8343         Add a new private GstControlPoint struct which "inherits" from
8344         GstTimedValue to allow different interpolators to store internal
8345         values next to each control point. From the outside everything is
8346         still a GstControlPoint so we don't loose binary compatibility.
8347         Also fixup all the GValue handling to not leak GValues or list nodes.
8348         * tests/check/libs/controller.c: (GST_START_TEST):
8349         Free the list nodes and GValues in the controller_misc test.
8350
8351 2007-05-17  Edward Hervey  <edward@fluendo.com>
8352
8353         * gst/gstsegment.c:
8354         Small doc fix.
8355
8356 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8357
8358         * gst/gstplugin.c: (gst_plugin_load_file):
8359           If we fail to load a plugin because of unresolved symbols or missing
8360           libraries and spew a warning to stderr, we may just as well mention
8361           which plugin it was that failed to load.
8362
8363 2007-05-13  David Schleef  <ds@schleef.org>
8364
8365         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8366           handles the case when ENABLE_GTK_DOC is false, and installs
8367           the prebuilt documentation.  So gtk-doc subdirs are 
8368           unconditionally enabled.  Fixes: #349099.
8369
8370 2007-05-13  David Schleef  <ds@schleef.org>
8371
8372         * gst/gstutils.h: Reword some documentation.
8373
8374 2007-05-12  David Schleef  <ds@schleef.org>
8375
8376         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8377           do anything with the passed "module" parameter, so remove it.
8378           Allows removal of additional vestigal code.
8379
8380 2007-05-12  David Schleef  <ds@schleef.org>
8381
8382         * gst/gstplugin.c:
8383           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8384           Switch to using g_stat() because it's more portable.
8385
8386 2007-05-12  David Schleef  <ds@schleef.org>
8387
8388         * gst/gst.c:
8389           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8390           parsing for embedded systems.
8391         * gst/gstelementfactory.c:
8392           Allow gst_element_register() to be called with plugin==NULL.
8393           Did nobody notice that static elements were broken?
8394
8395 2007-05-12  Wim Taymans  <wim@fluendo.com>
8396
8397         * tools/gst-launch.c: (event_loop):
8398         Give more interesting info when buffering starts and stops.
8399         Fix case where buffering starts but we fail to update the buffering flag
8400         because the target state is not PLAYING.
8401
8402 2007-05-12  Wim Taymans  <wim@fluendo.com>
8403
8404         * plugins/elements/gstqueue.c: (gst_queue_init),
8405         (gst_queue_finalize), (update_time_level), (apply_segment),
8406         (apply_buffer), (gst_queue_locked_flush),
8407         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8408         (gst_queue_handle_sink_event), (gst_queue_chain),
8409         (gst_queue_push_one), (gst_queue_loop):
8410         * plugins/elements/gstqueue.h:
8411         Refactor an cleanup queue a bit.
8412         Do better time level calculations that also work when the srcpad is not
8413         yet running.
8414         Remove some unneeded debug lines.
8415
8416         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8417         Added testcase for time level measurement.
8418         Try to make some stuff more racefree.
8419
8420 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8421
8422         * gst/gsturi.c: (gst_element_make_from_uri):
8423           Don't leak plugin feature.
8424
8425         * tests/check/Makefile.am:
8426         * tests/check/gst/.cvsignore:
8427         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8428           Add brain-dead unit test.
8429
8430 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8431
8432         Patch by: Jeroen Wouters <woutersj at gmail com>
8433
8434         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8435           Treat protocol strings in a case-insensitive way (#437563).
8436
8437 2007-05-11  Michael Smith <msmith@fluendo.com>
8438
8439         * gst/gstplugin.c: (gst_plugin_load_file):
8440         * gst/gstregistry.c: (gst_registry_scan_path_level):
8441           Don't print a g_warning for any failure to load a shared object.
8442           Instead, push this down into gstplugin.c, and warn _only_ if we
8443           failed to open the module (i.e. failure to link).
8444           Avoids warnings on normal, working, non-plugin .so files.
8445
8446 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8447
8448         * gst/gstplugin.c (gst_plugin_load_file):
8449         * gst/gstregistry.c (GST_CAT_DEFAULT,
8450           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8451           Print a g_warning if there was an error when loading a plugins during
8452           registry scan. The shuld help beginners starting with gst-plugin
8453           template.
8454
8455 2007-05-10  Wim Taymans  <wim@fluendo.com>
8456
8457         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8458         (update_time_level), (gst_queue_locked_flush),
8459         (gst_queue_handle_sink_event), (gst_queue_chain),
8460         (gst_queue_push_one), (gst_queue_loop):
8461         * plugins/elements/gstqueue.h:
8462         Be smarter when calculating the current amount of data in the queue by
8463         measuring the difference between start and end timestamps (in running
8464         time) inside the queue. Fixes #432876.
8465         API: GstQueue::pushing to notify elements that we are pushing data again
8466         since the running signal is rather broken for this purpose.
8467
8468 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8469
8470         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8471           gst_queue_base_init, gst_queue_init):
8472           use GST_BOILERPLATE
8473
8474 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8475
8476         * win32/common/libgstreamer.def:
8477         Add new exported functions.
8478         * win32/vs6/grammar.dsp:
8479         Use grammar pre-generated files.
8480
8481 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8482
8483         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8484
8485         * gst/Makefile.am:
8486         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8487         * gst/gstparse.h:
8488         * gst/gstutils.c: (gst_parse_bin_from_description):
8489         * gst/gstutils.h:
8490           Maintain API and ABI when --disable-parse is used. Now that
8491           we have an appropriate error code, we can just return NULL and the
8492           appropriate error when gst_parse_launch() is used despite it having
8493           been disabled (#342564).
8494
8495         * tests/check/Makefile.am:
8496         * tests/check/pipelines/.cvsignore:
8497         * tests/check/pipelines/parse-disabled.c:
8498           Make sure these functions exist and return NULL plus a GError when
8499           --disable-parse is used.
8500
8501 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8502
8503         * tests/benchmarks/complexity.c: (main):
8504         * tests/benchmarks/mass-elements.c: (main):
8505           Set a good example and don't leak messages.
8506
8507 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8508
8509         * docs/gst/Makefile.am:
8510         * docs/libs/Makefile.am:
8511           Correct fixxrefs options.
8512
8513         * docs/plugins/Makefile.am:
8514         * docs/plugins/gstreamer-plugins-docs.sgml:
8515         * docs/plugins/gstreamer-plugins-sections.txt:
8516         * plugins/elements/Makefile.am:
8517         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8518         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8519           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8520           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8521           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8522           _GstCapsFilterClass, trans_class):
8523         * plugins/elements/gstelements.c (name, rank, type, _elements):
8524         * plugins/elements/gstidentity.c
8525           (gst_identity_check_imperfect_timestamp,
8526           gst_identity_check_imperfect_offset):
8527           Document capsfilter and add doc-blurb to identity.
8528
8529 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8530
8531         * libs/gst/controller/gstcontroller.c:
8532         (gst_controlled_property_set_interpolation_mode):
8533         * libs/gst/controller/gstinterpolation.c:
8534           Don't crash if someone tries to set an interpolation mode that
8535           is invalid or that isn't supported yet. Fixes #422295.
8536
8537         * tests/check/libs/controller.c: (GST_START_TEST),
8538         (gst_controller_suite):
8539           Add a test case for the above.
8540
8541 2007-05-03  Edward Hervey  <edward@fluendo.com>
8542
8543         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8544         Properly set the last_stop position on GstSegment. This will only happen
8545         if there is a buffer to push out.
8546
8547 2007-05-03  Wim Taymans  <wim@fluendo.com>
8548
8549         * libs/gst/base/gstbasetransform.c:
8550         (gst_base_transform_buffer_alloc):
8551         always_in_place does not mean that the sink and source caps are the
8552         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8553
8554 2007-05-03  Wim Taymans  <wim@fluendo.com>
8555
8556         * docs/libs/gstreamer-libs-sections.txt:
8557         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8558         (gst_base_src_default_query), (gst_base_src_get_range):
8559         * libs/gst/base/gstbasesrc.h:
8560         API: gst_base_src_query_latency(). Added method so that subclasses can
8561         easily get the latency values of the base source class.
8562
8563 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8564
8565         * tools/gst-inspect.c (print_implementation_info):
8566         Remove 0.8 cruft.
8567
8568 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8569
8570         * tools/Makefile.am:
8571         * tools/gst-launch.1.in:
8572           Don't create a customised man page based on the host architecture,
8573           describe the default registry path generically. That way the man
8574           page is the same for all architectures and packagers have one
8575           multilib issue less to deal with. Fixes #434926.
8576
8577 2007-05-02  Wim Taymans  <wim@fluendo.com>
8578
8579         * gst/gstpad.c:
8580         Fix documentation as spotted by rg on IRC. 
8581
8582 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8583
8584         * gst/gstutils.c:
8585           Improve docs for gst_element_{link,unlink}.
8586
8587 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8588
8589         * docs/design/part-events.txt:
8590         * docs/design/part-overview.txt:
8591         * gst/gstevent.c:
8592         * gst/gsturi.c:
8593         * gst/gsturi.h:
8594         * libs/gst/base/gstbasesink.c:
8595           Typo fixes; minor docs addition.
8596
8597 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8598
8599         * docs/gst/gstreamer-sections.txt:
8600         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8601         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8602         * gst/gsturi.h:
8603         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8604         or src that supports a given URI protocol exists.
8605
8606 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8607
8608         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8609         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8610         Set the location to NULL if "file://" is set as URI. Otherwise
8611         some random previous URI would still be set if "file://" is
8612         set on an already used filesink/filesrc.
8613
8614 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8615
8616         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8617         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8618         Special case the "file://" URI as as this is used by some
8619         applications to test with gst_element_make_from_uri if there's
8620         an element that supports the URI protocol.
8621         Also move the g_path_is_absolute() check for the location part
8622         of the URI to also check this for "file://localhost/bla" URIs.
8623
8624 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8625
8626         * docs/gst/gstreamer-sections.txt:
8627         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8628         * gst/gstbuffer.h:
8629         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8630         (gst_buffer_suite):
8631           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8632
8633 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8634
8635         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8636         (gst_registry_binary_load_pad_template),
8637         (gst_registry_binary_load_plugin),
8638         (gst_registry_binary_read_cache):
8639         * gst/gstregistrybinary.h:
8640           Implement no-mmap alternative for registry reading. Do code cleanups.
8641           Add more comments about avoiding strdups for all text data. Comments
8642           welcome.
8643
8644 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8645
8646         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8647           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8648           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8649           Comment structs and reformat to fix the build (that stuff should go
8650           into a priv. header).
8651
8652 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8653
8654         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8655         (gst_registry_binary_load_feature):
8656         * gst/gstregistrybinary.h:
8657           Refactor so that we can implement multiple features. Add support for
8658           TypeFindFactory features.
8659
8660 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8661
8662         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8663
8664         * configure.ac:
8665           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8666
8667 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8668
8669         * gst/gstbin.c: (gst_bin_element_set_state),
8670         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8671         (bin_handle_async_done), (gst_bin_handle_message_func):
8672           Fix build with --gst-disable-gst-debug
8673
8674 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8675
8676         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8677           Make sure streaming has finished before calling the ::stop() vfunc,
8678           since that vfunc might clear state which is being used in the
8679           streaming thread. This fixes a race that caused crashes in
8680           audioresample when shutting down a pipeline (#420106).
8681
8682 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8683
8684         * docs/gst/gstreamer-sections.txt:
8685           That was one byte missing.
8686
8687 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8688
8689         * configure.ac:
8690         * docs/gst/gstreamer-sections.txt:
8691         * gst/Makefile.am:
8692         * gst/gstconfig.h.in:
8693         * gst/gstobject.c: (gst_object_class_init),
8694         (gst_signal_object_class_init):
8695         * gst/gstobject.h:
8696           2nd attempt to have a xml-less build as a joined effort of #413123
8697           and #421480.
8698
8699 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8700
8701         * docs/design/draft-tagreading.txt:
8702           Added open issues/thoughts to draft.
8703
8704 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8705
8706         * gst/parse/grammar.tab.pre.c:
8707         * gst/parse/grammar.tab.pre.h:
8708         * gst/parse/lex._gst_parse_yy.pre.c:
8709         Update the prebuild parser sources.
8710
8711 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8712
8713         * gst/parse/Makefile.am:
8714         And now fix the building of the flex sources. Now everything should
8715         work as expected.
8716
8717 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8718
8719         * gst/parse/Makefile.am:
8720         Now hopefully fix the build failures by setting proper rule
8721         dependencies and moving instead of copying.
8722
8723 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8724
8725         * tests/benchmarks/complexity.gnuplot:
8726         * tests/benchmarks/complexity.scm:
8727         * tests/benchmarks/mass-elements.gnuplot:
8728         * tests/benchmarks/mass-elements.scm:
8729           Total licensification.
8730
8731 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8732
8733         * gst/parse/Makefile.am:
8734           Fix the build by correcting the rule that gave wrong files to flex.
8735
8736 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8737
8738         * tests/benchmarks/complexity.c:
8739         * tests/benchmarks/mass-elements.c:
8740           Change licence to LGPL as granted by Benjamin and Andy.
8741
8742 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8743
8744         * gst/parse/Makefile.am:
8745         Add correct grammar.tab.h dependency if compiling without new enough
8746         flex. Fixes #431150.
8747
8748 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8749
8750         * gst/parse/Makefile.am:
8751         Fix typo and use outdated sources if the flex/bison sources are newer
8752         than the pregenerated ones but flex is too old. Print a warning in
8753         that case. This should fix the build on the build bot.
8754
8755 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8756
8757         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8758         * gst/parse/Makefile.am:
8759         * gst/parse/grammar.y:
8760         * gst/parse/parse.l:
8761         Make the parser reentrant and recursively callable. This requires flex
8762         >= 2.5.31, for older versions pregenerated sources are used as we
8763         can't bump the build dependency. Finally fixes #349180.
8764
8765         * gst/gstparse.c: (gst_parse_launch):
8766         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8767         now anyway.
8768
8769         * docs/gst/Makefile.am:
8770         * docs/gst/Makefile.am:
8771         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8772         (__gst_parse_strfree), (__gst_parse_link_new),
8773         (__gst_parse_link_free), (__gst_parse_chain_new),
8774         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8775         (gst_parse_element_set), (gst_parse_free_link),
8776         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8777         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8778         (_gst_parse_launch):
8779         * gst/parse/grammar.tab.pre.h:
8780         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8781         (yy_get_previous_state), (yy_try_NUL_trans), (input),
8782         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8783         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8784         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8785         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8786         (_gst_parse_yypop_buffer_state),
8787         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8788         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8789         (yy_fatal_error), (_gst_parse_yyget_extra),
8790         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8791         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8792         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8793         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8794         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8795         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8796         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8797         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8798         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8799         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8800         (_gst_parse_yyfree):
8801         If the installed flex version is too old use pre-generated parser
8802         sources. These pre-generated parser sources are always updated when
8803         the actual flex/bison sources change but require everybody who wants
8804         to change something in the parser to have flex >= 2.5.31 installed.
8805
8806 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
8807
8808         * common/m4/gst-gettext.m4:
8809         * gst/gst-i18n-lib.h:
8810           Make --disable-nls to work
8811
8812 2007-04-17  Wim Taymans  <wim@fluendo.com>
8813
8814         * gst/gstconfig.h.in:
8815         Revert previous change that broke the build.
8816
8817 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
8818
8819         * configure.ac:
8820         * gst/Makefile.am:
8821         * gst/gstconfig.h.in:
8822           Drop libxml2 dependency when building with 
8823           --enable-binary-registry --disable-loadsave
8824
8825 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
8826
8827         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8828         (gst_registry_binary_read_cache):
8829         * gst/gstregistrybinary.h:
8830           Remove unnecessary <sys/mman.h> include which broke the win32 build
8831           with MingW; move includes from header file to .c file, even if the
8832           header file isn't installed; use g_strerror() where UTF-8 strings
8833           are expected, such as in GST_DEBUG messages.
8834
8835 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8836
8837         * docs/libs/gstreamer-libs-sections.txt:
8838         Remove bogus addition for API I didn't end up keeping.
8839
8840         * libs/gst/base/gstbasesrc.h:
8841         Mention Since: 0.10.13 in the documentation.
8842
8843         Add the API keyword to the previous ChangeLog entry.
8844
8845 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8846
8847         * docs/libs/gstreamer-libs-sections.txt:
8848         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8849         (gst_base_src_default_prepare_seek_segment),
8850         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8851         * libs/gst/base/gstbasesrc.h:
8852         Allow basesrc derived classes to execute seeks in other formats
8853         by providing a prepare_seek_segment vmethod. Sub-classes can choose
8854         to prepare the GstSegment in any format that their perform_seek method
8855         will be able to understand. The default implementation provides the
8856         old behaviour of attempting to convert the seek offsets to the 
8857         configured native format.
8858
8859         API: basesrc::prepare_seek_segment vmethod.
8860
8861 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8862
8863         * gst/gstelement.c: (gst_element_get_state_func):
8864         Don't output the same debug statement twice.
8865
8866         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8867         (gst_adapter_peek), (gst_adapter_take_buffer):
8868         Optimise the case where we have buffers at the head of the queue that
8869         can be joined quickly (because they're contiguous sub-buffers) by
8870         merging them together rather than copying data out into new memory.
8871
8872         * gst/parse/grammar.y:
8873         * tests/check/pipelines/parse-launch.c:
8874         Fix a leak in an error path for parse_launch, and add a check 
8875         for it to the testsuite.
8876
8877 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8878
8879         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8880           Don't deadlock when releasing a pad - gst_pad_set_active may try
8881           and take the multiqueue lock too.
8882
8883 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
8884
8885         * gst/gsterror.c: (_gst_core_errors_init):
8886         * gst/gsterror.h:
8887           API: add GST_CORE_ERROR_DISABLED (#392804).
8888
8889 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8890
8891         * docs/faq/gst-uninstalled:
8892           don't get empty paths on the PATH variables
8893         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8894           Don't format for the uncommon terminal width of 84 characters.
8895
8896 2007-04-06  Wim Taymans  <wim@fluendo.com>
8897
8898         * gst/gstpipeline.c: (reset_stream_time),
8899         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8900         Only try to select a different pipeline clock when we went back to
8901         PAUSED and not when we merely got flushed.
8902
8903 2007-04-05  Michael Smith  <msmith@fluendo.com>
8904
8905         * tools/gst-launch.1.in:
8906           fractions are better supported in gstreamer than ractions, so
8907           suggest using those.
8908
8909 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8910
8911         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8912
8913         * po/LINGUAS:
8914         * po/da.po:
8915           Added Danish translation.
8916
8917 2007-04-05  Wim Taymans  <wim@fluendo.com>
8918
8919         * libs/gst/base/gstbasesink.c:
8920         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8921         Fix leak caused when refusing newsegment after EOS.
8922
8923         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8924         (gst_fake_sink_init), (gst_fake_sink_set_property),
8925         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8926         (gst_fake_sink_render), (gst_fake_sink_change_state):
8927         * plugins/elements/gstfakesink.h:
8928         Add num-buffers property to make the element generate EOS after a
8929         configurable amount of buffers.
8930         API: fakesink::num-buffers property.
8931
8932         * tests/check/elements/fakesink.c: (GST_START_TEST),
8933         (fakesink_suite):
8934         Fix GstBus leak in test.
8935         Test for fakesink num-buffers.
8936
8937 2007-04-05  Wim Taymans  <wim@fluendo.com>
8938
8939         * libs/gst/base/gstbasesink.c:
8940         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
8941         (gst_base_sink_change_state):
8942         Don't accept anything after an EOS, return UNEXPECTED instead.
8943
8944         * tests/check/elements/fakesink.c: (GST_START_TEST),
8945         (fakesink_suite):
8946         Unit test for new EOS behaviour.
8947
8948 2007-04-05  Wim Taymans  <wim@fluendo.com>
8949
8950         * gst/gstelement.c: (gst_element_get_request_pad):
8951         Make padtemplates also work when they don't contain %s or %d.
8952
8953 2007-04-05  Wim Taymans  <wim@fluendo.com>
8954
8955         * docs/gst/gstreamer-sections.txt:
8956         * gst/gstclock.c: (gst_clock_adjust_unlocked),
8957         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
8958         * gst/gstclock.h:
8959         Improve _adjust_unlocked() so that it overflows less.
8960         Add gst_clock_unadjust_unlocked to convert from external time to
8961         internal time based on calibration.
8962         Add some more debug.
8963         API: GstClock::gst_clock_unadjust_unlocked()
8964
8965 2007-04-03  Wim Taymans  <wim@fluendo.com>
8966
8967         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8968
8969         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8970         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
8971         when releasing sink pad. Fixes #425400.
8972
8973 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
8974
8975         * docs/random/ensonic/dynlink.txt:
8976           More work on proposal for new core api.
8977
8978         * docs/libs/gstreamer-libs-sections.txt:
8979         * libs/gst/base/gstbasetransform.h:
8980           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
8981           
8982         * libs/gst/controller/gstcontroller.c:
8983         (on_object_controlled_property_changed),
8984         (gst_controller_sync_values),
8985         (gst_controller_set_interpolation_mode):
8986         * libs/gst/controller/gstcontroller.h:
8987           Less verbose logging add docs for unimplemented parts and correctly
8988           return when using unavailable parts.
8989
8990 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
8991
8992         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
8993         Move all the debug to the CLOCK category, and associate it with
8994         the clock object.
8995
8996 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
8997
8998         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
8999         Make take_buffer a bit quicker by removing redundant checks
9000         caused by calling gst_adapter_take.
9001
9002 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9003
9004         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9005           Don't leak GCond.
9006
9007         * tests/check/Makefile.am:
9008         * tests/check/elements/.cvsignore:
9009         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9010         (GST_START_TEST), (multiqueue_suite):
9011           Add some dead simple unit tests for the 'multiqueue' element
9012           (some bits don't work yet and are disabled for now).
9013
9014 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9015
9016         * gst/gstelement.c: (gst_element_get_request_pad),
9017         (gst_element_class_get_request_pad_template):
9018           Make gst_element_get_request_pad() create request pads only for
9019           request pad templates and not for, say, sometimes pad templates.
9020
9021 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9022
9023         * docs/design/draft-klass.txt:
9024           Add example that needs more thinking.
9025         
9026         * docs/design/draft-missing-plugins.txt:
9027           More thoughts about wrapper plugins.
9028         
9029         * docs/random/ensonic/embedded.txt:
9030         * docs/random/ensonic/profiling.txt:
9031           More design work.
9032
9033 2007-03-25  Wim Taymans  <wim@fluendo.com>
9034
9035         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9036         (gst_base_src_loop):
9037         Only push the segment events in the PLAYING state for live sources.
9038
9039 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9040
9041         * gst/gstpipeline.c: (gst_pipeline_change_state):
9042         Modify the clock distribution path in PAUSED->PLAYING so that we 
9043         never attempt to choose a new clock unless we're actually leaving
9044         the PAUSED state for the first time. This prevents choosing a
9045         different clock when the state_change gets called for a 2nd time due
9046         to some element doing an async state change.
9047
9048 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9049
9050         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9051         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9052         (gst_pad_chain_unchecked), (gst_pad_push):
9053         Revert last commit. This needs some more thoughts.
9054
9055 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9056
9057         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9058         (gst_pad_chain_unchecked), (gst_pad_push):
9059         Check in set_caps if the caps are compatible with the pad and remove
9060         two functions that are redundant now. Fixes #421543.
9061
9062 2007-03-22  Wim Taymans  <wim@fluendo.com>
9063
9064         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9065         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9066         Unref some more to make valgrind happy.
9067
9068 2007-03-22  Wim Taymans  <wim@fluendo.com>
9069
9070         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9071         (gst_system_clock_id_wait_jitter),
9072         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9073         Fix anoying regression that survived a few releases. When adding an
9074         async entry while blocking on a sync entry, the sync entry will unblock
9075         but still be busy, so it should continue to wait instead of returning
9076         _BUSY to the app.
9077         Add some comments here and there.
9078
9079         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9080         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9081         Add testcase for this.
9082
9083 2007-03-22  Wim Taymans  <wim@fluendo.com>
9084
9085         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9086         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9087         WRONG_STATE and can silently pause the task. All other cases should
9088         error out.
9089
9090 2007-03-22  Wim Taymans  <wim@fluendo.com>
9091
9092         Patch by: Ville Syrjala <syrjala at sci dot fi>
9093
9094         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9095         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9096         Improve debugging.
9097
9098 2007-03-21  Michael Smith  <msmith@fluendo.com>
9099
9100         * docs/pwg/advanced-types.xml:
9101           Fix some errors in the typefinding docs pointed out on irc.
9102
9103 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9104
9105         * libs/gst/base/gstbasesrc.c:
9106         Clarify FIXME comment in the face of having added unlock_stop()
9107
9108 2007-03-21  Wim Taymans  <wim@fluendo.com>
9109
9110         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9111         Prepare for release where we warn against possible app breakage in the
9112         case of live pipelines along with an env var to enable/disable live
9113         preroll mode (GST_COMPAT=[no-]live-preroll).
9114
9115 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9116
9117         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9118         So we should use correct constants for checking for None offset.
9119
9120 2007-03-20  Wim Taymans  <wim@fluendo.com>
9121
9122         * docs/design/part-block.txt:
9123         Mention the fact that the newly switched element should be set to at
9124         least PAUSED.
9125
9126 2007-03-20  Wim Taymans  <wim@fluendo.com>
9127
9128         * gst/gst.c:
9129         Fix compilation with registry disabled as spotted by Saur.
9130
9131 2007-03-20  Wim Taymans  <wim@fluendo.com>
9132
9133         Patch by: Olivier Crete <tester at tester dot ca>
9134
9135         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9136         Look at the pending state too when syncing the element state to the
9137         parent. Fixes #420133.
9138
9139 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9140
9141         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9142         (gst_base_sink_change_state):
9143         * libs/gst/base/gstbasesink.h:
9144         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9145         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9146         (gst_base_src_deactivate):
9147         * libs/gst/base/gstbasesrc.h:
9148         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9149         for sub-classes to correctly clear any state they set trying to
9150         unlock, such as clearing out unlock commands from a command fd.
9151         API: basesrc::unlock_stop
9152         API: basesink::unlock_stop
9153
9154         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9155         (gst_fd_sink_render), (gst_fd_sink_unlock),
9156         (gst_fd_sink_unlock_stop):
9157         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9158         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9159         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9160
9161         Implement unlock_stop in fdsrc and fdsink.
9162         Implement seeking in fdsrc when a seekable fd is passed, as in
9163         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9164
9165 2007-03-19  Wim Taymans  <wim@fluendo.com>
9166
9167         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9168
9169         * gst/gstelement.c: (gst_element_class_init):
9170         Fix pad-added and pad-removed signal signatures so that the pad type is
9171         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9172
9173 2007-03-19  Wim Taymans  <wim@fluendo.com>
9174
9175         * docs/gst/gstreamer-sections.txt:
9176         Add new element field and method.
9177
9178         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9179         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9180         (gst_bin_recalc_state), (gst_bin_get_state_func),
9181         (gst_bin_element_set_state), (gst_bin_change_state_func),
9182         (gst_bin_continue_func), (bin_bus_handler),
9183         (bin_push_state_continue), (bin_handle_async_start),
9184         (bin_handle_async_done), (gst_bin_handle_message_func):
9185         Make async state changes a bit smarter by using new ASYNC_START and
9186         ASYNC_DONE messages. This reduces the number of times we run the state
9187         recalculation thread.
9188         Don't change state of element with a pending ASYNC_START message.
9189         Deprecate STATE_DIRTY messages.
9190         
9191         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9192         (gst_element_get_state_func), (gst_element_continue_state),
9193         (gst_element_lost_state), (gst_element_set_state_func),
9194         (gst_element_change_state):
9195         * gst/gstelement.h:
9196         Keep the state that was last set by the app in a new element field.
9197         Don't allow state changes when handling an element event.
9198         Post ASYNC_START and ASYNC_DONE messages.
9199         Change lost_state so that we go to PAUSED and wait for the parent to set
9200         us to PLAYING again (so latency calculation can be performed)
9201         Export gst_element_change_state() method so that subclasses can use it.
9202         API: gst_element_change_state()
9203         API: GST_STATE_TARGET
9204
9205         * gst/gstpipeline.c: (gst_pipeline_class_init),
9206         (reset_stream_time), (gst_pipeline_change_state),
9207         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9208         Using the new ASYNC_START message we can reset the base_time when
9209         needed. This can then be used to implement base_time redistribution in
9210         flushing seeks so that we can remove the explicit seek handling.
9211         Perform latency query and configuration when going to PLAYING.
9212
9213         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9214         (gst_base_sink_query), (gst_base_sink_change_state):
9215         Post new ASYNC_START/ASYNC_DONE messages.
9216
9217         * tests/check/generic/sinks.c: (GST_START_TEST):
9218         Fix test because the bin will not set the async element to PLAYING right
9219         away.
9220
9221         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9222         Make the message check a little stronger.
9223         Handle ASYNC messages.
9224
9225         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9226         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9227         Expect ASYNC_DONE messages.
9228
9229 2007-03-19  Wim Taymans  <wim@fluendo.com>
9230
9231         * docs/gst/gstreamer-sections.txt:
9232         * gst/gstmessage.c: (gst_message_new_async_start),
9233         (gst_message_new_async_done), (gst_message_parse_info),
9234         (gst_message_parse_async_start):
9235         * gst/gstmessage.h:
9236         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9237         support.
9238
9239 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9240
9241         * tools/gst-inspect.c:
9242         (print_plugin_automatic_install_info_codecs):
9243           Now that we don't check for the 'Codec' keyword any longer in the
9244           klass, we shouldn't spew a warning if the klass isn't a decoder or
9245           encoder (since it might be a Source/Network, for example).
9246
9247 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9248
9249         * tools/gst-inspect.c:
9250         (print_plugin_automatic_install_info_codecs):
9251           Don't require decoder/demuxer/depayloader elements or
9252           encoder/muxer/paylader elements to have 'Codec' as part of their
9253           factory class string when introspecting a plugin's capabilities.
9254           draft-klass.txt mentions that it might be removed in future, and
9255           flump3dec doesn't have it as part of its class string, so chances
9256           are others might also not have it.
9257
9258 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9259
9260         * po/af.po:
9261         * po/az.po:
9262         * po/bg.po:
9263         * po/ca.po:
9264         * po/cs.po:
9265         * po/de.po:
9266         * po/en_GB.po:
9267         * po/fr.po:
9268         * po/it.po:
9269         * po/nb.po:
9270         * po/nl.po:
9271         * po/ru.po:
9272         * po/sq.po:
9273         * po/sr.po:
9274         * po/sv.po:
9275         * po/tr.po:
9276         * po/uk.po:
9277         * po/vi.po:
9278         * po/zh_CN.po:
9279         * po/zh_TW.po:
9280           Update translations from translation project
9281
9282 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9283
9284         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9285         (gst_child_proxy_set_property):
9286           Invert precondition check to be alike the ones in the mimiced gobject
9287           api.
9288
9289 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9290
9291         * docs/design/draft-tagreading.txt:
9292         * docs/random/ensonic/audiobaseclasses.txt:
9293           Do some Architect work.
9294
9295         * gst/gstobject.c: (gst_object_set_name):
9296           Add a WARNING.
9297
9298         * gst/gstpad.c:
9299           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9300
9301 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9302
9303         * gst/gstsystemclock.c: (gst_system_clock_init),
9304         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9305         Defer starting the async system clock thread until the first async
9306         wait is scheduled. Fixes #414986.
9307
9308 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9309
9310         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9311         (gst_single_queue_free):
9312           Fix small leak (free GstSingleQueue structure too, not only contents).
9313
9314 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9315
9316         * gst/gstbin.c:(gst_bin_add):
9317         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9318         * win32/common/libgstbase.def:
9319         * win32/common/libgstreamer.def:
9320         Add new exported functions.
9321
9322 2007-03-09  Wim Taymans  <wim@fluendo.com>
9323
9324         * docs/plugins/gstreamer-plugins-sections.txt:
9325         Fix GstTee docs.
9326
9327 2007-03-09  Wim Taymans  <wim@fluendo.com>
9328
9329         * docs/gst/gstreamer-sections.txt:
9330         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9331         * gst/gstbuffer.h:
9332         Add metadata copy functions. Fixes #393099.
9333         API: gst_buffer_copy_metadata()
9334
9335         * gst/gstutils.c: (gst_buffer_stamp):
9336         * libs/gst/base/gstbasetransform.c:
9337         (gst_base_transform_prepare_output_buffer):
9338         Use new metadata copy functions.
9339
9340 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9341
9342         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9343         (gst_identity_init), (gst_identity_check_perfect),
9344         (gst_identity_check_imperfect_timestamp),
9345         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9346         (gst_identity_set_property), (gst_identity_get_property):
9347         * plugins/elements/gstidentity.h:
9348         Separate out check-imperfect-timestamp and check-imperfect-offset.
9349         Put back check-perfect as it was to keep compatibility.
9350
9351 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9352
9353         * gst/gstelement.c: (gst_element_dispose):
9354         There's no need to warn if VOID_PENDING is not NONE here, as
9355         long as the state is NULL it's ok, and that's checked immediately
9356         above.
9357
9358 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9359
9360         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9361         Fix check for perfect stream to ignore buffers with -1 
9362         offsets/offset ends when checking data contiguity.
9363
9364 2007-03-08  Wim Taymans  <wim@fluendo.com>
9365
9366         * tools/gst-launch.c: (event_loop):
9367         Print INFO messages.
9368
9369 2007-03-08  Wim Taymans  <wim@fluendo.com>
9370
9371         * libs/gst/base/gstbasetransform.c:
9372         (gst_base_transform_sink_eventfunc),
9373         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9374         (gst_base_transform_activate):
9375         * libs/gst/base/gstbasetransform.h:
9376         Add support for dropping buffers with custom GstFlowReturn.
9377         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9378         buffers or dropped buffers.
9379
9380         * docs/libs/gstreamer-libs-sections.txt:
9381         docs for new custom return code.
9382
9383         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9384         Use drop support in base class to implement drop-probability.
9385
9386 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9387
9388         * gst/gst.c: (load_plugin_func):
9389         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9390         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9391         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9392           Remove newlines at end of debug log strings.
9393
9394 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9395
9396         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9397         Only post bus message at max, once per buffer received.
9398
9399 2007-03-07  Wim Taymans  <wim@fluendo.com>
9400
9401         * docs/design/Makefile.am:
9402         * docs/design/part-synchronisation.txt:
9403         Add doc about synchronisation
9404
9405         * docs/design/draft-latency.txt:
9406         * docs/design/part-TODO.txt:
9407         * docs/design/part-clocks.txt:
9408         * docs/design/part-events.txt:
9409         * docs/design/part-gstbus.txt:
9410         * docs/design/part-gstpipeline.txt:
9411         * docs/design/part-live-source.txt:
9412         * docs/design/part-messages.txt:
9413         * docs/design/part-overview.txt:
9414         * docs/design/part-streams.txt:
9415         * docs/design/part-trickmodes.txt:
9416         Documentation updates.
9417
9418 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9419
9420         * gstreamer.doap:
9421         Update the doap file.
9422
9423 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9424
9425         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9426         Rename non-perfect to imperfect for Mike and for the sanctity of the
9427         language.
9428         Also make sure bus message gets emitted for data-incontiguities.
9429
9430 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9431
9432         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9433         (gst_identity_start):
9434         * plugins/elements/gstidentity.h:
9435         Emit bus message if check-perfect is true and we encounter a
9436         non-perfect stream between 2 consecutive buffers.
9437         Fixes #415394.
9438
9439 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9440
9441         * configure.ac:
9442         Back to CVS
9443
9444 === release 0.10.12 ===
9445
9446 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9447
9448         * configure.ac:
9449           releasing 0.10.12, "Inevitable Demise"
9450
9451 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9452
9453         * configure.ac:
9454          Version 0.10.11.2 (0.10.12 pre-release)
9455          Bump libtool versioning.
9456
9457 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9458
9459         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9460           Log flow-names and not numbers.
9461
9462 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9463
9464         * configure.ac:
9465           Convert to new AG_GST style.
9466
9467 2007-02-28  Wim Taymans  <wim@fluendo.com>
9468
9469         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9470         Don't unref query twice.
9471
9472 2007-02-28  Wim Taymans  <wim@fluendo.com>
9473
9474         * gst/gstvalue.c: (gst_value_transform_object_string),
9475         (_gst_value_initialize):
9476         Implement GstObject -> string transform so we print object names
9477         when serializing GValues containing GstObjects.
9478
9479 2007-02-28  Wim Taymans  <wim@fluendo.com>
9480
9481         * docs/gst/gstreamer-sections.txt:
9482         Add new stuff to docs.
9483
9484 2007-02-28  Wim Taymans  <wim@fluendo.com>
9485
9486         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9487         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9488         (gst_base_sink_change_state):
9489         Improve latency query code.
9490         Don't leak latency events.
9491
9492         * tests/check/gst/gstbin.c: (GST_START_TEST):
9493         Improve debugging.
9494
9495 2007-02-28  Wim Taymans  <wim@fluendo.com>
9496
9497         * gst/gstelement.c: (gst_element_message_full),
9498         (gst_element_get_state_func):
9499         * gst/gstelement.h:
9500         Improve docs a little. Added Since: for new macro.
9501
9502         * gst/gstobject.c: (gst_object_sink):
9503         * gst/gstpipeline.c: (gst_pipeline_change_state),
9504         (gst_pipeline_set_new_stream_time):
9505         * gst/gstpipeline.h:
9506         Improve debugging and docs.
9507
9508         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9509         Improve debugging.
9510
9511 2007-02-28  Wim Taymans  <wim@fluendo.com>
9512
9513         * gst/gstelement.c: (gst_element_message_full),
9514         (gst_element_set_locked_state), (gst_element_get_state_func),
9515         (gst_element_change_state):
9516         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9517         Documentation updates.
9518         Small code cleanups.
9519
9520         * gst/gstmessage.c: (gst_message_new_info),
9521         (gst_message_parse_info):
9522         * gst/gstmessage.h:
9523         API: gst_message_new_info()
9524         API: gst_message_parse_info()
9525         Add INFO message create and parse code.
9526
9527 2007-02-28  Wim Taymans  <wim@fluendo.com>
9528
9529         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9530         (bin_query_latency_done):
9531         Also report the live parameter of a latency query.
9532
9533 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9534
9535         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9536           Copy the current generic/states example from -base and adapt so
9537           we can use the exact same code everywhere.
9538           Check a STATES_IGNORE_ELEMENTS env var which can be used
9539           to ignore certain element factories for this test, which is
9540           what is being done in -base
9541         * tests/check/Makefile.am:
9542           Mention this environment variable.
9543
9544 2007-02-27  Wim Taymans  <wim@fluendo.com>
9545
9546         * docs/gst/gstreamer-sections.txt:
9547         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9548         (gst_bus_timed_pop), (gst_bus_pop):
9549         * gst/gstbus.h:
9550         API: gst_bus_timed_pop()
9551         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9552         message to arrive on the bus.
9553
9554         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9555         (gst_bus_suite):
9556         Two unit tests for new _timed_pop() function.
9557
9558 2007-02-23  Wim Taymans  <wim@fluendo.com>
9559
9560         * gst/gstpipeline.c: (gst_pipeline_change_state),
9561         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9562         Don't ref a NULL clock in _provide_clock_func().
9563         Don't allow an INVALID delay.
9564         Don't try to calculate base_time with an invalid start_time.
9565         Also distribute and notify a NULL clock when it was selected.
9566
9567         * tools/gst-launch.c: (event_loop):
9568         Don't crash when a NULL clock was selected in the pipeline.
9569
9570 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9571
9572         * docs/design/Makefile.am:
9573         * docs/design/draft-missing-plugins.txt:
9574         * docs/random/draft-missing-plugins.txt:
9575           Some small updates: update plugin system identifier prefix
9576           ('gstreamer.net' to 'gstreamer'), mention our new install
9577           API in libgstbaseutils rather than libgimme-codec, add
9578           reference to the online docs.
9579
9580 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9581
9582         * win32/common/config.h:
9583           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9584           use moap cl ci to only check in what is mentioned in the ChangeLog.
9585
9586 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9587
9588         * docs/gst/gstreamer-sections.txt:
9589         * gst/gstelement.h:
9590           Fix up documentation to link to the correct GstGError section.
9591           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9592
9593 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9594
9595         * tools/gst-launch.c: (event_loop):
9596           Make sure that we actually show the important message part of a
9597           warning message.
9598           No need to check if the gerror is not NULL to free; first of all
9599           g_free accepts NULL; and second the default error handler would
9600           segfault if gerror was NULL.
9601
9602 2007-02-21  Wim Taymans  <wim@fluendo.com>
9603
9604         * docs/gst/gstreamer-sections.txt:
9605         Removed docs as well.
9606
9607 2007-02-21  Wim Taymans  <wim@fluendo.com>
9608
9609         * gst/gstmessage.c: (gst_message_parse_duration):
9610         * gst/gstmessage.h:
9611         Remove new messages for release.
9612
9613 2007-02-20  Wim Taymans  <wim@fluendo.com>
9614
9615         * docs/design/part-gstghostpad.txt:
9616         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9617         (gst_ghost_pad_new_full):
9618         Make the ghostpad a parent of the internal pad again for better backward
9619         compatibility. Don't write code that relies on this however.
9620
9621         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9622         (gst_pad_link_check_hierarchy):
9623         Require that parents should be GstElements in the hierarchy check.
9624
9625 2007-02-20  Wim Taymans  <wim@fluendo.com>
9626
9627         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9628         (gst_bin_change_state_func), (bin_query_min_max_init),
9629         (bin_query_latency_fold), (bin_query_latency_done),
9630         (gst_bin_query):
9631         Improve debug info.
9632         Implement latency query.
9633
9634 2007-02-20  Wim Taymans  <wim@fluendo.com>
9635
9636         * docs/design/part-gstghostpad.txt:
9637         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9638         (gst_ghost_pad_internal_do_activate_push),
9639         (gst_ghost_pad_internal_do_activate_pull),
9640         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9641         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9642         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9643         Do not set the internal pad as a parent anymore so we can avoid
9644         hierarchy linking errors when the ghostpad has no parent yet. This also
9645         fixes failed activation because of unlinked internal pads, which in
9646         turn fixes the impossible case where you have to activate a pad before
9647         you can add it to a running element.
9648         Also fix the docs.
9649
9650         * gst/gstpad.c: (pre_activate), (post_activate),
9651         (gst_pad_set_active), (gst_pad_activate_pull),
9652         (gst_pad_activate_push), (gst_pad_check_pull_range):
9653         Add some more debug info.
9654         Mark activation mode in pre_activate so that we don't try to activate in
9655         endless loops. Fixes #385084.
9656
9657 2007-02-19  Wim Taymans  <wim@fluendo.com>
9658
9659         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9660         (gst_base_transform_check_get_range):
9661         Implement a checkgetrange function instead of relying on the default
9662         core behaviour that assumes we can operate in pull mode if we have a
9663         getrange function. First step at fixing #385084.
9664
9665 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9666
9667         * gst/gstchildproxy.h:
9668         * libs/gst/base/gstbasesink.h:
9669         * libs/gst/base/gstbasesrc.h:
9670         * libs/gst/base/gstbasetransform.h:
9671         More docs coverage and some ChangeLog surgery (add missing names)
9672
9673 2007-02-15  Wim Taymans  <wim@fluendo.com>
9674
9675         * docs/design/part-TODO.txt:
9676         * docs/design/part-activation.txt:
9677         * docs/design/part-block.txt:
9678         * docs/design/part-buffering.txt:
9679         * docs/design/part-clocks.txt:
9680         * docs/design/part-element-source.txt:
9681         * docs/design/part-events.txt:
9682         * docs/design/part-gstbin.txt:
9683         * docs/design/part-gstbus.txt:
9684         * docs/design/part-gstpipeline.txt:
9685         * docs/design/part-live-source.txt:
9686         * docs/design/part-messages.txt:
9687         * docs/design/part-overview.txt:
9688         * docs/design/part-qos.txt:
9689         * docs/design/part-query.txt:
9690         * docs/design/part-states.txt:
9691         * docs/design/part-trickmodes.txt:
9692         Some doc updates. Start renaming from stream_time to running_time where
9693         it was used wrongly.
9694
9695 2007-02-15  Wim Taymans  <wim@fluendo.com>
9696
9697         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9698         Answer LATENCY query.
9699
9700 2007-02-15  Wim Taymans  <wim@fluendo.com>
9701
9702         * tests/check/gst/gstevent.c: (event_probe), (test_event),
9703         (GST_START_TEST):
9704         Improve debugging.
9705
9706 2007-02-15  Wim Taymans  <wim@fluendo.com>
9707
9708         * gst/gstpad.c: (gst_pad_get_internal_links_default),
9709         (gst_pad_dispatcher):
9710         Improve debugging of default pad dispatcher and query functions.
9711
9712 2007-02-15  Wim Taymans  <wim@fluendo.com>
9713
9714         * docs/gst/gstreamer-sections.txt:
9715         Remove old unused method.
9716
9717 2007-02-13  Wim Taymans  <wim@fluendo.com>
9718
9719         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9720         Fix check
9721
9722 2007-02-13  Wim Taymans  <wim@fluendo.com>
9723
9724         * docs/design/part-seeking.txt:
9725         Some small update.
9726
9727         * gst/gstsegment.c: (gst_segment_set_seek):
9728         Revert old bogus change that should make seeking work again.
9729
9730 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9731
9732         * docs/random/ensonic/dynlink.txt:
9733         * docs/random/ensonic/interfaces.txt:
9734         * docs/random/ensonic/receipies.txt:
9735           Possible dynamic reconnection api, plus some type fixes the other two
9736           docs.
9737
9738 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
9739
9740         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9741         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9742         Also check for an absolute path following file:// in the filesrc
9743         element. Remove redundant check and call g_path_is_absolute() on the
9744         unescaped location.
9745
9746 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9747
9748         * docs/design/draft-klass.txt:
9749           Add existing category analysis.
9750           
9751         * gst/gstcaps.c:
9752           Fix doc example, framerate is a fraction.
9753
9754 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9755
9756         * configure.ac:
9757         * docs/gst/Makefile.am:
9758         * docs/gst/gstreamer-sections.txt:
9759         * docs/libs/Makefile.am:
9760           Erm, forgot a bunch of --extra-dir.
9761
9762 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9763
9764         * configure.ac:
9765         * docs/gst/Makefile.am:
9766         * docs/libs/Makefile.am:
9767         * docs/plugins/Makefile.am:
9768           Add crossreferences to glib/gobject docs.
9769
9770 2007-02-12  Wim Taymans  <wim@fluendo.com>
9771
9772         * docs/design/draft-latency.txt:
9773         Small update.
9774
9775         * docs/libs/gstreamer-libs-sections.txt:
9776         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9777         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9778         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9779         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9780         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9781         (gst_base_sink_get_position), (gst_base_sink_query),
9782         (gst_base_sink_change_state):
9783         * libs/gst/base/gstbasesink.h:
9784         API: gst_base_sink_query_latency() to let subclasses query the upstream
9785         latency.
9786         API: gst_base_sink_get_latency() to let subclasses query the configured
9787         latency in the sink.
9788         Implement query and set latency.
9789         Update some docs.
9790         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9791         don't continue preroll when we are flushing. Fixes #405284.
9792
9793         * tests/check/pipelines/stress.c: (change_state_timeout),
9794         (quit_timeout), (GST_START_TEST), (stress_suite):
9795         Test for #405284.
9796
9797 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
9798
9799         Patch by: René Stadler <mail at renestadler de>
9800
9801         * docs/gst/gstreamer-sections.txt:
9802         * gst/gsttaglist.c: (_gst_tag_initialize):
9803         * gst/gsttaglist.h:
9804           API: add GST_TAG_REFERENCE_LEVEL (#403597).
9805
9806 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
9807
9808         * docs/libs/Makefile.am:
9809           Fix path to core docs.
9810
9811         * gst/gstbin.c: (gst_bin_get_by_interface),
9812         (gst_bin_iterate_all_by_interface):
9813           Refix docs by also renaming 'interface' to 'iface' in implementation.
9814
9815         * docs/gst/gstreamer-sections.txt:
9816         * gst/gstcaps.c:
9817         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9818         * gst/gstchildproxy.h:
9819         * gst/gstelementfactory.c:
9820         * gst/gstpadtemplate.h:
9821         * libs/gst/controller/gstcontroller.c:
9822         (gst_controlled_property_new):
9823           Document more.
9824
9825 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
9826
9827         * gst/gstbin.h:(gst_bin_get_by_interface),
9828         (gst_bin_iterate_all_by_interface):
9829         Replace interface parameter name by iface as interface is 
9830         a reserved keyword in Visual Studio for C++ projects so it removes
9831         a build error for application developpers using VS.
9832         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9833         Fix a bug on Windows in uri format check. Now the prefix checked
9834         is file:// and next we check if the path after file:// is absolute.
9835         * win32/common/libgstbase.def:
9836         * win32/common/libgstdataprotocol.def:
9837         * win32/common/libgstgstreamer.def:
9838         Add new exported functions.
9839
9840 2007-02-09  Andy Wingo  <wingo@pobox.com>
9841
9842         * tests/check/pipelines/simple-launch-lines.c
9843         (simple_launch_lines_suite, test_tee): Disable tee test until I
9844         have time to fix it :-(
9845
9846         * tests/check/Makefile.am (noinst_HEADERS): 
9847         * tests/check/libs/libsabi.c: 
9848         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9849         * tests/check/gst/gstabi.c: 
9850         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9851
9852         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9853         tests for push and pull tee behavior.
9854
9855         * plugins/elements/gsttee.h: 
9856         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9857         mark as deprecated as well as unimplemented. It was a crack idea.
9858         Add support for tee operating in pull mode, off by default.
9859
9860         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9861         normal-case logs down to LOG, raise errors to WARNING.
9862         (gst_registry_xml_read_cache): Don't log before calling a function
9863         that logs.
9864
9865         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9866         exit (registry finalize).
9867         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9868         DEBUG log when we emit signals that people don't even have the
9869         chance to connect to.
9870         (gst_registry_scan_path_level): Less logging in the normal case.
9871
9872 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
9873
9874         Patch by: Michal Benes <michal dot benes at itonis dot tv>
9875
9876         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9877         Correctly generate EOS for non-seekable files. We don't have a total
9878         length for them and would get an unexpected end of file if we only
9879         special-cased for regular files. (Fixes: #404569)
9880
9881 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
9882
9883         * tests/check/elements/filesrc.c: (GST_START_TEST),
9884         (filesrc_suite):
9885         Add unit test for the GstURIHandler interface in filesrc. This also
9886         tests the newly added file://localhost/foo/bar support.
9887
9888 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
9889
9890         * gst/gstelementfactory.h:
9891           The klass string is not a hierarchy. Add reference to the design doc
9892           for more information and common types.
9893
9894 2007-02-02  Wim Taymans  <wim@fluendo.com>
9895
9896         * gst/gstquery.c: (gst_query_new_latency):
9897         Remove old structure field.
9898
9899 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
9900
9901         * tools/gst-launch.1.in:
9902           Give example for network streaming (#351998)
9903
9904 2007-02-02  Wim Taymans  <wim@fluendo.com>
9905
9906         * docs/gst/gstreamer-sections.txt:
9907         Add docs for new methods.
9908
9909         * gst/gstevent.c: (gst_event_new_latency),
9910         (gst_event_parse_latency):
9911         * gst/gstevent.h:
9912         Add new LATENCY event to configure latency in a pipeline.
9913         API: gst_event_new_latency
9914         API: gst_event_parse_latency
9915
9916         * gst/gstmessage.c: (gst_message_new_buffering),
9917         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9918         (gst_message_new_latency), (gst_message_parse_buffering),
9919         (gst_message_parse_lost_preroll):
9920         * gst/gstmessage.h:
9921         Added messages used in draft-latency.
9922         API: gst_message_new_lost_preroll
9923         API: gst_message_parse_lost_preroll
9924         API: gst_message_new_prerolled
9925         API: gst_message_new_latency
9926
9927         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9928         (gst_query_parse_latency):
9929         * gst/gstquery.h:
9930         Implemented new latency query as in design doc.
9931         API: gst_query_new_latency
9932         API: gst_query_set_latency
9933         API: gst_query_parse_latency
9934
9935 2007-02-02  Wim Taymans  <wim@fluendo.com>
9936
9937         * docs/design/draft-latency.txt:
9938         Slight redesign to allow for dynamic latency adjustments.
9939
9940         * docs/design/part-negotiation.txt:
9941         Fix some typos.
9942
9943 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
9944
9945         reviewed by: Wim Taymans <wim@fluendo.com>
9946
9947         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9948         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9949         Allow file://localhost/foo/bar URLs and correctly fail for every other
9950         hostname that one sets. This was gnomevfssrc is linked for those if
9951         installed as it can handle it (#403172)
9952
9953 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
9954
9955         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9956
9957         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9958         (unref_data), (gst_collect_pads_add_pad_full):
9959         * libs/gst/base/gstcollectpads.h:
9960         Don't put the previously added destroy notify in the GstCollectData
9961         struct as all it's padding is already used and we don't want to break
9962         ABI. Instead put in the pad's GObject data for now. This should be
9963         cleaned up for 0.11 (#402393).
9964
9965 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
9966
9967         reviewed by: Wim Taymans <wim@fluendo.com>
9968
9969         * docs/libs/gstreamer-libs-sections.txt:
9970         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9971         (unref_data), (gst_collect_pads_add_pad),
9972         (gst_collect_pads_add_pad_full):
9973         * libs/gst/base/gstcollectpads.h:
9974         API: Add function to specify a destroy notification for custom
9975         GstCollectData when adding new pads in GstCollectPads (#402393).
9976
9977 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
9978
9979         * po/sv.po:
9980           Update Swedish translation (#378255).
9981
9982 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
9983
9984         * docs/design/draft-klass.txt:
9985           Fix the previous change, this is a list of categories and not a hierarchy.
9986
9987 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
9988
9989         * docs/design/draft-klass.txt:
9990           Add info about how to get a list of used classes.
9991
9992 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
9993
9994         * plugins/elements/gsttypefindelement.c:
9995         (gst_type_find_element_chain_do_typefinding),
9996         (gst_type_find_element_change_state):
9997           Don't leak found caps in chain function (no idea why that never
9998           showed up as a leak anywhere).
9999
10000 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10001
10002         * gst/gstplugin.h:
10003           Fix and expand GstPluginDesc API docs.
10004
10005 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10006
10007         * gst/gstcaps.c:
10008         * gst/gstelementfactory.c:
10009         * gst/gstpadtemplate.h:
10010           api doc fixes
10011
10012         * libs/gst/controller/gstcontroller.c:
10013         (gst_controlled_property_new):
10014         * tests/examples/controller/audio-example.c:
10015           comment fixes
10016
10017 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10018
10019         * configure.ac:
10020           comment about refining the xml deps
10021
10022         * docs/manuals.mak:
10023           comments about moving away from jade for docs
10024         
10025         * gst/gst.c:
10026           recommit the ifdefs to use the binary registry
10027         
10028         * gst/gstbin.c: (gst_bin_change_state_func):
10029           this break is obsolete
10030
10031         * gst/gstelementfactory.h:
10032           better GST_ELEMENT_DETAILS docs, add comment about translation
10033
10034         * gst/gstinfo.h:
10035           remove eol slash
10036
10037         * gst/gstobject.c: (gst_signal_object_get_type):
10038           add G_UNLIKELY as usual
10039
10040         * gst/gstpad.c: (gst_pad_event_default):
10041           add fall trhu comment
10042
10043         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10044         (gst_registry_binary_initialize_magic),
10045         (gst_registry_binary_save_string),
10046         (gst_registry_binary_save_pad_template),
10047         (gst_registry_binary_save_feature),
10048         (gst_registry_binary_save_plugin),
10049         (gst_registry_binary_write_cache),
10050         (gst_registry_binary_check_magic),
10051         (gst_registry_binary_load_pad_template),
10052         (gst_registry_binary_load_feature),
10053         (gst_registry_binary_load_plugin),
10054         (gst_registry_binary_read_cache):
10055           comment typo and formatting
10056
10057         * gst/gstutils.c: (gst_element_state_get_name),
10058         (gst_element_state_change_return_get_name):
10059           remove obsolete breaks
10060
10061         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10062           add FIXME 0.11 and remove cpp comment
10063
10064 2007-01-29  Edward Hervey  <edward@fluendo.com>
10065
10066         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10067         Fix print statement in an even more portable way.
10068
10069 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10070
10071         * docs/gst/gstreamer-sections.txt:
10072         * gst/gstutils.h:
10073           API: add GST_ROUND_DOWN_* macros (#401781).
10074
10075 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10076
10077         * docs/gst/gstreamer.types.in:
10078         * gst/gstregistry.c: (gst_registry_class_init):
10079           Document registry signals and make gtk-doc pick them up (#401381).
10080
10081 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10082
10083         * docs/pwg/building-testapp.xml:
10084           Add some audioconverts and audioresample to the pipeline, and some
10085           more comments and error handling.
10086
10087 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10088
10089         * docs/manual/manual.xml:
10090         * docs/pwg/pwg.xml:
10091           Fix typo (#400987).
10092
10093 2007-01-26  Wim Taymans  <wim@fluendo.com>
10094
10095         * gst/gstcaps.c: (gst_static_caps_get):
10096         Init caps flags too.
10097
10098 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10099
10100         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10101
10102         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10103         If not using mmap'ed files try to seek to the end instead of the
10104         start to determine whether we can seek at all. This fixes the case
10105         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10106         seeks for everything afterwards fail. Fixes #400656
10107
10108 2007-01-25  Wim Taymans  <wim@fluendo.com>
10109
10110         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10111         Add some refcount debugging.
10112         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10113         in multiple streaming threads.
10114
10115 2007-01-25  Wim Taymans  <wim@fluendo.com>
10116
10117         Patch by: David Schleef <ds at schleef dot org>
10118
10119         * docs/libs/gstreamer-libs-sections.txt:
10120         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10121         * libs/gst/base/gstadapter.h:
10122         API: gst_adapter_copy() that can reduce the amount of memcpy when
10123         getting data from the adapter. Fixes #388201.
10124
10125 2007-01-25  Edward Hervey  <edward@fluendo.com>
10126
10127         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10128         In print statements, "%x" is for guint. Fixes build on macosx.
10129
10130 2007-01-24  Edward Hervey  <edward@fluendo.com>
10131
10132         * plugins/elements/gstmultiqueue.c:
10133         (gst_multi_queue_loop):
10134         Small fix.
10135         (single_queue_overrun_cb), (single_queue_underrun_cb),
10136         (single_queue_check_full), (gst_single_queue_new):
10137         Implement single queue growth system.
10138         This uses the extra-size properties, and will grow single queues by
10139         that much if one goes full whereas there are others empty. This is
10140         called extra-mode in the code.
10141         When a single queue's levels go back below the initial max-size
10142         limits, it is no longer in extra-mode. This is to ensure we don't
10143         consume too much memory.
10144         Fixes #399875
10145
10146 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10147
10148         * gst/gst.c: (gst_init_get_option_group):
10149           Make warning about late g_thread_init() calls a bit more explicit,
10150           so that it's more obvious to application developers what they need
10151           to do if a user files a bug against their application.
10152
10153 2007-01-22  Edward Hervey  <edward@fluendo.com>
10154
10155         * plugins/elements/gstmultiqueue.c:
10156         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10157         Remove previous hack of unsetting the flushing flag for the source pad
10158         instead of activating it. Instead, fix the source pad activate function
10159         so that it no longer depends on having a parent set or not.
10160
10161 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10162
10163         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10164
10165         * docs/manual/basics-bus.xml:
10166           Fix example code, gst_element_unref() doesn't exist any longer.
10167
10168 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10169
10170         Patch by: Mark Nauwelaerts <manauw at skynet be>
10171
10172         * gst/gstpad.c:
10173           Fix two docs typoes (#399094).
10174
10175 2007-01-19  Edward Hervey  <edward@fluendo.com>
10176
10177         * docs/faq/gst-uninstalled:
10178         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10179         depending on libgstbaseutils can work in uninstalled environment.
10180
10181 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10182
10183         * gst/gsttaglist.h:
10184         * gst/gsttagsetter.c:
10185         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10186         statement for new tag.
10187
10188 2007-01-17  Edward Hervey  <edward@fluendo.com>
10189
10190         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10191         When dynamically creating single queues, activate sinkpad before adding
10192         it.
10193         We should be doing the same thing for the source pad, but we can't
10194         since it would call a method which needs the parent to be set in order
10195         to work propertly. Instead of activating the source pad, we just unset
10196         the flushing flag, which is the minimal requirement for adding a pad
10197         to an element in a state greater than READY.
10198
10199 2007-01-17  Edward Hervey  <edward@fluendo.com>
10200
10201         * docs/faq/gst-uninstalled:
10202         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10203         Mac OS X.
10204
10205 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10206
10207         * tests/check/gst/gstabi.c:
10208         * tests/check/gst/struct_hppa.h:
10209         * tests/check/libs/libsabi.c:
10210         * tests/check/libs/struct_hppa.h:
10211           Add ABI structs for HPPA (see #393796).
10212
10213 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10214
10215         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10216           Actually write ABI structs to the file specified in the GST_ABI
10217           environment variable, as the message we print claims we would.
10218
10219 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10220
10221         * tests/check/gst/gsttask.c:
10222           Fix header comment.
10223
10224 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10225
10226         * gst/gsttaglist.c: (_gst_tag_initialize):
10227           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10228           previous two entries.
10229
10230 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10231
10232         * docs/gst/gstreamer-sections.txt:
10233         * gst/gsttaglist.c: (_gst_tag_initialize):
10234         * gst/gsttaglist.h:
10235           Add tag support for beat-per-minute.
10236
10237 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10238
10239         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10240         (gst_registry_binary_initialize_magic),
10241         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10242         (gst_registry_binary_save_pad_template),
10243         (gst_registry_binary_save_feature),
10244         (gst_registry_binary_save_plugin),
10245         (gst_registry_binary_write_cache),
10246         (gst_registry_binary_check_magic),
10247         (gst_registry_binary_load_pad_template),
10248         (gst_registry_binary_load_feature),
10249         (gst_registry_binary_load_plugin),
10250         (gst_registry_binary_read_cache):
10251         * gst/gstregistrybinary.h:
10252           Use glib types, cleanup comments, impement interfaces and uri-types.
10253
10254 2007-01-13  Andy Wingo  <wingo@pobox.com>
10255
10256         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10257         getrange() to return buffers with other caps, while we fix
10258         demuxers and typefind, or otherwise change part-negotiation.txt.
10259
10260 2007-01-12  Andy Wingo  <wingo@pobox.com>
10261
10262         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10263         Factor start/stop into this private function instead of partially
10264         in activate functions and partially in the change_state function.
10265         Fixes setup before the element has changed from READY->PAUSED, as
10266         is the case in pull-mode pipelines.
10267         (gst_base_transform_sink_activate_push)
10268         (gst_base_transform_src_activate_pull): Refactor to use
10269         gst_base_transform_activate().
10270         (gst_base_transform_change_state): Removed, not needed any more.
10271
10272         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10273         Truncate before fixating.
10274         
10275         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10276         Don't set_caps() if the result of fixating is ANY, as it's not
10277         supported, and not necessary in the case of a link with no
10278         template caps on either side. Fixes tests/check/libs/basesrc in
10279         some pull-mode tests.
10280
10281         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10282         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10283         (gst_base_transform_src_activate_pull): 
10284         Track the activation mode.
10285         (gst_base_transform_setcaps): In pull mode, when activating the
10286         src pad, after activating the sink pad, activate the sink pad's
10287         peer, as discussed in part-negotiation.txt.
10288
10289         * libs/gst/base/gstbasesrc.h: 
10290         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10291         vmethod, as in basesink.
10292
10293         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10294
10295         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10296         mode, first proxy the setcaps to the peer pad.
10297         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10298         new fixate vmethod.
10299         (gst_base_sink_default_activate_pull): Rename from
10300         gst_base_sink_activate_pull.
10301         (gst_base_sink_negotiate_pull): New function, performs negotiation
10302         in pull mode before calling ::activate_pull().
10303         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10304         vmethod instead of the default implementation. I have no idea how
10305         this worked before. Negotiate before calling activate_pull.
10306
10307         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10308         sink pads in pull mode. In addition to being correct, fixes
10309         filesrc ! decodebin ! identity ! fakesink.
10310         (gst_pad_get_range, gst_pad_pull_range): Don't call
10311         gst_pad_set_caps() if the caps changes; instead error out with
10312         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10313
10314 2007-01-12  Andy Wingo  <wingo@pobox.com>
10315
10316         * docs/design/part-negotiation.txt: Update with more policy.
10317
10318 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10319
10320         * libs/gst/check/gstbufferstraw.h:
10321         * libs/gst/check/gstcheck.h:
10322           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10323           belongs.
10324
10325 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10326
10327         * tests/check/Makefile.am:
10328         * tests/check/gst/.cvsignore:
10329         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10330         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10331         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10332         (GST_START_TEST), (gst_tag_setter_suite):
10333           Add minimal unit test for beforementioned GstTagSetter bug.
10334
10335 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10336
10337         Patch by: René Stadler <mail at renestadler dot de>
10338
10339         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10340           gst_tag_list_merge() returns a new list, so it's not the best idea
10341           to ingore its return value. Effectively meant that tags could only
10342           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10343           Also add function guard to require a non-NULL taglist as input (has
10344           always been so due to gst_tag_list_copy(), just making it explicit).
10345
10346 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10347
10348         * docs/random/draft-missing-plugins.txt:
10349           Some additions: mention new API that is supposed to be used at the
10350           various stages; short blob about new gst-inspect introspection
10351           option; mention potential future problem with plugins that have
10352           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10353
10354 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10355
10356         * tools/gst-inspect.c:
10357         (print_plugin_automatic_install_info_codecs),
10358         (print_plugin_automatic_install_info_protocols),
10359         (print_plugin_automatic_install_info), (main):
10360         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10361         introspect plugin files and get machine-parsable output that corresponds
10362         to the last bit of the missing-plugin installer string (small gotcha:
10363         doesn't take into account ranks).
10364
10365 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10366
10367         * configure.ac:
10368         * docs/gst/gstreamer-sections.txt:
10369         * gst/Makefile.am:
10370         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10371         (gst_registry_lookup_locked):
10372         * gst/gstregistry.h:
10373         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10374         (gst_registry_binary_initialize_magic),
10375         (gst_registry_binary_save_string),
10376         (gst_registry_binary_save_pad_template),
10377         (gst_registry_binary_save_feature),
10378         (gst_registry_binary_save_plugin),
10379         (gst_registry_binary_write_cache),
10380         (gst_registry_binary_check_magic),
10381         (gst_registry_binary_load_pad_template),
10382         (gst_registry_binary_load_feature),
10383         (gst_registry_binary_load_plugin),
10384         (gst_registry_binary_read_cache):
10385         * gst/gstregistrybinary.h:
10386         * gst/gstregistryxml.c: (load_feature),
10387         (gst_registry_xml_read_cache):
10388           commit binary registry (disabled by default, see #359653)
10389
10390 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10391
10392         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10393           Fix 'make check' too.
10394
10395 2007-01-10  Andy Wingo  <wingo@pobox.com>
10396
10397         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10398         notes.
10399         
10400         * docs/design/part-negotiation.txt: Update with, um, one way that
10401         pull-mode negotiation might work?
10402
10403         * gst/gstpad.h: 
10404         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10405         that the pad must be a src pad; makes sense to call it the other
10406         way in pull mode, and the logic is symmetric anyway.
10407
10408 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10409
10410         * plugins/elements/gstfilesink.c:
10411           Include <stdio.h> for fseeko().
10412
10413 2007-01-10  Wim Taymans  <wim@fluendo.com>
10414
10415         * gst/gstevent.c:
10416         * gst/gstevent.h:
10417         Reserve LATENCY event.
10418
10419 2007-01-09  Wim Taymans  <wim@fluendo.com>
10420
10421         * docs/design/draft-latency.txt:
10422         Updates.
10423
10424 2007-01-09  Wim Taymans  <wim@fluendo.com>
10425
10426         * docs/design/draft-latency.txt:
10427         Updates.
10428
10429         * gst/gstelement.h:
10430         * gst/gststructure.c:
10431         * gst/gsttrace.c:
10432         Small typo fixes.
10433
10434 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10435
10436         * tests/check/.cvsignore:
10437           Ignore test-registry.xml as well.
10438
10439 2007-01-09  Wim Taymans  <wim@fluendo.com>
10440
10441         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10442         unref data at the end when we are done with the pad.
10443
10444 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10445
10446         * docs/gst/gstreamer-sections.txt:
10447         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10448         (init_post), (gst_deinit), (gst_update_registry):
10449         * gst/gst.h:
10450           API: add gst_update_registry() (#391296).
10451
10452         * tests/check/Makefile.am:
10453         * tests/check/gst/gstregistry.c:
10454         * tests/check/gst/.cvsignore:
10455           Simple unit test for the above.
10456
10457 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10458
10459         * gst/gstregistry.c: (gst_registry_scan_path_level):
10460           Plugin extension on HP-UX is .sl, add that to the list of approved
10461           plugin extensions (see #393796).
10462
10463         * tests/check/gst/gstpad.c: (GST_START_TEST):
10464           ulong => gulong. Fixes compilation with HP-UX compiler.
10465
10466         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10467           Fix compilation if valgrind headers are not available.
10468
10469 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10470
10471         * win32/common/libgstreamer.def: 
10472           Add new exported function.
10473         * win32/vs6/libgstbase.dsp: 
10474           Add gstdataqueue.c to the build.
10475         * win32/vs6/libgstcoreelements.dsp:
10476           Add gstmultiqueue.c to the build.
10477         
10478 2007-01-06  Andy Wingo  <wingo@pobox.com>
10479
10480         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10481         activate_pull(), providing for a way to specialize the process of
10482         spawning a thread to pull on the sink pad. There is a default
10483         implementation.
10484
10485         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10486         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10487         (gst_base_sink_init): Renamed pad activation functions (inserting
10488         "_pad" in their names). Refactor to use the new activate_pull
10489         vmethod, as appropriate.
10490         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10491         default activate_pull function to start a task pulling from the
10492         sink pad, as before.
10493
10494         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10495         on the pads if necessary, as in push()/chain(). Update docs.
10496         Shouldn't affect existing pull() usage as it is currently only
10497         being used on buffers without caps.
10498
10499 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10500
10501         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10502         (init_pre):
10503           Call g_thread_init() first thing in gst_init() / gst_check_init().
10504           When initialisation is done via gst_init_get_option_group() and
10505           GOption parsing, issue a warning if the GLib thread system has not
10506           been initialised yet by the time gst_init_get_option_group() is
10507           called, as it's quite likely other GLib functions such as
10508           g_option_context_new() have been called already then, and
10509           g_thread_init() must be called before any other GLib function. The
10510           application in question must be fixed in that case, since memory
10511           corruption might happen otherwise.
10512           We issue the warning because even if the GLib folks decide to work
10513           around the problem on their end in future, this is still an issue
10514           with all GLib versions >= 2.10.0, so we should warn until we depend
10515           on a GLib version we know to be safe.
10516           Update documentation as well.
10517           Closes bug #391278.
10518
10519 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10520
10521         * tools/gst-inspect.c: (main):
10522         * tools/gst-launch.c: (main):
10523         * tools/gst-typefind.c: (main):
10524         * tools/gst-xmlinspect.c: (main):
10525           Call g_thread_init() really really early, before any other GLib
10526           function (see #342564 and recent discussion on gtk-devel-list).
10527
10528 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10529
10530         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10531
10532         * gst/gst_private.h:
10533         * gst/gstconfig.h.in:
10534         * gst/gstinfo.h:
10535           On win32, all the __declspec stuff for symbol exporting is
10536           apparently only needed with MSVC, but doesn't work with MingW.
10537           Fixes compilation with MingW and #391909.
10538
10539 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10540
10541         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10542           Change some GST_ERROR_OBJECT that aren't really errors to
10543           GST_WARNING_OBJECT in order to reduce terminal spam.
10544
10545 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10546
10547         * tests/check/Makefile.am:
10548           disable test again, as there seem to be still race problems
10549
10550 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10551
10552         * tests/check/Makefile.am:
10553         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10554         (GST_START_TEST), (queue_suite):
10555           enable queue test again, add tests for the leaky behaviour
10556
10557 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10558
10559         * configure.ac:
10560         * tests/examples/Makefile.am:
10561           Compile adapter test/example only if the required headers are
10562           available (fixes #391915).
10563
10564 2007-01-01  David Schleef  <ds@schleef.org>
10565
10566         * gst/gstplugin.c:
10567           Restore the previous signal handler for SIGSEGV instead of
10568           setting to default, since we may have stolen it away from
10569           someone.  (i.e., Mono)
10570
10571 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10572
10573         * docs/random/draft-missing-plugins.txt:
10574           Some small additions and clarifications.
10575
10576 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10577
10578         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10579           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10580           since that can lead to random memory corruptions and crashes
10581           (may or may not be related to #383244, #386711, and #386711).
10582
10583 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10584
10585         * tests/check/.cvsignore:
10586         * tests/check/Makefile.am:
10587           sync .cvsignome and CLEANFILES
10588
10589 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10590
10591         * tests/check/Makefile.am:
10592           fix distcheck
10593
10594 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10595
10596         * docs/design/part-states.txt:
10597           two tiny additional comments
10598         
10599         * gst/gststructure.c:
10600           doc fixing
10601
10602         * tests/check/Makefile.am:
10603         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10604         (GST_START_TEST):
10605           disable test for now, unless it gets fixed
10606
10607 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10608
10609         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10610         (GST_START_TEST):
10611           fix race in underrun test
10612
10613 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10614
10615         * tests/check/elements/.cvsignore:
10616           ignore more
10617
10618         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10619         (GST_START_TEST):
10620           try to narrow test failure
10621
10622 2006-12-21  David Schleef  <ds@schleef.org>
10623
10624         * plugins/elements/gstfakesrc.c:
10625           Use g_random_int_range(), since it produces better random
10626           numbers in a range than almost-correct floating point code.
10627
10628 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10629
10630         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10631         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10632         (gst_check_teardown_sink_pad):
10633           do not automatically (de)activate pads
10634
10635         * tests/check/Makefile.am:
10636         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10637         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10638           add new, yet simple tests for queue
10639
10640         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10641         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10642         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10643         (GST_START_TEST):
10644         * tests/check/elements/identity.c: (cleanup_identity):
10645           consistent pad (de)activation
10646
10647 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10648
10649         Patch by: Sebastian Dröge  <slomo ubuntu com>
10650
10651         * libs/gst/base/gstcollectpads.c:
10652           Fix two doc typos (#387866).
10653
10654 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10655
10656         * docs/manual/advanced-dparams.xml:
10657           Fix typo (g_object_control_properties() doesn't exist).
10658
10659 2006-12-19  Edward Hervey  <edward@fluendo.com>
10660
10661         * gst/gstsegment.c: (gst_segment_set_seek):
10662         Fine tune the cases where the segment start/stop values are really
10663         updated.
10664         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10665         Add tests for the return values of gst_segment_set_seek().
10666
10667 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10668
10669         * gst/gst.c:
10670           Docs typo fix.
10671
10672         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10673         (gst_queue_init):
10674           Fix incorrect documentation and flesh it out a bit more.
10675           Set default values for the max properties on the GParamSpec as well,
10676           so it shows up correctly in gst-inspect.
10677
10678 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10679
10680         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10681           Correct docs of queue, add more detail and crosslink it more.
10682
10683 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10684
10685         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10686           Print additional debug info when the stream isn't perfectly
10687           timestamped; don't try to use invalid durations.
10688
10689 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10690
10691         * docs/design/Makefile.am:
10692           Dist new design docs.
10693
10694 2006-12-16  Wim Taymans  <wim@fluendo.com>
10695
10696         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10697
10698         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10699         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10700         (gst_collect_pads_stop), (gst_collect_pads_event),
10701         (gst_collect_pads_chain):
10702         * libs/gst/base/gstcollectpads.h:
10703         Add refcounting to the collectpads data so we can track when it's safe
10704         to free the data. Fixes #383382.
10705
10706 2006-12-15  Wim Taymans  <wim@fluendo.com>
10707
10708         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10709         (gst_collect_pads_remove_pad):
10710         Automatically activate/deactivate pads when they are added to a
10711         started/stoped collectpads.
10712
10713 2006-12-15  Wim Taymans  <wim@fluendo.com>
10714
10715         * gst/gstelement.c: (gst_element_add_pad):
10716         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10717         * gst/gstpad.c: (gst_pad_init):
10718         Set pads to FLUSHING when they are created. Check, warn and fix when a
10719         demuxer adds an inactive pad to itself when running. Fixes #339326.
10720
10721 2006-12-15  Wim Taymans  <wim@fluendo.com>
10722
10723         * gst/gstelement.c: (gst_element_class_init),
10724         (gst_element_default_send_event), (gst_element_send_event),
10725         (gst_element_default_query), (gst_element_query):
10726         Expose default element send_event and query handling as vmethods that
10727         subclasses can chain up to.
10728
10729 2006-12-15  Wim Taymans  <wim@fluendo.com>
10730
10731         * gst/gstelement.c: (gst_element_set_state_func):
10732         Small documentation fixes.
10733
10734 2006-12-15  Wim Taymans  <wim@fluendo.com>
10735
10736         * docs/design/draft-latency.txt:
10737         Checked in draft for handling latency in pipelines.
10738
10739 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10740
10741         * Makefile.am:
10742         * gstreamer.doap:
10743         * gstreamer.spec.in:
10744           adding .doap file
10745
10746 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
10747
10748         * gst/gst.c: (init_pre), (init_post):
10749           init_pre() and init_post() might be called via our GOptionGroup or
10750           from gst_init(), and we should skip both of them if we've already
10751           been initialised, otherwise we will init some things twice or add
10752           two default log functions.
10753
10754 2006-12-13  Edward Hervey  <edward@fluendo.com>
10755
10756         * docs/manual/basics-bus.xml:
10757         No, gst_main_loop does not exist. Its g_main_loop.
10758         Discovered by somebody who abused the copy-paste technique of coding :)
10759
10760 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
10761
10762         * gst/gstghostpad.c:
10763           Log ghostpad debug stuff to the GST_PADS category as well rather
10764           than just to the default category.
10765
10766 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
10767
10768         * configure.ac:
10769         * gst/gst.c: (init_pre):
10770           Add some basic system details such as OS and architecture
10771           to the debug output if possible, courtesy of uname().
10772
10773 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10774
10775         * docs/gst/running.xml:
10776           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10777           environment variables.
10778
10779 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10780
10781         * tests/check/gst/gstbin.c: (GST_START_TEST):
10782         It is acceptable to have a refcount of 2 or 3 at this point in the
10783         test, because the pipeline might be just posting its state_change
10784         message. The next line then waits for that message to appear using
10785         bus_poll, so that should be fine too.
10786
10787 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10788
10789         * gst/gst.c: (ensure_current_registry_forking):
10790         Ignore EINTR when reading from the child registry pipe.
10791         Explicitly ignore the return value from close, since it makes no
10792         difference.
10793
10794         * gst/gstminiobject.c: (gst_mini_object_ref),
10795         (gst_mini_object_unref):
10796         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10797
10798         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10799         When removing cached plugins, remove their features too, so they're
10800         not visible after they've disappeared.
10801
10802         * gst/gstutils.c: (prepare_link_maybe_ghosting):
10803         In the unlikely case that we are linking pads with no parents, don't
10804         crash trying to get the non-existent parent bin.
10805
10806         * gst/parse/grammar.y:
10807         Output debug in the PIPELINE category
10808
10809 2005-03-08  Wim Taymans  <wim@fluendo.com>
10810
10811         Patch by: René Stadler <mail at renestadler dot de>
10812
10813         * gst/gstclock.c: (gst_clock_new_periodic_id):
10814         Reject invalid clock times for interval of periodic ids.
10815         Fixes ##383506.
10816
10817 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
10818
10819         * gst/gstelementfactory.c: (gst_element_factory_create):
10820         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10821         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10822         * tools/gst-inspect.c: (print_element_info):
10823         Fix refcounting of gst_plugin_feature_load to match the docs. 
10824         Fixes: #380129
10825
10826 2006-12-07  Wim Taymans  <wim@fluendo.com>
10827
10828         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10829         (gst_base_sink_get_position):
10830         Improve debugging of events.
10831
10832 2006-12-07  Wim Taymans  <wim@fluendo.com>
10833
10834         Patch by: René Stadler <mail at renestadler dot de>
10835
10836         * gst/gstclock.c: (gst_clock_id_wait):
10837         Make period ids add the interval to the origial requested time instead
10838         of the possibly updated time which can be wrong when there are multiple
10839         waiters for the same id. Fixes #382592.
10840
10841         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10842         (gst_system_clock_id_wait_jitter_unlocked),
10843         (gst_system_clock_id_wait_jitter):
10844         Fix restart in the async notify thread when an async entry is added to
10845         the front of the list. Fixes #381492. 
10846
10847         * tests/check/gst/gstsystemclock.c: (store_callback),
10848         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10849         Added test for multiple async waits.
10850         Added test for async wait order.
10851
10852 2006-12-07  Wim Taymans  <wim@fluendo.com>
10853
10854         * gst/gstbin.c: (gst_bin_query):
10855         Add some more docs about the POSITION query.
10856
10857 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
10858
10859         * configure.ac:
10860         Bump version nano - back to CVS.
10861
10862 === release 0.10.11 ===
10863
10864 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
10865
10866         * configure.ac:
10867           releasing 0.10.11, "Love never runs on time"
10868
10869 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
10870
10871         * win32/common/libgstbase.def:
10872         * win32/common/libgstreamer.def:
10873         * win32/vs8/libgstbase.vcproj:
10874         * win32/vs8/libgstcoreelements.vcproj:
10875         * win32/vs8/libgstreamer.vcproj:
10876         Fix compilation on win32 under VS8
10877         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10878         Partially fixes #381175
10879
10880 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10881
10882         * gst/gstvalue.c: (gst_value_compare_fraction):
10883         If someone is foolish enough to compare 2 fractions with denominator =
10884         0, return UNORDERED rather than aborting.
10885
10886 2006-11-28  Edward Hervey  <edward@fluendo.com>
10887
10888         * libs/gst/base/Makefile.am:
10889         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10890         (gst_data_queue_base_init), (gst_data_queue_class_init),
10891         (gst_data_queue_init), (gst_data_queue_new),
10892         (gst_data_queue_cleanup), (gst_data_queue_finalize),
10893         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10894         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10895         (gst_data_queue_is_empty), (gst_data_queue_is_full),
10896         (gst_data_queue_set_flushing), (gst_data_queue_push),
10897         (gst_data_queue_pop), (gst_data_queue_drop_head),
10898         (gst_data_queue_set_property), (gst_data_queue_get_property):
10899         * libs/gst/base/gstdataqueue.h:
10900         New GstDataQueue object for threadsafe queueing. Most useful for
10901         elements that need some queueing functionnality.
10902         * docs/libs/gstreamer-libs-docs.sgml:
10903         * docs/libs/gstreamer-libs-sections.txt:
10904         Insert documentation for GstDataQueue
10905         * plugins/elements/Makefile.am:
10906         * plugins/elements/gstelements.c:
10907         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10908         (gst_multi_queue_class_init), (gst_multi_queue_init),
10909         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10910         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10911         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10912         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10913         (gst_multi_queue_loop), (gst_multi_queue_chain),
10914         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10915         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10916         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10917         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10918         (wake_up_next_non_linked), (compute_next_non_linked),
10919         (single_queue_overrun_cb), (single_queue_underrun_cb),
10920         (single_queue_check_full), (gst_single_queue_new):
10921         * plugins/elements/gstmultiqueue.h:
10922         New multiqueue element, using GstDataQueue. Used for queuing multiple
10923         streams.
10924         Closes #344639 and #347785
10925
10926 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
10927
10928         * docs/pwg/advanced-types.xml:
10929           add more missing type details
10930
10931         * tools/gst-run.c: (main):
10932           remove unused variable
10933
10934 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
10935
10936         * docs/libs/Makefile.am:
10937         * docs/libs/gstreamer-libs.types:
10938           add types of base classes to enable gobject specific stuff in the docs
10939
10940         * docs/random/ensonic/embedded.txt:
10941           more ideas about isolating platform specific things
10942
10943 2006-11-20  Wim Taymans  <wim@fluendo.com>
10944
10945         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
10946
10947         * libs/gst/check/gstcheck.h:
10948         Fix compilation and running against 0.9.4. Fixes #377332.
10949
10950 2006-11-20  Wim Taymans  <wim@fluendo.com>
10951
10952         * gst/gstsegment.c: (gst_segment_set_seek),
10953         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10954         (gst_segment_to_running_time):
10955         Fix boundary checking in to_running_time() and to_stream_time().
10956         Fixes #377183.
10957
10958         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10959         stream and running time can now be calculated for the complete
10960         clipped segment.
10961
10962 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
10963
10964         * gst/gstpad.c: (gst_pad_push_event):
10965           Can't access event structure after giving away ownership of
10966           the event.
10967
10968 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
10969
10970         * docs/random/ensonic/embedded.txt:
10971         * docs/random/ensonic/profiling.txt:
10972         * docs/random/ensonic/receipies.txt:
10973           more thinking
10974
10975 2006-11-13  Wim Taymans  <wim@fluendo.com>
10976
10977         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10978
10979         * gst/gstpad.c:
10980         Fix documentation for gst_pad_dispatcher. Fixes #374475.
10981
10982 2006-11-13  Wim Taymans  <wim@fluendo.com>
10983
10984         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
10985
10986         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10987         Store new length in segment duration so we don't keep on calling the
10988         potentially expensize get_size() call. Fixes #370865.
10989
10990 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
10991
10992         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
10993
10994         * win32/common/libgstreamer.def:
10995           Add two missing symbols (#366492).
10996
10997 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
10998
10999         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11000         (gst_adapter_take_buffer):
11001         Fix format string to use all its arguments.
11002         Remove useless >= check on a guint
11003
11004 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11005
11006         * tests/examples/adapter/.cvsignore:
11007         Ignore build file as commanded by the build-bot
11008
11009 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11010
11011         * tests/examples/adapter/Makefile.am:
11012         * tests/examples/adapter/adapter_test.c: (run_test_take),
11013         (run_test_take_buffer), (run_tests), (main):
11014
11015         Add new files from the previous commit
11016
11017 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11018
11019         * Makefile.am:
11020         * configure.ac:
11021         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11022         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11023         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11024         * libs/gst/base/gstadapter.h:
11025         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11026         (GST_START_TEST), (gst_adapter_suite):
11027         * tests/examples/Makefile.am:
11028         Do some optimisation work in GstAdapter to avoid copies in more cases.
11029         It could still do slightly better by merging buffers when
11030         gst_buffer_is_span_fast is true, but is already faster. 
11031
11032         Also, avoid traversing a single-linked list to append each incoming 
11033         buffer inside the adapter.
11034
11035         Add simple test app that times the adapter behaviour in different
11036         situations, and extend the unit test to check that bytes enter and
11037         exit the adapter in their original order.
11038
11039 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11040
11041         * docs/random/draft-missing-plugins.txt:
11042           Update: use element message instead of adding a new message
11043           type to the core; don't provide GStreamer API to initiate the
11044           plugin download, just provide API to compose the strings needed
11045           and let an external libgimmestuff handle the rest.
11046
11047 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11048
11049         * tools/gst-inspect.c: (print_element_properties_info):
11050         Print a string instead of 'unknown type' for GValueArray properties
11051
11052 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11053
11054         * docs/random/draft-missing-plugins.txt:
11055         More small fixes.
11056
11057 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11058
11059         * tests/examples/typefind/typefind.c: (type_found), (main):
11060           Make typefind element example work again (#371894); add a
11061           license header.
11062
11063 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11064
11065         * docs/random/draft-missing-plugins.txt:
11066           Commit initial draft about how to deal with missing plugins,
11067           needs work (API too).
11068
11069 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11070
11071         * docs/pwg/advanced-types.xml:
11072           documents the new caps elements (see #363118)
11073
11074 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11075
11076         * gst/gstplugin.c: (gst_plugin_load_file):
11077         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11078         (gst_file_src_map_region), (gst_file_src_start):
11079         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11080         (gst_file_index_commit):
11081           Use g_strerror() instead of strerror() - we want UTF-8.
11082
11083 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11084
11085         Patch by: Peter Kjellerstedt <pkj at axis com>
11086
11087         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11088           Another printf fix (#371493).
11089
11090 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11091
11092         * tests/check/gst/gsttag.c:
11093           relicence (okay with author=company)
11094
11095 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11096
11097         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11098         (gst_pad_push_event):
11099           Enhance debug and improve docs
11100         
11101         * gst/gsturi.c:
11102           Fix docs
11103
11104 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11105
11106         * docs/random/ensonic/distributed.txt:
11107         * docs/random/ensonic/profiling.txt:
11108           more ideas
11109
11110 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11111
11112         * docs/gst/gstreamer-sections.txt:
11113           add new API and fix the build
11114           
11115         * gst/gstbin.c: (gst_bin_recalc_state):
11116         * gst/gstelement.c: (gst_element_message_full),
11117         (gst_element_get_state_func), (gst_element_set_state_func):
11118           use new API and improve logging
11119         
11120         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11121         * gst/gstutils.h:
11122           API: add function to get StateChangereturn names to improve logs 
11123
11124 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11125
11126         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11127           I'm considering shooting the next person to put strerror stuff
11128           in the translateable part of the message.
11129
11130 2006-11-03  Wim Taymans  <wim@fluendo.com>
11131
11132         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11133         Get the type and printf conversion specifiers right.
11134
11135 2006-11-03  Wim Taymans  <wim@fluendo.com>
11136
11137         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11138
11139         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11140         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11141         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11142         Some small cleanups. Improve debugging.
11143         * gst/gstpad.h:
11144         Signal all waiting threads with a broadcast instead of just one.
11145         Fixes #369942.
11146
11147 2006-11-03  Wim Taymans  <wim@fluendo.com>
11148
11149         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11150         (gst_fd_src_create):
11151         Add some debugging. 
11152         Only update fd when it's different from the old.
11153
11154 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11155
11156         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11157           Printf fixes for PPC/OSX, take two (#369366).
11158
11159 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11160
11161         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11162
11163         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11164         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11165         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11166           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11167           don't cast to long long for portability reasons, but use
11168           GLib's types instead.
11169
11170 2006-10-30  Michael Smith  <msmith@fluendo.com>
11171
11172         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11173           Get the arguments to lseek() the right way around.
11174           Fixes 367677.
11175
11176 2006-10-30  Wim Taymans  <wim@fluendo.com>
11177
11178         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11179
11180         * gst/gstinfo.h:
11181         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11182
11183 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11184
11185         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11186
11187         * docs/design/part-MT-refcounting.txt:
11188         * docs/random/wtay/capsnego2-docs:
11189         * gst/gstclock.c:
11190         * gst/gstxml.c:
11191           Typo fixes (#366212).
11192
11193 2006-10-28  Wim Taymans  <wim@fluendo.com>
11194
11195         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11196
11197         * gst/gst.c:
11198         * win32/common/libgstbase.def:
11199         * win32/common/libgstreamer.def:
11200         * win32/vs8/libgstbase.vcproj:
11201         * win32/vs8/libgstcontroller.vcproj:
11202         Add needed entries in .def files.
11203         Use HAVE_UNISTD_H.
11204         Rearrange def files in vs8 solutions. Fixes #366286.
11205
11206 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11207
11208         * win32/common/gstconfig.h:
11209           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11210           hand-made win32 gstconfig.h. Fixes #366321.
11211
11212 2006-10-27  Wim Taymans  <wim@fluendo.com>
11213
11214         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11215         (gst_ghost_pad_new_full):
11216         Make acceptcaps return TRUE when we don't have a target, just like
11217         setcaps does.
11218
11219 2006-10-27  Wim Taymans  <wim@fluendo.com>
11220
11221         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11222         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11223
11224 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11225
11226         * gst/gststructure.c: (gst_structure_id_set_value):
11227           If someone tries to set a non-UTF8 string field on a structure,
11228           don't just print a warning, but also ignore the request and do
11229           not change/add that field to the structure.
11230
11231         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11232           Test for the above.
11233
11234 2006-10-25  David Schleef  <ds@schleef.org>
11235
11236         * gst/gstinfo.c:
11237           g_hash_table_insert() needs a cast to a non-const pointer duh.
11238
11239 2006-10-25  David Schleef  <ds@schleef.org>
11240
11241         * gst/gstinfo.c:
11242         * gst/gstinfo.h:
11243           Change name parameter of _gst_debug_register_funcptr to const
11244           to reflect the constness of its use in the function as well
11245           as to quiet a gcc warning.
11246
11247 2006-10-25  Edward Hervey  <edward@fluendo.com>
11248
11249         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11250         Don't push the buffer if it's empty.
11251         Closes #363095
11252
11253 2006-10-24  Wim Taymans  <wim@fluendo.com>
11254
11255         * gst/gstevent.h:
11256         Add small comment.
11257
11258         * libs/gst/base/gstbasetransform.c:
11259         (gst_base_transform_sink_eventfunc):
11260         Debug segment values *after* updating them as this is more
11261         interesting.
11262
11263 2006-10-23  Wim Taymans  <wim@fluendo.com>
11264
11265         * docs/design/part-events.txt:
11266         Update some docs.
11267
11268         * docs/design/part-block.txt:
11269         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11270         (gst_pad_push_event):
11271         Revert BLOCKING patch, it tries to be smart without really having a
11272         clear idea what or how. So, now we discard all FLUSHING events again on
11273         a blocking pad. Should fix gnonlin again.
11274
11275 2006-10-23  Wim Taymans  <wim@fluendo.com>
11276
11277         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11278
11279         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11280         (gst_base_src_start), (gst_base_src_activate_push):
11281         Make sure size is always initialized. Fixes #364388.
11282
11283 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11284
11285         * docs/random/ensonic/distributed.txt:
11286           add some ideas about doing distributed processing
11287
11288         * docs/random/ensonic/profiling.txt:
11289           get_rusage look promising
11290
11291 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11292
11293         * docs/manual/basics-helloworld.xml:
11294           Add a cast in example to fix compile warning
11295
11296 2006-10-18  Wim Taymans  <wim@fluendo.com>
11297
11298         * gst/gstsegment.c: (gst_segment_set_last_stop),
11299         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11300         Relax arg checking again, -1 is allowed.
11301
11302 2006-10-18  Wim Taymans  <wim@fluendo.com>
11303
11304         * gst/gstsegment.c: (gst_segment_set_last_stop),
11305         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11306         _set_last_stop() must be with a value != -1
11307         A _TYPE_SET to -1 means seek to 0.
11308         Calc last_stop correctly for negative rates.
11309         Make sure we work with positive durations when updating a segment.
11310
11311 2006-10-18  Wim Taymans  <wim@fluendo.com>
11312
11313         * docs/design/part-live-source.txt:
11314         * gst/gstclock.h:
11315         Small docs fixes.
11316
11317 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11318
11319         * gst/gstbuffer.h:
11320           Add an explicit cast to GstBuffer** to keep old code that added an
11321           explicit cast to GstMiniObject** for gst_mini_object_replace()
11322           compiling without warning.
11323
11324 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11325
11326         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11327           check for validity of dates
11328
11329 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11330
11331         * docs/gst/gstreamer-sections.txt:
11332           Forgot this one, makes gtk-doc shut up.
11333
11334 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11335
11336         Patch by: Peter Kjellerstedt <pkj at axis com>
11337
11338         * gst/gstobject.h:
11339           Don't define xmlNodePtr to gpointer if the core was built with
11340           --disable-loadsave and --disable-registry, this will break
11341           applications that want to use libxml2 but are buildling against a
11342           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11343           instead so we don't have to mess with the libxml2 namespace
11344           (#361675).
11345
11346 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11347
11348         * gst/gstbuffer.h:
11349           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11350           type-punned pointer warnings.
11351
11352 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11353
11354         * gst/gstelement.h:
11355           Add casts to the correct return type to state <=> state transition
11356           macros.
11357
11358 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11359
11360         * docs/design/part-live-source.txt:
11361           describe howto handle latency
11362         
11363         * docs/random/ensonic/profiling.txt:
11364           more ideas
11365
11366         * tools/gst-plot-timeline.py:
11367           fix log parsing for solaris, remove unused function
11368
11369 2006-10-16  Wim Taymans  <wim@fluendo.com>
11370
11371         * docs/design/part-trickmodes.txt:
11372         * gst/gstevent.c:
11373         Update some docs regarding reverse playback.
11374
11375 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11376
11377         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11378
11379         * win32/vs8/grammar.vcproj:
11380           Error out with a warning if glib-genmarshal.exe is not in path,
11381           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11382
11383 2006-10-13  Wim Taymans  <wim@fluendo.com>
11384
11385         * gst/gstsegment.c: (gst_segment_set_seek):
11386         When seeking to stop -1, set last_stop (current position) to the
11387         duration of the segment.
11388
11389 2006-10-13  Wim Taymans  <wim@fluendo.com>
11390
11391         * gst/gstelement.h:
11392         Clarify _NO_PREROLL a bit more.
11393
11394         * gst/gstevent.c:
11395         Fix docs.
11396
11397         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11398         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11399         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11400         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11401         due to wrong locking order. Fixes #361769.
11402         Remove some redundant/misplaced checks in pad_block.
11403
11404         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11405         For negative rates, count backwards from the duration.
11406
11407 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11408
11409         * gst/gsterror.c: (_gst_library_errors_init):
11410           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11411           up with something better).
11412
11413 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11414
11415         * win32/vs6/libgstreamer.dsp:
11416         * win32/vs7/libgstreamer.vcproj:
11417         * win32/vs8/libgstreamer.vcproj:
11418           Don't reference glib-compat.c which is currently not used and not
11419           disted; add gstquark.c which was recently added. Fixes #361730.
11420
11421 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11422
11423         * win32/common/libgstbase.def:
11424         * win32/common/libgstcontroller.def:
11425         * win32/common/libgstreamer.def:
11426           Add gst_caps_merge() and a bunch of other recently-added functions.
11427           Fixes #361732.
11428
11429 2006-10-11  Wim Taymans  <wim@fluendo.com>
11430
11431         * docs/plugins/gstreamer-plugins.args:
11432         * docs/plugins/inspect/plugin-coreelements.xml:
11433         * docs/plugins/inspect/plugin-coreindexers.xml:
11434         Update element args.
11435
11436         * gst/gstsystemclock.c:
11437         Small comment update.
11438
11439         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11440         (gst_tee_request_new_pad), (gst_tee_release_pad),
11441         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11442         (gst_tee_sink_activate_pull):
11443         * plugins/elements/gsttee.h:
11444         Some tee loving:
11445         Add default property defines.
11446         Implement release pad function.
11447         Give properties better blubs etc.
11448         Activate pads before adding them to a running tee.
11449         Do simple buffer_alloc on the first requested pad.
11450         Post error when activation fails.
11451
11452 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11453
11454         * gst/gst.c: (ensure_current_registry_forking):
11455           Check return value of write() to make compiler happy.
11456
11457 2006-10-11  Wim Taymans  <wim@fluendo.com>
11458
11459         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11460
11461         * plugins/elements/gstqueue.c: (gst_queue_chain):
11462         Recheck queue filledness after signalling the overrun when we're about
11463         to leak downstream because we released the lock when emitting the signal
11464         and the queue could be empty again. Fixes #352345.
11465
11466 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11467
11468         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11469           Fix refcounting here too, just like we did for _new_valist() a few
11470           days ago (#357180) (thanks to René Stadler). Also remove all those
11471           'Since: 0.9' from the gtk-doc blobs.
11472
11473         * tests/check/libs/controller.c: (controller_refcount_new_list),
11474         (gst_controller_suite):
11475           Unit test for the above.
11476
11477 2006-10-10  Wim Taymans  <wim@fluendo.com>
11478
11479         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11480
11481         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11482         (gst_pad_save_thyself):
11483         Update some docs.
11484         Write pad direction in XML output. Fixes #345496.
11485
11486 2006-10-10  Wim Taymans  <wim@fluendo.com>
11487
11488         Patch by: René Stadler <mail at renestadler dot de>
11489
11490         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11491         (gst_controller_new_list), (_gst_controller_dispose),
11492         (_gst_controller_finalize), (_gst_controller_class_init):
11493         Take ref to controlled object so that it cannot disappear. 
11494         Fixes #357432.
11495
11496 2006-10-10  Wim Taymans  <wim@fluendo.com>
11497
11498         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11499         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11500         (gst_check_teardown_sink_pad):
11501         Activate/deactivate pads in setup/teardown respectively.
11502
11503 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11504
11505         Patch by: Josep Torra Valles <josep@fluendo.com>
11506
11507         * gst/Makefile.am:
11508         Cast values when making gstenumtypes.h.  This pacifies Forte
11509         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11510         in the enumeration.
11511
11512 2006-10-09  Wim Taymans  <wim@fluendo.com>
11513
11514         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11515         Rename some more @cur to @start to fix docs. 
11516
11517         * gst/gstsegment.c: (gst_segment_set_seek):
11518         Fix typo.
11519         time and start must always stay in sync as defined in design doc.
11520
11521         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11522         Rename param to fix docs.
11523
11524         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11525         Check that start and time are in sync.
11526
11527         * tests/check/pipelines/parse-launch.c:
11528         (gst_parse_test_element_change_state):
11529         Activate pad before adding to the element.
11530
11531 2006-10-09  Wim Taymans  <wim@fluendo.com>
11532
11533         * docs/design/part-qos.txt:
11534         Fix typo.
11535
11536         * gst/gstevent.c:
11537         * gst/gstevent.h:
11538         Update seek event docs regarding negative rates.
11539         Rename @cur to @start. 
11540
11541         * gst/gstsegment.c: (gst_segment_set_seek):
11542         * gst/gstsegment.h:
11543         Update set_seek docs regarding negative rates.
11544         Correctly update last_stop to @stop when dealing with negative
11545         rates.
11546         Rename @cur to @start. 
11547
11548         * tests/check/gst/gstpad.c: (GST_START_TEST):
11549         Activate pads before trying to use them.
11550
11551         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11552         (gst_segment_suite):
11553         Add simple check for segments and negative rates.
11554
11555 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11556
11557         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11558         * gst/gsttaglist.h:
11559         * docs/gst/gstreamer-sections.txt:
11560           API: add gst_tag_list_is_empty() (#360467).
11561
11562         * tests/check/gst/gsttag.c: (GST_START_TEST):
11563           And a test case.
11564
11565 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11566
11567         * gst/gstmessage.h:
11568         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11569         a value that doesn't fit on enumeration.
11570
11571 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11572
11573         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11574         Remove local debugging system and use Gstreamer's instead.
11575
11576 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11577
11578         Patch by: Josep Torra Valles <josep@fluendo.com>
11579
11580         * common/m4/gst-error.m4:
11581         Disable warning of statement not reached on Forte.
11582         * gst/gstmessage.h:
11583         Fix warning on Forte (value doesn't fit on enumeration).
11584         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11585         Fix warning on Forte (value doesn't fit on enumeration).
11586         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11587         DEBUG macro says it takes minimum of 2 args and so Forte
11588         complains about the use with just 1 arg.
11589         * plugins/elements/gstfdsink.c:
11590         * plugins/elements/gstfdsrc.c:
11591         * plugins/elements/gstfilesink.c:
11592         * plugins/elements/gstfilesrc.c:
11593         Use correct return type for the uri handler implementations.
11594
11595         All these fix warnings in Forte.  Fixes bug #360860.
11596
11597 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11598
11599         * gst/gstelement.h:
11600           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11601           format string, so don't use G_GNUC_PRINTF for those versions.
11602
11603 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11604
11605         * gst/gsttaglist.c: (gst_is_tag_list):
11606         * gst/gsttaglist.h:
11607           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11608
11609         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11610           Small test for the above.
11611
11612 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11613
11614         * gst/gsttaglist.h:
11615           Less tabs, more spaces.
11616
11617 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11618
11619         * gst/gstinfo.h:
11620           Those two function declarations do actually belong there, revert
11621           commit from yesterday that turned them intro macros.
11622
11623 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11624
11625         Patch by: Josep Torra Valles <josep@fluendo.com>
11626
11627         * gst/gst.c: (gst_init_get_option_group):
11628         Fix empty declaration and type mismatch.
11629         * gst/gstbin.c: (gst_bin_change_state_func):
11630         Fix type mismatch.
11631         * gst/gstelement.c: (gst_element_continue_state),
11632         (gst_element_set_state_func), (gst_element_change_state),
11633         (gst_element_change_state_func):
11634         Fix type mismatches.
11635         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11636         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11637         Cast as appropriate.
11638         * gst/gstobject.c: (gst_class_signal_connect):
11639         Cast as appropriate.  The function pointer parameter really
11640         has the wrong type but would break API if we change it.
11641         * gst/gstquery.c:
11642         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11643         order of including string.h.
11644         * gst/gstutils.c: (gst_element_state_get_name):
11645         Remove unreachable line.
11646         * gst/gstxml.c: (gst_xml_parse_doc):
11647         Fix type mismatch.
11648         All these caught by Forte.
11649
11650 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11651
11652         Patch by: Josep Torra Valles <josep@fluendo.com>
11653
11654         * common/m4/gst-error.m4:
11655         Fixed bug #360151.
11656         We need to disable warnings on Forte for empty declarations
11657         due to gst-indent adding ;s to lines that just use macros
11658         where the macro actually doesn't need a ; at end to end
11659         statement.
11660
11661 2006-10-06  Wim Taymans  <wim@fluendo.com>
11662
11663         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11664         (gst_file_sink_close_file), (gst_file_sink_event),
11665         (gst_file_sink_render):
11666         Add some FIXME for the NEWSEGMENT handling.
11667
11668 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11669
11670         * gst/parse/grammar.y:
11671         Remove static function gst_parse_element_lock as all it does
11672         is return.  Looks like cruft from 0.8.
11673
11674 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11675
11676         Patch by: Josep Torra Valles <josep@fluendo.com>
11677
11678         * common/m4/gst-error.m4:
11679         * configure.ac:
11680         * libs/gst/net/Makefile.am:
11681         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11682         libresolv.
11683
11684 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11685
11686         * gst/gstpad.c: (pre_activate):
11687         * gst/gstregistry.c: (gst_registry_scan_path_level):
11688         * gst/gstregistryxml.c: (load_plugin):
11689         * libs/gst/controller/gstcontroller.c:
11690         (gst_controlled_property_set_interpolation_mode):
11691         * libs/gst/dataprotocol/dataprotocol.c:
11692         (gst_dp_packet_from_event_1_0):
11693         * libs/gst/net/gstnetclientclock.c:
11694         (gst_net_client_clock_observe_times):
11695         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11696           Printf fixes.
11697
11698 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11699
11700         * configure.ac:
11701         * docs/gst/gstreamer-sections.txt:
11702         * gst/gstconfig.h.in:
11703         * gst/gstelement.h:
11704         * gst/gstinfo.h:
11705           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11706           whether we can use G_GNUC_PRINTF in other header files and at
11707           least check the printf format/arguments of debug messages and
11708           GST_ELEMENT_ERROR messages when the printf extension is not
11709           being used.
11710           Replace more tabs with spaces in gstinfo.h and remove two spurious
11711           function declarations in GST_DISABLE_DEBUG part with macros.
11712
11713 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
11714
11715         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11716           More docs for the sync-message signal (mention that it is not
11717           emitted by default); log message structures of messages posted on
11718           the bus as well.
11719
11720 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
11721
11722         * gst/gst.c: (ensure_current_registry_forking):
11723         Use a pipe pair to receive status results from the forked child, and
11724         ignore the result from waitpid. Fixes #355499
11725
11726 2006-10-02  Wim Taymans  <wim@fluendo.com>
11727
11728         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11729         (gst_ghost_pad_suite):
11730         Fix leak in check.
11731
11732 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11733
11734         * gst/gstpad.c:
11735           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11736
11737 2006-10-02  Edward Hervey  <edward@fluendo.com>
11738
11739         * docs/design/part-block.txt:
11740         Further explain the use of flushing on blocked pads.
11741         * docs/gst/gstreamer-sections.txt:
11742         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11743         (gst_pad_push_event):
11744         * gst/gstpad.h:
11745         Added new GstPadFlag : GST_PAD_BLOCKING.
11746         Adds the notion of pads really blocking, which enables to properly
11747         handle FLUSH_START/FLUSH_STOP events on blocked pads.
11748         Fixes #358999
11749         API: gst_pad_is_blocking()
11750         API: GST_PAD_IS_BLOCKING() macro
11751         API: GST_PAD_BLOCKING GstPadFlag
11752         
11753 2006-10-02  Wim Taymans  <wim@fluendo.com>
11754
11755         Patch by: mrcgran <mrc.gran at gmail dot com>
11756
11757         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11758         Filter the proxied caps against the padtemplate if we have one.
11759
11760         * gst/gstquery.c: (gst_query_new_segment):
11761         Add include for gstinfo.h so that compilation with
11762         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11763
11764 2006-10-02  Wim Taymans  <wim@fluendo.com>
11765
11766         Patch by: Alessandro Decina  <alessandro at nnva org>
11767
11768         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11769         (gst_file_sink_set_location), (gst_file_sink_open_file),
11770         (gst_file_sink_close_file), (gst_file_sink_event),
11771         (gst_file_sink_render):
11772         Set file to NULL when closing filesink so that we can set a new filename
11773         in READY. Fixes #358613.
11774
11775 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11776
11777         Patch by: Alessandro Decina  <alessandro at nnva org>
11778
11779         * gst/gstevent.c: (_gst_event_copy):
11780           Fix gst_mini_object_make_writable() and gst_event_copy() for events
11781           with event structures by setting the parent refcount address of the
11782           copied structure to the address of the refcount member of the newly
11783           copied event rather than the address of the refcount member of the
11784           original event. Fixes #358737.
11785
11786         * tests/check/gst/gstevent.c: (GST_START_TEST):
11787           Unit test for the above.
11788
11789 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
11790
11791         * docs/design/Makefile.am:
11792           Dist some more files.
11793
11794 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11795
11796         * tests/check/libs/controller.c: (GST_START_TEST),
11797         (gst_controller_suite):
11798           Add test for the previous fix; add some more tests
11799           for correct refcounting behaviour; fix a few leaks
11800           in test cases; call gst_controller_init() at start
11801           of all tests.
11802
11803 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11804
11805         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11806         (gst_controller_set_from_list):
11807           Don't g_return_val_if_fail() on timed values with invalid timestamps
11808           inside a critical section without unlocking the mutex. Spotted by
11809           René Stadler. (#357617)
11810           Also, fix up refcounting properly: when returning an existing
11811           controller, we should increase the reference only once and not
11812           once per property and when trying to control a property again
11813           we should also increase the refcount.
11814
11815 2006-09-29  Wim Taymans  <wim@fluendo.com>
11816
11817         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11818         * libs/gst/net/gstnettimeprovider.c:
11819         (gst_net_time_provider_thread):
11820         Stop reading commands when EOF as well.
11821
11822         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11823         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11824         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11825         Unify description of the dump property.
11826
11827 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11828
11829         * tests/examples/manual/.cvsignore:
11830         OK, so it's actually cvsignore that needs changing. Stop laughing.
11831
11832 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11833
11834         * tests/examples/manual/Makefile.am:
11835         Gah, declare vars *before* using them
11836
11837 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11838
11839         * gst/gst.c: (init_pre), (scan_and_update_registry),
11840         (ensure_current_registry_nonforking),
11841         (ensure_current_registry_forking), (ensure_current_registry),
11842         (init_post), (gst_debug_help), (gst_deinit):
11843         * gst/gst_private.h:
11844         * gst/gstregistry.c: (gst_registry_finalize),
11845         (gst_registry_remove_features_for_plugin_unlocked),
11846         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11847         (gst_registry_scan_path),
11848         (_priv_gst_registry_remove_cache_plugins),
11849         (_priv_gst_registry_cleanup):
11850         * gst/gstregistry.h:
11851         Re-commit the registry changes, along with an extra fix:
11852           When a cached plugin is encountered at a different file path,
11853           update the stored path in the registry cache so that the parent
11854           process knows where it actually is now when it re-reads the registry
11855           cache. Fixes the thing that broke distcheck with the previous commit.
11856
11857         * tests/check/Makefile.am:
11858         Clean up files named 'core' too when running make clean.
11859
11860         * tests/examples/manual/Makefile.am:
11861         Set up a registry path for running these tests, and clean it properly
11862         for distcheck.
11863
11864 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11865
11866         * configure.ac:
11867         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11868         want gmodule-no-export-2.0.pc instead so that we don't drag in
11869         --export-dynamic on every project that links to GStreamer.
11870
11871         Also, make our export regex only match the start of symbols, rather 
11872         than any symbol that contains '_gst' somewhere.
11873
11874         * libs/gst/check/Makefile.am:
11875         The libgstcheck we build does however need export-dynamic, as it
11876         produces some symbols that don't match our _gst... style regex.
11877         Fixes: #318031
11878
11879 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
11880
11881         * gst/gst.c: (init_pre), (scan_and_update_registry),
11882         (ensure_current_registry_nonforking),
11883         (ensure_current_registry_forking), (ensure_current_registry),
11884         (init_post), (gst_debug_help), (gst_deinit):
11885         * gst/gst_private.h:
11886         * gst/gstregistry.c: (gst_registry_finalize),
11887         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11888         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11889         (_gst_registry_cleanup):
11890         * gst/gstregistry.h:
11891           Revert previous change until I figure out why it breaks distcheck.
11892
11893 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
11894
11895         * gst/gst.c: (init_pre), (scan_and_update_registry),
11896         (ensure_current_registry_nonforking),
11897         (ensure_current_registry_forking), (ensure_current_registry),
11898         (init_post), (gst_debug_help), (gst_deinit):
11899
11900           Make init_pre and init_post take the full complement of GOptionFunc
11901           args so they can return useful GErrors. Make the registry updating
11902           functions do so.
11903
11904           Call _priv_gst_registry_remove_cache_plugins after scanning files to
11905           ensure that the registry we're about to write out doesn't contain
11906           stale information about old-deleted plugin files.
11907
11908           Make _priv_gst_registry_remove_cache_plugins return a boolean so
11909           that deletion of plugin files is considered a registry change.
11910
11911         * gst/gst_private.h:
11912         * gst/gstregistry.c: (gst_registry_finalize),
11913         (gst_registry_remove_features_for_plugin_unlocked),
11914         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11915         (gst_registry_scan_path),
11916         (_priv_gst_registry_remove_cache_plugins),
11917         (_priv_gst_registry_cleanup):
11918         * gst/gstregistry.h:
11919         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11920         by adding _priv prefix, so that they won't appear in the global
11921         symbol table. They still do atm though because of #318031. Move the
11922         prototypes to gst_private.h
11923
11924         When removing a plugin, remove all features for that plugin too. 
11925         Fixes #340878.
11926
11927 2006-09-27  Wim Taymans  <wim@fluendo.com>
11928
11929         * docs/random/moving-plugins:
11930         Make it clear that the "compiled-in descriptions" really mean
11931         the element details.
11932
11933         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11934         (gst_base_sink_wait_preroll):
11935         Update docs.
11936
11937         * docs/libs/gstreamer-libs-sections.txt:
11938         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11939         (gst_base_src_get_range), (gst_base_src_activate_push):
11940         * libs/gst/base/gstbasesrc.h:
11941         Added function to block while waiting for PLAYING, this function
11942         is used by live sources that block on the clock.
11943         API: gst_base_src_wait_playing()
11944
11945 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11946
11947         Patch by: Peter Kjellerstedt <pkj at axis com>
11948
11949         * Makefile.am:
11950           gst-element-check.m4 is generated and should therefore be
11951           copied from the build dir rather than the source dir (#357593).
11952           'make distcheck' hasn't noticed this because we were disting
11953           the file as well, so stop doing that.
11954
11955 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11956
11957         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11958           Add some tests for gst_caps_intersect().
11959
11960         * tools/gst-launch.c: (event_loop):
11961           Print all buffering percentages we get, even the 100% one.
11962
11963 2006-09-26  Wim Taymans  <wim@fluendo.com>
11964
11965         * tools/gst-inspect.c: (print_element_properties_info),
11966         (print_signal_info):
11967         Fix printing of flags to match the look of enums.
11968
11969 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
11970
11971         * gst/gstelementfactory.c:
11972           Fix typo in docs blurb.
11973
11974 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
11975
11976         * gst/gsturi.c: (search_by_entry):
11977           Don't assert/crash here if a uri handler doesn't return any
11978           supported protocols. The list of protocols could be generated
11979           dynamically at runtime or at plugin registration, and an error
11980           in the underlying library shouldn't be fatal (#353301).
11981
11982 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
11983
11984         * gst/gstinfo.c:
11985           Fix warning if HAVE_PRINTF_EXTENSION is undefined
11986           (spotted by Peter Kjellerstedt).
11987
11988 2006-09-23  Wim Taymans  <wim@fluendo.com>
11989
11990         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
11991
11992         * libs/gst/base/gstbasesrc.c:
11993         (gst_base_src_default_check_get_range), (gst_base_src_start),
11994         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11995         (gst_base_src_change_state):
11996         Match _start/_stop calls in the activate functions. Remove redundant
11997         _stop call from the state change function. Fixes #356910.
11998         Turn failure DEBUG into ERROR. 
11999
12000 2006-09-22  Wim Taymans  <wim@fluendo.com>
12001
12002         * docs/design/part-buffering.txt:
12003         * gst/gstmessage.c: (gst_message_new_buffering),
12004         (gst_message_parse_buffering):
12005         Update docs about buffering.
12006
12007         * docs/design/part-trickmodes.txt:
12008         Fix typo.
12009
12010 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12011
12012         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12013         (gst_controller_new_list):
12014           Ref instances when returning them again (fixes #357180)
12015
12016 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12017
12018         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12019           Don't forget to release proxy lock when there's an error.
12020
12021 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12022
12023         * gst/gstcaps.h:
12024           Add extra initialisers for Caps things, to fix some plugin warnings
12025           when using -Wextra
12026
12027 2006-09-18  Wim Taymans  <wim@fluendo.com>
12028
12029         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12030           Also set template on the internal pad so that a getcaps from the 
12031           target pad returns the template caps.
12032
12033 2006-09-18  Wim Taymans  <wim@fluendo.com>
12034
12035         * gst/gstelement.c: (gst_element_post_message),
12036         (gst_element_dispose):
12037         Use _DEBUG_OBJECT some more.
12038
12039         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12040         Avoid typechecks.
12041
12042         * tools/gst-launch.c: (main):
12043         If the toplevel element is not a GstPipeline, it must be put in a
12044         pipeline so that a bus and clock is selected.
12045
12046 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12047
12048         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12049           JITTER, RATE, and LATENCY query should be handled by the
12050           default case and not by the CONVERT query code.
12051
12052 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12053
12054         * gst/gstformat.c: (gst_format_register):
12055           Fix locking order (must take lock before using n_values).
12056
12057         * gst/gstvalue.c: (gst_value_serialize_enum),
12058         (gst_value_deserialize_enum_iter_cmp),
12059         (gst_value_deserialize_enum):
12060           Fix serialisation/deserialisation of custom registered GstFormats.
12061
12062         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12063           Unit test for custom format serialisation/deserialisation.
12064
12065 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12066
12067         * docs/pwg/building-boiler.xml:
12068         * plugins/elements/gstcapsfilter.c:
12069         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12070         section.
12071
12072 2006-09-16  Edward Hervey  <edward@fluendo.com>
12073
12074         * libs/gst/base/gstbasetransform.c:
12075         (gst_base_transform_buffer_alloc):
12076         Check if requested caps are the same as the sinks caps IF
12077         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12078         is FALSE.
12079         This fixes the renegotiation issues stated in #352827.
12080
12081 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12082
12083         * configure.ac:
12084         * docs/manual/advanced-autoplugging.xml:
12085         * tests/examples/Makefile.am:
12086         * tests/examples/manual/.cvsignore:
12087         * tests/examples/manual/Makefile.am:
12088         * tests/examples/manual/extract.pl:
12089           Extract the manual examples again like we used to do.
12090           Fix one of them.
12091
12092 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12093
12094         * win32/common/config.h:
12095           update for version
12096
12097 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12098
12099         * gst/gsterror.c:
12100           Documents how to receive errors.
12101
12102 2006-09-15  Wim Taymans  <wim@fluendo.com>
12103
12104         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12105         (event_loop), (main):
12106         Added some comments here and there.
12107         Post an application message when an interrupt is caught instead of doing
12108         an uncontrolled state change.
12109         Clean up the event loop.
12110         Handle buffering messages, pause/resume the pipeline.
12111         Make shutdown because of an interrupt more reliable.
12112
12113 2006-09-15  Wim Taymans  <wim@fluendo.com>
12114
12115         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12116         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12117         (gst_base_sink_preroll_object):
12118         Make sure that our internal state is correct when we commit our state
12119         asynchronously. This solves a race where a state change to PLAYING
12120         could cause the sink to remain blocked in preroll in some situations.
12121
12122 2006-09-15  Wim Taymans  <wim@fluendo.com>
12123
12124         * tools/gst-inspect.c: (print_element_properties_info),
12125         (print_signal_info):
12126         List flags as hex so it's easier to deal with.
12127
12128 2006-09-15  Wim Taymans  <wim@fluendo.com>
12129
12130         * docs/libs/gstreamer-libs-sections.txt:
12131         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12132         (gst_base_sink_do_sync):
12133         * libs/gst/base/gstbasesink.h:
12134         Expose logic to wait for preroll so that subclasses such as audiosink
12135         can also use this method.
12136         API: gst_base_sink_wait_preroll()
12137
12138 2006-09-15  Wim Taymans  <wim@fluendo.com>
12139
12140         * gst/gstobject.c: (gst_object_set_parent):
12141         * gst/gstpipeline.c: (do_pipeline_seek):
12142         Small cleanups in docs and code.
12143
12144         * gst/gstsegment.c: (gst_segment_clip):
12145         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12146         if stop == start and start is in the segment, no clipping should be
12147         done. Also add a test for this.
12148
12149 2006-09-15  Wim Taymans  <wim@fluendo.com>
12150
12151         * docs/design/part-buffering.txt:
12152         * docs/gst/gstreamer-sections.txt:
12153         * gst/gstmessage.c: (gst_message_new_buffering),
12154         (gst_message_parse_buffering):
12155         * gst/gstmessage.h:
12156         Added methods to create and parse BUFFERING messages.
12157         Added preliminary docs about buffering.
12158         API: gst_message_new_buffering
12159         API: gst_message_parse_buffering
12160
12161 2006-09-06  Wim Taymans  <wim@fluendo.com>
12162
12163         * gst/gstbin.c:
12164         Update documentation.
12165
12166         * gst/gstelement.c: (gst_element_class_init),
12167         (gst_element_release_request_pad), (gst_element_set_clock),
12168         (gst_element_get_index), (gst_element_add_pad),
12169         (gst_element_remove_pad), (gst_element_get_random_pad),
12170         (gst_element_send_event), (gst_element_get_query_types),
12171         (gst_element_query), (gst_element_post_message),
12172         (gst_element_message_full), (gst_element_continue_state),
12173         (gst_element_lost_state), (gst_element_save_thyself),
12174         (gst_element_restore_thyself):
12175         Documentation updates.
12176         Rename last bit of the new-pad -> pad-added signal rename.
12177         Fix the case where an element query would only work if the source
12178         pad was linked.
12179         Avoid some useless type checking in message handling.
12180
12181         * gst/gstevent.c:
12182         * gst/gstevent.h:
12183         * gst/gstutils.c:
12184         Documentation updates.
12185
12186 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12187
12188         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12189           add an INFO line for when we actually update the fd
12190
12191 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12192
12193         * configure.ac:
12194           back to TRUNK
12195
12196 === release 0.10.10 ===
12197
12198 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12199
12200         * configure.ac:
12201           releasing 0.10.10, "Pais"
12202
12203 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12204
12205         * docs/manual/advanced-position.xml:
12206           Fix typo in sample code.
12207
12208 2006-09-05  Wim Taymans  <wim@fluendo.com>
12209
12210         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12211         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12212         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12213         * libs/gst/net/gstnetclientclock.h:
12214         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12215         * libs/gst/net/gstnettimepacket.h:
12216         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12217         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12218         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12219         * libs/gst/net/gstnettimeprovider.h:
12220         Make stuff compile on windows. Fixes #345295.
12221
12222 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12223
12224         * gst/gst.c: (ensure_current_registry_forking):
12225           Print better details when child was terminated by signal.
12226
12227 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12228
12229         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12230           Print a warning rather than g_assert() if a plugin feature
12231           is a URI handler but returns no protocols (#353976).
12232
12233 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12234
12235         * docs/random/moving-plugins:
12236         Fix two typos.         
12237
12238 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12239
12240         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12241           Fix locking order, handle NULL function values properly.
12242
12243         * gst/gstinfo.h:
12244           Fix docs.
12245
12246         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12247           Initialise variable before using it and fix debug statement to
12248           print the address of the function rather than the address of the
12249           variable on the stack holding the address of the function.
12250
12251 2006-09-01  Wim Taymans  <wim@fluendo.com>
12252
12253         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12254         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12255         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12256         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12257         (gst_ghost_pad_parent_unset),
12258         (gst_ghost_pad_internal_do_activate_push),
12259         (gst_ghost_pad_internal_do_activate_pull),
12260         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12261         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12262         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12263         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12264         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12265         (gst_ghost_pad_new_no_target_from_template),
12266         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12267         More cleanups.
12268         Avoid needless typechecking in macros.
12269         Since the internal pad is always present and never changes, there is
12270         no need to locking or ref when retrieving it.
12271         Improve debugging a bit.
12272         Handle link errors when setting the target. Fixes #341029.
12273
12274 2006-09-01  Wim Taymans  <wim@fluendo.com>
12275
12276         * docs/libs/gstreamer-libs-sections.txt:
12277         * docs/plugins/gstreamer-plugins-sections.txt:
12278         Fix docs some more.
12279
12280         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12281         (gst_collect_pads_event):
12282         * libs/gst/base/gstcollectpads.h:
12283         Documentation updates.
12284         Free queued buffer when removing a pad.
12285
12286 2006-08-31  Michael Smith  <msmith@fluendo.com>
12287
12288         * gst/gstutils.c: (gst_element_link_pads),
12289         (gst_element_link_pads_filtered):
12290           Ensure that we set a capsfilter to NULL if we failed to link it
12291           when doing filtered linking, to avoid criticals.
12292
12293           No need to check for unreffing srcpad, which is explicly NULLed
12294           above (a trivial code cleanup).
12295
12296 2006-08-31  Wim Taymans  <wim@fluendo.com>
12297
12298         * docs/design/part-gstghostpad.txt:
12299         Update ascii art in documentation.
12300
12301         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12302         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12303         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12304         (gst_ghost_pad_internal_do_activate_push),
12305         (gst_ghost_pad_internal_do_activate_pull),
12306         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12307         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12308         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12309         (gst_ghost_pad_set_target):
12310         Small cleanups and leak fixes.
12311         Remove some checks now that the internal pad is never NULL.
12312         Fix the case where linking pads without a target would create nasty
12313         criticals. Fixes #341029.
12314         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12315         value of _set_target().
12316
12317         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12318         (gst_ghost_pad_suite):
12319         Some more tests for creating and linking untargeted ghostpads.
12320
12321 2006-08-31  Edward Hervey  <edward@fluendo.com>
12322
12323         * docs/gst/gstreamer-sections.txt:
12324         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12325         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12326         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12327         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12328         (gst_ghost_pad_new_from_template),
12329         (gst_ghost_pad_new_no_target_from_template):
12330         * gst/gstghostpad.h:
12331         Refactored *_new() functions.
12332         Templates are now used as a g_object_new() parameter.
12333         Use template in _do_getcaps() if we don't have a target.
12334         Small documentation cleanups.
12335         Added two new constructors:
12336         gst_ghost_pad_new_from_template()
12337         gst_ghost_pad_new_no_target_from_template()
12338         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12339         (gst_ghost_pad_suite):
12340         Added tests for new ghostpad instanciation functions.
12341
12342         API additions: gst_ghost_pad_new_from_template,
12343         gst_ghost_pad_new_no_target_from_template
12344
12345 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12346
12347         * docs/random/ensonic/profiling.txt:
12348           Ideas about qos profiling.
12349
12350 2006-08-29  Wim Taymans  <wim@fluendo.com>
12351
12352         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12353         Code cleanups.
12354         Fix memleak.
12355
12356 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12357
12358         * gst/gstxml.c:
12359           Improve and detypofy docs.
12360
12361         * tests/check/Makefile.am:
12362         * tests/check/gst/.cvsignore:
12363         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12364           Add a basic test suite for GstXML.
12365
12366 2006-08-29  Wim Taymans  <wim@fluendo.com>
12367
12368         * gst/gstelement.c: (activate_pads), (clear_caps),
12369         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12370         Clear the pad caps when the element shut down all of the pads and
12371         is not streaming data that could modify the caps. 
12372         Fixes #352958.
12373
12374 2006-08-28  Michael Smith  <msmith@fluendo.com>
12375
12376         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12377           Revert previous change; I misunderstood single-segment mode.
12378
12379 2006-08-28  Michael Smith  <msmith@fluendo.com>
12380
12381         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12382           Unset DISCONT on buffers when using single-segment mode.
12383
12384 2006-08-28  Wim Taymans  <wim@fluendo.com>
12385
12386         * gst/gstcaps.c: (gst_caps_merge_structure):
12387         * gst/gstcaps.h:
12388         Fix docs and indentation again.
12389
12390         * tests/check/gst/gstquery.c: (GST_START_TEST):
12391         Fix leak in tests and add some more tests.
12392
12393 2006-08-28  Edward Hervey  <edward@fluendo.com>
12394
12395         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12396         Inform GstSegment of the last stop position in order for the current
12397         segment to have a proper duration if it doesn't have a specific stop
12398         position from which a duration could be calculated.
12399         This bug was noticeable when a non-flushing, non-update new segment was
12400         followed by another segment (all buffers from the new segment were being
12401         dropped).
12402
12403 2006-08-28  Wim Taymans  <wim@fluendo.com>
12404
12405         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12406         Small comment update.
12407
12408         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12409         (gst_identity_transform_ip):
12410         Drop-probability is broken, mention this in the code with a 
12411         FIXME and also in the property description.
12412         Make silent also be silent about the drop messages.
12413
12414 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12415
12416         * docs/manual/appendix-win32.xml:
12417           Remove mention of popt, we don't depend on that any
12418           longer (#353136). Add some comments pointing out that
12419           this section is slightly outdated.
12420
12421 2006-08-28  Wim Taymans  <wim@fluendo.com>
12422
12423         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12424
12425         * gst/gstquery.c: (gst_query_new_segment):
12426         * tests/check/gst/gstquery.c: (GST_START_TEST):
12427         Initialize variables when creating a new segment query.
12428         Fixes #353121.
12429
12430 2006-08-28  Wim Taymans  <wim@fluendo.com>
12431
12432         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12433
12434         * gst/gstelement.c: (gst_element_get_bus):
12435         * tests/check/gst/gstelement.c: (GST_START_TEST):
12436         Check for NULL before _reffing the bus. Fixes #353122.
12437
12438 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12439
12440         * docs/manual/basics-bus.xml:
12441           Docs update: fix wrong callback return value explanation; add
12442           some lines about the implicit relationship between main loop
12443           and main context; remove duplicate main loop variable declaration.
12444
12445 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12446
12447         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12448           Don't leak caps in unit test; add a few more simple
12449           checks. 
12450
12451 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12452
12453         * docs/gst/gstreamer-sections.txt:
12454         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12455         (gst_caps_structure_is_subset), (gst_caps_merge),
12456         (gst_caps_merge_structure):
12457         * gst/gstcaps.h:
12458         * libs/gst/base/gstbasetransform.c:
12459         (gst_base_transform_transform_caps):
12460         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12461           implement caps merging (fixes #352580)
12462
12463 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12464
12465         * tools/Makefile.am:
12466         * tools/gst-plot-timeline.py:
12467           add debug-log plotting developer tool (#340674)
12468
12469 2006-08-23  Wim Taymans  <wim@fluendo.com>
12470
12471         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12472         (gst_pad_stop_task):
12473         Improve debugging for task functions.
12474
12475         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12476         (gst_task_start), (gst_task_pause), (gst_task_join):
12477         Make sure that the task function started and finished after a 
12478         join(). 
12479         Don't try to push the task function on the threadpool multiple
12480         times.
12481         Improve the g_warning message with some useful suggestions
12482         about how to fix the problem. 
12483
12484 2006-08-23  Wim Taymans  <wim@fluendo.com>
12485
12486         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12487         Handle RESYNC correctly in _proxy_getcaps.
12488
12489 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12490
12491         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12492         (gst_xml_parse_memory), (gst_xml_get_element):
12493           Chain up to parent class in dispose function and also
12494           unref the elements in the toplevel_elements GList.
12495           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12496           Always return a reference in gst_xml_get_element() rather
12497           than only sometimes.
12498
12499         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12500           Don't leak GstXml object.
12501
12502 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12503
12504         * docs/gst/gstreamer-sections.txt:
12505         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12506         (gst_caps_merge):
12507         * gst/gstcaps.h:
12508         * libs/gst/base/gstbasetransform.c:
12509         (gst_base_transform_transform_caps):
12510           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12511           in a better way
12512
12513 2006-08-21  Edward Hervey  <edward@fluendo.com>
12514
12515         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12516         Implement GObject::dispose virtual method in GstXML so we can free the
12517         top_elements GList.
12518
12519 2006-08-21  Wim Taymans  <wim@fluendo.com>
12520
12521         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12522         (gst_buffer_create_sub):
12523         Copy duration/offset_end/caps when creating a subbuffer of the
12524         complete parent.
12525         Make the subbuffer read-only when we make the metadata writable for
12526         now. Fixes #351768.
12527
12528         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12529         Added check for metadata copy when creating subbuffers.
12530
12531 2006-08-21  Edward Hervey  <edward@fluendo.com>
12532
12533         * libs/gst/base/gstbasetransform.c:
12534         (gst_base_transform_buffer_alloc):
12535         Only call downstream buffer_alloc if transform element is passthrough
12536         or always_in_place. Closes #350449.
12537
12538 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12539
12540         * ChangeLog:
12541           ChangeLog surgery to add comments to previous changes
12542
12543 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12544
12545         * gst/gst.c:
12546           Add comments
12547
12548         * gst/gstpad.c: (gst_pad_set_active):
12549           Be more verbose in the log
12550
12551         * libs/gst/base/gstbasetransform.c:
12552         (gst_base_transform_transform_caps):
12553           Simplify caps to get rid of duplicates, fixes #345444
12554
12555 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12556
12557         * gst/gstvalue.c:
12558         * gst/gstvalue.h:
12559           Use these optimizations only internally.
12560
12561 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12562
12563         * gst/gstvalue.c: (gst_value_compare_list),
12564         (gst_value_compare_fraction_range),
12565         (gst_value_intersect_fraction_fraction_range),
12566         (gst_value_intersect_fraction_range_fraction_range),
12567         (gst_value_subtract_fraction_fraction_range),
12568         (gst_value_subtract_fraction_range_fraction_range),
12569         (gst_value_get_compare_func), (gst_value_compare),
12570         (gst_value_compare_with_func):
12571         * gst/gstvalue.h:
12572           Saves the expensive lookup of the compare function in many cases
12573          (#345444)
12574
12575 2006-08-18  Edward Hervey  <edward@fluendo.com>
12576
12577         * tests/check/gst/gstinfo.c: (gst_info_suite):
12578         Disable test that require gstdebug if it wasn't built in core.
12579
12580 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12581
12582         * docs/random/ensonic/logging.txt:
12583           update ideas
12584           
12585         * gst/gstinfo.c: (gst_debug_log_default):
12586           reorder fields, save some columns, add optional color codes for log
12587           levels
12588
12589 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12590
12591         * docs/random/ensonic/logging.txt:
12592           add ideas about making the logs a bit more useful
12593
12594 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12595
12596         * docs/pwg/advanced-events.xml:
12597         * docs/pwg/titlepage.xml:
12598           Update for 0.10 API (#340627). Add myself
12599           to authors list.
12600
12601 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12602
12603         * docs/libs/gstreamer-libs-docs.sgml:
12604         * docs/libs/gstreamer-libs-sections.txt:
12605         * libs/gst/check/gstbufferstraw.c:
12606           Make gstcheck stuff show up in docs (still needs to
12607           be documented properly though).
12608
12609 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12610
12611         * docs/gst/gstreamer-sections.txt:
12612         * gst/Makefile.am:
12613         * gst/gst.c: (init_post):
12614         * gst/gst_private.h:
12615         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12616         * gst/gstquark.h:
12617         * gst/gstquery.c: (gst_query_new_position),
12618         (gst_query_set_position), (gst_query_parse_position),
12619         (gst_query_new_duration), (gst_query_set_duration),
12620         (gst_query_parse_duration), (gst_query_new_convert),
12621         (gst_query_set_convert), (gst_query_parse_convert),
12622         (gst_query_new_segment), (gst_query_set_segment),
12623         (gst_query_parse_segment), (gst_query_new_seeking),
12624         (gst_query_set_seeking), (gst_query_parse_seeking):
12625         Add internal helpers for pre-registering quarks from static strings
12626         and using the quark values directly instead of looking them up when
12627         creating and parsing queries. Can be used for event construction too.
12628         Closes #350432.
12629
12630 2006-08-16  Wim Taymans  <wim@fluendo.com>
12631
12632         * gst/gstbin.c:
12633         Fix bogus docs.
12634
12635 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12636
12637         * gst/gstutils.c: (gst_util_set_value_from_string):
12638           Fix memleak (#351502).
12639
12640         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12641           Add unit test for most of gst_util_set_value_from_string()
12642           (not that one would want to encourage use of this function).
12643
12644 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12645
12646         * libs/gst/check/gstcheck.h:
12647           Use const gchar * variables in fail_unless_equals_string
12648           macro to avoid compiler warnings (and don't use tabs for
12649           indenting).
12650
12651 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12652
12653         * tools/gst-launch.c: (print_tag):
12654           More space on the left for the tag names, to cater
12655           for the 'extended comment' tag (not touching the
12656           string for the first line since it's translated).
12657
12658 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12659
12660         * libs/gst/check/gstcheck.h:
12661           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12662           print something when they fail.
12663
12664 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12665
12666         * docs/gst/gstreamer-sections.txt:
12667         * gst/gsttaglist.c: (_gst_tag_initialize):
12668         * gst/gsttaglist.h:
12669           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12670           Also change merge function for GST_TAG_COMMENT to
12671           use_first.
12672
12673 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12674
12675         * gst/gstinfo.c: (gst_debug_print_object):
12676           Make GST_PTR_FORMAT print messages as well.
12677
12678         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12679         (GST_START_TEST), (gst_info_suite):
12680           More tests.
12681
12682 2006-08-14  Edward Hervey  <edward@fluendo.com>
12683
12684         * gst/gstelementfactory.c: (gst_element_register):
12685         If the GstElementClass doesn't have a GstElementDetails with all fields
12686         filled up correctly (longname, description AND author), then error out
12687         nicely instead of crashing.
12688
12689 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12690
12691         * gst/gststructure.c:
12692           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12693
12694         * gst/gstvalue.h:
12695           Expand on the difference between arrays and lists as we use them.
12696           
12697 2006-08-14  Wim Taymans  <wim@fluendo.com>
12698
12699         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12700         If the parent state change function failed, don't assume we can safely
12701         stop the source, this will be done when the pads are deactivated.
12702
12703 2006-08-14  Wim Taymans  <wim@fluendo.com>
12704
12705         * gst/gstbuffer.c:
12706         * gst/gsttask.c: (gst_task_join):
12707         Small doc updates.
12708
12709         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12710         (gst_pad_stop_task):
12711         When pad (de)activation failed for some reason, restore the old
12712         activation mode and set the pad to flushing instead of assuming the
12713         pad is deactivated.
12714         If the _task_join() failed, reinstall the task on the pad so that it can
12715         be stopped later and return an error.
12716
12717 2006-08-11  Andy Wingo  <wingo@pobox.com>
12718
12719         * configure.ac:
12720         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12721         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12722         is only for users of API that don't want to see deprecated
12723         functions in the headers; people that want to compile out
12724         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12725         CFLAGS. Fixes the build of multifdsink, or will soon..
12726
12727 2006-08-11  Wim Taymans  <wim@fluendo.com>
12728
12729         * docs/gst/gstreamer-sections.txt:
12730         Add GstClockClass vmethod docs.
12731
12732         * gst/gstcaps.h:
12733         Mark #endif with comment for associated #if
12734
12735         * gst/gstclock.c: (gst_clock_id_wait):
12736         * gst/gstclock.h:
12737         Add vmethod wait_jitter to avoid an unneeded _get_time() for
12738         most clock implementations.
12739         Document vmethods.
12740         Flesh out docs about resolution methods.
12741         API: GstClockClass::wait_jitter
12742
12743         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12744         (gst_system_clock_async_thread),
12745         (gst_system_clock_id_wait_jitter_unlocked),
12746         (gst_system_clock_id_wait_jitter):
12747         Use base class wait_jitter variant for improved performance
12748         due to less clock polling.
12749
12750 2006-08-11  Edward Hervey  <edward@fluendo.com>
12751
12752         * gst/gst.c: (gst_init_check), (init_post):
12753         Set gst as being initialized before scanning/updating the registry,
12754         since there might be my python plugin loader that calls gst_init() and
12755         we don't want to loop back in.
12756         Closes #350879
12757
12758 2006-08-11  Wim Taymans  <wim@fluendo.com>
12759
12760         * docs/design/part-qos.txt:
12761         Bring docs in line with the code. Mostly the sign of the jitter was
12762         wrong in the docs. Fixes #349943.
12763
12764         * gst/gstclock.c:
12765         Fix the docs for the jitter.
12766
12767         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12768         (gst_event_parse_tag), (gst_event_new_buffer_size),
12769         (gst_event_parse_buffer_size), (gst_event_parse_qos),
12770         (gst_event_new_seek), (gst_event_parse_seek),
12771         (gst_event_new_navigation):
12772         Make sure the GstStructure has no parent when creating custom
12773         events.
12774         Add some more argument checking so that we avoid 0.0 rates.
12775         Flesh out the docs for the QoS event some more.
12776
12777 2006-08-11  Wim Taymans  <wim@fluendo.com>
12778
12779         * docs/gst/gstreamer-sections.txt:
12780         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12781         (ensure_current_registry_forking), (ensure_current_registry),
12782         (parse_one_option), (parse_goption_arg), (gst_deinit),
12783         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12784         * gst/gst.h:
12785         Doc updates.
12786         Added API and command line option to disable registry forking in
12787         addition to the environment variable.
12788         Constify some static arrays.
12789         Added some more debug.
12790         Don't deinit twice.
12791         API: gst_registry_fork_is_enabled()
12792         API: gst_registry_fork_set_enabled()
12793         API: --gst-disable-registry-fork command line option
12794         Fixes #348918.
12795
12796 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
12797
12798         * gst/gst.c: (gst_init):
12799           Fix typo in error message.
12800
12801 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
12802
12803         * libs/gst/controller/gstcontroller.h:
12804           fix ABI size-correction
12805
12806         * tests/check/libs/gdp.c: (gst_dp_suite):
12807           make tests that use deprecated API conditional
12808
12809 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
12810
12811         * docs/libs/gstreamer-libs-sections.txt:
12812         * libs/gst/controller/gstcontroller.c:
12813         (_gst_controller_get_property), (_gst_controller_set_property),
12814         (_gst_controller_init), (_gst_controller_class_init):
12815         * libs/gst/controller/gstcontroller.h:
12816         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12817         (gst_object_set_control_rate):
12818           API: add gst_object_{s,g}et_control_rate(), add private data section,
12819           fix docs
12820
12821         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12822         * libs/gst/dataprotocol/dataprotocol.h:
12823           add deprecation guards to make gtk-doc happy and allow disabling cruft
12824
12825 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
12826
12827         * tests/check/Makefile.am:
12828         * tests/check/gst/.cvsignore:
12829           Let's enable the new unit test as well.
12830
12831 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
12832
12833         * configure.ac:
12834         * docs/gst/gstreamer-sections.txt:
12835         * gst/gstconfig.h.in:
12836         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12837         (_gst_info_printf_extension_ptr),
12838         (_gst_info_printf_extension_segment):
12839           API: add GST_SEGMENT_FORMAT, which is a printf extension we
12840           register that lets us easily dump GstSegments into debug
12841           logs (#350419).
12842
12843         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12844         (info_segment_format_printf_extension), (gst_info_suite):
12845           Add simple unit test that logs a bunch of different segments (not
12846           valgrinded at the moment because of leaks in
12847           gst_debug_add_log_function).
12848
12849 2006-08-09  Edward Hervey  <edward@fluendo.com>
12850
12851         * libs/gst/base/gstbasetransform.c:
12852         (gst_base_transform_buffer_alloc):
12853         Even if we can't figure out the proper format to request downstream,
12854         call buffer_alloc() downstream with the input parameters without setting
12855         the caps on the srcpad. This will force negotiation in the chain
12856         function.
12857         Closes #350449
12858
12859 2006-08-08  Edward Hervey  <edward@fluendo.com>
12860
12861         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12862         Unlinking from a pad without a target is now a perfectly valid case
12863         which should NOT raise an assertion.
12864         This case would happen if a linked ghostpad its target set to NULL after
12865         it was previously linked.
12866
12867 2006-08-08  Edward Hervey  <edward@fluendo.com>
12868
12869         * tests/check/libs/gdp.c:
12870         Also comment out the test (see below).
12871
12872 2006-08-08  Edward Hervey  <edward@fluendo.com>
12873
12874         * tests/check/libs/gdp.c: (gst_dp_suite):
12875         Use the architecture information from config.h and not gcc macros
12876         in order to properly disable a test that fails on PPC64.
12877
12878 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
12879
12880         * gst/gstelement.c: (gst_element_remove_pad):
12881           Don't crash printing the warning if the pad has no parent.
12882
12883 2006-08-02  Wim Taymans  <wim@fluendo.com>
12884
12885         * libs/gst/dataprotocol/dataprotocol.c:
12886         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12887         (gst_dp_crc), (gst_dp_header_payload_length),
12888         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12889         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12890         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12891         (gst_dp_event_from_packet), (gst_dp_validate_header),
12892         (gst_dp_validate_payload):
12893         Make debug category static
12894         Constify the crc table.
12895         Do some more arg checking in public functions.
12896         Fix some docs and do some small cleanups.
12897
12898         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12899         Add some more checks to see if GDP deals with bogus input.
12900
12901 2006-07-31  Wim Taymans  <wim@fluendo.com>
12902
12903         * gst/gstvalue.c: (gst_value_compare_list):
12904         Fix GstValueList comparison code. Fixes #347293.
12905
12906         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12907         Check to test GstValueList comparison.
12908
12909 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
12910
12911         * gst/gstelementfactory.c: (gst_element_factory_create):
12912         Remove unnecessary ref/unref pair
12913
12914         * gst/parse/grammar.y:
12915         Make sure to free the parse buffer on all code paths.
12916         Move a g_free up to the error handler where it's easier to see.
12917
12918         * tests/check/gst/gstevent.c: (test_event):
12919         Extending timeout for downstream travelling events to 10 seconds to
12920         hopefully avoid intermittent failure on the buildbots.
12921
12922         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12923         Don't manually set the state of the src element - it will happen as a
12924         natural consequence of the pipeline changing state, and that way it
12925         will do it in the right order too.
12926
12927 2006-07-31  Wim Taymans  <wim@fluendo.com>
12928
12929         * libs/gst/base/gstbasetransform.c:
12930         (gst_base_transform_buffer_alloc):
12931         Use OBJECT_LOCK and refcounting to get the pad caps in the
12932         buffer_alloc function because the caps could change while we are
12933         busy with them. Fixes #349105
12934
12935 2006-07-31  Wim Taymans  <wim@fluendo.com>
12936
12937         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
12938         Protect _PAD_CAPS with OBJECT_LOCK.
12939
12940 2006-07-31  Wim Taymans  <wim@fluendo.com>
12941
12942         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12943         (gst_pad_get_property), (gst_pad_activate_pull),
12944         (gst_pad_activate_push), (gst_pad_set_blocked_async),
12945         (gst_pad_set_activate_function),
12946         (gst_pad_set_activatepull_function),
12947         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
12948         (gst_pad_set_getrange_function),
12949         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
12950         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12951         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
12952         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
12953         (gst_pad_set_acceptcaps_function),
12954         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12955         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
12956         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
12957         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
12958         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
12959         (gst_pad_configure_sink), (gst_pad_configure_src),
12960         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
12961         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
12962         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
12963         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
12964         (gst_pad_send_event):
12965         Use _DEBUG_OBJECT when it makes sense.
12966         Protect GST_PAD_CAPS with the OBJECT_LOCK.
12967         Small cleanups and code reflows.
12968         Avoid caps refcounting in _accept_caps.
12969         Refactor alloc_buffer so that the code performed on the peer is in a
12970         separate function. Also if the pad does not implement a buffer alloc
12971         function, we should still check if the pad is flushing before falling
12972         back to the default allocator.
12973
12974 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
12975
12976         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12977         Make all uses of identity and fakesink have silent=true to avoid
12978         serialising every passing data structure, which is breaking tests
12979         on FC4 for some unknown reason.
12980
12981 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
12982
12983         * gst/parse/Makefile.am:
12984         * gst/parse/grammar.y:
12985         * gst/parse/parse.l:
12986           Reverted previous patch as it required to bump the flex dependency to
12987           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
12988
12989 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
12990
12991         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
12992
12993         * gst/parse/Makefile.am:
12994         * gst/parse/grammar.y:
12995         * gst/parse/parse.l:
12996           push & pop the state of the lexer for reentrant use case
12997           Fixes #349180
12998
12999 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13000
13001         * libs/gst/base/gstbasesrc.h:
13002           Note in the docs that the ::newsegment vfunc is not actually used by
13003           GstBaseSrc.
13004
13005 2006-07-28  Wim Taymans  <wim@fluendo.com>
13006
13007         * libs/gst/base/gstcollectpads.c:
13008         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13009         (gst_collect_pads_clear), (gst_collect_pads_flush),
13010         (gst_collect_pads_event), (gst_collect_pads_chain):
13011         When flushing a pad, also clear the queued buffer so that we don't
13012         accidentally use it when we shouldn't.
13013         Fix leaks by inreffing incomming buffer.
13014         Flush out queued buffers in case of errors.
13015         Fixes #347452.
13016
13017 2006-07-28  Wim Taymans  <wim@fluendo.com>
13018
13019         * docs/random/phonon-gst:
13020         Random notes about a Phonon backend.
13021
13022 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13023
13024         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13025         Extra debug output
13026         * tests/check/libs/gdp.c: (gst_dp_suite):
13027         Take a whack at fixing the ppc compile using a different define to
13028         disable the broken test.
13029
13030         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13031         Remove excess g_print()
13032
13033 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13034
13035         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13036         Oops, meant to uncomment this line too to dampen the noise a bit.
13037
13038 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13039
13040         * gst/parse/grammar.y:
13041         * gst/parse/parse.l:
13042         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13043         (GST_START_TEST), (parse_suite):
13044         Fix some of the leaks exposed by extending the parse-launch testsuite,
13045         and move the 3 I can't figure out into a separate test that won't run
13046         the pipelines unless the appropriate line is uncommented.
13047
13048 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13049
13050         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13051           Requesting 0 bytes before the end of the file should result in
13052           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13053           unit test.
13054
13055 2006-07-27  Wim Taymans  <wim@fluendo.com>
13056
13057         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13058         Fix useless assert, a uint is always positive.
13059
13060         * gst/gststructure.c: (gst_structure_nth_field_name),
13061         (gst_structure_foreach), (gst_structure_map_in_place):
13062         Check input arguments for public functions to avoid obvious crashes.
13063
13064         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13065         * plugins/elements/gstfakesink.h:
13066         Do less useless typechecking.
13067
13068 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13069
13070         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13071           Do not use mmap() by default since there are a number of error
13072           conditions that we would like to handle in a non-fatal way that
13073           will result in a SIGBUS if we use mmap(). Examples: external
13074           devices (USB harddrive, portable music player) being unplugged
13075           while in use; file on mounted CD/DVD that can't be read because
13076           the medium is partly damaged. Fixes #348455 and #348475.
13077
13078 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13079
13080         * gst/gstquery.h:
13081         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13082         rates are a gdouble
13083
13084 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13085
13086         * gst/gstregistry.c:
13087           Move big documentation comment into class section header, so that it
13088           appears in the API docs.
13089
13090 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13091
13092         * docs/gst/gstreamer-sections.txt:
13093         Oops. Commit the docs additions too for new API.
13094         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13095
13096 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13097
13098         * gst/gststructure.c: (gst_structure_id_set),
13099         (gst_structure_id_set_valist):
13100         * gst/gststructure.h:
13101         Add API for setting values into structures without performing
13102         a quark lookup, if the appropriate quark is already known.
13103
13104         API: gst_structure_id_set
13105         API: gst_structure_id_set_valist
13106
13107         * gst/parse/grammar.y:
13108         * gst/parse/parse.l:
13109         Remove some dead code shown by the coverage information.
13110         Don't throw a critical g_warning when encountering a syntax error,
13111         just warn and let the normal error path handle it.
13112
13113         * plugins/elements/gstelements.c:
13114         Bump the rank of filesink up to PRIMARY so that it is preferred over
13115         gnomevfssink for file:// sink uri's
13116
13117         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13118         (GST_START_TEST), (run_delayed_test),
13119         (gst_parse_test_element_base_init),
13120         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13121         (gst_parse_test_element_change_state),
13122         (gst_register_parse_element), (parse_suite):
13123         Beef up the tests for parse syntax to check that more error cases
13124         fail as they are supposed to. Increases the test coverage a bit.
13125
13126 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13127
13128         * docs/manual/basics-elements.xml:
13129           Fix gst_element_link() example.
13130
13131         * gst/gstutils.c:
13132           Mention in API docs that one should usually gst_bin_add()
13133           elements to a bin or pipeline before doing the linking.
13134           
13135 2006-07-26  Wim Taymans  <wim@fluendo.com>
13136
13137         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13138         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13139         Avoid function call for known types by keeping the buffer and
13140         subbuffer GType global.
13141
13142         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13143         Random silly optimisations in read() path.
13144
13145 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13146
13147         * tools/gst-launch.c: (main):
13148           If the top-level of the parse is a normal bin, it doesn't do the
13149           right logic to run as a top-level element, so place it inside a
13150           pipeline.
13151
13152 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13153
13154         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13155           Remove superfluous g_object_notify() calls, GObject does
13156           that for us automatically.
13157
13158 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13159
13160         * gst/gstinfo.h:
13161           on Win32, use dllspec to export the debug category symbols
13162
13163 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13164
13165         * gst/gsttaglist.c: (_gst_tag_initialize):
13166           Allow more than one GST_TAG_IMAGE per taglist.
13167
13168 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13169
13170         * gst/gstminiobject.c:
13171           update docs
13172         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13173         (gst_fd_src_create):
13174           log recurring events at LOG level
13175           add more debug for when the fd gets set
13176
13177 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13178
13179         * gst/gstparse.c: (gst_parse_launch):
13180           Also remove reentrance checks if flex is MT safe (#348179)
13181          Fix my empty ChangeLog entry below
13182
13183 2006-07-21  Andy Wingo  <wingo@pobox.com>
13184
13185         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13186
13187         * libs/gst/check/Makefile.am
13188         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13189         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13190         * libs/gst/check/gstbufferstraw.h:
13191         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13192         functions, thus proving I am still a GStreamer haxor. OK I wrote
13193         them a long time ago, but anyways.
13194
13195 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13196
13197         * configure.ac:
13198         * gst/gstparse.c: (gst_parse_launch):
13199           Check for flex version and omit mutex if we have a MT save flex
13200           (fixes #348179)
13201
13202 2006-07-21  Wim Taymans  <wim@fluendo.com>
13203
13204         * gst/gstparse.c: (gst_parse_launch):
13205         Protect recursive calls to _parse with a recursive mutex
13206         and busy flag.
13207
13208 2006-07-21  Wim Taymans  <wim@fluendo.com>
13209
13210         * tests/check/gst/gstpad.c: (GST_START_TEST):
13211         Fix leak in test.
13212
13213 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13214
13215         * gst/gstparse.c: (gst_parse_launch):
13216           Do not hang on recursive usage of gst_parse_launch()
13217
13218 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13219
13220         * gst/gsttaglist.c:
13221           Add some more docs, comments and FIXME 0.11s here and there
13222           and also fix some typos.
13223
13224 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13225
13226         * gst/gstsegment.h:
13227           Convert tabs to spaces for better readability. 
13228
13229 2006-07-20  Edward Hervey  <edward@fluendo.com>
13230
13231         * tests/check/libs/gdp.c: (gst_dp_suite):
13232         the test_buffer test fails at line 140 on ppc64 at the following
13233         check:
13234         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13235                 GST_BUFFER_FLAG_IN_CAPS),
13236                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13237         See bug #348114 for more details.
13238
13239 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13240
13241         * docs/pwg/advanced-scheduling.xml:
13242         * gst/gstpad.c:
13243           Fix typos (#348000).
13244
13245 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13246
13247         * docs/pwg/intro-basics.xml:
13248           Fix wrong links (#347927).
13249
13250 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13251
13252         * gst/gstregistry.h:
13253         * gst/gstregistryxml.c: (load_feature),
13254         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13255         * win32/common/config.h:
13256           make --disable-index work (#342564)
13257
13258 2006-07-18  Wim Taymans  <wim@fluendo.com>
13259
13260         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13261
13262         * gst/Makefile.am:
13263         * gst/gsttrace.h:
13264         The attached patch adds two missing defines to gsttrace.h when tracing
13265         is disabled.  It also corrects one existing define.
13266         Fixes #347756.
13267
13268 2006-07-17  Wim Taymans  <wim@fluendo.com>
13269
13270         * docs/gst/gstreamer-sections.txt:
13271         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13272         * gst/gst.h:
13273         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13274         Add two functions to check and change the SIGSEGV behaviour
13275         when loading plugins.
13276         Don't mess with the SIGSEGV handler when we were told not to.
13277         Fixes #347794.
13278         API: gst_segtrap_is_enabled
13279         API: gst_segtrap_set_enabled
13280
13281 2006-07-14  Wim Taymans  <wim@fluendo.com>
13282
13283         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13284         * tests/check/elements/filesrc.c: (GST_START_TEST):
13285         Revert fix for regression in #347408 after release.
13286
13287 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13288
13289         Patch by: Antoine Tremblay <hexa00 at gmail com>
13290
13291         * gst/gstutils.c: (gst_element_unlink):
13292           Free iterator when done (#347311).
13293
13294         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13295           And add a test case for this.
13296
13297 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13298
13299         * configure.ac:
13300         Bump nano back to CVS
13301
13302 === release 0.10.9 ===
13303
13304 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13305
13306         * configure.ac:
13307           releasing 0.10.9, "On the road again"
13308
13309 2006-07-13  Wim Taymans  <wim@fluendo.com>
13310
13311         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13312         * tests/check/elements/filesrc.c: (GST_START_TEST):
13313         Revert pull-0 fix for release. Disable check. Fixes #347408.
13314
13315 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13316
13317         * libs/gst/dataprotocol/dataprotocol.c:
13318         (gst_dp_event_from_packet_1_0):
13319           Fixes #347337: failure to deserialize event packets with
13320           empty payload (only event type)
13321
13322 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13323
13324         * gst/Makefile.am:
13325           do not install a .c file in the header directory
13326
13327 2006-07-13  Edward Hervey  <edward@fluendo.com>
13328
13329         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13330         GhostPad no longer implicitely use the padtemplates of the targets.
13331         Fixes #347384
13332
13333 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13334
13335         * gst/gstvalue.c: (gst_value_compare_list),
13336         (gst_value_compare_array), (_gst_value_initialize):
13337         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13338         Make GstValueArray comparison be order dependent as designed.
13339         Add checks for value lists and value array comparisons.
13340         Fixes #347221
13341
13342 2006-07-11  Edward Hervey  <edward@fluendo.com>
13343
13344         * gst/gstbin.c: (activate_pads),
13345         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13346         (gst_bin_change_state_func):
13347         (de)activate src pads before calling state_change on the childs.
13348         This is to avoid the case where a src ghostpad is blocked (holding the
13349         stream lock), which would block the deactivation of the ghostpad's
13350         target pad.
13351         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13352         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13353         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13354         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13355         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13356         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13357         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13358         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13359         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13360         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13361         (gst_ghost_pad_class_init),
13362         (gst_ghost_pad_internal_do_activate_push),
13363         (gst_ghost_pad_internal_do_activate_pull),
13364         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13365         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13366         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13367         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13368         GhostPads now create their internal GstProxyPad at creation (and not
13369         when they're linked, as it was being done previously).
13370         The internal and target pads are linked straight away.
13371         The data will also travel through the other pad in order to make
13372         pad blocking and probes non-hackish (the probe/block now really happens
13373         on the GhostPad and not on the target).
13374         * gst/gstpad.c: (gst_pad_set_blocked_async),
13375         (gst_pad_link_prepare), (gst_pad_push_event):
13376         Remove previous ghostpad cruft.
13377         * gst/gstutils.c: (gst_pad_add_data_probe),
13378         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13379         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13380         (gst_pad_remove_buffer_probe):
13381         Remove previous ghost pad cruft.
13382         Added more detailed debug statements.
13383         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13384         Fix the testsuite for refcounting changes.
13385         The comments about who has references were correct, but the refcount
13386         being checked wasn't the same (!?!).
13387
13388         Fixes #341029
13389
13390 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13391
13392         * docs/gst/gstreamer-sections.txt:
13393         * gst/gstconfig.h.in:
13394         More docs for configuration options, add docs to gtk-doc.
13395
13396 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13397
13398         * gst/Makefile.am:
13399         * gst/gstconfig.h.in:
13400         * win32/common/config.h:
13401         Fix build when disabling tracing (fixes #344016). Also start to document
13402         the defines that disable the sub-systems.
13403
13404 2006-07-10  Edward Hervey  <edward@fluendo.com>
13405
13406         * gst/gst.c: (ensure_current_registry_forking):
13407         let's make valgrind happy...
13408
13409 2006-07-09  Wim Taymans  <wim@fluendo.com>
13410
13411         * gst/gstelement.c: (activate_pads),
13412         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13413         Better pad activation code: Reset the collect value too on resync.
13414         Add some comments.
13415
13416 2006-07-09  Wim Taymans  <wim@fluendo.com>
13417
13418         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13419         (gst_pad_activate_push):
13420         Use some more macros where it makes sense.
13421         Allow pad mode switching instead of asserting. When a pad
13422         is activated in one mode and we activate it in another, 
13423         deactivate it first before activating it in a different mode.
13424         Fixes #329198.
13425
13426 2006-07-08  Andy Wingo  <wingo@pobox.com>
13427
13428         * tools/gst-launch.c (main): Handle err == NULL.
13429
13430         * gst/gst.c (init_post, ensure_current_registry)
13431         (ensure_current_registry_forking)
13432         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13433         factoring out the registry scanning into separate functions. Don't
13434         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13435         Better environment var name/interface suggestions accepted.
13436
13437 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13438
13439         * gst/gstobject.c: (gst_object_set_name_default),
13440         (gst_object_set_name):
13441           Random micro-optimisation: don't use a hash table
13442           with strings as keys and the usual strdup/strcmp
13443           involved, but rather just use the GQuark of the
13444           type name as key, since it needs to be looked up
13445           anyway to get the type name string.
13446
13447         * tests/check/gst/gstobject.c: (GST_START_TEST):
13448           Fix various leaks.
13449
13450 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13451
13452         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13453         (gst_bin_iterate_all_by_interface):
13454           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13455           GTypes are gulongs and thus the top 4 bytes might be cut
13456           off on some platforms when doing GPOINTER_TO_INT, leading
13457           to invalid GTypes and bad things happening (see RH bug #179654).
13458           Also add a check to make sure the type passed in is really
13459           an interface type.
13460
13461 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13462
13463         * .cvsignore:
13464           Ignore more.
13465
13466 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13467
13468         * Makefile.am:
13469         * configure.ac:
13470         * gst-element-check.m4:
13471         * gst-element-check.m4.in:
13472           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13473           instead of the unversioned gst-inspect (#324176, #168659).
13474
13475 2006-07-06  Wim Taymans  <wim@fluendo.com>
13476
13477         * gst/gstmessage.h:
13478         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13479         warnings.
13480
13481 2006-07-06  Wim Taymans  <wim@fluendo.com>
13482
13483         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13484         (gst_base_src_wait), (gst_base_src_update_length),
13485         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13486         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13487         (gst_base_src_loop), (gst_base_src_start),
13488         (gst_base_src_activate_pull):
13489         Update docs.
13490         blocksize == 0 now means the default blocksize when working in push
13491         based mode.
13492         Remove some pointless asserts in _wait function.
13493         Fix offset/length calculations and EOS handling. We can now pull 0
13494         bytes as well, which is allowed.
13495         use _check_get_range() to decide if we can operate in _pull based
13496         mode.
13497         Fix refcounting leak when check_get_range function was not 
13498         implemented.
13499         API GstBaseSrc::blocksize range can be 0 too now (default)
13500
13501         * tests/check/elements/filesrc.c: (GST_START_TEST),
13502         (filesrc_suite):
13503         Added check to test _get_range() behaviour.
13504
13505 2006-07-06  Wim Taymans  <wim@fluendo.com>
13506
13507         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13508         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13509         (gst_pad_pull_range):
13510         * gst/gstpad.h:
13511         Lots of comments and docs added to the pad functions.
13512         Flesh out the expected behaviour of the get_range() functions.
13513
13514 2006-07-06  Wim Taymans  <wim@fluendo.com>
13515
13516         * gst/gstbus.h:
13517         * gst/gstclock.h:
13518         * gst/gstevent.h:
13519         * gst/gstiterator.h:
13520         * gst/gstpad.h:
13521         * gst/gstplugin.h:
13522         * gst/gsttask.h:
13523         Remove comma at end of enumerator list. 
13524
13525 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13526
13527         * win32/common/libgstbase.def:
13528         * win32/common/libgstdataprotocol.def:
13529         * win32/common/libsgtreamer.def:
13530         Add new exported functions.
13531
13532 2006-07-05  Wim Taymans  <wim@fluendo.com>
13533
13534         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13535         Add some more docs here and there.
13536
13537 2006-07-05  Wim Taymans  <wim@fluendo.com>
13538
13539         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13540         (gst_base_sink_loop), (gst_base_sink_get_position):
13541         When operating in pull mode update the offset so that we
13542         read sequentially.
13543
13544 2006-07-05  Wim Taymans  <wim@fluendo.com>
13545
13546         * gst/gstregistryxml.c: (read_string):
13547         Avoid strdup. (will happen in libxml, but hey!)
13548
13549         * gst/gsturi.c:
13550         Add some more docs.
13551
13552 2006-07-05  Wim Taymans  <wim@fluendo.com>
13553
13554         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13555         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13556         (gst_buffer_suite):
13557         No point in checking if the size of the subbuffer > 0, the
13558         code handles it correclty as demonstrated by unit test.
13559         Also add a unit test for the zero sized _new_and_alloc and
13560         _copy. Fixes #346663.
13561
13562 2006-07-05  Wim Taymans  <wim@fluendo.com>
13563
13564         * libs/gst/base/gstbasetransform.c:
13565         (gst_base_transform_prepare_output_buffer),
13566         (gst_base_transform_buffer_alloc),
13567         (gst_base_transform_handle_buffer):
13568         Make sure the buffer we pass to transform_ip has a refcount of
13569         1 and thus is writable. Fixes #343196
13570
13571 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13572
13573         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13574         (gst_file_src_init), (gst_file_src_set_property),
13575         (gst_file_src_get_property), (gst_file_src_map_region):
13576         * plugins/elements/gstfilesrc.h:
13577         Add "sequential" property, off by default, to use madvise and hint
13578         to the kernel that sequential access is desired.
13579         Touch all retrieved pages by default to ensure they are pulled
13580         into memory. (Closes #345720)
13581
13582 2006-07-03  Wim Taymans  <wim@fluendo.com>
13583
13584         * docs/design/part-block.txt:
13585         * docs/design/part-dynamic.txt:
13586         Small docs updates.
13587
13588 2006-07-03  Wim Taymans  <wim@fluendo.com>
13589
13590         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13591         (gst_caps_unref), (gst_static_caps_get),
13592         (gst_caps_append_structure):
13593         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13594         Use GSlice when the glib we build against is >= 2.10
13595
13596 2006-07-03  Wim Taymans  <wim@fluendo.com>
13597
13598         * gst/gstelement.c: (gst_element_pads_activate):
13599         Small cleanup in pad activation code.
13600
13601 2006-07-03  Wim Taymans  <wim@fluendo.com>
13602
13603         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13604
13605         * gst/gst-i18n-app.h:
13606         * gst/gst-i18n-lib.h:
13607         * tools/gst-inspect.c: (print_signal_info):
13608         The attached patch will make the inclusion of gettext.h unconditional in
13609         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13610         libintl.h in tools/gst-inspect.c.
13611         This allows use of --disable-nls again and fixes #344642.
13612
13613 2006-07-03  Edward Hervey  <edward@fluendo.com>
13614
13615         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13616         Implement pad blocking on events according to part-block.txt.
13617         More comments on behaviour.
13618         * tests/check/gst/gstevent.c: (test_event):
13619         Send event to peer pad of blocked pad (else it will block).
13620
13621 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13622
13623         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13624         (gst_check_run_suite):
13625           if we get the wrong message, give us the types as string
13626         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13627           Fix a translatable
13628         * tests/check/elements/filesrc.c: (GST_START_TEST):
13629           add a test for trying to open a non-existing file
13630
13631 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13632
13633         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13634           add a test for adding self
13635
13636 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13637
13638         * libs/gst/check/gstcheck.h:
13639           add some assert_ as alias for fail_unless_*
13640         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13641           increase test coverage
13642
13643 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13644
13645         * Makefile.am:
13646           include lcov.mak for lcov coverage generation
13647         * tools/Makefile.am:
13648           add to CLEANFILES
13649
13650 2006-07-02  Edward Hervey  <edward@fluendo.com>
13651
13652         * tests/check/elements/.cvsignore:
13653         moaping
13654
13655 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13656
13657         * configure.ac:
13658           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13659         * tests/check/Makefile.am:
13660           clean up gcov files
13661
13662 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13663
13664         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13665           remove gst_caps_simplify; it was not declared and not used
13666           and deprecated in 0.8
13667
13668 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13669
13670         * docs/faq/gst-uninstalled:
13671           don't put empty paths on PYTHONPATH
13672         * docs/gst/gstreamer-sections.txt:
13673           remove some symbols that are not there
13674
13675 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13676
13677         * gst/gstcaps.c: (gst_caps_compare_structures):
13678           whitespace fixes
13679         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13680         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13681           add more tests
13682
13683 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13684
13685         * libs/gst/dataprotocol/Makefile.am:
13686           build dataprotocol test by linking to the lib, instead of
13687           compiling the source, so we get coverage
13688         * tests/check/Makefile.am:
13689         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13690         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13691           add a test for filesrc
13692
13693 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13694
13695         * tests/check/gst/gststructure.c: (GST_START_TEST),
13696         (gst_structure_suite):
13697           Push coverage from 59.04% to 70.00%
13698
13699 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13700
13701         * tests/check/Makefile.am:
13702           gst-inspect every element; this makes sure that we also get
13703           coverage on element's get/set functions
13704
13705 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13706
13707         * configure.ac:
13708           set CFLAGS and friends to -O0 if gcov is being used
13709           add GCOV LIBS
13710         * gst/Makefile.am:
13711         * libs/gst/base/Makefile.am:
13712         * libs/gst/check/Makefile.am:
13713         * libs/gst/controller/Makefile.am:
13714         * libs/gst/dataprotocol/Makefile.am:
13715         * libs/gst/net/Makefile.am:
13716         * plugins/elements/Makefile.am:
13717         * plugins/indexers/Makefile.am:
13718           add makefile rules to generate gcov data and clean up
13719         * tests/check/Makefile.am:
13720           add a coverage target that generates an html overview
13721           of coverage data
13722
13723 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13724
13725         * tests/check/elements/fakesink.c:
13726         * tests/check/elements/fakesrc.c:
13727         * tests/check/elements/fdsrc.c:
13728         * tests/check/elements/identity.c:
13729         * tests/check/generic/sinks.c: (gst_sinks_suite):
13730         * tests/check/generic/states.c:
13731         * tests/check/gst/gst.c:
13732         * tests/check/gst/gstabi.c:
13733         * tests/check/gst/gstbin.c:
13734         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13735         * tests/check/gst/gstbus.c: (gst_bus_suite):
13736         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13737         * tests/check/gst/gstelement.c:
13738         * tests/check/gst/gstevent.c: (gst_event_suite):
13739         * tests/check/gst/gstghostpad.c:
13740         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13741         * tests/check/gst/gstmessage.c: (gst_message_suite):
13742         * tests/check/gst/gstminiobject.c:
13743         * tests/check/gst/gstobject.c:
13744         * tests/check/gst/gstpad.c:
13745         * tests/check/gst/gstpipeline.c:
13746         * tests/check/gst/gstplugin.c:
13747         * tests/check/gst/gstquery.c: (gst_query_suite):
13748         * tests/check/gst/gstsegment.c: (gst_segment_suite):
13749         * tests/check/gst/gststructure.c:
13750         * tests/check/gst/gstsystemclock.c:
13751         * tests/check/gst/gsttag.c:
13752         * tests/check/gst/gsttask.c: (gst_task_suite):
13753         * tests/check/gst/gstutils.c:
13754         * tests/check/gst/gstvalue.c:
13755         * tests/check/libs/adapter.c:
13756         * tests/check/libs/basesrc.c:
13757         * tests/check/libs/collectpads.c:
13758         * tests/check/libs/controller.c:
13759         * tests/check/libs/gdp.c: (gst_dp_suite):
13760         * tests/check/libs/gstnetclientclock.c:
13761         * tests/check/libs/gstnettimeprovider.c:
13762         * tests/check/libs/libsabi.c: (libsabi_suite):
13763         * tests/check/libs/typefindhelper.c:
13764         * tests/check/pipelines/cleanup.c:
13765         * tests/check/pipelines/parse-launch.c:
13766         * tests/check/pipelines/simple-launch-lines.c:
13767         * tests/check/pipelines/stress.c: (stress_suite):
13768           use the new macro
13769
13770 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13771
13772         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13773         * libs/gst/check/gstcheck.h:
13774           create a macro and function so that the simple unit test
13775           case can be just one macro to create main()
13776
13777 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
13778
13779         * gst/gstbin.c: (gst_bin_restore_thyself):
13780         * gst/gstxml.c: (gst_xml_make_element):
13781           Fix deserialisation from XML. Set parent manually
13782           instead of using gst_bin_add(), since gst_bin_add()
13783           will unlink all pads of the element being added.
13784           Fixes #341667.
13785
13786 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
13787
13788         Patch by: Peter Kjellerstedt <pkj at axis com>
13789
13790         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13791           Fix missing g_strdup() and double free when using the
13792           --gst-plugin-load command line option (#346097).
13793
13794 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13795
13796         * gst/gstinfo.c:
13797           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13798
13799         * libs/gst/net/gstnetclientclock.c:
13800         * libs/gst/net/gstnettimeprovider.c:
13801           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13802
13803 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13804
13805         * docs/manual/advanced-dataaccess.xml:
13806           Fix buffer probe example compilation in
13807           ADM (#345708).
13808         
13809 2006-06-22  Edward Hervey  <edward@fluendo.com>
13810
13811         * gst/gstelement.c: (gst_element_pads_activate):
13812         We need to deactivate src pads first and then sink pads.
13813         The reason is the src pads might be blocking while holding the streaming
13814         lock, so we need to deactivate them first so that deactivating the sink
13815         pads doesn't block (since it will require the streaming lock).
13816
13817 2006-06-22  Wim Taymans  <wim@fluendo.com>
13818
13819         * libs/gst/base/gstbasetransform.c:
13820         (gst_base_transform_buffer_alloc):
13821         Forgot to remove two unneeded unrefs.
13822         Simplify a check _is_equal allready checks the obvious case.
13823
13824 2006-06-22  Wim Taymans  <wim@fluendo.com>
13825
13826         * docs/design/part-block.txt:
13827         Some docs about what pad_block should do.
13828
13829 2006-06-22  Wim Taymans  <wim@fluendo.com>
13830
13831         * gst/gstcaps.c: (gst_caps_replace):
13832         Fix crasher when passed NULL. Doc clarification.
13833         Optimize for the trivial case.
13834
13835         * gst/gstpipeline.c: (gst_pipeline_change_state):
13836         Small cleanups.
13837
13838         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13839         Small documentation cleanup.
13840
13841         * libs/gst/base/gstbasetransform.c:
13842         (gst_base_transform_buffer_alloc):
13843         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13844         is what we need and it avoids a whole lot of redundant 
13845         refcount operations.
13846
13847 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
13848
13849         Patch by: Philip Jägenstedt  <philip at lysator liu se>
13850
13851         * docs/manual/advanced-dataaccess.xml:
13852           Fix 'Embedding static elements' section to use
13853           GST_PLUGIN_DEFINE_STATIC (#345607).
13854
13855 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13856
13857         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13858           Attempt to 'fix' spuriously failing test case: it seems like the
13859           timeout of half a second is simply too small when the system is under
13860           load otherwise, and the timeout doesn't really seem to serve any
13861           particular purpose here. Give the pipeline a few seconds to preroll
13862           first, and then give it another half a second to go from PAUSED to
13863           PLAYING and marshal the message into the main thread.
13864
13865 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13866
13867         * tools/gst-feedback-m.m:
13868           Don't only use unversioned tools, try versioned tools as well
13869           (#345086).
13870
13871 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13872
13873         * gst/gstbus.c: (gst_bus_class_init):
13874           Fix some typos, make docs more explicit.
13875
13876 2006-06-20  Wim Taymans  <wim@fluendo.com>
13877
13878         * tests/check/gst/gstghostpad.c: (block_callback),
13879         (GST_START_TEST), (gst_ghost_pad_suite):
13880         Added some more ghostpad tests, mainly blocking
13881         and probes.
13882
13883 2006-06-16  Wim Taymans  <wim@fluendo.com>
13884
13885         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13886         (gst_file_sink_close_file), (gst_file_sink_do_seek),
13887         (gst_file_sink_event), (gst_file_sink_render):
13888         * plugins/elements/gstfilesink.h:
13889         Check if we can seek in the file instead of assuming
13890         we always can. Post an error when we are asked to seek in a
13891         non-seekable file (like a fifo). Fixes #343312.
13892         Some cleanups.
13893
13894 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
13895
13896         * tools/gst-launch.1.in:
13897           Un-garble (fourcc) bit in filtered caps section.
13898
13899 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
13900
13901         * docs/manual/advanced-autoplugging.xml:
13902         * docs/manual/basics-helloworld.xml:
13903         * docs/manual/highlevel-components.xml:
13904           Don't leak bus reference in sample code.
13905
13906 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
13907
13908         * autogen.sh:
13909           Add default for new --enable-plugin-docs switch.
13910
13911         * configure.ac:
13912           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13913           Fixes #344039.
13914
13915         * docs/Makefile.am:
13916           Use new ENABLE_PLUGIN_DOCS conditional.
13917
13918 2006-06-14  Wim Taymans  <wim@fluendo.com>
13919
13920         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13921         Make it clear with a FIXME and a real define what the #if 0
13922         previously disabled.
13923
13924 2006-06-14  Wim Taymans  <wim@fluendo.com>
13925
13926         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13927         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13928         * libs/gst/base/gstbasetransform.c:
13929         (gst_base_transform_sink_eventfunc):
13930         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13931         Don't randomly and silently reset a segment when the format 
13932         changes as this is a bug somewhere upstream. Fixes #330379.
13933
13934 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
13935
13936         Patch by: Wouter Paesen  <wouter at kangaroot net>
13937
13938         * libs/gst/controller/gstcontroller.c:
13939         (gst_controlled_property_new):
13940           Fix controlling of float properties (#344849).
13941
13942         * tests/check/libs/controller.c:
13943         (gst_test_mono_source_get_property),
13944         (gst_test_mono_source_set_property),
13945         (gst_test_mono_source_class_init), (GST_START_TEST):
13946           While we're at it, add some float stuff to unit test.
13947
13948 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13949
13950         * docs/README:
13951         * docs/images/gdp-header.svg:
13952           add a gdp image
13953         * docs/libs/Makefile.am:
13954         * docs/libs/gdp-header.png:
13955         * libs/gst/dataprotocol/dataprotocol.c:
13956           add it to the API docs
13957         * docs/manual/intro-motivation.xml:
13958           fix typo
13959
13960 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
13961
13962         * gst/gst.c: (scan_and_update_registry), (init_post):
13963           If the fork()'ed child process can't write the updated registry cache
13964           file to disk for some reason, make it exit with a failure exit code,
13965           so that the parent can then re-scan the plugins itself and update the
13966           registry structures in memory and work with that (rather than failing
13967           when creating elements because seemingly no plugins are available).
13968           Refactor registry scanning code into separate function for this and
13969           also separate fork() and non-fork() code paths. Fixes #344748.
13970
13971 2006-06-13  Wim Taymans  <wim@fluendo.com>
13972
13973         * docs/manual/advanced-dataaccess.xml:
13974         Fix wrong PluginDesc. Fixes #344755.
13975
13976 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
13977
13978         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13979           Fix silly bug that prevented us from creating
13980           ~/.gstreamer-0.10 and writing the registry in one
13981           go (the first call to g_mkstemp() would overwrite the
13982           placeholder in the template string, so the second call
13983           to g_mkstemp() after creating the missing directory
13984           would then error out with 'invalid argument').
13985
13986 2006-06-13  Edward Hervey  <edward@fluendo.com>
13987
13988         * gst/gst.c: (init_post):
13989         Free string.
13990
13991 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13992
13993         * gst/glib-compat-private.h:
13994         * gst/glib-compat.c:
13995         * gst/glib-compat.h:
13996         * gst/gstvalue.c: (gst_value_serialize_flags):
13997           remove GLib 2.6 compatibility code
13998
13999 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14000
14001         * gst/parse/Makefile.am:
14002           Fix build with 'make -j N' even more (#340016).
14003
14004 2006-06-12  Wim Taymans  <wim@fluendo.com>
14005
14006         * docs/gst/gstreamer-sections.txt:
14007         Fix docs.
14008
14009 2006-06-12  Wim Taymans  <wim@fluendo.com>
14010
14011         * gst/gstsegment.c: (gst_segment_set_duration),
14012         (gst_segment_set_last_stop), (gst_segment_set_seek),
14013         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14014         (gst_segment_to_running_time), (gst_segment_clip):
14015         Use G_UNLIKELY to help the compiler a bit.
14016
14017 2006-06-12  Wim Taymans  <wim@fluendo.com>
14018
14019         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14020
14021         * gst/gstevent.c: (gst_event_get_type):
14022         * gst/gstmessage.c:
14023         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14024         (gst_pad_push):
14025         constify quark registration strings. Fixes #344115
14026         Avoid unneeded type checking is _pad_push() by internally
14027         calling gst_pad_chain_unchecked().
14028
14029 2006-06-12  Wim Taymans  <wim@fluendo.com>
14030
14031         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14032         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14033         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14034         (gst_buffer_is_span_fast), (gst_buffer_span):
14035         Init _type for consistency.
14036         Use _FLAGS macro to avoid type check.
14037         Avoid unneeded type checks in subbufer code.
14038
14039 2006-06-12  Wim Taymans  <wim@fluendo.com>
14040
14041         * gst/gst.c: (gst_debug_help):
14042         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14043         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14044         (gst_plugin_feature_list_free):
14045         * gst/gstregistry.c: (gst_registry_add_plugin),
14046         (gst_registry_add_feature), (gst_registry_plugin_filter),
14047         (gst_registry_feature_filter), (gst_registry_find_plugin),
14048         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14049         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14050         * gst/gstregistryxml.c: (load_feature),
14051         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14052         * gst/gstminiobject.c: (gst_mini_object_unref),
14053         (gst_mini_object_replace), (gst_value_mini_object_free),
14054         (gst_value_mini_object_copy):
14055         Use _CAST macros to avoid unneeded type checking.
14056         Added some more G_UNLIKELY.
14057
14058 2006-06-12  Wim Taymans  <wim@fluendo.com>
14059
14060         * gst/gstbuffer.h:
14061         Avoid unneeded type checking.
14062         API: GST_BUFFER_IS_DISCONT
14063
14064         * gst/gstminiobject.h:
14065         Avoid type check in flag accessor.
14066
14067         * gst/gstelementfactory.h:
14068         * gst/gstplugin.h:
14069         * gst/gstpluginfeature.h:
14070         Add _CAST macros.
14071         API: GST_ELEMENT_FACTORY_CAST
14072         API: GST_PLUGIN_CAST
14073         API: GST_PLUGIN_FEATURE_CAST
14074
14075 2006-06-12  Wim Taymans  <wim@fluendo.com>
14076
14077         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14078         (gst_object_unref):
14079         Add G_UNLIKELY in type registration.
14080         Avoid type check in _ref/_unref since that is also
14081         done in glib.
14082
14083 2006-06-12  Wim Taymans  <wim@fluendo.com>
14084
14085         * gst/gsterror.c: (gst_g_error_get_type):
14086         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14087         (gst_static_pad_template_get_type):
14088         * gst/gsttaglist.c: (gst_tag_list_get_type):
14089         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14090         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14091         * gst/gsturi.c: (gst_uri_handler_get_type):
14092         * gst/gstvalue.c: (gst_date_get_type):
14093         * gst/gstxml.c: (gst_xml_get_type):
14094         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14095         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14096         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14097         Add G_UNLIKELY in type registration.
14098
14099 2006-06-12  Wim Taymans  <wim@fluendo.com>
14100
14101         * tools/gst-inspect.c: (print_signal_info):
14102         Properly print enum values.
14103
14104 2006-06-12  Wim Taymans  <wim@fluendo.com>
14105
14106         * gst/gstinfo.c: (gst_debug_set_active),
14107         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14108         * gst/gstinfo.h:
14109         Add some G_[UN]LIKELY.
14110         Maintain __gst_debug_min to avoid formatting the arguments of
14111         debug messages that will be dropped anyway to avoid a lot of 
14112         overhead from the debugging system.
14113
14114 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14115
14116         * po/POTFILES.in:
14117         * po/POTFILES.skip:
14118           add missing files containing translatable strings, tell intltool about
14119           one exception
14120
14121 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14122
14123         * tests/check/libs/.cvsignore:
14124         add test-binary to ignore list
14125
14126 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14127
14128         * docs/libs/gstreamer-libs-docs.sgml:
14129         reorder (put dp into a chapter) and indent
14130
14131 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14132
14133         * configure.ac:
14134           back to HEAD
14135
14136 === release 0.10.8 ===
14137
14138 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14139
14140         * configure.ac:
14141           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14142
14143 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14144
14145         * gst/gst.c: (init_post):
14146           move pid declaration to declaration block
14147
14148 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14149
14150         * gst/gst.c: (init_post):
14151           use _exit() instead of exit() in our forked child; this ensures
14152           that none of the registered exit handlers from whatever is using
14153           GStreamer get executed.  This fixes gnome-mixer-applet failing
14154           to load, because ORBit would shut down.
14155           Spotted by: Edward Hervey  <edward@fluendo.com>
14156           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14157           Fixes #344474
14158
14159 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14160
14161         * configure.ac:
14162           back to TRUNK
14163
14164 === release 0.10.7 ===
14165
14166 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14167
14168         * configure.ac:
14169           releasing 0.10.7, "Soepeke, ik zie ou"
14170
14171 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14172
14173         * configure.ac:
14174         * po/af.po:
14175         * po/az.po:
14176         * po/bg.po:
14177         * po/ca.po:
14178         * po/cs.po:
14179         * po/de.po:
14180         * po/en_GB.po:
14181         * po/fr.po:
14182         * po/it.po:
14183         * po/nb.po:
14184         * po/nl.po:
14185         * po/ru.po:
14186         * po/sq.po:
14187         * po/sr.po:
14188         * po/sv.po:
14189         * po/tr.po:
14190         * po/uk.po:
14191         * po/vi.po:
14192         * po/zh_CN.po:
14193         * po/zh_TW.po:
14194         * win32/common/config.h:
14195           0.10.6.2 prerelease
14196
14197 2006-06-07  Wim Taymans  <wim@fluendo.com>
14198
14199         * gst/gstindex.c: (gst_index_gtype_resolver):
14200         * tools/gst-xmlinspect.c: (print_plugin_info):
14201         Fix leak spotted by coverity checker. Fixes #343827
14202         Fix another other leak found by paolo borelli.
14203
14204 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14205
14206         * libs/gst/dataprotocol/dataprotocol.c:
14207         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14208         (gst_dp_version_get_type), (gst_dp_init),
14209         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14210         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14211         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14212         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14213         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14214         (gst_dp_packetizer_free):
14215         * libs/gst/dataprotocol/dataprotocol.h:
14216           API: add a GstDPPacketizer object, and create/free functions
14217           API: add GstDPVersion enum
14218           Add 1.0 event function that uses the string serialization
14219           Serialize more useful buffer flags
14220           Fixes #343988
14221
14222 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14223
14224         * tests/check/Makefile.am:
14225         * tests/check/gst/gstabi.c:
14226         * tests/check/gst/struct_ppc64.h:
14227         * tests/check/libs/libsabi.c:
14228         * tests/check/libs/struct_ppc64.h:
14229           add ppc64 structure sizes
14230
14231 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14232
14233         * tests/check/Makefile.am:
14234         * tests/check/gst/gstabi.c:
14235         * tests/check/gst/struct_x86_64.h:
14236         * tests/check/libs/libsabi.c:
14237         * tests/check/libs/struct_x86_64.h:
14238           generate and add structure size lists for x86_64
14239
14240 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14241
14242         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14243         * libs/gst/check/gstcheck.h:
14244           factor out the method from tests that checks size of structures,
14245           and add code to generate the header containing these sizes
14246         * tests/check/gst/gstabi.c: (GST_START_TEST):
14247         * tests/check/gst/struct_i386.h:
14248         * tests/check/libs/libsabi.c: (GST_START_TEST):
14249         * tests/check/libs/struct_i386.h:
14250           use it
14251
14252 2006-06-06  Michael Smith  <msmith@fluendo.com>
14253
14254         * gst/gstsegment.h:
14255           Don't use c++-style comments, fixes #343929
14256
14257 2006-06-05  Edward Hervey  <edward@fluendo.com>
14258
14259         * gst/gst.c:
14260         plugin_paths is not used if we build without registry support.
14261
14262         * gst/gstsegment.c: (gst_segment_copy): 
14263         _copy() was always returning NULL...
14264
14265 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14266
14267         * libs/gst/dataprotocol/dataprotocol.c:
14268         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14269         (gst_dp_packet_from_event):
14270           factor out CRC code
14271
14272 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14273
14274         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14275           make sure we unset caps
14276
14277 2006-06-02  Michael Smith  <msmith@fluendo.com>
14278
14279         * libs/gst/check/gstcheck.c: (gst_check_init),
14280         (gst_check_chain_func):
14281         * libs/gst/check/gstcheck.h:
14282           Add a cond/mutex to the check support lib, signal this whenever we
14283           add to the buffers list. This will allow tests to not busy-wait on
14284           the buffer-list.
14285
14286 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14287
14288         * libs/gst/dataprotocol/dataprotocol.c:
14289         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14290         (gst_dp_packet_from_event):
14291           factor out some common header init code
14292
14293 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14294
14295         * docs/libs/gstreamer-libs-sections.txt:
14296         * docs/libs/tmpl/gstdataprotocol.sgml:
14297         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14298         * libs/gst/dataprotocol/dataprotocol.h:
14299           API: make gst_dp_crc() public
14300
14301 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14302
14303         * plugins/indexers/gstindexers.c: (plugin_init):
14304         conditionally register fileindexer (fixes #343598)
14305
14306 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14307
14308         * gst/gsttagsetter.h:
14309         Can't cast ifaces to a class
14310
14311         * libs/gst/net/gstnetclientclock.h:
14312         * libs/gst/net/gstnettimeprovider.h:
14313         * plugins/elements/gstfakesink.h:
14314         * plugins/elements/gstfakesrc.h:
14315         * plugins/elements/gstfdsink.h:
14316         * plugins/elements/gstfdsrc.h:
14317         * plugins/elements/gstfilesink.h:
14318         * plugins/elements/gstfilesrc.h:
14319         * plugins/elements/gstidentity.h:
14320         * plugins/elements/gstqueue.h:
14321         * plugins/elements/gsttee.h:
14322         * plugins/indexers/gstfileindex.c:
14323         * plugins/indexers/gstmemindex.c:
14324         * tests/old/examples/plugins/example.h:
14325         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14326
14327 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14328
14329         * libs/gst/dataprotocol/dataprotocol.c:
14330         (gst_dp_header_from_buffer):
14331           make sure we zero the whole ABI-compatible area
14332
14333 2006-06-01  Wim Taymans  <wim@fluendo.com>
14334
14335         Patch by: Alessandro Decina <alessandro at nnva dot org>
14336
14337         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14338         Make sure the EOS flag is cleared from pads after a flush
14339         or stop. Fixes #343538.
14340
14341         * tests/check/libs/collectpads.c: (GST_START_TEST),
14342         (gst_collect_pads_suite):
14343         Added test for collectpads reusage after EOS.
14344
14345 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14346
14347         * gst/gst.c:
14348          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14349         * win32/common/libgstbase.def:
14350          export gst_collect_pads_set_flushing
14351         * win32/common/libgstreamer.def:
14352          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14353          gst_value_fraction_multiply
14354         * win32/vs6/gst_inspect.dsp:
14355          add a link to intl.lib
14356
14357 2006-05-30  Wim Taymans  <wim@fluendo.com>
14358
14359         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14360         (gst_collect_pads_chain):
14361         Handle the case where a pad is removed from the collection
14362         that could cause the other pads to become collectable.
14363
14364 2006-05-30  Wim Taymans  <wim@fluendo.com>
14365
14366         * gst/gstelement.c:
14367         Clarify the use of _release_request_pad() and
14368         _get_request_pad() a bit better.
14369
14370         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14371         (gst_adapter_take_buffer):
14372         Fix some doc and comment typos.
14373
14374 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14375
14376         * docs/gst/gstreamer-sections.txt:
14377         * docs/libs/gstreamer-libs-sections.txt:
14378           add declared symbols
14379
14380 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14381
14382         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14383         Add debug that can be enabled using a #define at the top of the file,
14384         for dumping stats about how late/early we were when waking up from
14385         waiting on the clock.
14386
14387 2006-05-30  Wim Taymans  <wim@fluendo.com>
14388
14389         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14390         When rebuilding the pad list, don't leak the previous list.
14391
14392 2006-05-30  Wim Taymans  <wim@fluendo.com>
14393
14394         Patch by: Lutz Mueller <lutz at topfrose dot de>
14395
14396         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14397         (gst_base_src_get_query_types), (gst_base_src_update_length):
14398         Publish supported query types.
14399         Update last_stop field in get_range mode so the position
14400         query works. Fixes #342321.
14401
14402 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14403
14404         * docs/gst/gstreamer-sections.txt:
14405         * gst/gsttaglist.c: (_gst_tag_initialize):
14406         * gst/gsttaglist.h:
14407           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14408
14409 2006-05-30  Wim Taymans  <wim@fluendo.com>
14410
14411         Patch by: Alessandro Decina <alessandro at nnva dot org>
14412
14413         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14414         Unlock mutex when removing an unknown pad.
14415         Fixes #343334.
14416
14417         * tests/check/Makefile.am:
14418         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14419         (push_event), (setup), (teardown), (GST_START_TEST),
14420         (gst_collect_pads_suite), (main):
14421         Added collecpads check, disabled for now as check crashes for
14422         some reason.
14423
14424 2006-05-29  Wim Taymans  <wim@fluendo.com>
14425
14426         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14427         Don't leak pads lists.
14428
14429 2006-05-29  Wim Taymans  <wim@fluendo.com>
14430
14431         * docs/libs/gstreamer-libs-sections.txt:
14432         * libs/gst/base/gstcollectpads.c:
14433         (gst_collect_pads_set_flushing_unlocked),
14434         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14435         (gst_collect_pads_stop):
14436         * libs/gst/base/gstcollectpads.h:
14437         API: gst_collect_pads_set_flushing()
14438         Added api to set the pads to flushing, useful for seeking
14439         code in elements using collectpads.
14440         Clear segment when receiving a flush.
14441
14442 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14443
14444         * gst/gst.c: (add_path_func), (init_post):
14445           Don't scan registry paths passed via --gst-plugin-path immediately
14446           (will crash, because absolutely nothing is set up and no types are
14447           registered etc.); do this later in init_post(). Fixes #343057.
14448
14449 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14450
14451         * gst/gst.c: (init_post):
14452           if we have fork, fork while reading/rebuilding the registry
14453           so the parent doesn't take the hit of having all plugins loaded
14454           in memory.  Fixes #342777.
14455         * configure.ac:
14456           Check if we have fork()
14457         * win32/common/config.h.in:
14458           no fork() on win32
14459
14460 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14461
14462         * plugins/elements/gstelements.c:
14463         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14464         (gst_file_src_init), (gst_file_src_set_property),
14465         (gst_file_src_get_property), (gst_file_src_start):
14466         * plugins/elements/gstfilesrc.h:
14467           API: GstFileSrc::use-mmap
14468
14469         Add a use-mmap property to enable easier testing of all code paths.
14470         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14471         in the absence of gnomevfssrc. (Closes #340501)
14472
14473 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14474
14475         * tools/gst-inspect.c:
14476         Add missing include, removes warning of ngettext not being defined on
14477         some arches.
14478
14479 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14480
14481         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14482         Handle NULL input and output pointers silently as a failed conversion,
14483         rather than g_warnings.
14484
14485 2006-05-25  Wim Taymans  <wim@fluendo.com>
14486
14487         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14488         Initialize variable before using. Fixes #342820.
14489
14490 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14491
14492         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14493           Fix off-by-one bug that would only allow peeks of N-1 bytes
14494           from the start even if the buffer to typefind on contains
14495           in fact N bytes of data (makes vorbis typefinding from a
14496           vorbis identification header buffer work).
14497
14498         * tests/check/Makefile.am:
14499         * tests/check/libs/.cvsignore:
14500         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14501         (gst_typefindhelper_suite), (main), (foobar_typefind),
14502         (plugin_init):
14503           Add very basic unit test for gst_type_find_helper_for_buffer()
14504           that checks for the problem fixed above.
14505
14506 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14507
14508         * tools/gst-inspect.c: (print_interfaces),
14509         (print_element_properties_info), (print_element_list), (main):
14510           add more translatable strings
14511
14512 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14513
14514         Patch by: Julien Moutte  <julien at moutte net>
14515
14516         * docs/gst/gstreamer-sections.txt:
14517           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14518           
14519         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14520         (gst_fake_sink_preroll):
14521         * plugins/elements/gstfakesink.h:
14522           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14523
14524 2006-05-23  Wim Taymans  <wim@fluendo.com>
14525
14526         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14527         * gst/gstpad.h:
14528         Added _CUSTOM error and success GstFlowReturn that can be
14529         used be elements internally. 
14530         Added macro to check for SUCCESS flowreturns.
14531         API: GST_FLOW_CUSTOM_SUCCESS
14532         API: GST_FLOW_CUSTOM_ERROR
14533         API: GST_FLOW_IS_SUCCESS
14534
14535         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14536         Added check for GstFlowReturn sanity.
14537
14538 2006-05-23  Wim Taymans  <wim@fluendo.com>
14539
14540         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14541
14542         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14543         (gst_collect_pads_event):
14544         clear/reset segment info in FLUSH_STOP.
14545         Fixes #336929.
14546
14547 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14548
14549         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14550         (gst_collect_pads_check_collected):
14551         Flush queued buffer on _stop(), fixes playing again (#342454)
14552
14553 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14554
14555         * tests/check/gst/gststructure.c: (GST_START_TEST),
14556         (gst_structure_suite):
14557           add a test for a complete structure
14558
14559 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14560
14561         * docs/faq/developing.xml:
14562         * docs/faq/faq.xml:
14563         * docs/faq/troubleshooting.xml:
14564         * docs/faq/using.xml:
14565           Some minor FAQ updates that won't change the fact that
14566           our FAQ is badly structured, full of information hardly
14567           anyone new to GStreamer needs to know and lacking lots
14568           of information people constantly ask for.
14569           
14570 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14571
14572         * gst/gstpad.c: (gst_pad_set_caps):
14573           Short-circuit gst_pad_set_caps if setting the existing
14574           caps pointer again, and avoid printing debug and 
14575           reffing/unreffing the caps.
14576
14577         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14578           There's actually no need to set the caps before pushing -
14579           the acceptcaps method will handle it anyway.
14580
14581 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14582
14583         * docs/gst/gstreamer-sections.txt:
14584         * win32/common/libgstreamer.def:
14585         * gst/gstutils.c: (gst_element_seek_simple):
14586         * gst/gstutils.h:
14587           API: add gst_element_seek_simple() (#342238).
14588
14589 2006-05-18  Edward Hervey  <edward@fluendo.com>
14590
14591         * gst/gsttypefind.c: (gst_type_find_get_type):
14592         * gst/gsttypefind.h:
14593         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14594         registered for GstTypeFind pointers. This allows wrapping the structure
14595         in bindings (i.e. gst-python).
14596
14597 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14598
14599         * gst/gsttagsetter.c:
14600           Docs additions and fixes (see #339918).
14601
14602 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14603
14604         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14605         The caps intersection algorithm can produce multiple copies of the
14606         caps. Until that is fixed, we need to simplify the result to be
14607         sure whether the allowed caps are fixed or not.
14608
14609         * plugins/elements/gstqueue.c: (gst_queue_init),
14610         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14611         (gst_queue_push_one):
14612         Proxied buffer alloc should not set the caps on the source pad.
14613         When pushing buffers, we always accept the caps change that triggers.
14614         This prevents negotiation errors caused by caps changing mid-stream 
14615         and then being refused on our source pad (because upstream is now
14616         refusing those caps).
14617
14618 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14619
14620         * tests/examples/helloworld/helloworld.c: (main):
14621           Must plug audioconvert and audioresample between decoder
14622           and audio sink.
14623
14624 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14625
14626         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14627         (load_feature), (load_plugin):
14628         Allow empty strings for some of the plugin fields so we don't 
14629         drop valid plugin entries that were written out correctly
14630         (Fixes #341479)
14631
14632 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14633         
14634         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14635           Use g_remove and g_rename instead of remove and rename that don't 
14636           handle utf8 characters. rename was failing for users who had specific
14637           characters in their name then the registry was built at each 
14638           gstreamer init.
14639         * win32/vs6/gst_inspect.dsp:
14640         * win32/vs6/gst_launch.dsp:
14641         * win32/vs6/libgstbase.dsp:
14642         * win32/vs6/libgstcoreelements.dsp:
14643         * win32/vs6/libgstreamer.dsp:
14644           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14645           build of libgstreamer and clean unused libraries in projects link 
14646           settings.
14647
14648 2006-05-17  Edward Hervey  <edward@fluendo.com>
14649
14650         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14651         The queue is not responsible for pushing an EOS when receiving a fatal
14652         flow error. It's up to the real element driving the pipeline to do that.
14653
14654 2006-05-16  Edward Hervey  <edward@fluendo.com>
14655
14656         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14657         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14658         buffer returned a fatal error. It should just send an EOS and stop
14659         its task.
14660         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14661         when pushing buffers on the queue and will be able to handle the event.
14662
14663 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14664
14665         * docs/manual/basics-bins.xml:
14666         * docs/manual/basics-init.xml:
14667           Fix typos and minor errors in sample code (#341856).
14668
14669 2006-05-16  Wim Taymans  <wim@fluendo.com>
14670
14671         * docs/design/part-qos.txt:
14672         Fix indexes in formulas to make more sense.
14673
14674 2006-05-15  Wim Taymans  <wim@fluendo.com>
14675
14676         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14677         Don't report POSITION based on clock time if sync is
14678         disabled in a sink.
14679
14680 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14681
14682         * gst/gstobject.h:
14683           Add cast to make compiler happy - refcount variable was a gint
14684           in GstObject but is a guint in GObject and g_atomic_int_get()
14685           wants a gint *.
14686
14687 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14688
14689         * gst/parse/Makefile.am:
14690           chain commands using &&, which also makes parallel make work
14691
14692 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
14693
14694         * docs/gst/gstreamer-sections.txt:
14695         * gst/gstevent.c:
14696         * gst/gstevent.h:
14697         * gst/gstmessage.h:
14698           Minor docs fixes.
14699
14700 === release 0.10.6 ===
14701
14702 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
14703
14704         * configure.ac:
14705           releasing 0.10.6, "Take the cannoli"
14706
14707 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
14708
14709         * tools/gst-launch.c: (print_tag):
14710           Fix use of uninitialized variable in the hypothetical
14711           case that some broken plugin creates a GST_TAG_IMAGE
14712           tag containing a NULL buffer (#341667).
14713
14714 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
14715
14716         * tools/gst-launch.c: (print_tag):
14717           Print something more intelligible for image tags when
14718           using the -t switch (#341556).
14719
14720 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14721
14722         * Makefile.am:
14723           updates for win32
14724         * configure.ac:
14725           define GST_MAJORMINOR so we have it available in win32/common/config.h
14726           Possibly remove it from our Makefile.am files later
14727         * win32/common/config.h:
14728         * win32/common/config.h.in:
14729           added GST_MAJORMINOR
14730         * win32/common/gstenumtypes.c: (register_gst_resource_error):
14731         * win32/common/gstversion.h:
14732           updated
14733
14734 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
14735
14736         * win32/MANIFEST:
14737           Update win32 files listing.
14738         * win32/common/gstversion.h:
14739           Add GST_MAJORMINOR definition.
14740         * win32/common/libgstreamer.def:
14741           Add new exported functions.
14742           
14743 2006-05-12  Michael Smith  <msmith@fluendo.com>
14744
14745         * gst/gstplugin.c: (gst_plugin_load_file):
14746           If an so file has no plugin entry point, unload the module.
14747
14748 2006-05-11  Wim Taymans  <wim@fluendo.com>
14749
14750         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14751         (gst_queue_set_property):
14752         Don't forget to signal the _chain or _loop function 
14753         when the queue size or thresholds change since that might
14754         cause them to make progres again.
14755
14756 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
14757
14758         * gst/gstclock.c: (gst_clock_class_init):
14759         * gst/gstindex.c: (gst_index_class_init):
14760         * gst/gstobject.c: (gst_object_class_init):
14761         * gst/gstpad.c: (gst_pad_class_init):
14762         * gst/gstpipeline.c: (gst_pipeline_class_init):
14763         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14764         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14765         * libs/gst/base/gstbasetransform.c:
14766         (gst_base_transform_class_init):
14767         * libs/gst/net/gstnetclientclock.c:
14768         (gst_net_client_clock_class_init):
14769         * libs/gst/net/gstnettimeprovider.c:
14770         (gst_net_time_provider_class_init):
14771         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14772         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14773         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14774         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14775         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14776         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14777         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14778         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14779         * plugins/elements/gsttee.c: (gst_tee_class_init):
14780         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14781         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14782           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14783
14784 2006-05-11  Wim Taymans  <wim@fluendo.com>
14785
14786         * gst/gstbuffer.c: (_gst_buffer_initialize):
14787         Register subbufer along with the buffer type so that
14788         it does not accidentally gets registered from N
14789         different streaming threads in a non threadsafe way.
14790
14791 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14792
14793         * gst/gstbuffer.h:
14794         * gst/gstevent.h:
14795         * gst/gstmessage.h:
14796           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14797           gst_event_ref() and gst_message_ref() functions again
14798           (ugly hack, please do fix if there's a better way besides
14799           overrides.txt, which doesn't seem to work).
14800
14801 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14802
14803         * libs/gst/check/gstcheck.h:
14804           add an assert for setting state to avoid lots of repetitive code
14805           in the future
14806
14807 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14808
14809         * gst/gstvalue.c: (gst_value_serialize_flags):
14810           fix a leak if no flags are set
14811         * tests/check/gst/gstvalue.c: (GST_START_TEST):
14812           fix leak in tests
14813
14814 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14815
14816         * docs/manual/basics-pads.xml:
14817           Expand a bit on caps and filtered links and update
14818           examples that were still using the no longer existing
14819           gst_pad_link_filtered() (#338206).
14820
14821 2006-05-10  Wim Taymans  <wim@fluendo.com>
14822
14823         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14824         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14825         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14826         (gst_collect_pads_stop):
14827         * libs/gst/base/gstcollectpads.h:
14828         No need to call _stop in _finalize.
14829         Iterate the main pad list in _finalize.
14830         Added some more debug.
14831         Free lists and data in the right order.
14832         Also free data whem doing _remove_pad when stopped for
14833         backward compatibility protect ::started with PAD_LOCK as
14834         well.
14835
14836 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14837
14838         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14839         (gst_structure_parse_value):
14840           add some comments
14841           rename a method so that it actually says what it does better
14842
14843 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14844
14845         * gst/gstevent.c: (_gst_event_initialize):
14846         * gst/gstformat.c: (_gst_format_initialize):
14847           make sure some essential types used by events are registered
14848           as part of gst_init()
14849         * gst/gstvalue.c: (gst_value_serialize_flags):
14850           if no flags are set, serialize them to a value that represents NONE
14851           so that deserializing them works
14852         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14853           add tests for serialization and deserialization of flags
14854
14855 2006-05-10  Wim Taymans  <wim@fluendo.com>
14856
14857         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14858         (gst_collect_pads_collect_range), (gst_collect_pads_available),
14859         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14860         (gst_collect_pads_event), (gst_collect_pads_chain):
14861         Update docs.
14862         Better debug info.
14863         Catch and return errors from the collect function
14864         Refuse data on eos pads.
14865
14866 2006-05-10  Edward Hervey  <edward@fluendo.com>
14867
14868         * gst/gstinterface.h:
14869         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14870         GInterface type checking.
14871         They were previously using non-defined macros.
14872
14873 2006-05-09  Wim Taymans  <wim@fluendo.com>
14874
14875         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14876         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14877         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14878         (gst_collect_pads_start), (gst_collect_pads_stop),
14879         (gst_collect_pads_peek), (gst_collect_pads_pop),
14880         (gst_collect_pads_available), (gst_collect_pads_read),
14881         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14882         (gst_collect_pads_is_collected), (gst_collect_pads_event),
14883         (gst_collect_pads_chain):
14884         * libs/gst/base/gstcollectpads.h:
14885         Clean up the mess that is collectpads, add comments and
14886         FIXMEs where needed.
14887         Maintain a separate pad list so we can add pads while
14888         collecting the other ones. For this we need a new separate 
14889         lock (see comics).
14890         Fix memory leak in finalize.
14891         Refactor some weird code to set/unset pad flushing flags, mark
14892         with comments.
14893         Don't crash in _available, _read, _flush when we're EOS.
14894
14895         * tests/check/libs/.cvsignore:
14896         Ignore adapter check binary.
14897
14898 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14899
14900         * gst/gstindex.c: (gst_index_resolver_get_type):
14901         * plugins/elements/gstfakesink.c:
14902         (gst_fake_sink_state_error_get_type):
14903         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14904         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14905         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14906           Const-ify GEnumValue arrays.
14907
14908 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14909
14910         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14911           Add test case for flags + gst_buffer_make_metadata_writable().
14912
14913 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14914
14915         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14916           gst_buffer_make_metadata_writable() should maintain the
14917           buffer flags (those that make sense at least) (see #340859).
14918
14919 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14920
14921         * tools/gst-inspect.c:
14922         * tools/gst-launch.c:
14923         * tools/gst-typefind.c:
14924         * tools/gst-xmlinspect.c:
14925         * tools/tools.h:
14926           Fix up includes: need to include stdlib.h in tools.h for exit().
14927
14928 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14929
14930         * gst/gsttaglist.c: (_gst_tag_initialize):
14931         * gst/gsttaglist.h:
14932           API: add GST_TAG_IMAGE tag (#340721).
14933
14934 2006-05-08  Wim Taymans  <wim@fluendo.com>
14935
14936         * gst/gstquery.c:
14937         Added some docs for the segment query.
14938
14939 2006-05-08  Wim Taymans  <wim@fluendo.com>
14940
14941         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14942         (gst_base_src_loop), (gst_base_src_change_state):
14943         Always push non-flushing serialized events in the streaming 
14944         thread.
14945
14946 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14947
14948         * gst/gsterror.c: (_gst_stream_errors_init):
14949           Add a missing error string.
14950
14951 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
14952
14953         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
14954         Add applied_rate to the debug
14955
14956         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
14957         Copy applied_rate into the outgoing NEWSEGMENT event
14958
14959 2006-05-08  Wim Taymans  <wim@fluendo.com>
14960
14961         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
14962
14963         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
14964         (gst_base_sink_change_state):
14965         call ::unlock before taking the PREROLL_LOCK so we can safely
14966         handle elements that lock in ::render.
14967         Fixes #340174.
14968
14969 2006-05-08  Edward Hervey  <edward@fluendo.com>
14970
14971         * autogen.sh: (CONFIGURE_DEF_OPT): 
14972         Darwin's libtoolize is in fact called glibtoolize.
14973         Adding glibtoolize to the list of accepted names for libtoolize.
14974
14975 2006-05-08  Wim Taymans  <wim@fluendo.com>
14976
14977         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14978         Unify error handling, don't post an error message
14979         when a push() returns EOS but perform our normal EOS
14980         handling code. Fixes #340772.
14981
14982 2006-05-08  Wim Taymans  <wim@fluendo.com>
14983
14984         * docs/design/part-overview.txt:
14985         Make upsteam/downstream concepts more clear.
14986         Give an example of serialized/non-serialized events.
14987
14988         * docs/design/part-events.txt:
14989         * docs/design/part-streams.txt:
14990         Mention applied_rate.
14991
14992         * docs/design/part-trickmodes.txt:
14993         Mention applied rate, flesh out some more use cases.
14994
14995         * gst/gstevent.c: (gst_event_new_new_segment),
14996         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
14997         (gst_event_parse_new_segment_full), (gst_event_new_tag),
14998         (gst_event_parse_tag), (gst_event_new_buffer_size),
14999         (gst_event_parse_buffer_size), (gst_event_new_qos),
15000         (gst_event_parse_qos), (gst_event_parse_seek),
15001         (gst_event_new_navigation):
15002         * gst/gstevent.h:
15003         Add applied_rate field to NEWSEGMENT event.
15004         API: gst_event_new_new_segment_full()
15005         API: gst_event_parse_new_segment_full()
15006
15007         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15008         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15009         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15010         * gst/gstsegment.h:
15011         Add applied_rate to GstSegment structure.
15012         Make calculation of stream_time and running_time more correct
15013         wrt rate/applied_rate.
15014         Add some more docs.
15015         API: GstSegment::applied_rate field
15016         API: gst_segment_set_newsegment_full();
15017
15018         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15019         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15020         * libs/gst/base/gstbasetransform.c:
15021         (gst_base_transform_sink_eventfunc),
15022         (gst_base_transform_handle_buffer):
15023         Parse and use applied_rate in the GstSegment field.
15024
15025         * tests/check/gst/gstevent.c: (GST_START_TEST):
15026         Add check for applied_rate field.
15027
15028         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15029         (gstsegments_suite):
15030         Add more checks for various GstSegment operations.
15031
15032 2006-05-08  Wim Taymans  <wim@fluendo.com>
15033
15034         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15035         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15036         (gst_base_sink_get_position), (gst_base_sink_change_state):
15037         Store the sync time of the buffer end position separatly in a
15038         new variable eos_rtime so we can properly sync the EOS event.
15039         Fixes #340697.
15040         Fix the docs for gst_base_sink_set_qos_enabled().
15041         Don't set segment start to invalid value when we receive a 
15042         non TIME newsegment.
15043         get closer to handling position reporting for negative rates 
15044         correctly.
15045
15046 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15047
15048         * gst/gstcaps.c:
15049         Docs about how to print caps for debug purposes.
15050
15051         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15052         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15053
15054 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15055
15056         * gst/gstelement.c:
15057           use full enum names and preprend a '%' in docs strings to make recent 
15058           gtk-doc turn that into a link
15059
15060 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15061
15062         * docs/manual/basics-bins.xml:
15063         * docs/manual/basics-bus.xml:
15064         * docs/manual/basics-pads.xml:
15065           Some typo fixes, some additions, some clarifications. 
15066
15067 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15068
15069         * tools/gst-inspect.c: (main):
15070         * tools/gst-launch.c: (main):
15071         * tools/gst-run.c: (main):
15072         * tools/gst-typefind.c: (main):
15073         * tools/gst-xmlinspect.c: (main):
15074           Use the string passed to g_option_context_new() for
15075           what it's intended for - the program name is already
15076           printed elsewhere.
15077
15078 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15079
15080         * tools/Makefile.am:
15081         * tools/gst-inspect.c: (main):
15082         * tools/gst-launch.c: (main):
15083         * tools/gst-xmlinspect.c: (main):
15084         * tools/tools.h:
15085           Add back --version command line option (#340460).
15086
15087         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15088           Add --version option and use GOption for argument parsing; refactor a
15089           bit; accept directories as arguments and recurse into them; lastly,
15090           print a decent error message when things go wrong.
15091
15092 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15093
15094         * docs/manual/basics-bins.xml:
15095         Don't mention GstThread (#340611)
15096         * docs/manual/basics-elements.xml:
15097         Update link to GObject tutorial (#340607)
15098         
15099 2006-05-05  Wim Taymans  <wim@fluendo.com>
15100
15101         * gst/gstbuffer.h:
15102         * gst/gstminiobject.c:
15103         Add note about refcounting and miniobject/buffer writeability
15104         to docs. Fixes #340604
15105
15106         * gst/gstelementfactory.h:
15107         Added some explanation about @klass.
15108
15109 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15110
15111         * docs/manual/intro-motivation.xml:
15112         * docs/manual/manual.xml:
15113         Avoid CORBA & Bonobo references (#340598)
15114
15115 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15116
15117         * docs/manual/basics-bus.xml:
15118         * docs/manual/basics-pads.xml:
15119         Fix up some inaccuracies and omissions (#340609)
15120         
15121 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15122
15123         * gst/gstghostpad.c:
15124           Small typo in docs (#340625)
15125
15126 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15127
15128         * gst/parse/Makefile.am:
15129           Make 'make -j' proof (see #340698).
15130
15131 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15132
15133         * configure.ac:
15134           Require GLib-2.8 here as well.
15135
15136 2006-05-05  Wim Taymans  <wim@fluendo.com>
15137
15138         * gst/glib-compat.c:
15139         * gst/gst.c: (init_pre):
15140         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15141         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15142         (gst_object_dispatch_properties_changed):
15143         * gst/gstobject.h:
15144         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15145         * gst/gststructure.c: (gst_structure_set_valist):
15146         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15147         Remove pre glib2.8 compatibility, fixes #340508
15148
15149 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15150
15151         * gst/gsttaglist.h:
15152           Mention type of tags in doc blurbs.
15153
15154 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15155
15156         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15157         (gst_pad_configure_src), (gst_pad_push):
15158         Restore acceptcaps checking behaviour now that good plugins have
15159         been released.
15160
15161 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15162
15163         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15164
15165         * gst/gst.c:
15166         * gst/gstbus.c:
15167         * gst/gstclock.c:
15168         * gst/gstevent.c:
15169         * gst/gstformat.c:
15170         * gst/gstmessage.c:
15171         * gst/gstparse.c:
15172         * gst/gstquery.c:
15173         * gst/gstutils.c:
15174         * gst/parse/Makefile.am:
15175         * libs/gst/base/gstadapter.c:
15176         * libs/gst/base/gstbasesrc.c:
15177         * libs/gst/base/gstpushsrc.c:
15178         * libs/gst/base/gsttypefindhelper.c:
15179         * plugins/elements/gstfakesrc.c:
15180         * plugins/elements/gstidentity.c:
15181           Make sure gstprivate.h and/or config.h are
15182           always included first, otherwise some of our
15183           defines (like _FILE_OFFSET_BITS) might be
15184           redefined in the system headers. Fixes build
15185           on opensolaris (#340016).
15186
15187 2006-05-04  Wim Taymans  <wim@fluendo.com>
15188
15189         * docs/libs/gstreamer-libs-sections.txt:
15190         API: addition: gst_adapter_take_buffer()
15191         
15192         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15193         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15194         (gst_adapter_available_fast):
15195         * libs/gst/base/gstadapter.h:
15196         Prepare for optimizing the hell out of this hugely inefficient
15197         piece of code. 
15198         Added gst_adapter_take_buffer() so we can at least start thinking
15199         about subbuffering and merging.
15200         Added some comments.
15201
15202         * tests/check/Makefile.am:
15203         * tests/check/libs/adapter.c: (GST_START_TEST),
15204         (gst_adapter_suite), (main):
15205         Added GstAdapter check.
15206
15207 2006-05-04  Wim Taymans  <wim@fluendo.com>
15208
15209         * docs/design/part-overview.txt:
15210         Fix some typos, add blurb about buffer flags.
15211
15212 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15213
15214         * docs/libs/gstreamer-libs-sections.txt:
15215           make sure GstBaseTransformClass shows up in the docs
15216         * libs/gst/base/gstbasetransform.c:
15217         * libs/gst/base/gstbasetransform.h:
15218           move docs so gtk-doc picks it up now
15219
15220 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15221
15222         * docs/libs/gstreamer-libs-sections.txt:
15223           add missing symbols to docs
15224
15225 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15226
15227         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15228           back out the newsegment handling change, see #340060 for ongoing
15229           discussion
15230
15231 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15232
15233         * tools/gst-run.c: (get_candidates), (main):
15234           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15235           work); fix typo in error message. Fixes #340079.
15236
15237 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15238
15239         * common/Makefile.am:
15240         * docs/Makefile.am:
15241         * docs/faq/Makefile.am:
15242         * docs/gst/Makefile.am:
15243         * docs/libs/Makefile.am:
15244         * docs/manual/Makefile.am:
15245         * docs/plugins/Makefile.am:
15246         * docs/pwg/Makefile.am:
15247         * docs/slides/Makefile.am:
15248         * docs/upload.mak:
15249         * common/upload.mak:
15250           move upload.mak to common
15251
15252 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15253
15254         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15255           add more asserts on refcounts
15256           do more cleanup at end of tests
15257           fix test leaks showing in FC5
15258
15259 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15260
15261         * plugins/elements/gsttypefindelement.c:
15262         (gst_type_find_element_handle_event):
15263         reverted wrong change and reflowed code to avoid others falling into
15264         this trap
15265
15266 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15267
15268         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15269           fix changelog entry about last collectpads change,
15270           add notes about proper fix
15271
15272 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15273
15274         * gst/gst.c:
15275         * gst/gstregistry.c: (gst_registry_scan_path_level),
15276         (gst_registry_scan_path):
15277         * gst/gstregistry.h:
15278           only write out registry if it has changed, fixes #338339
15279
15280 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15281
15282         * gst/gstbin.c:
15283         * gst/gstpipeline.c:
15284         * plugins/elements/gstcapsfilter.c:
15285         * plugins/elements/gstfakesink.c:
15286         * plugins/elements/gstfakesrc.c:
15287         * plugins/elements/gstfdsink.c:
15288         * plugins/elements/gstfdsrc.c:
15289         * plugins/elements/gstfilesink.c:
15290         * plugins/elements/gstfilesrc.c:
15291         * plugins/elements/gstidentity.c:
15292         * plugins/elements/gstqueue.c:
15293         * plugins/elements/gsttee.c:
15294         * plugins/elements/gsttypefindelement.c:
15295         (gst_type_find_element_handle_event):
15296           make GstElementDetails const
15297
15298 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15299
15300         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15301         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15302         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15303           more detailed debug and formatting cleanup,
15304           forward newsegments to src-pad (so that e.g. adder not eats them)
15305
15306 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15307
15308         * gst/gstutils.c: (gst_element_link_pads):
15309           cleanup double code
15310
15311 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15312
15313         * libs/gst/controller/gstcontroller.c:
15314         (gst_controller_sync_values):
15315           some little tuning
15316         * tests/check/libs/controller.c: (GST_START_TEST),
15317         (gst_controller_suite):
15318           a new test for live value handling
15319
15320 2006-04-28  Wim Taymans  <wim@fluendo.com>
15321
15322         * gst/gstutils.c: (push_and_ref):
15323         Added some more docs.
15324         Fix refcount issue whith gst_element_found_tags() helper 
15325         function. Fixes #338335
15326
15327         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15328         Added testsuite for gst_element_found_tags().
15329
15330 2006-04-28  Michael Smith  <msmith@fluendo.com>
15331
15332         * gst/gstvalue.c: (gst_value_serialize_flags):
15333           Avoid NULL dereference when trying to serialize flags containing
15334           invalid values.
15335
15336 2006-04-28  Michael Smith  <msmith@fluendo.com>
15337
15338         * plugins/elements/gsttypefindelement.c:
15339         (gst_type_find_element_handle_event):
15340           If we get EOS before any data is accumulated, don't use
15341           uninitialised local variables.
15342
15343 2006-04-28  Michael Smith  <msmith@fluendo.com>
15344
15345         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15346         (gst_dp_event_from_packet):
15347           Fixes in reading/writing events over GDP (not currently used?) - 
15348           dereferencing NULL events for unknown/invalid event types, memory
15349           leak, and change g_warning to GST_WARNING.
15350
15351 2006-04-28  Wim Taymans  <wim@fluendo.com>
15352
15353         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15354         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15355         (gst_base_sink_get_position), (gst_base_sink_change_state):
15356         When frame dropping is enabled, we should not ignore frames
15357         without a duration.
15358         Update some documentation.
15359
15360 2006-04-28  Wim Taymans  <wim@fluendo.com>
15361
15362         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15363         (gst_base_src_send_event), (gst_base_src_change_state):
15364         Documentation updates.
15365
15366 2006-04-28  Wim Taymans  <wim@fluendo.com>
15367
15368         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15369         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15370         handle EAGAIN, EINTR and short writes correctly. Also clean
15371         up some error cases, avoid a deadlock on bad file descriptors and
15372         use GST_DEBUG_OBJECT.
15373         Fixes #339843
15374
15375 2006-04-28  Wim Taymans  <wim@fluendo.com>
15376
15377         * gst/gstvalue.c: (gst_value_serialize_buffer),
15378         (gst_value_deserialize_buffer):
15379         Don't try to serialize a GValue with a NULL buffer. 
15380         Fixes #339821.
15381
15382         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15383         Added check for serialisation of NULL buffers.
15384
15385 2006-04-28  Wim Taymans  <wim@fluendo.com>
15386
15387         * gst/gstminiobject.c: (gst_value_take_mini_object):
15388         Taking a NULL miniobject is valid, fix the case where
15389         we try to unref the NULL miniobject.
15390
15391 2006-04-28  Wim Taymans  <wim@fluendo.com>
15392
15393         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15394
15395         * gst/gstbin.c: (gst_bin_handle_message_func):
15396         Update docs.
15397         Don't leak bin refcount when a state recalc is
15398         in progress and we delay another one #339808.
15399
15400 2006-04-28  Wim Taymans  <wim@fluendo.com>
15401
15402         * docs/design/part-TODO.txt:
15403         Mention QoS as an ongoing work item.
15404
15405         * docs/design/part-buffering.txt:
15406         New doc about buffering that needs to be fleshed out
15407         at some point.
15408
15409         * docs/design/part-qos.txt:
15410         More QoS policy for decoders/demuxers/transforms
15411
15412         * docs/design/part-trickmodes.txt:
15413         Small update.
15414
15415 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15416
15417         * configure.ac:
15418           back to HEAD
15419
15420 === release 0.10.5 ===
15421
15422 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15423
15424         * configure.ac:
15425           releasing 0.10.5, "Fogo"
15426
15427 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15428
15429         patch by: Wim Taymans
15430
15431         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15432         (gst_pad_configure_src), (gst_pad_push):
15433         * gst/gstpipeline.c: (gst_pipeline_init):
15434           Fix internal data flow errors.  Fixes #338711.
15435
15436 2006-04-12  Wim Taymans  <wim@fluendo.com>
15437
15438         * tests/check/gst/gstelement.c: (GST_START_TEST):
15439         Don't leak the factory.
15440
15441 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15442
15443         * configure.ac:
15444         * win32/common/config.h:
15445           prerelease
15446
15447 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15448
15449         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15450         (gst_controller_unset_all):
15451           Free allocated GstTimedValues when freeing list nodes.
15452           Should fix leaks 'make check-valgrind' complains about.
15453
15454         * win32/common/libgstcontroller.def:
15455           Add gst_controller_unset_all.
15456
15457 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15458
15459         * docs/libs/gstreamer-libs-sections.txt:
15460         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15461         (gst_controller_unset_all):
15462         * libs/gst/controller/gstcontroller.h:
15463         API: Added new method gst_controller_unset_all()
15464         fixed gst_controller_unset()
15465         * tests/check/libs/controller.c: (GST_START_TEST),
15466         (gst_controller_suite):
15467         Added two testcases for new and fixed method
15468
15469 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15470
15471         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15472           MSG_DONTWAIT is not defined on Cygwin, so work
15473           around that (fixes #317048).
15474           
15475 2006-04-11  Wim Taymans  <wim@fluendo.com>
15476
15477         * gst/gstelementfactory.c: (gst_element_register),
15478         (gst_element_factory_create), (gst_element_factory_make):
15479         Some cleanups.
15480         Fixed a FIXME.
15481         Updated docs (Fixes #131079)
15482
15483         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15484         Small cleanups.
15485
15486         * tests/check/gst/gstelement.c: (GST_START_TEST),
15487         (gst_element_suite):
15488         Added testcase for elementfactory class field.
15489
15490 2006-04-10  Wim Taymans  <wim@fluendo.com>
15491
15492         * gst/gstsegment.c:
15493         Added some more docs.
15494
15495         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15496         (gst_base_sink_reset_qos):
15497         Calculate more accurate rate values.
15498
15499 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15500
15501         * gst/gst_private.h:
15502           add a new #ifdef to use __declspec(dllimport) only for
15503           other modules and not for gstreamer core
15504         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15505           use gst_guint64_to_gdouble for conversion
15506         * win32/common/libgstreamer.def:
15507           add new exported functions
15508         * win32/vs6/gst_inspect.dsp:
15509         * win32/vs6/gst_launch.dsp:
15510         * win32/vs6/libgstbase.dsp:
15511         * win32/vs6/libgstcontroller.dsp:
15512         * win32/vs6/libgstcoreelements.dsp:
15513         * win32/vs6/libgstdataprotocol.dsp:
15514         * win32/vs6/libgstnet.dsp:
15515           update project files
15516
15517 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15518
15519         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15520         * gst/gstclock.c: (gst_clock_class_init):
15521         * gst/gstelement.c: (gst_element_class_init):
15522         * gst/gstindex.c: (gst_index_class_init):
15523         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15524         * gst/gstobject.c: (gst_object_class_init),
15525         (gst_signal_object_class_init):
15526         * gst/gstpad.c: (gst_pad_class_init):
15527         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15528         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15529         * gst/gstregistry.c: (gst_registry_class_init):
15530         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15531         * gst/gsttask.c: (gst_task_class_init):
15532         * gst/gstxml.c: (gst_xml_class_init):
15533         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15534         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15535         (gst_base_src_loop):
15536         * libs/gst/controller/gstcontroller.c:/
15537         (_gst_controller_class_init):
15538         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15539         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15540         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15541         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15542         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15543         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15544
15545 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15546
15547         * gst/gstpad.c: (gst_pad_link):
15548           Must set peer pads before calling the link function, otherwise
15549           a task started from a link function might get a flow-not-linked
15550           result when trying to push because the other thread where the
15551           linking happens hasn't had a chance to set the peers yet. This
15552           might happen for example when a queue gets linked to a downstream
15553           element, as queue starts a streaming task when its source pad
15554           gets linked. Happens in real life when playing back flac/musepack
15555           files in playbin (#332390).
15556           
15557 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15558
15559         * gst/gstindex.h:
15560         * gst/gstxml.h:
15561         * libs/gst/base/gstadapter.h:
15562         * libs/gst/base/gstbasesink.h:
15563         * libs/gst/base/gstbasesrc.h:
15564         * libs/gst/base/gstbasetransform.h:
15565         * libs/gst/base/gstcollectpads.h:
15566         * libs/gst/base/gstpushsrc.h:
15567         Fix broken GObject macros
15568
15569 2006-04-07  Wim Taymans  <wim@fluendo.com>
15570
15571         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15572         Initialize start and stop times, thanks valgrind.
15573
15574 2006-04-07  Wim Taymans  <wim@fluendo.com>
15575
15576         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15577         Be a bit nicer to badly behaving upstream elements that expect
15578         us to deal with non TIME segments and timestamps (such as fakesrc
15579         in the testsuite).
15580
15581 2006-04-07  Wim Taymans  <wim@fluendo.com>
15582
15583         * gst/gstbus.c:
15584         Small documentation clarification about the signal watch.
15585
15586         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15587         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15588         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15589         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15590         (gst_base_sink_get_position_last),
15591         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15592         Convert and store timestamps in stream time and running time, the
15593         raw timestamps are not useful, also document this better.
15594         Use different window sizes for good and bad QoS observations so
15595         we react to badness a little quicker.
15596         Keep track of the amount of rendered and dropped buffers.
15597         Send QoS timestamps in running time.
15598
15599         * libs/gst/base/gstbasetransform.c:
15600         (gst_base_transform_sink_eventfunc),
15601         (gst_base_transform_handle_buffer):
15602         Compare QoS timestamps against running time.
15603
15604 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15605
15606         * gst/gstpad.c:
15607           Typo fixes in docs.
15608
15609 2006-04-06  Michael Smith  <msmith@fluendo.com>
15610
15611         * gst/gstpad.c: (gst_pad_set_property):
15612           Use g_value_get_object() instead of g_value_dup_gst_object(),
15613           to avoid double-reffing the pad template (which we then sink,
15614           so this worked previously if (and only if) the pad template
15615           was floating.
15616
15617         * gst/gstpadtemplate.c: (gst_pad_template_init),
15618         (gst_pad_template_pad_created):
15619           Never return floating references to pad templates, create
15620           them as initially-sunken.
15621
15622           Document an extra function (and make this stop sinking our
15623           pad template, since that is now guaranteed to do nothing,
15624           since we created it sunken).
15625
15626         * gst/gstghostpad.c:
15627           Fix docs typo.
15628
15629 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15630
15631         * gst/gstinfo.c: (__gst_in_valgrind):
15632           Add some newlines.
15633
15634         * plugins/elements/gsttypefindelement.c:
15635         (gst_type_find_element_chain):
15636           Don't leak buffer caps.
15637
15638 2006-04-06  Michael Smith  <msmith@fluendo.com>
15639
15640         * gst/parse/grammar.y:
15641           Fix a leak in parse-launch for any source-or-sink named element 
15642           references used.
15643
15644         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15645           Unref the pipeline if it exists after we've failed parsing.
15646
15647 2006-04-05  Michael Smith  <msmith@fluendo.com>
15648
15649         * gst/gstpipeline.c: (gst_pipeline_init):
15650           When we create a pipeline bus, initially create it in flushing mode.
15651           Fixes leaks in at least one test, and makes a new pipeline work the
15652           same as one that has gone to READY and then back to NULL.
15653
15654         * gst/gstelement.c:
15655           Typo fix in docs.
15656
15657 2006-04-05  Michael Smith  <msmith@fluendo.com>
15658
15659         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15660           Unref a pad we reffed.
15661         * tests/check/gst/gstutils.c: (GST_START_TEST):
15662           Unref bins
15663
15664 2006-04-05  Michael Smith  <msmith@fluendo.com>
15665
15666         * gst/gstquery.c: (gst_query_set_formats),
15667         (gst_query_set_formatsv):
15668           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15669
15670 2006-04-05  Michael Smith  <msmith@fluendo.com>
15671
15672         * tests/check/generic/sinks.c: (GST_START_TEST):
15673           Fix a variety of memleaks in sinks check, which are only sometimes 
15674           shown by running the tests under valgrind (weird?).
15675
15676 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15677
15678         * docs/version.entities.in:
15679           Fix the substituted entity name after thomas' changes on the
15680           weekend.
15681
15682 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15683
15684         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15685         VALGRIND_PRINTF
15686         
15687 2006-04-05  Andy Wingo  <wingo@pobox.com>
15688
15689         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15690
15691         * libs/gst/base/gstbasetransform.c
15692         (gst_base_transform_sink_eventfunc): When resetting our segment on
15693         FLUSH_STOP, also update the flag saying we haven't seen a
15694         newsegment.
15695
15696 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15697
15698         Patch by: Paolo Borelli  <pborelli at katamail dot com>
15699
15700         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15701         (gst_plugin_check_license):
15702           minor clean-ups: G_DEFINE_TYPE already takes care of the
15703           parent_class stuff, no need to do it twice. Mark array of
15704           license strings as constant. (#337103)
15705           
15706 2006-04-04  Michael Smith  <msmith@fluendo.com>
15707
15708         * tools/gst-inspect.c: (print_element_list):
15709           Free the right plugin list; fixes a memory leak.
15710
15711 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15712
15713         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
15714
15715         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15716           Don't error out on empty buffers (#336945).
15717           
15718 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
15719
15720         * docs/libs/gstreamer-libs-sections.txt:
15721         * gst/gsttaglist.c:
15722         * libs/gst/base/gstbasesink.c:
15723         * libs/gst/base/gstbasesink.h:
15724         * libs/gst/base/gstbasesrc.c:
15725         * libs/gst/base/gstbasesrc.h:
15726           Documentation updates. Make BaseSink and BaseSrc docs contain the
15727           class structure so that people can actually see the prototypes for
15728           virtual functions they're supposed to be overriding.
15729
15730 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15731
15732         * plugins/elements/gsttypefindelement.c:
15733         (gst_type_find_element_chain):
15734           More debug info; when skipping typefinding, send cached
15735           events in all cases.
15736
15737 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15738
15739         * configure.ac:
15740           use new AS_VERSION and AS_NANO macros
15741         * gst/gst-i18n-lib.h:
15742         * gst/gst.c:
15743         * gst/gsterror.c:
15744         * gst/gstversion.h.in:
15745         * win32/common/config.h:
15746         * win32/common/config.h.in:
15747           update accordingly
15748
15749 2006-03-31  Michael Smith  <msmith@fluendo.com>
15750
15751         * plugins/elements/gsttypefindelement.c:
15752         (gst_type_find_element_chain):
15753           Do not typefind content if the buffers already have caps.
15754           Neccesary for icydemux (#333657), and the right thing to do anyway.
15755
15756 2006-03-30  Wim Taymans  <wim@fluendo.com>
15757
15758         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15759         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15760         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15761         (gst_base_sink_record_qos_observation),
15762         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15763         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15764         (gst_base_sink_change_state):
15765         More QoS measurements as described in the design doc.
15766         Get rid of ringbuffer with observations, running average is
15767         more simple and equally good.
15768         Calculates valid proportion now.
15769         Added beginning of flood measurement.
15770
15771 2006-03-29  Wim Taymans  <wim@fluendo.com>
15772
15773         * docs/design/part-qos.txt:
15774         * gst/gstclock.c:
15775         Small documentation updates and additions.
15776
15777 2006-03-29  Wim Taymans  <wim@fluendo.com>
15778
15779         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15780         (gst_base_src_send_event), (gst_base_src_loop),
15781         (gst_base_src_change_state):
15782         Perform the EOS logic when we reach the segment stop position.
15783         Fix compilation on gcc4.1
15784
15785 2006-03-29  Wim Taymans  <wim@fluendo.com>
15786
15787         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15788
15789         * plugins/elements/gstqueue.c: (gst_queue_init),
15790         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15791         (gst_queue_set_property):
15792         * plugins/elements/gstqueue.h:
15793         In queue, when EOS is received, if minimum threshold > max_size -
15794         current_level, there is chance that queue blocks forever in conditional
15795         item del wait. This is because the queue is not emptied completely due
15796         to minimum threshold.  Here is another approach. Instead of setting
15797         cur_levels to max in EOS, just zero all minimum threshold levels. This
15798         should make sure that queue gives out all data. When going to READY
15799         (stop) state, just reset the original minimum threshold levels.
15800         Fixes #336336.
15801
15802 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
15803
15804         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15805         (gst_type_find_element_handle_event),
15806         (gst_type_find_element_send_cached_events),
15807         (gst_type_find_element_change_state):
15808         * plugins/elements/gsttypefindelement.h:
15809           When typefinding is done in push mode, we should cache
15810           events we receive during typefinding instead of just
15811           dropping them (e.g. newsegment, custom events from
15812           dvdreadsrc etc.) and then send them out once we've
15813           determined the type of the stream (and decodebin
15814           has had a chance to plug in a decoder/demuxer).
15815           
15816 2006-03-27  Wim Taymans  <wim@fluendo.com>
15817
15818         * docs/design/part-qos.txt:
15819         First QoS ideas.
15820
15821 2006-03-27  Wim Taymans  <wim@fluendo.com>
15822
15823         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15824
15825         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15826         (gst_base_src_send_event), (gst_base_src_change_state):
15827         Handle element seek correctly when we are streaming.
15828         Fixes #326998.
15829
15830 2006-03-24  Michael Smith  <msmith@fluendo.com>
15831
15832         * docs/faq/gst-uninstalled:
15833           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15834           allow you to correctly run intalled applications built against old 
15835           core, using plugins that require updated core (e.g. running
15836           installed totem against a full uninstalled gstreamer stack)
15837
15838 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15839
15840         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15841         more debug details
15842
15843 2006-03-24  Wim Taymans  <wim@fluendo.com>
15844
15845         * docs/gst/gstreamer-sections.txt:
15846         Rearrange the order of the methods so that related methods
15847         are grouped together in sections.
15848
15849 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15850
15851         * gst/gstelement.c:
15852           Little clarification in the docs
15853
15854 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15855
15856         * docs/README:
15857         formatting fix
15858         * plugins/elements/gstidentity.c:
15859         * plugins/elements/gstqueue.c:
15860         * plugins/elements/gsttee.c:
15861         * plugins/elements/gsttypefindelement.c:
15862         GST_ELEMENT_DETAILS formatting
15863
15864 2006-03-24  Wim Taymans  <wim@fluendo.com>
15865
15866         * libs/gst/base/gstbasesink.h:
15867         Only add fields, not insert or we break ABI.
15868
15869 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15870
15871         * win32/common/libgstbase.def:
15872         * win32/common/libgstreamer.def:
15873           Update, add recently added functions.
15874
15875 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15876
15877         * docs/gst/gstreamer-sections.txt:
15878         * gst/gstutils.c: (gst_pad_query_peer_position),
15879         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15880         * gst/gstutils.h:
15881           API: add some new utility functions:
15882            - gst_pad_query_peer_position()
15883            - gst_pad_query_peer_duration()
15884            - gst_pad_query_peer_convert()
15885           
15886 2006-03-23  Wim Taymans  <wim@fluendo.com>
15887
15888         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15889         (gst_base_sink_init), (gst_base_sink_finalize),
15890         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15891         (gst_base_sink_set_property), (gst_base_sink_get_property),
15892         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15893         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15894         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15895         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15896         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15897         (gst_base_sink_preroll_object), (gst_base_sink_event),
15898         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15899         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15900         (gst_base_sink_query), (gst_base_sink_change_state):
15901         Decouple max-lateness and the fact that QoS messages are generated
15902         with a new property (qos).
15903         added API: GstBaseSink::async_play()
15904         Add vmethod so subclasses can be notified of ASYNC playing
15905         state changes.
15906         Collect timestamp start and stop to report better current
15907         position in EOS/PLAYING/PAUSED/READY/NULL.
15908         Refactor QoS/frame dropping and other measurements.
15909         API: GstBaseSrc::qos
15910         Fixes #326311
15911
15912         * libs/gst/base/gstbasesink.h:
15913         Added Private struct.
15914         API: gst_base_sink_set_qos_enabled()
15915         API: gst_base_sink_is_qos_enabled()
15916
15917 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15918
15919         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15920           If compiling against GLib-2.8 or newer, try to read the
15921           registry file using GMappedFile first before falling back
15922           to fopen() + fread() (#332151).
15923
15924 2006-03-22  Wim Taymans  <wim@fluendo.com>
15925
15926         * gst/gstinfo.c: (gst_debug_set_active),
15927         (gst_debug_category_set_threshold):
15928         Disable debugging unless explicitly activated.
15929         Fixes #335480.
15930
15931 2006-03-22  Wim Taymans  <wim@fluendo.com>
15932
15933         * gst/gstelement.c: (gst_element_set_locked_state),
15934         (gst_element_dispose):
15935         Cleanup the error case.
15936
15937         * gst/gstobject.c: (gst_object_dispose):
15938         print a critical when some object was disposed with
15939         a parent, also revive the object since it might
15940         crash the parent.
15941
15942 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
15943
15944         * tools/gst-launch.1.in:
15945           Fix another typo.
15946
15947 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15948
15949         * configure.ac:
15950         * tests/check/Makefile.am:
15951           disable some tests when we don't have a registry
15952         * tests/check/gst/gstutils.c: (gst_utils_suite):
15953           don't build the part that needs parsing
15954
15955 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15956
15957         * gst/Makefile.am
15958         * tests/examples/Makefile.am:
15959           fix --disable-parse build
15960
15961 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
15962
15963         * tools/gst-feedback.1.in:
15964           Fix typo: s/feeback/feedback/ (#133494).
15965
15966 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
15967
15968         * tools/Makefile.am:
15969         * tools/gst-launch.1.in:
15970           Add FILES section and correct entry about GST_REGISTRY_PATH
15971           environment variable (#133495; #133494).
15972
15973 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
15974
15975         * tools/Makefile.am:
15976         * tools/gst-md5sum.1.in:
15977         * tools/gst-md5sum.c:
15978           Remove gst-md5sum and man page (the md5sink element
15979           required was removed ages ago)
15980
15981 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
15982
15983         * gst/gststructure.c: (gst_structure_id_set_value):
15984           Make sure that string fields in structures/taglists
15985           contain valid UTF-8 - we don't want to pass rubbish to
15986           applications because of a buggy plugin (cp. #334167).
15987
15988 2006-03-21  Edward Hervey  <edward@fluendo.com>
15989
15990         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15991         (gst_bin_handle_message_func):
15992         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
15993         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
15994         (gst_element_set_bus_func):
15995         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
15996         * gst/gstminiobject.c: (gst_value_set_mini_object),
15997         (gst_value_take_mini_object):
15998         * gst/gstpad.c: (gst_pad_set_pad_template):
15999         * gst/gstpipeline.c: (gst_pipeline_dispose),
16000         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16001         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16002         (gst_collect_pads_chain):
16003         * libs/gst/net/gstnettimeprovider.c:
16004         (gst_net_time_provider_set_property):
16005         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16006         It's in fact all issues with gst_*object_replace().
16007
16008 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16009
16010         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16011         
16012         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16013         * pkgconfig/gstreamer-check.pc.in:
16014           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16015
16016 2006-03-21  Edward Hervey  <edward@fluendo.com>
16017
16018         * gst/gstbuffer.h:
16019         * gst/gstevent.h:
16020         * gst/gstmessage.h:
16021         gst_[buffer|event|message]_ref() macros are replaced by a static
16022         inline functions because gcc-4.1 will about if the return value
16023         isn't used.
16024         * tests/check/gst/gstevent.c: (event_probe):
16025         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16026
16027 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16028
16029         * gst/gstutils.h:
16030         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16031         the type' case. (Closes: #335195 for now). In the future, when we
16032         depend on GLib 2.10, we could also intern the type name using
16033         g_intern_static_string()
16034
16035 2006-03-20  Wim Taymans  <wim@fluendo.com>
16036
16037         * gst/gstbin.c: (gst_bin_handle_message_func),
16038         (bin_query_max_init), (bin_query_position_fold),
16039         (bin_query_position_done), (gst_bin_query):
16040         Position query should also take max of all streams.
16041
16042 2006-03-20  Wim Taymans  <wim@fluendo.com>
16043
16044         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16045         (gst_fake_src_finalize):
16046         Fix leaks in fakesrc.
16047
16048         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16049         Fix leaks in the testcase.
16050
16051 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16052
16053         * gst/gst_private.h:
16054           add win32 specific import decoration(__declspec(dllimport)) 
16055           for all extern GstDebugCategory * variables
16056         * win32/common/libgstbase.def:
16057         * win32/common/libgstcontroller.def:
16058         * win32/common/libgstreamer.def:
16059           Add some exports, remove empty lines
16060         * win32/common/libgstdataprotocol.def:
16061         * win32/common/libgstdataprotocol.dsp:
16062         * win32/common/libgstnet.def:
16063         * win32/common/libgstnet.dsp:
16064           new project files and exportation files added
16065         
16066 2006-03-19  Wim Taymans  <wim@fluendo.com>
16067
16068         * tests/check/libs/basesrc.c: (eos_event_counter):
16069         Use proper return value for probe.
16070
16071 2006-03-17  Wim Taymans  <wim@fluendo.com>
16072
16073         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16074         (gst_pad_push):
16075         Don't leak buffers, caps and pads on negotiation errors.
16076
16077 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16078
16079         * docs/faq/cvs.xml:
16080         * docs/faq/dependencies.xml:
16081         * docs/faq/developing.xml:
16082         * docs/faq/faq.xml:
16083         * docs/faq/general.xml:
16084         * docs/faq/getting.xml:
16085         * docs/faq/legal.xml:
16086         * docs/faq/troubleshooting.xml:
16087         * docs/faq/using.xml:
16088         Faq review and update.
16089
16090 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16091
16092         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16093         (gst_pad_push):
16094         Don't pound the cpu to pieces by checking get_caps when accept_caps
16095         is called with the same caps as the pad already has.
16096         Use GST_DEBUG_OBJECT when outputting caps change information.
16097
16098 2006-03-15  Wim Taymans  <wim@fluendo.com>
16099
16100         * gst/gstclock.c: (gst_clock_class_init):
16101         Fix docs.
16102
16103 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16104
16105         * gst/gstbuffer.h:
16106         Documentation fix.
16107
16108         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16109         (gst_pad_accept_caps), (gst_pad_configure_sink),
16110         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16111         Make the default acceptcaps behaviour be to check the requested 
16112         caps against the gst_pad_get_caps output. 
16113
16114         Ensure that gst_pad_accept_caps is used to check caps when a pad
16115         doesn't have a setcaps function, so that pads automatically refuse 
16116         caps that they don't allow in their pad template. (Fixes #332986)
16117
16118         When a buffer with attached caps is pushed, ensure that the source 
16119         pad receives those caps even if the element didn't call
16120         gst_pad_set_caps first.
16121
16122 2006-03-15  Wim Taymans  <wim@fluendo.com>
16123
16124         * libs/gst/base/gstadapter.c:
16125         Add some docs.
16126
16127 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16128
16129         * win32/common/libgstbase.def:
16130         * win32/common/libgstcontroller.def:
16131         * win32/common/libgstreamer.def:
16132           Add a whole bunch of missing functions (#334434).
16133
16134 2006-03-14  Wim Taymans  <wim@fluendo.com>
16135
16136         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16137         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16138         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16139         Better debug info when we receive a segment event.
16140         Reorganize a bit so we can pass the get_times() results around.
16141         Use the segment format when calculating the running time.
16142         Don't do QoS is sync is disabled or we have no clock or the
16143         element does not want us to sync to the clock.
16144         Don't drop buffers if QoS is disabled for now.
16145
16146 2006-03-14  Wim Taymans  <wim@fluendo.com>
16147
16148         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16149         Marked the stats property as unimplemented so people don't get
16150         wild ideas.
16151         Add debug message when regression goes wrong.
16152         Added some more docs.
16153
16154 2006-03-14  Wim Taymans  <wim@fluendo.com>
16155
16156         * gst/gstsegment.c: (gst_segment_to_stream_time):
16157         Return correct return type in case of errors.
16158
16159 2006-03-14  Wim Taymans  <wim@fluendo.com>
16160
16161         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16162           Don't segfault on invalid formats.
16163
16164 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16165
16166         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16167           Can't use gst_segment_to_running_time() when the segment
16168           is not in GST_TIME_FORMAT (like with filesink, for example).
16169           Stops flac encoding pipelines from spewing critical warnings
16170           at EOS (#331248).
16171           
16172 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16173
16174         * gst/gstpipeline.c: (gst_pipeline_class_init):
16175           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16176
16177         * plugins/elements/gsttypefindelement.c:
16178         (gst_type_find_element_handle_event):
16179           Don't try to typefind empty streams.
16180
16181 2006-03-14  Wim Taymans  <wim@fluendo.com>
16182
16183         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16184         (gst_base_sink_do_qos):
16185         Separate QoS calculation.
16186         Only drop buffers when lateness is bigger than the 
16187         duration of the buffer.
16188
16189 2006-03-13  Wim Taymans  <wim@fluendo.com>
16190
16191         * gst/gstpipeline.c: (gst_pipeline_set_property),
16192         (gst_pipeline_get_property), (do_pipeline_seek),
16193         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16194         (gst_pipeline_get_delay):
16195         Don't deadlock when reading properties.
16196
16197 2006-03-13  Wim Taymans  <wim@fluendo.com>
16198
16199         * libs/gst/base/gstbasetransform.c:
16200         (gst_base_transform_class_init), (gst_base_transform_init),
16201         (gst_base_transform_sink_event),
16202         (gst_base_transform_sink_eventfunc),
16203         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16204         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16205         (gst_base_transform_set_property),
16206         (gst_base_transform_get_property),
16207         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16208         (gst_base_transform_set_qos_enabled),
16209         (gst_base_transform_is_qos_enabled):
16210         * libs/gst/base/gstbasetransform.h:
16211         Make basetransform virtual method for src events too.
16212         Handle QOS in basetransform.
16213         API: gst_base_transform_update_qos()
16214         API: gst_base_transform_set_qos_enabled()
16215         API: gst_base_transform_is_qos_enabled()
16216
16217 2006-03-13  Wim Taymans  <wim@fluendo.com>
16218
16219         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16220         (gst_base_sink_do_sync):
16221         Small cleanups.
16222         Use QOS debug category.
16223
16224 2006-03-13  Wim Taymans  <wim@fluendo.com>
16225
16226         * plugins/elements/gstqueue.c:
16227         Very small doc update.
16228
16229 2006-03-13  Wim Taymans  <wim@fluendo.com>
16230
16231         * gst/gst_private.h:
16232         * gst/gstinfo.c: (_gst_debug_init):
16233         Added QOS debug category
16234
16235 2006-03-13  Wim Taymans  <wim@fluendo.com>
16236
16237         * docs/gst/gstreamer-sections.txt:
16238         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16239         * gst/gstbin.h:
16240         * gst/gstbus.c: (gst_bus_class_init):
16241         * gst/gstbus.h:
16242         * gst/gstclock.c:
16243         * gst/gstelement.c: (gst_element_set_locked_state):
16244         * gst/gstsegment.c:
16245         Documentation updates.
16246
16247         * gst/gstpipeline.c: (gst_pipeline_get_type),
16248         (gst_pipeline_class_init), (gst_pipeline_init),
16249         (gst_pipeline_dispose), (gst_pipeline_set_property),
16250         (gst_pipeline_get_property), (do_pipeline_seek),
16251         (gst_pipeline_send_event), (gst_pipeline_change_state),
16252         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16253         (gst_pipeline_get_delay):
16254         * gst/gstpipeline.h:
16255         Added methods for setting the delay.
16256         API: gst_pipeline_set_delay()
16257         API: gst_pipeline_get_delay()
16258         Add pipeline debug category
16259         Various cleanups.
16260         Updated docs.
16261         Don't reset stream time when seek failed.
16262
16263 2006-03-13  Wim Taymans  <wim@fluendo.com>
16264
16265         * docs/design/draft-klass.txt:
16266         * docs/design/part-clocks.txt:
16267         * docs/design/part-events.txt:
16268         * docs/design/part-gstbin.txt:
16269         * docs/design/part-gstpipeline.txt:
16270         * docs/design/part-messages.txt:
16271         * docs/design/part-negotiation.txt:
16272         * docs/design/part-overview.txt:
16273         * docs/design/part-preroll.txt:
16274         * docs/design/part-seeking.txt:
16275         * docs/design/part-states.txt:
16276         * docs/design/part-streams.txt:
16277         Documentation updates.
16278
16279 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16280
16281         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16282         us to leak strings...
16283
16284 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16285
16286         * libs/gst/net/gstnettimeprovider.c:
16287           fix docs
16288         * win32/common/config.h:
16289           update
16290
16291 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16292
16293         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16294
16295         * configure.ac:
16296           Don't check for libgnomeui (leftover from old examples
16297           that aren't built or disted any longer) (#334303).
16298           
16299 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16300
16301         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16302         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16303           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16304           there's no space left on the device.
16305
16306 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16307
16308         * gst/gstclock.h:
16309           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16310           to cast the input to GstClockTime before comparing with
16311           another GstClockTime value.
16312
16313 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16314
16315         * configure.ac:
16316           back to trunk
16317
16318 === release 0.10.4 ===
16319
16320 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16321
16322         * configure.ac:
16323           releasing 0.10.4, "Light"
16324
16325 2006-03-10  Michael Smith  <msmith@fluendo.com>
16326
16327         * libs/gst/dataprotocol/dataprotocol.c:
16328           Fix docs for dataprocotol to not get the return types completely
16329           wrong for a few functions.
16330
16331 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16332
16333         * docs/gst/gstreamer-sections.txt:
16334         * gst/gstpipeline.c: (gst_pipeline_class_init),
16335         (gst_pipeline_init), (gst_pipeline_set_property),
16336         (gst_pipeline_get_property), (gst_pipeline_change_state),
16337         (gst_pipeline_set_auto_flush_bus),
16338         (gst_pipeline_get_auto_flush_bus):
16339         * gst/gstpipeline.h:
16340           Add new API: gst_pipeline_set_auto_flush_bus() and
16341           gst_pipeline_get_auto_flush_bus() to disable automatic
16342           flushing of the pipeline's GstBus when going from READY
16343           to NULL state (#332045).
16344
16345 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16346
16347         * docs/gst/gstreamer-sections.txt:
16348         * gst/gsturi.c: (gst_uri_has_protocol):
16349         * gst/gsturi.h:
16350            Add new API: gst_uri_has_protocol() (#333779).
16351
16352 2006-03-09  Wim Taymans  <wim@fluendo.com>
16353
16354         * gst/gstclock.c: (gst_clock_entry_new),
16355         (gst_clock_id_compare_func), (gst_clock_id_wait),
16356         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16357         (gst_clock_init), (gst_clock_get_internal_time),
16358         (gst_clock_set_master), (do_linear_regression),
16359         (gst_clock_add_observation), (gst_clock_set_property):
16360         * gst/gstclock.h:
16361         Review docs.
16362         Small cleanups.
16363         Fix a possible segfault when the window-size is made smaller.
16364         Calculate jitter before performing the clock wait. Ideally
16365         the clock implementation should calculate jitter but we need
16366         API breakage for that.
16367
16368         * gst/gstsystemclock.c: (gst_system_clock_init):
16369         Docs review.
16370         
16371         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16372         Remove leftover else
16373
16374         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16375         (gst_systemclock_suite):
16376         Added check to test GST_CLOCK_DIFF.
16377
16378 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16379
16380         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16381         (gst_type_find_helper_get_range):
16382           If we are provided with the size, we should implement
16383           GstTypeFind::get_length, so that typefind functions who
16384           want to can actually peek at the middle of a file.
16385
16386 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16387
16388         * docs/manual/advanced-dataaccess.xml:
16389           Add some very very basic error checking.
16390
16391         * docs/pwg/appendix-checklist.xml:
16392           Some updates to the list of things to check when writing an element.
16393
16394 2006-03-08  Wim Taymans  <wim@fluendo.com>
16395
16396         * docs/design/part-element-transform.txt:
16397         Added some docs about the design of tranform elements.
16398
16399         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16400         (gst_base_src_loop), (gst_base_src_change_state):
16401         Mark buffers with the DISCONT flag.
16402
16403 2006-03-08  Michael Smith  <msmith@fluendo.com>
16404
16405         * gst/gstregistry.h:
16406         * gst/gstregistryxml.c: (gst_registry_save),
16407         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16408         (gst_registry_xml_save_pad_template),
16409         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16410         (gst_registry_xml_write_cache):
16411           Rewrite registry-saving to avoid race conditions and check for
16412           failed writes.
16413
16414 2006-03-08  Wim Taymans  <wim@fluendo.com>
16415
16416         * libs/gst/base/gstbasetransform.c:
16417         (gst_base_transform_transform_caps),
16418         (gst_base_transform_transform_size),
16419         (gst_base_transform_prepare_output_buffer),
16420         (gst_base_transform_get_unit_size),
16421         (gst_base_transform_buffer_alloc),
16422         (gst_base_transform_handle_buffer),
16423         (gst_base_transform_change_state):
16424         Cleanups, separate normal flow from errors, add sensible
16425         DEBUG lines.
16426         Don't try to renegotiate when allocating an output buffer.
16427         Also copy DISCONT buffer flag when copying a buffer.
16428         Reset the transform after we finish streaming, not during.
16429
16430 2006-03-08  Wim Taymans  <wim@fluendo.com>
16431
16432         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16433         Use last buffer timestamp in qos message.
16434
16435 2006-03-07  Wim Taymans  <wim@fluendo.com>
16436
16437         Patch by: Christophe Fergeau
16438
16439         * docs/pwg/advanced-tagging.xml:
16440         * docs/pwg/building-pads.xml:
16441           fixes #333416
16442
16443 2006-03-07  Wim Taymans  <wim@fluendo.com>
16444
16445         * docs/libs/gstreamer-libs-sections.txt:
16446         Added basesink new methods.
16447
16448         * gst/gstevent.c:
16449         * gst/gstevent.h:
16450         Docs updates. Flesh out the QoS docs.
16451
16452         * libs/gst/base/gstadapter.c:
16453         Small doc clarification about ownership and flushing.
16454
16455         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16456         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16457         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16458         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16459         * libs/gst/base/gstbasesink.h:
16460         API additions: 
16461         Added new methods to allow subclass to control max-lateness 
16462         and sync.
16463         Generate very basic QoS events based on last sync observation.
16464         Updated docs, fix typo, added some QoS blurb.
16465
16466         * libs/gst/base/gstbasesrc.c:
16467         Remove obsolete _get_state() calls from docs.
16468
16469 2006-03-07  Wim Taymans  <wim@fluendo.com>
16470
16471         * docs/libs/gstreamer-libs-sections.txt:
16472         * libs/gst/base/gstbasetransform.h:
16473         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16474         Fix docs for GstBaseSrc.
16475
16476 2006-03-07  Wim Taymans  <wim@fluendo.com>
16477
16478         * docs/gst/gstreamer-sections.txt:
16479         * gst/gstbuffer.h:
16480         * gst/gstvalue.c:
16481         * libs/gst/base/gstbasetransform.h:
16482         Small documentation fixes.
16483
16484 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16485
16486         * gst/gstvalue.c:
16487           Document thread-unsafety of gst_value_register_foo_func()
16488           when used at the same time as gst_value_foo() (#322628).
16489
16490 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16491
16492         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16493         (gst_push_src_check_get_range):
16494           Push sources don't support pull mode by default.
16495
16496 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16497
16498         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16499         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16500         (gst_base_src_default_check_get_range):
16501         * libs/gst/base/gstbasesrc.h:
16502           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16503           provide default implementation, and rename
16504           gst_base_src_check_get_range() to
16505           gst_base_src_pad_check_get_range() for clarity.
16506
16507 2006-03-06  Wim Taymans  <wim@fluendo.com>
16508
16509         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16510         Make property overridable.
16511
16512 2006-03-06  Wim Taymans  <wim@fluendo.com>
16513
16514         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16515         (gst_base_sink_init), (gst_base_sink_set_property),
16516         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16517         * libs/gst/base/gstbasesink.h:
16518         API addition: Make max-lateness a property.
16519
16520 2006-03-06  Wim Taymans  <wim@fluendo.com>
16521
16522         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16523         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16524         Don't ever draw a frame that is >10ms late.
16525
16526 2006-03-06  Michael Smith  <msmith@fluendo.com>
16527
16528         * gst/gstmessage.c: (_gst_message_copy):
16529           When copying a message, set the parent_refcount of the enclosed
16530           structure to point at the copy, not the original message.
16531
16532 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16533
16534         Patch by: Christophe Fergeau
16535
16536         * gst/gstutils.h:
16537           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16538           usable in c++ code (#333417)
16539
16540 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16541
16542         * gst/gstclock.h:
16543           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16544
16545 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16546
16547         * libs/gst/base/gstbasetransform.c:
16548         (gst_base_transform_transform_caps):
16549           Make sure caps are writable before passing them to
16550           gst_caps_append().
16551
16552 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16553
16554         * gst/gsterror.h:
16555           Fix some minor docs errors.
16556
16557 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16558
16559           Patch by: Ross Burton <ross at burtonini dot com>
16560
16561         * gst/gsterror.c: (_gst_resource_errors_init):
16562         * gst/gsterror.h:
16563           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16564
16565 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16566
16567         * gst/gst.c:
16568         Add a check and output a g_warning when GStreamer is built
16569         against GLib 2.6 but running against 2.8 or higher, and vice 
16570         versa. (Closes: #323542)
16571
16572 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16573
16574         * gst/parse/parse.l:
16575           Commit patch for parse_launch syntax from #331255. Removes 
16576           support for quoted strings and mimetypes when writing filtered 
16577           caps. See the bug report for more details - I'm pretty sure this
16578           obscure feature is not in use by _anyone_ anywhere.
16579
16580           With this simple change, the size of the gstreamer.so here 
16581           drops from 2193KB to 1565KB.
16582
16583 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16584
16585         * plugins/elements/gsttypefindelement.h:
16586         * plugins/elements/gsttypefindelement.c:
16587         (gst_type_find_element_src_event), (start_typefinding),
16588         (stop_typefinding), (gst_type_find_element_handle_event),
16589         (gst_type_find_element_chain),
16590         (gst_type_find_element_chain_do_typefinding):
16591           Use gst_type_find_helper_for_buffer() for chain-based
16592           typefinding.
16593
16594 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16595
16596         * plugins/elements/gsttypefindelement.c:
16597         (gst_type_find_element_class_init),
16598         (gst_type_find_element_set_property),
16599         (gst_type_find_element_get_property):
16600           Deprecate "maximum" property (not only was it only taken into
16601           account for typefinding in push-mode anyway, it also was never
16602           actually possible to set it in the first place because the
16603           property was registered with the numeric property ID for the
16604           "minimum" property). Register "maximum" property correctly,
16605           for the sake of future copy'n'pasters. Remove some cruft
16606           from property get/set functions.
16607
16608 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16609
16610         * plugins/elements/gsttypefindelement.c:
16611         (gst_type_find_element_activate):
16612           Use gst_type_find_helper_get_range() here, so we
16613           can honour the "minimum" property and also emit
16614           the signal with the correct probability of the found caps.
16615
16616 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16617
16618         * docs/libs/gstreamer-libs-sections.txt:
16619         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16620         (helper_find_suggest), (gst_type_find_helper_get_range),
16621         (gst_type_find_helper):
16622         * libs/gst/base/gsttypefindhelper.h:
16623           New API: gst_type_find_helper_get_range() (#333042).
16624
16625 2006-03-02  Michael Smith  <msmith@fluendo.com>
16626
16627         * gst/gstregistryxml.c: (load_feature):
16628           Asserting on a failure to read part of the registry is Not Cool.
16629           Just log a warning and return NULL (which is already handled)
16630
16631 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16632
16633         * win32/common/libgstbase.def:
16634           added export of gst_type_find_helper_for_buffer
16635         * win32/common/libgstbase.def:
16636           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16637           gst_ghost_pad_get_target
16638
16639 2006-02-28  Wim Taymans  <wim@fluendo.com>
16640
16641         * docs/design/draft-klass.txt:
16642         We use Filter now.
16643         Added Connector to mark elements that are only used to
16644         allow pipeline connections.
16645         Moved Debug to extra feature since most of them are 
16646         functionally something else.
16647
16648 2006-02-28  Wim Taymans  <wim@fluendo.com>
16649
16650         * docs/design/draft-klass.txt:
16651         Some updates and clarifications.
16652
16653 2006-02-28  Wim Taymans  <wim@fluendo.com>
16654
16655         * docs/design/draft-klass.txt:
16656         Proposal for klass field values.
16657
16658         * docs/design/part-streams.txt:
16659         Start of a doc describing stream anatomy.
16660
16661 2006-02-28  Wim Taymans  <wim@fluendo.com>
16662
16663         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16664         Help the compiler a bit with type registration.
16665         Use existing forward cod path instead of duplicating it when 
16666         handling a message.
16667         
16668         * gst/gstbus.c: (gst_bus_get_type):
16669         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16670         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16671         * gst/gstclock.c: (gst_clock_get_type):
16672         * gst/gstelement.c: (gst_element_get_type),
16673         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16674         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16675         * gst/gstminiobject.c: (gst_mini_object_get_type):
16676         * gst/gstpad.c: (gst_pad_get_type):
16677         * gst/gstsegment.c: (gst_segment_get_type):
16678         * gst/gststructure.c: (gst_structure_get_type):
16679         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16680         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16681         * gst/gstvalue.c:
16682         Help compiler with type registration.
16683
16684         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16685         Small doc update.
16686
16687 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16688
16689         * plugins/elements/gsttypefindelement.c:
16690         (gst_type_find_element_handle_event):
16691           When we get an EOS event and have not found a type yet
16692           (most likely because we had not yet accumulated
16693           TYPE_FIND_MIN_SIZE of data yet), try to determine the
16694           type given the data we have so far. Fixes typefinding
16695           for very short streams again, most notably quicktime
16696           redirections as used on Apple's trailer site (#331701).
16697
16698 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16699
16700         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16701         (gst_type_find_helper):
16702           Try typefinding factories with the highest rank first.
16703
16704 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16705
16706         * docs/libs/gstreamer-libs-docs.sgml:
16707         * docs/libs/gstreamer-libs-sections.txt:
16708         * libs/gst/base/gsttypefindhelper.c:
16709           Add section for typefind helper and add documentation
16710           for the old and the new function.
16711
16712 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16713
16714         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16715         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16716         (gst_type_find_helper_for_buffer):
16717         * libs/gst/base/gsttypefindhelper.h:
16718           New API: gst_type_find_helper_for_buffer() (#332723).
16719           
16720 2006-02-27  Michael Smith  <msmith@fluendo.com>
16721
16722         Patch by: Loïc Minier
16723
16724         * configure.ac:
16725         * docs/Makefile.am:
16726         * docs/slides/Makefile.am:
16727           prevent CVS directories getting disted.
16728
16729 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16730
16731         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16732           Use the REFCOUNTING category for caps refcounting.
16733           
16734 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16735
16736         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16737           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16738
16739 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16740
16741         * plugins/elements/gsttypefindelement.c:
16742         (gst_type_find_element_activate):
16743           Use gst_pad_check_pull_range() before _activate_pull()
16744           to avoid unnecessary open/close (see #331690).
16745
16746 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16747
16748         * gst/gstutils.c:
16749           Docs enhancement: make it crystal clear what the
16750           gst_pad_add_*_probe() callbacks should look like.
16751
16752 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16753
16754         * libs/gst/base/gstbasesrc.c:
16755           Document how applications can stop recording from
16756           live sources (see #330996).
16757
16758 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16759
16760         * tests/check/Makefile.am:
16761         * tests/check/libs/basesrc.c: (eos_event_counter),
16762         (basesrc_eos_events_pull), (basesrc_eos_events_push),
16763         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16764         (gst_basesrc_suite), (main):
16765           ... and add some tests for the base source EOS stuff.
16766
16767 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16768
16769         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16770           Test case originally showed the problem fixed below,
16771           but was then amended. Add checks back at the place
16772           where they used to be.
16773
16774 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16775
16776         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16777         (gst_base_src_init), (gst_base_src_loop),
16778         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16779         (gst_base_src_change_state):
16780         * libs/gst/base/gstbasesrc.h:
16781           Don't unconditionally send EOS when going from PAUSED to
16782           READY state, esp. make sure we don't send two EOS events
16783           in some cases (e.g. one when reaching EOS and one when
16784           going from PAUSED to READY). Also, we don't want to send
16785           EOS events when operating in pull mode. However, we do
16786           want to send an EOS event when shutting down a live
16787           source explicitly, for example (fixes #330996).
16788           
16789 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16790
16791         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16792           Update src->read_position after a seek when not using mmap.
16793           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16794
16795 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
16796
16797         * gst/Makefile.am:
16798         * gst/gstparse.h:
16799         * gst/gstutils.c:
16800         * gst/gstutils.h:
16801         Make things work with --disable-parse as they do with 
16802         --disable-load-save - the symbols involved disappear, but the
16803         header is still installed and GST_DISABLE_PARSE is included via
16804         gstconfig.h
16805
16806 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16807
16808         * libs/gst/base/gstbasetransform.c:
16809         (gst_base_transform_change_state): Fix a stupid bug. I was 
16810         sure I compiled that.
16811
16812 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16813
16814         * gst/gstpad.c: (gst_pad_set_blocked_async):
16815         * gst/gstutils.c: (gst_pad_add_data_probe),
16816         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16817         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16818         (gst_pad_remove_buffer_probe): Make those function act on the
16819         ghostpad target when it's a ghostpad. (Closes #331727)
16820
16821 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16822
16823         * libs/gst/base/gstbasetransform.c:
16824         (gst_base_transform_change_state): Make basetransform reusable.
16825         (Closes #331898)
16826
16827 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
16828
16829         * docs/random/release:
16830         Move the current documentation of how to do a release to the top
16831         of the file.
16832
16833         * gst/gstbin.c: (gst_bin_class_init),
16834         (gst_bin_handle_message_func):
16835         Allow multiple state-recalculation threads. (Closes #328873)
16836
16837 2006-02-19  Julien MOUTTE  <julien@moutte.net>
16838
16839         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16840         * gst/gstpad.c: (gst_pad_set_event_function),
16841         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16842         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16843         2 strings. You can't use the STR_NULL macro on that.
16844
16845 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
16846
16847         * gst/gstpad.c: (gst_pad_set_event_function),
16848         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16849         (gst_pad_set_getcaps_function)
16850         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16851           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16852           So now, we can use --gst-debug-level=5 on Windows
16853         * win32/common/libgstcontroller.def:
16854           Added export of gst_controller_init
16855         * win32/vs6/libgstcontroller.dsp:
16856           Fixed Release post build configuration
16857
16858 2006-02-17  Wim Taymans  <wim@fluendo.com>
16859
16860         * tests/check/gst/gstquery.c: (GST_START_TEST):
16861         Added another check.
16862
16863 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
16864
16865         * plugins/elements/gsttypefindelement.c: (find_peek):
16866           We can do peeks at non-zero offsets, as long as they
16867           fall within the buffer we have.
16868
16869 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
16870
16871         * tests/check/Makefile.am:
16872         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16873         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16874         (parse_suite), (main):
16875           Add testsuite for parse launch syntax
16876
16877 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
16878
16879         * plugins/elements/gsttypefindelement.c:
16880         (gst_type_find_element_chain):
16881           When typefinding is unsuccessful in the chain function, don't
16882           error out immediately. Only error out with NO_CAPS_FOUND if
16883           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16884           otherwise simply wait for more data so we can try typefinding
16885           again with more data later. Also, don't attempt to typefind
16886           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16887           this should improve typefinding from network sources where the
16888           size of the first buffer can be somewhat random.
16889
16890 2006-02-14  Wim Taymans  <wim@fluendo.com>
16891
16892         * docs/gst/gstreamer-sections.txt:
16893         * gst/gstpadtemplate.c:
16894         * gst/gstpadtemplate.h:
16895         Fix padtemplate docs, fixes #328805.
16896
16897 2006-02-14  Wim Taymans  <wim@fluendo.com>
16898
16899         * tools/gst-launch.c: (main):
16900         NO_PREROLL is not an ERROR so don't send confusing messages
16901         to the user.
16902
16903 2006-02-14  Wim Taymans  <wim@fluendo.com>
16904
16905         Patch by: Torsten Schoenfeld
16906
16907         * gst/gstregistry.c: (gst_registry_get_default),
16908         (_gst_registry_cleanup):
16909         Protect default registry with lock and ref/sink it.
16910         Fixes #324818
16911
16912 2006-02-14  Wim Taymans  <wim@fluendo.com>
16913
16914         * gst/gstbuffer.c:
16915         * gst/gstquery.c: (gst_query_list_add_format),
16916         (gst_query_set_formatsv), (gst_query_parse_formats_length),
16917         (gst_query_parse_formats_nth):
16918         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16919         Docs fixes.
16920
16921 2006-02-14  Wim Taymans  <wim@fluendo.com>
16922
16923         * docs/gst/gstreamer-sections.txt:
16924         Reworked query docs.
16925
16926         * gst/gstquery.c: (gst_query_new_formats),
16927         (gst_query_list_add_format), (gst_query_set_formats),
16928         (gst_query_set_formatsv), (gst_query_parse_formats_length),
16929         (gst_query_parse_formats_nth):
16930         * gst/gstquery.h:
16931         Flesh out formats query, added some new methods.
16932         Fix part of #324398.
16933
16934         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16935         Added query creation tests.
16936
16937 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
16938
16939         * gst/gstpad.c: (fixate_value):
16940         Add a default fixation for fraction lists.
16941
16942 2006-02-13  Wim Taymans  <wim@fluendo.com>
16943
16944         * gst/gsttask.c: (gst_task_init), (gst_task_func),
16945         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
16946         (gst_task_join):
16947         * gst/gsttask.h:
16948         Detect and warn for obvious deadlocks. fixes #320340
16949         Fix error case where lock was not released.
16950
16951         * tests/check/Makefile.am:
16952         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
16953         (task_func), (gst_element_suite), (main):
16954         Add task check.
16955
16956 2006-02-13  Wim Taymans  <wim@fluendo.com>
16957
16958         * docs/gst/gstreamer-sections.txt:
16959         * gst/gstbus.c:
16960         Add new functions to docs.
16961
16962 2006-02-13  Wim Taymans  <wim@fluendo.com>
16963
16964         * docs/design/part-TODO.txt:
16965         Updated TODO list, basesrc supports seeking to non-bytes
16966         formats.
16967
16968         * docs/design/part-element-sink.txt:
16969         Update docs.
16970
16971         * gst/gstbin.c: (bin_replace_message),
16972         (gst_bin_handle_message_func):
16973         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
16974         * gst/gstevent.c: (gst_event_finalize):
16975         * gst/gstpad.c: (gst_pad_event_default_dispatch),
16976         (gst_pad_send_event):
16977         Use shiny new _TYPE_NAME macros.
16978
16979         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16980         Move debug statement up.
16981
16982         * gst/gstelement.c: (gst_element_set_locked_state):
16983         Add some debugging.
16984
16985 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
16986
16987         * docs/gst/gstreamer-sections.txt:
16988         * gst/gstmessage.h:
16989         * gst/gstquery.h:
16990           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
16991           macros (#330906). Also, document the already existing
16992           GST_QUERY_TYPE macro.
16993
16994 2006-02-13  Wim Taymans  <wim@fluendo.com>
16995
16996         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
16997         (event_probe), (GST_START_TEST):
16998         Only events up to the pipeline EOS are counted, there are
16999         some more when going to NULL currently which we don't care
17000         about for now.
17001
17002 2006-02-13  Wim Taymans  <wim@fluendo.com>
17003
17004         * gst/gstpad.c: (gst_pad_send_event):
17005         Correctly check flushing and emit probes. fixes #330125
17006
17007 2006-02-10  Andy Wingo  <wingo@pobox.com>
17008
17009         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17010         structure.
17011         (gst_bus_init): Cache the location of the private data in the
17012         instance structure.
17013         (gst_bus_enable_sync_message_emission) 
17014         (gst_bus_disable_sync_message_emission): Implement new public
17015         functions.
17016         (gst_bus_post): Emit the sync-message signal if the user asked for
17017         it. Fixes #330684.
17018
17019         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17020         location of the bus-private structure.
17021         (gst_bus_enable_sync_message_emission)
17022         (gst_bus_disable_sync_message_emission): API addition
17023
17024 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17025
17026         Patch by: Vincent Torri
17027
17028         * docs/pwg/building-boiler.xml:
17029         PWG patch from #326800
17030
17031 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17032
17033         * configure.ac:
17034         * docs/Makefile.am:
17035         * docs/design/Makefile.am:
17036           Dist design docs.
17037
17038 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17039
17040         * configure.ac:
17041           back to CVS
17042
17043 === release 0.10.3 ===
17044
17045 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17046
17047         * configure.ac:
17048           releasing 0.10.3, "Like a virgin"
17049
17050 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17051
17052         * configure.ac:
17053           2nd prerelease of 0.10.3
17054           Bump libtool versioning.
17055
17056 2006-02-07  Andy Wingo  <wingo@pobox.com>
17057
17058         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17059         update last_stop if we're in TIME format and the timestamp is
17060         valid.
17061
17062         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17063         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17064         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17065         If we get a new newsegment with a different format, adapt
17066         accordingly.
17067
17068         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17069         of 0. Not a problem, really.
17070
17071         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17072         warn if sync=true.
17073
17074 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17075
17076         * configure.ac:
17077           Prelease of 0.10.3
17078
17079 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17080
17081         * win32/vs7:
17082           project files updated to the default vs7 configuration
17083         * win32/common/libgstbase.def:
17084         * win32/common/libgstreamer.def:
17085           added new symbols,
17086           removed empty lines,
17087           sorted all exported symbols alphabetically
17088         * win32/common/dirent.c:
17089         * win32/common/dirent.h:
17090         * win32/common/gchar.h:
17091           use windows line end.
17092           
17093 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17094
17095         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17096           Send EOS event when stopping.
17097
17098 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17099
17100         * docs/README:
17101           Tell folks what to do if the plugin-foobar.xml file
17102           hasn't been generated for a newly-added plugin.
17103
17104 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17105
17106         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17107         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17108         (gst_collect_pads_start), (gst_collect_pads_stop),
17109         (gst_collect_pads_event): Collectpads now holds a reference
17110         to the GstPad that was added. Indeed we don't want to look
17111         at pads that might just go away with no warning...
17112
17113 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17114
17115         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17116         (gst_collect_pads_start), (gst_collect_pads_stop),
17117         (gst_collect_pads_event), (gst_collect_pads_chain):
17118         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17119         Mark Nauwelaerts's patch on bug #328491.
17120
17121 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17122
17123         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17124         (gst_utils_suite):
17125           Add some simple tests for gst_parse_bin_from_description() and
17126           gst_bin_find_unconnected_pad() (#329069).
17127
17128 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17129
17130         * tools/gst-launch.c: (event_loop), (main):
17131           Catch errors during preroll (#320084).
17132
17133 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17134
17135         * plugins/elements/gsttypefindelement.c:
17136         (gst_type_find_element_activate):
17137           Post TYPE_NOT_FOUND error message when typefinding
17138           is unsuccessful in the activate function as well.
17139
17140 2006-02-02  Wim Taymans  <wim@fluendo.com>
17141
17142         * docs/design/part-element-sink.txt:
17143         Updated doc.
17144
17145 2006-02-02  Wim Taymans  <wim@fluendo.com>
17146
17147         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17148         (gst_base_sink_render_object),
17149         (gst_base_sink_queue_object_unlocked):
17150         Only keep track of prerollable items when we are 
17151         prerolling.
17152         Before rendering after preroll, always check if we
17153         have queued items.
17154         Added some more debugging.
17155
17156 2006-02-02  Wim Taymans  <wim@fluendo.com>
17157
17158         * gst/gstelement.c: (gst_element_continue_state),
17159         (gst_element_set_state_func), (gst_element_change_state):
17160         Fixed #326576, been running this for quite some time with
17161         no regressions at all.
17162
17163 2006-02-02  Wim Taymans  <wim@fluendo.com>
17164
17165         * common/gst.supp:
17166         Added more suppressions
17167
17168 2006-02-02  Wim Taymans  <wim@fluendo.com>
17169
17170         * docs/design/part-element-sink.txt:
17171         Updated document.
17172
17173         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17174         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17175         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17176         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17177         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17178         (gst_base_sink_preroll_object),
17179         (gst_base_sink_queue_object_unlocked),
17180         (gst_base_sink_queue_object), (gst_base_sink_event),
17181         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17182         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17183         (gst_base_sink_get_position), (gst_base_sink_change_state):
17184         * libs/gst/base/gstbasesink.h:
17185         Totally refactored matching the design doc.
17186         Use two segments, one to clip incomming buffers and another to
17187         perform sync.
17188         Handle queueing correctly, bypass the queue when playing.
17189         Make EOS cancelable.
17190         Handle errors correctly when operating in pull based mode.
17191
17192         * tests/check/elements/fakesink.c: (GST_START_TEST),
17193         (fakesink_suite):
17194         Added new check for sinks.
17195
17196 2006-02-02  Wim Taymans  <wim@fluendo.com>
17197
17198         * gst/gstsegment.c: (gst_segment_clip):
17199         No reason to refuse to clip when start == -1
17200
17201 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17202
17203         * docs/README:
17204         * docs/manual/intro-basics.xml:
17205         * docs/manual/intro-preface.xml:
17206         * docs/manual/manual.xml:
17207         * docs/pwg/advanced-dparams.xml:
17208         * docs/pwg/intro-basics.xml:
17209         * docs/pwg/intro-preface.xml:
17210         * docs/pwg/pwg.xml:
17211           describe dparams (controller) for plugins
17212           unify docs a little more
17213
17214 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17215
17216         * docs/gst/gstreamer-sections.txt:
17217         * gst/gstutils.c: (element_find_unconnected_pad),
17218         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17219         * gst/gstutils.h:
17220           Add new API: gst_parse_bin_from_description() and
17221           gst_bin_find_unconnected_pad() (#329069).
17222
17223 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17224
17225         * docs/manual/README:
17226           uncover a nasty detail of the docs build
17227
17228 2006-01-31  Wim Taymans  <wim@fluendo.com>
17229
17230         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17231         Don't cache duration messages if we're not going to use or
17232         free them.
17233
17234 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17235
17236         * docs/manual/advanced-dparams.xml:
17237         * docs/pwg/advanced-dparams.xml:
17238           more dparam docs
17239         * gst/gstindex.c:
17240           fix docs
17241         * libs/gst/controller/lib.c: (gst_controller_init):
17242           init just once
17243
17244 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17245
17246         * gst/gstelement.c: (gst_element_message_full):
17247           also show file/line/func if no additional debug was given
17248
17249 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17250         
17251         * win32/vs7/grammar.vcproj:
17252           activate copy of autogenerated files for Release mode
17253
17254 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17255         
17256         * win32/common/libgstreamer.def:
17257           export gst_value_compare
17258
17259 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17260
17261         * plugins/elements/Makefile.am:
17262         * plugins/elements/gstelements.c:
17263         * plugins/elements/gstfdsink.c: (_do_init),
17264         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17265         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17266         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17267         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17268         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17269         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17270         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17271         * plugins/elements/gstfdsink.h:
17272         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17273
17274 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17275
17276         * docs/manual/advanced-dparams.xml:
17277           describe controller
17278         * docs/manual/advanced-position.xml:
17279         * docs/manual/basics-init.xml:
17280         * docs/manual/manual.xml:
17281         * docs/manual/titlepage.xml:
17282         * docs/pwg/pwg.xml:
17283         * docs/pwg/titlepage.xml:
17284           cleanup xml (more to come)
17285         * libs/gst/controller/gstcontroller.c:
17286           fix typo
17287
17288 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17289         
17290         * win32/vs6/grammar.dsp:
17291           add autogen of gstmarshal.c,h for Release mode
17292                 
17293 2006-01-30  Wim Taymans  <wim@fluendo.com>
17294
17295         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17296         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17297         (gst_base_sink_handle_object), (gst_base_sink_event),
17298         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17299         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17300         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17301         (gst_base_sink_deactivate), (gst_base_sink_activate),
17302         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17303         (gst_base_sink_query), (gst_base_sink_change_state):
17304         Basesink cleanups, remove some old code.
17305         Handle the case where a subclass can preroll in the render
17306         method (mostly audiosinks).
17307         Handle more events.
17308         Remove some locks around variables that are now protected
17309         with the PREROLL_LOCK (clock_id, flushing, ..).
17310         Optimize position query some more, do correct locking.
17311         Remove old code to push queue in state change, this is not
17312         needed anymore since preroll blocks on all prerollable items 
17313         now.
17314         Almost implemented as described in design doc.
17315
17316 2006-01-30  Wim Taymans  <wim@fluendo.com>
17317
17318         * tests/check/gst/gstbin.c: (GST_START_TEST):
17319         Wait for refcount to settle down before checking.
17320
17321 2006-01-30  Wim Taymans  <wim@fluendo.com>
17322
17323         * docs/design/part-element-sink.txt:
17324         Pseudo code overview of desired sink behaviour regarding
17325         preroll.
17326
17327 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17328         * win32/vs6/grammar.dsp:
17329           fix some bugs in Release mode for autogenerated files
17330                 
17331 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17332         * win32/common/libgstbase.def:
17333         * win32/common/libgstreamer.def:
17334           export some new symbols: gst_base_src_set_format,
17335           gst_iterator_next, gst_structure_set_valist
17336
17337 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17338
17339         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17340         Set pad functions unconditionally. Fixes #329105.
17341
17342 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17343         * win32/vs8:
17344           add vs8 project files created by Sergey Scobich
17345
17346 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17347
17348         * gst/gstutils.c: (gst_element_unlink_pads):
17349         Don't leak pad references.
17350
17351         * tests/check/elements/fakesink.c: (GST_START_TEST):
17352         * tests/check/generic/sinks.c: (GST_START_TEST):
17353         * tests/check/generic/states.c: (GST_START_TEST):
17354         * tests/check/gst/gstbin.c: (GST_START_TEST):
17355         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17356         * tests/check/gst/gstelement.c: (GST_START_TEST):
17357         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17358         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17359         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17360         Fix a bunch of leaks. Make generic/sinks.c
17361         use a bit less cpu by slowing the buffer rate
17362         between fakesrc and fakesink.
17363         
17364 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17365         * gst/gstcaps.c:
17366         * gst/gstelement.c: (gst_element_send_event):
17367         * gst/gstevent.c:
17368         * gst/gstinfo.c:
17369         * gst/gstiterator.c:
17370         * gst/gstiterator.h:
17371         * gst/gstpad.c: (gst_pad_send_event):
17372         * gst/gststructure.c:
17373         * gst/gsturi.c:
17374         * gst/gstutils.c:
17375         * gst/gstvalue.c:
17376         * libs/gst/base/gstadapter.c:
17377           doc fixes, to link to function, just write gst_cool_function(), don't
17378           prefix with '#'
17379
17380 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17381
17382         * plugins/elements/gsttee.c: (gst_tee_do_push),
17383         (gst_tee_handle_buffer):
17384         Always prefer an actual return value from a src
17385         pad in place of NOT_LINKED. This means we return
17386         WRONG_STATE when all src pads are WRONG_STATE
17387         instead of NOT_LINKED.
17388
17389         Lock when replacing the last message to prevent
17390         racing with the get_property method.
17391
17392         Add debug output
17393
17394 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17395
17396         * tests/check/Makefile.am:
17397         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17398         (main):
17399         Add a very simple check that should have caught the memleak I fixed
17400         last night (if not for the slice allocator hiding it)
17401
17402 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17403
17404         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17405         (gst_bin_remove_func), (gst_bin_handle_message_func),
17406         (bin_query_duration_fold), (bin_query_generic_fold):
17407         Clean up references to the clock provider when disposed or when
17408         handling a clock-lost message from it.
17409
17410         Unref sinks when performing a query via gst_iterator_fold, as the
17411         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17412
17413         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17414         (gst_clock_set_master):
17415         Drop our reference to the master clock, if any, when we are disposed.
17416
17417         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17418         Chain up in dispose. 
17419
17420 2006-01-26  Wim Taymans  <wim@fluendo.com>
17421
17422         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17423         Add some debugging.
17424
17425 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17426
17427         * plugins/elements/gsttee.c: (gst_tee_do_push),
17428         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17429         handles pad being NOT_LINKED or in WRONG_STATE.
17430
17431 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17432
17433         * win32/MANIFEST:
17434           more updating
17435
17436 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17437
17438         * win32/MANIFEST:
17439           remove obsolete entry
17440
17441 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17442
17443         * docs/gst/gstreamer-sections.txt:
17444         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17445         (gst_bin_iterate_sources), (gst_bin_send_event):
17446         * gst/gstbin.h:
17447         * gst/gstelement.c: (gst_element_send_event):
17448         * gst/gstevent.c:
17449         * gst/gstpad.c: (gst_pad_send_event):
17450           added code for downstream events, reviewed docs in gstevent.c
17451
17452 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17453
17454         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17455         We only query position using the clock in the playing state.
17456         Query peer in the other cases.
17457         * win32/common/config.h: Updates.
17458
17459 2006-01-24  Wim Taymans  <wim@fluendo.com>
17460
17461         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17462         A clock entry that is scheduled for the exact time of the
17463         clock is still in time.
17464
17465         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17466         (gst_base_sink_do_sync):
17467         Add some more debug info.
17468
17469 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17470
17471         * win32/vs7:
17472           Add new vs7 project files and solution.
17473
17474 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17475
17476         * win32/vs7:
17477           all files removed as they were out-dated.
17478
17479 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17480
17481         * docs/random/release:
17482           update notes
17483         * gst/gstbin.c: (gst_bin_init):
17484         * gst/gstbus.c: (gst_bus_new):
17485         * gst/gstbus.h:
17486         * gst/gstpipeline.c: (gst_pipeline_init):
17487           use gst_bus_new(), improve logging, fix docs
17488         * win32/common/config.h:
17489           update for cvs build
17490
17491 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17492
17493         * autogen.sh:
17494           up required version of automake to 1.7
17495
17496 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17497
17498         * win32/common/libgstreamer.def:
17499           export gst_buffer_is_metadata_writable
17500
17501 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17502
17503         * docs/gst/gstreamer-sections.txt:
17504         * gst/gstevent.h:
17505           Add gst_event_replace() (#327001)
17506
17507 2006-01-20  Wim Taymans  <wim@fluendo.com>
17508
17509         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17510         Make it actually compile too..
17511
17512 2006-01-20  Wim Taymans  <wim@fluendo.com>
17513
17514         * gst/gstcaps.c:
17515         Clarify behaviour of _is_equal() when passing NULL parameters.
17516
17517         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17518         (gst_pad_set_caps):
17519         Cleanups. Don't unref NULL caps.
17520         When setting the same caps, protect caps of the pad with
17521         proper lock.
17522         Use full functionality of _is_equal() when comparing caps.
17523
17524 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17525
17526         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17527         Don't loop infinitely if there are no buffers to present. Partially
17528         fixes #327197, but collectpads is just broken for reusing elements
17529         to do multiple encodes atm.
17530
17531 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17532
17533         * tools/gst-inspect.c: (print_element_features):
17534         * tools/gst-xmlinspect.c: (main):
17535         URL_HANDLER is not a plugin feature we can search for in
17536         the registry.
17537
17538 2006-01-19  Edward Hervey  <edward@fluendo.com>
17539
17540         * gst/gstelement.c: (gst_element_pads_activate): 
17541         When activating, do src pads first, then sink pads.
17542         When de-activating, do sink pads first, then src pads.
17543
17544 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17545
17546         * docs/gst/gstreamer-sections.txt:
17547         Add gst_index_add_associationv to the docs
17548
17549 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17550
17551         * gst/gstevent.c:
17552           Fix docs typo
17553
17554         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17555         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17556           Do some refactoring. Doesn't actually change functionality,
17557           but makes landing the DRAIN event easier later.
17558
17559 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17560
17561         * docs/pwg/advanced-scheduling.xml:
17562           Update from 0.9.x to 0.10 API and make example a bit
17563           clearer.
17564
17565 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17566
17567         * docs/gst/gstreamer-sections.txt:
17568         Add gst_buffer_(is|make)_metadata_writable methods.
17569
17570 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17571
17572         * docs/design/part-sparsestreams.txt:
17573         Update sparse streams doc, hopefully for greater clarity
17574
17575 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17576
17577         * docs/design/part-events.txt:
17578         Remove mention of FILLER events.
17579         Add DRAIN event.
17580
17581         * docs/design/part-sparsestreams.txt:
17582         Write some things about using NEWSEGMENT to keep sparse streams
17583         flowing.
17584
17585 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17586
17587         * gst/gstbin.c: (gst_bin_dispose):
17588           Guard gst_object_unref call against a NULL object (dispose
17589           can theoretically be called multiple times).
17590           
17591 2006-01-18  Wim Taymans  <wim@fluendo.com>
17592
17593         * gst/gstbin.c: (gst_bin_element_set_state):
17594         * gst/gstclock.c: (gst_clock_id_wait):
17595         Added some more debug info.
17596
17597         * libs/gst/base/gstadapter.c:
17598         Added more docs.
17599
17600         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17601         (gst_base_sink_do_sync), (gst_base_sink_chain):
17602         Added some comments.
17603
17604 2006-01-18  Wim Taymans  <wim@fluendo.com>
17605
17606         * tests/check/Makefile.am:
17607         * tests/check/elements/fakesink.c: (chain_async_buffer),
17608         (chain_async), (chain_async_return), (GST_START_TEST),
17609         (fakesink_suite), (main):
17610         Added fakesink test that checks prerolling and clipping
17611         behaviour.
17612
17613         * tests/check/gst/gstutils.c: (GST_START_TEST):
17614         Make check run faster so that buildbots don't timeout.
17615
17616 2006-01-18  Wim Taymans  <wim@fluendo.com>
17617
17618         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17619         (gst_base_sink_do_sync):
17620         Some cleanups.
17621         When the sink finishes blocking on the preroll buffer, it can
17622         immediatly render it instead of rendering when the next buffer
17623         arrives.
17624
17625 2006-01-18  Wim Taymans  <wim@fluendo.com>
17626
17627         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17628         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17629         (gst_base_sink_chain):
17630         Small cleanups.
17631         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17632         Don't store _last_stop if the buffer is dropped.
17633
17634 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17635
17636         * plugins/elements/gsttypefindelement.c:
17637         (gst_type_find_element_class_init):
17638           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17639           object method handler that sets the caps on the pad and we want
17640           that to happen before we emit the signal (fixes e.g. feeding a
17641           plain text file to decodebin).
17642
17643 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17644
17645         * gst/gstplugin.c: Add MPL and Proprietary as license options
17646
17647 2006-01-18  Andy Wingo  <wingo@pobox.com>
17648
17649         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17650         symbol was exported before, it appears this was just an oversight.
17651         Fixes #168703.
17652         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17653
17654         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17655         prototype to gint. OK since this prototype was not in the header.
17656
17657 2006-01-17  Andy Wingo  <wingo@pobox.com>
17658
17659         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17660         registry while we remove plugins.
17661
17662         * tools/gst-inspect.c (print_element_info): Don't unref the
17663         factory arg, that should be the responsibility of whatever code
17664         received the ref. Fixes a double-free when called from
17665         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17666         (main): Unref the factory if we have one.
17667         (print_element_list): No change -- relies on the
17668         plugin_feature_list_free to free the list of features.
17669
17670 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17671
17672         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17673         (gst_buffer_make_metadata_writable):
17674         * gst/gstbuffer.h:
17675         * libs/gst/base/gstbasetransform.c:
17676         (gst_base_transform_prepare_output_buf):
17677         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17678         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17679           Replace gst_buffer_(make|is)_metadata_writable patch now
17680           that the release is out.
17681
17682 2006-01-17  Andy Wingo  <wingo@pobox.com>
17683
17684         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17685         in the present tense without reference to versions.
17686
17687         * gst/gstregistry.c (gst_registry_add_plugin)
17688         (gst_registry_remove_plugin, gst_registry_remove_feature)
17689         (gst_registry_find_feature, gst_registry_get_feature_list)
17690         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17691         (gst_registry_lookup, gst_registry_scan_path)
17692         (_gst_registry_remove_cache_plugins)
17693         (gst_registry_get_feature_list_by_plugin): Add argument
17694         validation.
17695
17696 === release 0.10.2 ===
17697
17698 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
17699
17700         * configure.ac:
17701           releasing 0.10.2, "If man is five"
17702
17703 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17704
17705         * gst/gstbuffer.c:
17706         * gst/gstbuffer.h:
17707         * libs/gst/base/gstbasetransform.c:
17708         (gst_base_transform_prepare_output_buf):
17709         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17710         * tests/check/gst/gstbuffer.c: (gst_test_suite):
17711           Back out patch until after the release.
17712
17713 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17714
17715         * gst/gstminiobject.c:
17716           Spelling fix in docs.
17717         * ChangeLog - remove conflict indicator
17718
17719 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17720
17721         Reviewed By: Andy Wingo
17722
17723         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17724         (gst_buffer_make_metadata_writable):
17725         * gst/gstbuffer.h:
17726           Add gst_buffer_(is|make)_metadata_writable as analogues of
17727           gst_buffer_(is|make)_writable.
17728
17729         * libs/gst/base/gstbasetransform.c:
17730         (gst_base_transform_prepare_output_buf):
17731         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17732           Use name gst_buffer_(is|make)_metadata_writable functions.
17733
17734         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17735           Test gst_buffer_(is|make)_metadata_writable
17736         
17737           (Closes: #324162)
17738
17739 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17740
17741         * docs/manual/Makefile.am:
17742           don't do parallel make
17743         * configure.ac:
17744           AC_SUBST HOST_CPU
17745         * win32/common/config.h.in:
17746           add generations for HOST_CPU and GST_MAJORMINOR
17747         * win32/common/config.h:
17748           commit generated result
17749
17750 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
17751
17752         * docs/manual/appendix-integration.xml:
17753           Update GNOME integration section to use gst_init_get_option_group()
17754           instead of the old popt stuff (#322911). Also, GNOME applications
17755           should  now use gconf*sink and gconf*src instead of the old gconf
17756           helper lib we had.
17757
17758 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
17759
17760
17761         * docs/gst/gstreamer-docs.sgml:
17762         * docs/gst/gstreamer-sections.txt:
17763         * docs/libs/gstreamer-libs-sections.txt:
17764           add new API entries to the docs
17765         * libs/gst/controller/Makefile.am:
17766         * libs/gst/controller/gstcontroller.c:
17767         * libs/gst/controller/gstcontroller.h:
17768         * libs/gst/controller/gstcontrollerprivate.h:
17769         * libs/gst/controller/gsthelper.c:
17770         * libs/gst/controller/gstinterpolation.c:
17771           move private structs to private header
17772         * po/README:
17773           gstreamer-0.7 -> gstreamer-0.10
17774         * tests/check/libs/struct_i386.h:
17775           remove private structs
17776
17777 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17778
17779         * plugins/indexers/Makefile.am:
17780           Fixes as part of #317048
17781
17782 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17783
17784         * plugins/indexers/Makefile.am:
17785           fix #316086 - compilation when mmap is missing
17786
17787 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
17788
17789         * libs/gst/base/gstbasesink.c:
17790           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
17791           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17792         * win32/common/config.h:
17793           added some defines GST_MAJORMINOR and HOST_CPU
17794         * win32/common/libgstbase.def:
17795         * win32/common/libgstreamer.def:
17796           added some exported functions.
17797
17798 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17799
17800         * libs/gst/controller/gstcontroller.c:
17801         (gst_controlled_property_set_interpolation_mode),
17802         (gst_controlled_property_new):
17803         * libs/gst/controller/gstcontroller.h:
17804         * libs/gst/controller/gstinterpolation.c:
17805         (interpolate_none_get_string_value_array):
17806           make G_TYPE_STRING controlable
17807
17808 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17809
17810         * tools/README:
17811         * tools/gst-feedback.1.in:
17812         * tools/gst-inspect.1.in:
17813         * tools/gst-launch.1.in:
17814         * tools/gst-md5sum.1.in:
17815         * tools/gst-typefind.1.in:
17816         * tools/gst-xmlinspect.1.in:
17817         * tools/gst-xmllaunch.1.in:
17818           cleanup man-pages, remove reference to gst-register, document env-vars
17819
17820 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
17821
17822         * gst/gstbuffer.c: (gst_buffer_span):
17823           gst_buffer_span should copy the timestamp of the first buffer
17824           if they were both originally overlapping subbuffers of the 
17825           same parent, using the same logic as the 'slow copy' case.
17826
17827 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
17828
17829         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17830           Need to awaken ALL the pads when we pop a buffer, otherwise
17831           collectpads only works when there is 2 input streams.
17832
17833 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
17834
17835         * docs/random/ensonic/media-device-daemon.txt:
17836           more ideas (dbus)
17837         * gst/gstbuffer.c:
17838           fix doc example, add clarification
17839         * tools/gst-launch.1.in:
17840           add initial info about GST_PLUGIN_PATH, needs more work
17841
17842 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
17843
17844         * docs/manual/basics-bins.xml:
17845         * docs/manual/basics-elements.xml:
17846         * docs/manual/intro-basics.xml:
17847           Some more minor docs additions and updates.
17848
17849 2006-01-11  Wim Taymans  <wim@fluendo.com>
17850
17851         * docs/manual/basics-bins.xml:
17852         * docs/manual/basics-elements.xml:
17853         Some small fixes as pointed out by Ser-ver on IRC.
17854
17855 2006-01-10  Edward Hervey  <edward@fluendo.com>
17856
17857         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17858         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17859         the single-segment mode.
17860
17861 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
17862
17863         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17864
17865         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17866         (gst_base_src_perform_seek), (gst_base_src_send_event),
17867         (gst_base_src_set_property), (gst_base_src_get_property),
17868         (gst_base_src_loop), (gst_base_src_start),
17869         (gst_base_src_activate_push):
17870         * libs/gst/base/gstbasesrc.h:
17871           Name (private) union; makes Sun's Forte compiler happy (#324900).
17872
17873 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
17874
17875         * README:
17876           gst-register is gone.
17877
17878 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17879
17880         * gst/gstvalue.c: (_gst_value_initialize):
17881           make the G_TYPE_DATE instantiation work if debug is disabled
17882
17883 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
17884
17885         * gst/gstmessage.c: (gst_message_parse_tag),
17886         (gst_message_parse_error), (gst_message_parse_warning):
17887           Don't crash when return location for error/warning debug
17888           string is NULL; add fact that return locations can be
17889           NULL to docs where appropriate.
17890
17891 2006-01-05  Wim Taymans  <wim@fluendo.com>
17892
17893         * gst/gstplugin.c: (gst_plugin_load_file):
17894         Replace strdup by g_strdup.
17895
17896 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17897
17898         * docs/pwg/advanced-types.xml:
17899           fix doc borkage
17900
17901 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17902
17903         submitted by: Abel Cheung
17904
17905         * po/LINGUAS:
17906         * po/zh_TW.po:
17907           Added Chinese (traditional) translation
17908
17909 2006-01-04  Wim Taymans  <wim@fluendo.com>
17910
17911         * docs/manual/basics-pads.xml:
17912         * docs/plugins/Makefile.am:
17913         * docs/plugins/gstreamer-plugins-docs.sgml:
17914         * docs/plugins/gstreamer-plugins-sections.txt:
17915         * docs/pwg/advanced-clock.xml:
17916         * docs/pwg/advanced-scheduling.xml:
17917         * docs/pwg/advanced-types.xml:
17918         * plugins/elements/gstfdsink.c:
17919         * plugins/elements/gstfdsrc.c:
17920         * plugins/elements/gstfdsrc.h:
17921         * plugins/elements/gstidentity.c: (gst_identity_class_init):
17922         * plugins/elements/gstidentity.h:
17923         * plugins/elements/gstqueue.h:
17924         * plugins/elements/gsttee.c:
17925         * plugins/elements/gsttee.h:
17926         * plugins/elements/gsttypefindelement.c:
17927         (gst_type_find_element_class_init):
17928         * plugins/elements/gsttypefindelement.h:
17929         Small updates to various docs.
17930         Added core plugins to docs.
17931
17932 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17933
17934         * common/gst.supp:
17935           add a suppression for liboil's uninitialized variable
17936
17937 2006-01-02  James Livingston  <jrl at ids dot org dot au>
17938
17939         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17940
17941         * gst/gstutils.h:
17942           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
17943           macro, so that gcc doesn't complain if the -Wmissing-prototypes
17944           compiler switch is being used (#325429).
17945
17946 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
17947
17948         * gst/gstbin.c: (gst_bin_query):
17949           Disable duration query caching in bins until it gets
17950           fixed (see #324807).
17951
17952 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
17953
17954         * tools/gst-inspect.c: (print_element_properties_info):
17955           Handle properties of POINTER and BOXED type.
17956
17957 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
17958
17959         * gst/gst.c: (init_post):
17960           Init tags stuff and some other things before loading
17961           any static plugins (there may be other static plugins
17962           than just the GStreamer ones, and they may want to
17963           register their own tags or formats or whatever, and
17964           preferably without segfaulting).
17965
17966         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
17967           Print at least a warning in the debug logs if we drop a
17968           query just because we don't know how to adjust the value
17969           in the particular format.
17970
17971 2005-12-24  David Schleef  <ds@schleef.org>
17972
17973         * tools/gstreamer-completion:
17974           Replacement for gst-complete written in sh and sed.  Only
17975           completes names of features, but that's 90% of what I want
17976           it for.  Properties are not available in registry.xml.  (Maybe
17977           they should be...)
17978
17979 === release 0.10.1 ===
17980
17981 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
17982
17983         * configure.ac:
17984           releasing 0.10.1, "Nollaig chridheil"
17985
17986 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
17987
17988         * docs/faq/cvs.xml:
17989           Add missing quote, should be make ERROR_CFLAGS="".
17990
17991 2005-12-20  Wim Taymans  <wim@fluendo.com>
17992
17993         * docs/design/part-trickmodes.txt:
17994         More documentation on trickmodes.
17995
17996 2005-12-20  Edward Hervey  <edward@fluendo.com>
17997
17998         * gst/gstcaps.c: (gst_static_caps_get_type):
17999         * gst/gstcaps.h:
18000           API addition: GST_TYPE_STATIC_CAPS
18001         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18002         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18003         * gst/gstpadtemplate.h:
18004           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18005         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18006         bindings.
18007
18008 2005-12-18  Wim Taymans  <wim@fluendo.com>
18009
18010         * libs/gst/base/gstadapter.c:
18011         * libs/gst/base/gstadapter.h:
18012         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18013         (gst_base_sink_get_position):
18014         * libs/gst/base/gstbasesink.h:
18015         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18016         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18017         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18018         (gst_base_src_send_event), (gst_base_src_update_length),
18019         (gst_base_src_get_range), (gst_base_src_loop),
18020         (gst_base_src_start):
18021         * libs/gst/base/gstbasesrc.h:
18022         * libs/gst/base/gstbasetransform.h:
18023         * libs/gst/base/gstcollectpads.h:
18024         * libs/gst/base/gstpushsrc.c:
18025         * libs/gst/base/gstpushsrc.h:
18026         * libs/gst/dataprotocol/dataprotocol.c:
18027         * libs/gst/dataprotocol/dataprotocol.h:
18028         * libs/gst/net/gstnetclientclock.h:
18029         * libs/gst/net/gstnettimeprovider.h:
18030         Documentation updates.
18031
18032 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18033
18034         * docs/manual/basics-helloworld.xml:
18035           Remove superfluous closing bracket in helloworld example.
18036
18037 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18038
18039         * tools/gst-launch.1.in:
18040           Update gst-launch man page; add a section with useful
18041           environment variables. Fixes #323882.
18042
18043 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18044
18045         * gst/gst.c:
18046         * gst/gst_private.h:
18047           change some char* into char[]
18048
18049 2005-12-16  Wim Taymans  <wim@fluendo.com>
18050
18051         * gst/gstregistryxml.c: (load_feature):
18052         Cleanups.
18053         Don't use g_object_unref on GstObjects so that we avoid
18054         leaks on unsafe glibs.
18055
18056 2005-12-16  Wim Taymans  <wim@fluendo.com>
18057
18058         * gst/gstbin.c: (gst_bin_recalc_state):
18059         Small doc updates.
18060
18061 2005-12-16  Wim Taymans  <wim@fluendo.com>
18062
18063         * common/check.mak:
18064         Added make forever target for check.
18065
18066 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18067
18068         * gst/gst.c: (init_post):
18069           make the registry cache file HOST_CPU-dependent
18070
18071 2005-12-16  Andy Wingo  <wingo@pobox.com>
18072
18073         * plugins/elements/gstbufferstore.c
18074         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18075         return value.
18076
18077         * tests/check/gst/gstobject.c
18078         (test_fake_object_name_threaded_unique): Pay attention to
18079         g_list_sort return value.
18080
18081 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18082
18083         * tools/gst-feedback-m.m:
18084           Update for 0.9/0.10 (fixes #323870).
18085
18086 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18087
18088         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18089           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18090           
18091         * tests/check/gst/gstminiobject.c: (my_foo_init),
18092         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18093         (test_value_collection), (gst_mini_object_suite):
18094           Add test to ensure refcounts end up as expected when passing
18095           GstMiniObjects through g_object_get() and g_object_set().
18096
18097 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18098
18099         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18100         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18101         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18102         of collectpads. This version removes a lot of races without
18103         touching API/ABI. Yay !
18104
18105 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18106
18107         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18108           Don't allow activation of a srcpad in pull_range if it has no
18109           getrange function.
18110           Change some debug statements to be a little clearer
18111
18112         * plugins/elements/gsttypefindelement.c:
18113         (gst_type_find_handle_src_query):
18114           Check that we have a peer before executing queries thereupon.
18115
18116         * tests/examples/metadata/read-metadata.c: (message_loop):
18117           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18118           immediately return us any available message with 0 timeout.
18119
18120 2005-12-12  Michael Smith  <msmith@fluendo.com>
18121
18122         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18123           Don't unref factories after calling them.
18124         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18125         * plugins/elements/gsttypefindelement.c:
18126         (gst_type_find_element_chain):
18127           Free lists of factories after using them. Fixing typefinding memory
18128           leaks.
18129
18130 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18131
18132         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18133         (gst_plugin_feature_load):
18134           more meaningful debug output
18135         * configure.ac:
18136         * tests/Makefile.am:
18137         * tests/old/examples/Makefile.am:
18138           make make distcheck happy again
18139
18140 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18141
18142         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18143           Catch the special case where we are operating chain-based,
18144           but the downstream peer pad has no chain function. Emit a
18145           custom error message in this case instead of letting the
18146           core generate one implying that this is some sort of core
18147           bug. It's not, it just means that whatever got plugged
18148           into the pipeline downstream when we announced the type
18149           can only operate pull-based, while our source can only
18150           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18151           Error string has not been marked for translation yet, as
18152           it probably needs some more work first.
18153
18154         (gst_type_find_element_get_best_possibility):
18155           Add helper function to find the best of all available
18156           found possibilities that qualify given the min. threshold.
18157
18158         (gst_type_find_element_handle_event):
18159           Fix the case where we get an EOS while still in TYPEFIND
18160           mode (we want to chose the best of all possible types,
18161           not just the first type that happens to be in our unsorted
18162           list of possible types).
18163
18164         (gst_type_find_element_chain):
18165           Make sure we return GST_FLOW_ERROR when we errored out
18166           in stop_typefinding(); also, don't just find the best of
18167           all found type entries and then use the last examined
18168           type entry, but actually use the best entry.
18169
18170 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18171
18172         * tests/examples/typefind/typefind.c: (type_found):
18173         * tests/examples/xml/runxml.c: (xml_loaded):
18174           More gcc4 fixes and a mem leak fix.
18175
18176 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18177
18178         * tests/examples/xml/createxml.c: (object_saved):
18179           gcc 4 fixes
18180
18181 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18182
18183         * tests/Makefile.am:
18184           enable the examples even more
18185
18186 2005-12-12  Andy Wingo  <wingo@pobox.com>
18187
18188         * libs/gst/net/gstnettimeprovider.c
18189         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18190         (gst_net_time_provider_set_property)
18191         (gst_net_time_provider_get_property):
18192         API addition: Export "active" as a GObject property.
18193         (gst_net_time_provider_thread): Only respond to time queries if
18194         the time provider is active.
18195
18196         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18197         NetTimeProvider, preserving binary compat.
18198
18199 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18200
18201         * tests/examples/controller/audio-example.c: (main):
18202         * tests/examples/launch/Makefile.am:
18203           convert comments again
18204
18205 2005-12-12  Wim Taymans  <wim@fluendo.com>
18206
18207         * libs/gst/base/gstpushsrc.c:
18208         Fix typo.
18209
18210 2005-12-12  Wim Taymans  <wim@fluendo.com>
18211
18212         * docs/libs/gstreamer-libs-sections.txt:
18213         Added new symbol to docs.
18214
18215         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18216         (gst_base_src_init), (gst_base_src_set_format),
18217         (gst_base_src_default_query), (gst_base_src_query),
18218         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18219         (gst_base_src_perform_seek), (gst_base_src_send_event),
18220         (gst_base_src_default_event), (gst_base_src_event_handler),
18221         (gst_base_src_set_property), (gst_base_src_get_property),
18222         (gst_base_src_wait), (gst_base_src_do_sync),
18223         (gst_base_src_update_length), (gst_base_src_get_range),
18224         (gst_base_src_check_get_range), (gst_base_src_loop),
18225         (gst_base_src_default_negotiate), (gst_base_src_start),
18226         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18227         (gst_base_src_change_state):
18228         * libs/gst/base/gstbasesrc.h:
18229         Implement seeking to other formats than _BYTES.
18230         Implement more seeking methods correctly.
18231         Doc updates.
18232         Added query vmethod.
18233         Added do_seek vmethod to make life easier for subclasses
18234         when seeking.
18235         API addition: gst_base_src_set_format()
18236
18237 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18238
18239         * tests/examples/Makefile.am:
18240           added that too
18241
18242 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18243
18244         * configure.ac:
18245         * docs/random/ensonic/media-device-daemon.txt:
18246         * tests/examples/controller/.cvsignore:
18247         * tests/examples/controller/Makefile.am:
18248         * tests/examples/controller/audio-example.c: (main):
18249         * tests/examples/helloworld/.cvsignore:
18250         * tests/examples/helloworld/Makefile.am:
18251         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18252         * tests/examples/launch/.cvsignore:
18253         * tests/examples/launch/Makefile.am:
18254         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18255         * tests/examples/metadata/.cvsignore:
18256         * tests/examples/metadata/Makefile.am:
18257         * tests/examples/metadata/read-metadata.c: (message_loop),
18258         (make_pipeline), (print_tag), (main):
18259         * tests/examples/queue/.cvsignore:
18260         * tests/examples/queue/Makefile.am:
18261         * tests/examples/queue/queue.c: (event_loop), (main):
18262         * tests/examples/typefind/.cvsignore:
18263         * tests/examples/typefind/Makefile.am:
18264         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18265         (main):
18266         * tests/examples/xml/.cvsignore:
18267         * tests/examples/xml/Makefile.am:
18268         * tests/examples/xml/createxml.c: (object_saved), (main):
18269         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18270         * tests/old/examples/Makefile.am:
18271         * tests/old/examples/TODO:
18272         * tests/old/examples/controller/.cvsignore:
18273         * tests/old/examples/controller/Makefile.am:
18274         * tests/old/examples/controller/audio-example.c:
18275         * tests/old/examples/helloworld/.cvsignore:
18276         * tests/old/examples/helloworld/Makefile.am:
18277         * tests/old/examples/helloworld/helloworld.c:
18278         * tests/old/examples/launch/.cvsignore:
18279         * tests/old/examples/launch/Makefile.am:
18280         * tests/old/examples/launch/mp3parselaunch.c:
18281         * tests/old/examples/launch/mp3play:
18282         * tests/old/examples/manual/Makefile.am:
18283         * tests/old/examples/metadata/Makefile.am:
18284         * tests/old/examples/metadata/read-metadata.c:
18285         * tests/old/examples/queue/.cvsignore:
18286         * tests/old/examples/queue/Makefile.am:
18287         * tests/old/examples/queue/queue.c:
18288         * tests/old/examples/typefind/.cvsignore:
18289         * tests/old/examples/typefind/Makefile.am:
18290         * tests/old/examples/typefind/typefind.c:
18291         * tests/old/examples/xml/.cvsignore:
18292         * tests/old/examples/xml/Makefile.am:
18293         * tests/old/examples/xml/createxml.c:
18294         * tests/old/examples/xml/runxml.c:
18295           applied some simple fixing to some examples
18296           re-enabled the working examples
18297
18298 2005-12-12  Wim Taymans  <wim@fluendo.com>
18299
18300         * gst/gstsegment.c: (gst_segment_init),
18301         (gst_segment_set_last_stop), (gst_segment_set_seek),
18302         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18303         (gst_segment_to_running_time):
18304         Added more documentation.
18305         Make sure the last_pos value is updated properly.
18306         Make sure to_stream_time and to_running_time don't
18307         operate on wrong values.
18308
18309         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18310         Update check.
18311
18312 2005-12-12  Michael Smith  <msmith@fluendo.com>
18313
18314         * plugins/elements/gsttypefindelement.c: (free_entry),
18315         (gst_type_find_element_chain):
18316           Now that we're not leaking factories, make sure we keep references
18317           to them while we need them.
18318
18319 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18320
18321         * tests/check/gst/struct_i386.h:
18322           ifdef out the XML structs
18323
18324 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18325
18326         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18327           floor is not needed, F is always positive; this obviates the
18328           need for adding -lm when building without libxml
18329
18330 2005-12-12  Wim Taymans  <wim@fluendo.com>
18331
18332         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18333         Take current playback rate into account when reporting
18334         the position.
18335
18336 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18337
18338         * docs/manual/mime-world.fig:
18339           Let's try this again, this time with a file that is
18340           actually in XFig format.
18341
18342 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18343
18344         * docs/manual/mime-world.fig:
18345           Add audioconvert element to diagram so that it
18346           matches the text and the code (fixes #319526).
18347
18348 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18349
18350         * docs/pwg/building-chainfn.xml:
18351         * docs/pwg/building-pads.xml:
18352         * docs/pwg/building-state.xml:
18353         * docs/pwg/other-source.xml:
18354           Update state change stuff for 0.10 (fixes #322969).
18355
18356 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18357
18358         * docs/manual/advanced-dataaccess.xml:
18359         * docs/manual/appendix-checklist.xml:
18360         * docs/manual/appendix-programs.xml:
18361         * docs/manual/basics-pads.xml:
18362         * docs/manual/highlevel-components.xml:
18363         * docs/manual/manual.xml:
18364           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18365           add converters in front of pipelines; remove curly
18366           brackets for threads stuff, they no longer exist; use
18367           GST_TYPE_FRACTION for framerates; update some pieces of
18368           code to 0.10, but there's plenty more to do.
18369
18370         * docs/manual/appendix-porting.xml:
18371           Expand on asynchroneous state changes; s/0.9/0.10/;
18372           mention disappearance of gst_init_get_popt_table()
18373           (fixes #322916).
18374
18375 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18376
18377         * docs/faq/using.xml:
18378           Spider no longer exists, and neither does gst-launch-ext.
18379           Update examples to use decodebin and playbin and put
18380           converters in front of sinks (fixes #323726).
18381
18382 2005-12-09  Michael Smith  <msmith@fluendo.com>
18383
18384         * plugins/elements/gsttypefindelement.c: (find_peek),
18385         (gst_type_find_element_chain):
18386           Fix leaking element factories in typefinding.
18387           Fix problem where we forgot about a probable type on non-seekable
18388           files, and thus later mis-typefound it.
18389
18390 2005-12-09  Michael Smith  <msmith@fluendo.com>
18391
18392         * common/m4/gst-makecontext.m4:
18393         * common/m4/gst-mcsc.m4:
18394         * configure.ac:
18395         * win32/common/config.h:
18396         * win32/common/config.h.in:
18397           Remove makecontext stuff; not used in 0.10 and causes problems on
18398           HPUX according to bug #322441
18399
18400 2005-12-07  Wim Taymans  <wim@fluendo.com>
18401
18402         * tests/check/Makefile.am:
18403         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18404         (main):
18405         * tests/check/libs/struct_i386.h:
18406         Added ABI check for libs
18407
18408 2005-12-07  Wim Taymans  <wim@fluendo.com>
18409
18410         * tests/check/Makefile.am:
18411         And add the struct_i386.h to dist.
18412
18413 2005-12-07  Wim Taymans  <wim@fluendo.com>
18414
18415         * tests/check/Makefile.am:
18416         * tests/check/gst/.cvsignore:
18417         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18418         (main):
18419         * tests/check/gst/struct_i386.h:
18420         Added check for ABI compatibility.
18421
18422 2005-12-07  Wim Taymans  <wim@fluendo.com>
18423
18424         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18425         (gst_fake_src_get_times), (gst_fake_src_create):
18426         Fix broken sync option, fixes #323259
18427
18428 2005-12-07  Wim Taymans  <wim@fluendo.com>
18429
18430         * gst/gstbuffer.c:
18431         Small docs update.
18432
18433         * gst/gstcaps.c: (gst_caps_is_equal):
18434         Don't assert on NULL <--> X. Fixes #323260
18435
18436         * gst/gstminiobject.c: (gst_mini_object_replace):
18437         If we're doing atomic operations, we might just as well use
18438         the proper way to get an atomic pointer.
18439
18440         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18441         Clean up debugging.
18442
18443 2005-12-07  Michael Smith  <msmith@fluendo.com>
18444
18445         * gst/parse/grammar.y:
18446           Remove handling of { } for threads.
18447
18448 2005-12-06  David Schleef  <ds@schleef.org>
18449
18450         * libs/gst/base/gstbasetransform.c: speling fix.
18451
18452 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18453
18454         * docs/libs/tmpl/gstdataprotocol.sgml:
18455         * docs/random/omega/testing/gstobject.c:
18456         * gst/gst.c:
18457         * gst/gstclock.c:
18458         * gst/gstelement.c:
18459         * gst/gstelementfactory.c:
18460         * gst/gsterror.c:
18461         * gst/gstevent.c:
18462         * gst/gstghostpad.c:
18463         * gst/gstinfo.c:
18464         * gst/gstpadtemplate.c:
18465         * gst/gstregistryxml.c:
18466         * gst/gsttaglist.c:
18467         * gst/gsttagsetter.c:
18468         * gst/gsttypefind.c:
18469         * gst/gstvalue.c:
18470         * libs/gst/base/gstbasesrc.c:
18471         * libs/gst/net/gstnetclientclock.c:
18472         * libs/gst/net/gstnettimeprovider.c:
18473         * plugins/elements/gstfakesrc.c:
18474         * plugins/elements/gstfdsrc.c:
18475         * plugins/elements/gstfilesrc.c:
18476         * plugins/elements/gstidentity.c:
18477         * plugins/elements/gstqueue.c:
18478         * plugins/elements/gsttypefindelement.c:
18479         * plugins/indexers/gstfileindex.c:
18480         * plugins/indexers/gstmemindex.c:
18481         * tests/check/gst/gsttag.c:
18482         * tests/old/examples/cutter/cutter.c:
18483         * tests/old/examples/mixer/mixer.c:
18484         * tests/old/examples/xml/runxml.c: (main):
18485         * tests/old/testsuite/caps/normalisation.c:
18486         * tests/old/testsuite/debug/global.c:
18487         * tests/old/testsuite/parse/parse1.c:
18488         * tools/gst-xmlinspect.c:
18489         * win32/common/dirent.c:
18490           expand tabs
18491
18492 === release 0.10.0 ===
18493
18494 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18495
18496         * configure.ac:
18497           releasing 0.10.0, "Maroilles"
18498
18499 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18500
18501         submitted by: Funda Wang <fundawang@linux.net.cn>
18502
18503         * po/LINGUAS:
18504         * po/zh_CN.po:
18505           added Chinese (Traditional) translation
18506
18507 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18508
18509         * docs/gst/gstreamer-sections.txt:
18510         * docs/libs/tmpl/gstdataprotocol.sgml:
18511         * docs/random/thomasvs/TODO:
18512         * gst/gstutils.c:
18513         * gst/gstutils.h:
18514           fix docs
18515
18516 2005-12-05  Andy Wingo  <wingo@pobox.com>
18517
18518         patch by: Wim Taymans <wim@fluendo.com>
18519
18520         * libs/gst/base/gstbasetransform.c
18521         (gst_base_transform_prepare_output_buf)
18522         (gst_base_transform_buffer_alloc):
18523         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18524         alloc_buffer_and_set_caps.
18525
18526         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18527         set_caps on the source pad.
18528         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18529         alloc_buffer used to do. Fixes #322874.
18530
18531         * docs/gst/gstreamer-sections.txt: 
18532         * docs/design/part-negotiation.txt: 
18533         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18534         changes.
18535
18536 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18537
18538         patch by: Sebastien Moutte
18539
18540         * win32/MANIFEST:
18541         * win32/common/config.h.in:
18542         * win32/vs6/libgstcontroller.dsp:
18543           win32 build fixes
18544
18545 2005-12-05  Wim Taymans  <wim@fluendo.com>
18546
18547         * gst/gstcaps.c: (gst_caps_is_equal):
18548         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18549         (gst_fake_src_create):
18550         Back out previous code changes, leave doc updates, file bugs 
18551         instead. 
18552
18553 2005-12-05  Wim Taymans  <wim@fluendo.com>
18554
18555         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18556         (gst_fake_src_get_times), (gst_fake_src_create):
18557         * plugins/elements/gstfakesrc.h:
18558         Fix broken sync code.
18559
18560 2005-12-05  Wim Taymans  <wim@fluendo.com>
18561
18562         * gst/gstcaps.c: (gst_caps_is_equal):
18563         Comparing NULL against !NULL yields different caps, not a
18564         failure.
18565
18566 2005-12-05  Wim Taymans  <wim@fluendo.com>
18567
18568         * gst/gstpipeline.c:
18569         Fix small typo in docs.
18570
18571 2005-12-05  Andy Wingo  <wingo@pobox.com>
18572
18573         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18574
18575         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18576         registries/plugins with a MAJORMINOR one.
18577         (plugin_desc): Rename library from gstcoreleements to
18578         staticelements. Fixes #323222.
18579
18580 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18581
18582         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18583           Change debug category to 'collectpads' from 'collect_pads'
18584           (fixes #323250).
18585
18586 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18587
18588         patch by: Sebastien Moutte
18589
18590         * libs/gst/controller/gstinterpolation.c:
18591           use convert function for uint64/double
18592         * win32/vs6/libgstcontroller.dsp:
18593           link to GLib
18594
18595 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18596
18597         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18598         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18599         * gst/gstutils.h:
18600         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18601           add tests that seem to show that the guint64/gdouble conversions
18602           are correct.
18603
18604 2005-12-02  Wim Taymans  <wim@fluendo.com>
18605
18606         * gst/gstregistry.c: (gst_registry_add_path):
18607         * gst/gstregistry.h:
18608         * gst/gstregistryxml.c:
18609         Fix docs again.
18610
18611 2005-12-02  Wim Taymans  <wim@fluendo.com>
18612
18613         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18614         (gst_util_uint64_scale_int):
18615         Small cleanup.
18616
18617         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18618         Add debug log line.
18619
18620         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18621         Add FIXME.
18622
18623 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18624
18625         * win32/MANIFEST:
18626         * win32/common/config.h:
18627         * win32/vs6/gstreamer.dsw:
18628         * win32/vs6/libgstcoreelements.dsp:
18629         * win32/vs6/libgstelements.dsp:
18630           renamed core elements plugin
18631
18632 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18633
18634         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18635         (get_candidates):
18636           do piece-wise major/minor comparison so 0.9 < 0.10
18637           also allow .exe extensions for tools
18638
18639 2005-12-02  Michael Smith  <msmith@fluendo.com>
18640
18641         * gst/gst.c:
18642           Escape a % to make gtkdoc happier; bug 322958.
18643
18644 === release 0.9.7 ===
18645
18646 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18647
18648         * configure.ac:
18649           releasing 0.9.7, "My Dog Has No Nose"
18650
18651 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18652
18653         * common/gst-xmlinspect.py:
18654         * configure.ac:
18655         * docs/libs/tmpl/gstdataprotocol.sgml:
18656         * docs/random/release:
18657         * po/af.po:
18658         * po/az.po:
18659         * po/bg.po:
18660         * po/ca.po:
18661         * po/cs.po:
18662         * po/de.po:
18663         * po/en_GB.po:
18664         * po/fr.po:
18665         * po/it.po:
18666         * po/nb.po:
18667         * po/nl.po:
18668         * po/ru.po:
18669         * po/sq.po:
18670         * po/sr.po:
18671         * po/sv.po:
18672         * po/tr.po:
18673         * po/uk.po:
18674         * po/vi.po:
18675         * win32/common/config.h:
18676         * win32/common/config.h.in:
18677         * win32/vs6/gst_inspect.dsp:
18678         * win32/vs6/gst_launch.dsp:
18679         * win32/vs6/libgstbase.dsp:
18680         * win32/vs6/libgstelements.dsp:
18681         * win32/vs6/libgstreamer.dsp:
18682         * win32/vs7/GStreamer.vcproj:
18683         * win32/vs7/gst-inspect.vcproj:
18684         * win32/vs7/gst-launch.vcproj:
18685         * win32/vs7/libgstbase.vcproj:
18686           bump GST_MAJORMINOR to 0.10
18687           reset libtool version
18688
18689 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18690
18691         * po/LINGUAS:
18692         * po/bg.po:
18693           Added Bulgarian translation by (Alexander Shopov)
18694
18695 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18696
18697         * tests/check/gst/gstplugin.c:
18698           fix test
18699
18700 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18701
18702         * common/gst-xmlinspect.py:
18703         * common/gtk-doc-plugins.mak:
18704         * configure.ac:
18705         * docs/Makefile.am:
18706         * docs/gst/Makefile.am:
18707         * docs/gst/gstreamer-docs.sgml:
18708         * docs/gst/gstreamer-sections.txt:
18709         * docs/gst/gstreamer.types:
18710         * docs/gst/gstreamer.types.in:
18711         * docs/plugins/Makefile.am:
18712         * docs/plugins/gstreamer-plugins-docs.sgml:
18713         * docs/plugins/gstreamer-plugins-sections.txt:
18714         * docs/plugins/gstreamer-plugins.types:
18715         * docs/plugins/inspect.stamp:
18716         * docs/plugins/inspect/plugin-coreelements.xml:
18717         * docs/plugins/inspect/plugin-coreindexers.xml:
18718         * docs/plugins/scanobj-build.stamp:
18719         * gstreamer.spec.in:
18720         * plugins/elements/Makefile.am:
18721         * plugins/elements/gstelements.c:
18722         * plugins/elements/gstfakesink.c:
18723         * plugins/elements/gstfakesrc.c:
18724         * plugins/elements/gstfilesink.c:
18725         * plugins/elements/gstfilesrc.c:
18726         * plugins/elements/gstqueue.c:
18727         * plugins/indexers/Makefile.am:
18728         * plugins/indexers/gstindexers.c:
18729           document core plugins in a separate document just like all the
18730           others
18731           rename these plugins to something starting with core
18732
18733 2005-12-01  Andy Wingo  <wingo@pobox.com>
18734
18735         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18736         padding here before, but it missed the commit.
18737
18738 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18739
18740         * libs/gst/controller/gstinterpolation.c:
18741           whitespace prices have crashed, we should feel free to use some now
18742           use gst_guint64_to_gdouble
18743
18744 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18745
18746         * libs/gst/controller/gstcontroller.c:
18747         * libs/gst/controller/gsthelper.c:
18748         * libs/gst/controller/gstinterpolation.c:
18749         * libs/gst/controller/lib.c:
18750           wrap config.h include
18751
18752 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18753
18754         * docs/gst/gstreamer-sections.txt:
18755           update docs
18756
18757 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18758
18759         * plugins/elements/gstelements.c:
18760         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18761         (gst_fd_sink__class_init), (gst_fd_sink__init),
18762         (gst_fd_sink__chain), (gst_fd_sink__set_property),
18763         (gst_fd_sink__get_property):
18764         * plugins/elements/gstfdsink.h:
18765         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18766         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18767         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18768         (gst_fd_src_unlock), (gst_fd_src_set_property),
18769         (gst_fd_src_get_property), (gst_fd_src_create),
18770         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18771         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18772         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18773         (gst_fd_src_uri_handler_init):
18774         * plugins/elements/gstfdsrc.h:
18775         * plugins/elements/gstqueue.c: (gst_queue_get_type):
18776           more anal cleanup
18777
18778 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18779
18780         * docs/gst/Makefile.am:
18781         * docs/gst/gstreamer.types.in:
18782         * gst/Makefile.am:
18783           fix the docs build
18784
18785 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18786
18787         * configure.ac:
18788         * gst/Makefile.am:
18789         * gst/gst.c:
18790         * gst/gstplugin.h:
18791         * gst/gstregistry.h:
18792         * tests/benchmarks/complexity.c:
18793         * tests/benchmarks/mass-elements.c:
18794         * tests/check/Makefile.am:
18795         * tools/Makefile.am:
18796         * tools/gst-inspect.c:
18797         * tools/gst-xmlinspect.c:
18798           various fixes to make
18799           --disable-nls --disable-registry --disable-loadsave
18800           --disable-parse --disable-gst-debug
18801           work and get the core .so down to 360444 bytes after stripping
18802
18803 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18804
18805         * Makefile.am:
18806         * configure.ac:
18807           descend into tests
18808         * docs/random/thomasvs/TODO:
18809         * tests/Makefile.am:
18810         * tests/README:
18811           add a README
18812
18813 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18814
18815         * win32/GStreamer.vcproj:
18816         * win32/MANIFEST:
18817         * win32/Makefile:
18818         * win32/Makefile.inspect:
18819         * win32/Makefile.launch:
18820         * win32/Makefile.register:
18821         * win32/README.txt:
18822         * win32/gst-inspect.vcproj:
18823         * win32/gst-launch.vcproj:
18824         * win32/gst-register.vcproj:
18825         * win32/gstelements.vcproj:
18826         * win32/gstgetbits.def:
18827         * win32/gstgetbits.vcproj:
18828         * win32/gstreamer-dbg.def:
18829         * win32/gstreamer.def:
18830         * win32/libgstbase.def:
18831         * win32/libgstbase.vcproj:
18832         * win32/link_oldruntime.c:
18833         * win32/mman.c:
18834         * win32/mman.h:
18835         * win32/mman.inl:
18836         * win32/msvc71.sln:
18837           move even more stuff, win32/ is nice and clean now
18838
18839 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18840
18841         * libs/gst/control/.cvsignore:
18842         * win32/MANIFEST:
18843         * win32/config.h:
18844         * win32/dirent.c:
18845         * win32/dirent.h:
18846         * win32/gstbytestream.def:
18847         * win32/gstbytestream.vcproj:
18848         * win32/gstconfig.h:
18849         * win32/gstenumtypes.c:
18850         * win32/gstenumtypes.h:
18851         * win32/gstoptimalscheduler.vcproj:
18852         * win32/gstversion.h:
18853         * win32/gtchar.h:
18854         * win32/testsuite/bins.vcproj:
18855         * win32/testsuite/bytestream.vcproj:
18856         * win32/testsuite/caps.vcproj:
18857         * win32/testsuite/cleanup.vcproj:
18858         * win32/testsuite/clock.vcproj:
18859         * win32/testsuite/debug.vcproj:
18860         * win32/testsuite/dlopen.vcproj:
18861         * win32/testsuite/dynparams.vcproj:
18862         * win32/testsuite/elements.vcproj:
18863         * win32/testsuite/ghostpads.vcproj:
18864         * win32/testsuite/indexers.vcproj:
18865         * win32/testsuite/negotiation.vcproj:
18866         * win32/testsuite/parse.vcproj:
18867         * win32/testsuite/plugin.vcproj:
18868         * win32/testsuite/refcounting.vcproj:
18869         * win32/testsuite/schedulers.vcproj:
18870         * win32/testsuite/states.vcproj:
18871         * win32/testsuite/tags.vcproj:
18872         * win32/testsuite/threads.vcproj:
18873           remove old win32 stuff that isn't maintained and should be
18874           reorganized
18875
18876 2005-11-30  Andy Wingo  <wingo@pobox.com>
18877
18878         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18879         loading the gst.interfaces python module bork.
18880
18881         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18882         available since GLib 2.2. Fixes #318031.
18883
18884 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18885
18886         * Makefile.am:
18887         * check/.cvsignore:
18888         * check/Makefile.am:
18889         * check/elements/.cvsignore:
18890         * check/elements/fakesrc.c:
18891         * check/elements/fdsrc.c:
18892         * check/elements/identity.c:
18893         * check/generic/.cvsignore:
18894         * check/generic/states.c:
18895         * check/gst-libs/.cvsignore:
18896         * check/gst-libs/controller.c:
18897         * check/gst-libs/gdp.c:
18898         * check/gst/.cvsignore:
18899         * check/gst/capslist.h:
18900         * check/gst/gst.c:
18901         * check/gst/gstbin.c:
18902         * check/gst/gstbuffer.c:
18903         * check/gst/gstbus.c:
18904         * check/gst/gstcaps.c:
18905         * check/gst/gstelement.c:
18906         * check/gst/gstevent.c:
18907         * check/gst/gstghostpad.c:
18908         * check/gst/gstiterator.c:
18909         * check/gst/gstmessage.c:
18910         * check/gst/gstminiobject.c:
18911         * check/gst/gstobject.c:
18912         * check/gst/gstpad.c:
18913         * check/gst/gstpipeline.c:
18914         * check/gst/gstplugin.c:
18915         * check/gst/gstsegment.c:
18916         * check/gst/gststructure.c:
18917         * check/gst/gstsystemclock.c:
18918         * check/gst/gsttag.c:
18919         * check/gst/gstutils.c:
18920         * check/gst/gstvalue.c:
18921         * check/net/.cvsignore:
18922         * check/net/gstnetclientclock.c:
18923         * check/net/gstnettimeprovider.c:
18924         * check/pipelines/.cvsignore:
18925         * check/pipelines/cleanup.c:
18926         * check/pipelines/simple_launch_lines.c:
18927         * check/pipelines/stress.c:
18928         * check/states/.cvsignore:
18929         * check/states/sinks.c:
18930         * configure.ac:
18931         * examples/Makefile.am:
18932         * examples/appreader/.cvsignore:
18933         * examples/appreader/Makefile.am:
18934         * examples/appreader/appreader.c:
18935         * examples/controller/.cvsignore:
18936         * examples/controller/Makefile.am:
18937         * examples/controller/audio-example.c:
18938         * examples/cutter/.cvsignore:
18939         * examples/cutter/Makefile.am:
18940         * examples/cutter/cutter.c:
18941         * examples/cutter/cutter.h:
18942         * examples/events/Makefile.am:
18943         * examples/events/seek.c:
18944         * examples/helloworld/.cvsignore:
18945         * examples/helloworld/Makefile.am:
18946         * examples/helloworld/helloworld.c:
18947         * examples/helloworld2/.cvsignore:
18948         * examples/helloworld2/Makefile.am:
18949         * examples/helloworld2/helloworld2.c:
18950         * examples/launch/.cvsignore:
18951         * examples/launch/Makefile.am:
18952         * examples/launch/mp3parselaunch.c:
18953         * examples/launch/mp3play:
18954         * examples/manual/.cvsignore:
18955         * examples/manual/Makefile.am:
18956         * examples/manual/extract.pl:
18957         * examples/metadata/Makefile.am:
18958         * examples/metadata/read-metadata.c:
18959         * examples/mixer/.cvsignore:
18960         * examples/mixer/Makefile.am:
18961         * examples/mixer/mixer.c:
18962         * examples/mixer/mixer.h:
18963         * examples/pingpong/.cvsignore:
18964         * examples/pingpong/Makefile.am:
18965         * examples/pingpong/pingpong.c:
18966         * examples/plugins/.cvsignore:
18967         * examples/plugins/Makefile.am:
18968         * examples/plugins/example.c:
18969         * examples/plugins/example.h:
18970         * examples/pwg/.cvsignore:
18971         * examples/pwg/Makefile.am:
18972         * examples/pwg/extract.pl:
18973         * examples/queue/.cvsignore:
18974         * examples/queue/Makefile.am:
18975         * examples/queue/queue.c:
18976         * examples/queue2/.cvsignore:
18977         * examples/queue2/Makefile.am:
18978         * examples/queue2/queue2.c:
18979         * examples/queue3/.cvsignore:
18980         * examples/queue3/Makefile.am:
18981         * examples/queue3/queue3.c:
18982         * examples/queue4/.cvsignore:
18983         * examples/queue4/Makefile.am:
18984         * examples/queue4/queue4.c:
18985         * examples/retag/.cvsignore:
18986         * examples/retag/Makefile.am:
18987         * examples/retag/retag.c:
18988         * examples/retag/transcode.c:
18989         * examples/thread/.cvsignore:
18990         * examples/thread/Makefile.am:
18991         * examples/thread/thread.c:
18992         * examples/typefind/.cvsignore:
18993         * examples/typefind/Makefile.am:
18994         * examples/typefind/typefind.c:
18995         * examples/xml/.cvsignore:
18996         * examples/xml/Makefile.am:
18997         * examples/xml/createxml.c:
18998         * examples/xml/runxml.c:
18999         * tests/Makefile.am:
19000         * tests/check/Makefile.am:
19001         * testsuite/.cvsignore:
19002         * testsuite/Makefile.am:
19003         * testsuite/Rules:
19004         * testsuite/caps/.cvsignore:
19005         * testsuite/caps/Makefile.am:
19006         * testsuite/caps/app_fixate.c:
19007         * testsuite/caps/audioscale.c:
19008         * testsuite/caps/caps.c:
19009         * testsuite/caps/caps.h:
19010         * testsuite/caps/caps_strings:
19011         * testsuite/caps/compatibility.c:
19012         * testsuite/caps/deserialize.c:
19013         * testsuite/caps/enumcaps.c:
19014         * testsuite/caps/eratosthenes.c:
19015         * testsuite/caps/filtercaps.c:
19016         * testsuite/caps/fixed.c:
19017         * testsuite/caps/fraction-convert.c:
19018         * testsuite/caps/fraction-multiply-and-zero.c:
19019         * testsuite/caps/intersect2.c:
19020         * testsuite/caps/intersection.c:
19021         * testsuite/caps/normalisation.c:
19022         * testsuite/caps/random.c:
19023         * testsuite/caps/renegotiate.c:
19024         * testsuite/caps/sets.c:
19025         * testsuite/caps/simplify.c:
19026         * testsuite/caps/string-conversions.c:
19027         * testsuite/caps/structure.c:
19028         * testsuite/caps/subtract.c:
19029         * testsuite/caps/union.c:
19030         * testsuite/debug/.cvsignore:
19031         * testsuite/debug/Makefile.am:
19032         * testsuite/debug/category.c:
19033         * testsuite/debug/commandline.c:
19034         * testsuite/debug/global.c:
19035         * testsuite/debug/output.c:
19036         * testsuite/debug/printf_extension.c:
19037         * testsuite/dlopen/.cvsignore:
19038         * testsuite/dlopen/Makefile.am:
19039         * testsuite/dlopen/dlopen_gst.c:
19040         * testsuite/dlopen/loadgst.c:
19041         * testsuite/elements/.cvsignore:
19042         * testsuite/elements/Makefile.am:
19043         * testsuite/elements/gst-inspect-check.in:
19044         * testsuite/elements/struct_i386.h:
19045         * testsuite/elements/struct_size.c:
19046         * testsuite/indexers/.cvsignore:
19047         * testsuite/indexers/Makefile.am:
19048         * testsuite/indexers/cache1.c:
19049         * testsuite/indexers/indexdump.c:
19050         * testsuite/parse/.cvsignore:
19051         * testsuite/parse/Makefile.am:
19052         * testsuite/parse/parse1.c:
19053         * testsuite/parse/parse2.c:
19054         * testsuite/plugin/.cvsignore:
19055         * testsuite/plugin/Makefile.am:
19056         * testsuite/plugin/README:
19057         * testsuite/plugin/dynamic.c:
19058         * testsuite/plugin/linked.c:
19059         * testsuite/plugin/loading.c:
19060         * testsuite/plugin/registry.c:
19061         * testsuite/plugin/static.c:
19062         * testsuite/plugin/static2.c:
19063         * testsuite/plugin/testplugin.c:
19064         * testsuite/plugin/testplugin2.c:
19065         * testsuite/plugin/testplugin2_s.c:
19066         * testsuite/plugin/testplugin_s.c:
19067         * testsuite/refcounting/.cvsignore:
19068         * testsuite/refcounting/Makefile.am:
19069         * testsuite/refcounting/bin.c:
19070         * testsuite/refcounting/element.c:
19071         * testsuite/refcounting/element_pad.c:
19072         * testsuite/refcounting/mainloop.c:
19073         * testsuite/refcounting/mem.c:
19074         * testsuite/refcounting/mem.h:
19075         * testsuite/refcounting/object.c:
19076         * testsuite/refcounting/pad.c:
19077         * testsuite/refcounting/sched.c:
19078         * testsuite/refcounting/thread.c:
19079         * testsuite/states/.cvsignore:
19080         * testsuite/states/Makefile.am:
19081         * testsuite/states/bin.c:
19082         * testsuite/states/locked.c:
19083         * testsuite/states/parent.c:
19084         * testsuite/threads/.cvsignore:
19085         * testsuite/threads/159566.c:
19086         * testsuite/threads/159852.c:
19087         * testsuite/threads/Makefile.am:
19088         * testsuite/threads/queue.c:
19089         * testsuite/threads/signals.c:
19090         * testsuite/threads/staticrec.c:
19091         * testsuite/threads/thread.c:
19092         * testsuite/threads/threadb.c:
19093         * testsuite/threads/threadc.c:
19094         * testsuite/threads/threadd.c:
19095         * testsuite/threads/threade.c:
19096         * testsuite/threads/threadf.c:
19097         * testsuite/threads/threadg.c:
19098         * testsuite/threads/threadh.c:
19099         * testsuite/threads/threadi.c:
19100           move all of these under tests
19101
19102 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19103
19104         * configure.ac:
19105         * tests/Makefile.am:
19106           fix distcheck
19107
19108 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19109
19110         * docs/gst/gstreamer-sections.txt:
19111         * tests/sched/.cvsignore:
19112         * tests/sched/Makefile.am:
19113         * tests/sched/cases/(fs-fs).xml:
19114         * tests/sched/cases/(fs-i-fs).xml:
19115         * tests/sched/cases/(fs-i-i-fs).xml:
19116         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19117         * tests/sched/dynamic-pipeline.c:
19118         * tests/sched/interrupt1.c:
19119         * tests/sched/interrupt2.c:
19120         * tests/sched/interrupt3.c:
19121         * tests/sched/runtestcases:
19122         * tests/sched/runxml.c:
19123         * tests/sched/sched-stress.c:
19124         * tests/sched/sort.c:
19125         * tests/sched/testcases:
19126         * tests/sched/testcases1.tc:
19127         * tests/seeking/.cvsignore:
19128         * tests/seeking/Makefile.am:
19129         * tests/seeking/seeking1.c:
19130         * tests/threadstate/.cvsignore:
19131         * tests/threadstate/Makefile.am:
19132         * tests/threadstate/test1.c:
19133         * tests/threadstate/test2.c:
19134         * tests/threadstate/threadstate1.c:
19135         * tests/threadstate/threadstate2.c:
19136         * tests/threadstate/threadstate3.c:
19137         * tests/threadstate/threadstate4.c:
19138         * tests/threadstate/threadstate5.c:
19139           remove obsolete tests
19140         * configure.ac:
19141         * tests/bench-complexity.scm:
19142         * tests/bench-mass_elements.scm:
19143         * tests/complexity.c:
19144         * tests/complexity.gnuplot:
19145         * tests/instantiate/.cvsignore:
19146         * tests/instantiate/Makefile.am:
19147         * tests/instantiate/caps.c:
19148         * tests/mass_elements.c:
19149         * tests/network-clock-utils.scm:
19150         * tests/network-clock.scm:
19151         * tests/plot-data:
19152         First pass at cleaning up tests/ dir before moving the rest
19153         Combined with CVS surgery
19154
19155 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19156
19157         * po/POTFILES.in:
19158           queue has moved, update
19159
19160 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19161
19162         * docs/gst/gstreamer-sections.txt:
19163           remove double entries from the docs
19164         * gst/gst_private.h:
19165         * gst/gstinfo.c: (_gst_debug_init):
19166           remove the THREAD debug category
19167         * gst/Makefile.am:
19168         * gst/gstqueue.c:
19169         * gst/gstqueue.h:
19170         * docs/gst/gstreamer.types:
19171         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19172         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19173           completely move queue and fix up debugging categories
19174
19175 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19176
19177         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19178           make initialization portable, using LL is not
19179
19180 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19181
19182         * win32/common/gstconfig.h:
19183           add large padding
19184
19185 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19186
19187         * win32/common/libgstreamer.def:
19188           rename symbols; sort base section
19189
19190 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19191
19192         * gst/gstclock.c: (do_linear_regression):
19193           remove crack non-portable handrolled DEBUG macro
19194
19195 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19196
19197         * docs/random/release:
19198           update notes
19199         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19200         (gst_object_flags_get_type), (register_gst_bin_flags),
19201         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19202         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19203         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19204         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19205         (gst_caps_flags_get_type), (register_gst_clock_return),
19206         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19207         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19208         (gst_clock_flags_get_type), (register_gst_state),
19209         (gst_state_get_type), (register_gst_state_change_return),
19210         (gst_state_change_return_get_type), (register_gst_state_change),
19211         (gst_state_change_get_type), (register_gst_element_flags),
19212         (gst_element_flags_get_type), (register_gst_core_error),
19213         (gst_core_error_get_type), (register_gst_library_error),
19214         (gst_library_error_get_type), (register_gst_resource_error),
19215         (gst_resource_error_get_type), (register_gst_stream_error),
19216         (gst_stream_error_get_type), (register_gst_event_type_flags),
19217         (gst_event_type_flags_get_type), (register_gst_event_type),
19218         (gst_event_type_get_type), (register_gst_seek_type),
19219         (gst_seek_type_get_type), (register_gst_seek_flags),
19220         (gst_seek_flags_get_type), (register_gst_format),
19221         (gst_format_get_type), (register_gst_index_certainty),
19222         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19223         (gst_index_entry_type_get_type),
19224         (register_gst_index_lookup_method),
19225         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19226         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19227         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19228         (gst_index_flags_get_type), (register_gst_debug_level),
19229         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19230         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19231         (gst_iterator_result_get_type), (register_gst_iterator_item),
19232         (gst_iterator_item_get_type), (register_gst_message_type),
19233         (gst_message_type_get_type), (register_gst_mini_object_flags),
19234         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19235         (gst_pad_link_return_get_type), (register_gst_flow_return),
19236         (gst_flow_return_get_type), (register_gst_activate_mode),
19237         (gst_activate_mode_get_type), (register_gst_pad_direction),
19238         (gst_pad_direction_get_type), (register_gst_pad_flags),
19239         (gst_pad_flags_get_type), (register_gst_pad_presence),
19240         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19241         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19242         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19243         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19244         (gst_plugin_flags_get_type), (register_gst_rank),
19245         (gst_rank_get_type), (register_gst_query_type),
19246         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19247         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19248         (gst_tag_flag_get_type), (register_gst_task_state),
19249         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19250         (gst_alloc_trace_flags_get_type),
19251         (register_gst_type_find_probability),
19252         (gst_type_find_probability_get_type), (register_gst_uri_type),
19253         (gst_uri_type_get_type), (register_gst_parse_error),
19254         (gst_parse_error_get_type):
19255         * win32/common/gstenumtypes.h:
19256         * win32/common/gstversion.h:
19257           update visual studio generated files
19258
19259 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19260
19261         * win32/vs6/libgstbase.dsp:
19262         * win32/vs6/libgstelements.dsp:
19263           update project files for new locations
19264
19265 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19266
19267         * Makefile.am:
19268           remove some files
19269         * README:
19270           reinstate and update
19271         * DEVEL:
19272         * REQUIREMENTS:
19273           removed
19274         * LICENSE:
19275         * docs/random/LICENSE:
19276           moved to random
19277
19278 2005-11-30  Edward Hervey  <edward@fluendo.com>
19279
19280         * gst/gsttypefind.c: (gst_type_find_register):
19281         * gst/gsttypefind.h:
19282         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19283         (gst_type_find_factory_dispose):
19284         * gst/gsttypefindfactory.h:
19285         Fix memory leak in GstTypeFindFactory.
19286
19287 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19288
19289         * gst/gst.c:
19290         * plugins/elements/Makefile.am:
19291         * plugins/elements/gstelements.c:
19292         * plugins/elements/gstqueue.c:
19293           move queue from core to the elements plugin
19294
19295 2005-11-29  Andy Wingo  <wingo@pobox.com>
19296
19297         * libs/gst/base/gstbasetransform.h: 
19298         * libs/gst/base/gstbasesrc.h: 
19299         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19300
19301         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19302         of pointers by which to pad very extensible base classes (like the
19303         ones in libs/gst/base).
19304
19305 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19306
19307         * docs/gst/gstreamer-docs.sgml:
19308         * docs/gst/gstreamer-sections.txt:
19309         * docs/libs/gstreamer-libs-docs.sgml:
19310         * docs/libs/gstreamer-libs-sections.txt:
19311           moving documentation from core to lib
19312
19313 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19314
19315         * check/Makefile.am:
19316         * configure.ac:
19317         * docs/gst/Makefile.am:
19318         * gst/Makefile.am:
19319         * gst/base/.cvsignore:
19320         * gst/base/Makefile.am:
19321         * gst/base/README:
19322         * gst/base/gstadapter.c:
19323         * gst/base/gstadapter.h:
19324         * gst/base/gstbasesink.c:
19325         * gst/base/gstbasesink.h:
19326         * gst/base/gstbasesrc.c:
19327         * gst/base/gstbasesrc.h:
19328         * gst/base/gstbasetransform.c:
19329         * gst/base/gstbasetransform.h:
19330         * gst/base/gstcollectpads.c:
19331         * gst/base/gstcollectpads.h:
19332         * gst/base/gstpushsrc.c:
19333         * gst/base/gstpushsrc.h:
19334         * gst/base/gsttypefindhelper.c:
19335         * gst/base/gsttypefindhelper.h:
19336         * gst/check/Makefile.am:
19337         * gst/check/gstcheck.c:
19338         * gst/check/gstcheck.h:
19339         * gst/net/Makefile.am:
19340         * gst/net/gstnet.h:
19341         * gst/net/gstnetclientclock.c:
19342         * gst/net/gstnetclientclock.h:
19343         * gst/net/gstnettimepacket.c:
19344         * gst/net/gstnettimepacket.h:
19345         * gst/net/gstnettimeprovider.c:
19346         * gst/net/gstnettimeprovider.h:
19347         * libs/gst/Makefile.am:
19348         * libs/gst/base/Makefile.am:
19349         * libs/gst/base/gstbasetransform.c:
19350         * libs/gst/check/Makefile.am:
19351         * plugins/elements/Makefile.am:
19352         * po/POTFILES.in:
19353           CVS surgery + support to move base, check, and net out of gst
19354           and into libs/gst
19355
19356 2005-11-29  Andy Wingo  <wingo@pobox.com>
19357
19358         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19359
19360         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19361         padding.
19362
19363         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19364
19365         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19366
19367         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19368
19369         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19370         padding; reduces object size by about 30%. We don't expect
19371         anything else to go into gstobject.
19372
19373         * gst/gstminiobject.h (struct _GstMiniObject)
19374         (struct _GstMiniObjectClass): Only one pointer of padding; the
19375         payload is only a pointer and two ints anyway. For the class there
19376         are only two methods as well.
19377         
19378         * gst/gstelement.h (struct _GstElementClass): Removed
19379         the state_changed signal callback, it is not used.
19380
19381 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19382
19383         * docs/gst/gstreamer.types:
19384           fix includes, though they are a little dinky
19385
19386 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19387
19388         * check/Makefile.am:
19389           look in the right place for elements, a lot more chance of
19390           success
19391         * gst/Makefile.am:
19392           remove indexers and elements subdirs
19393         * plugins/Makefile.am:
19394           make indexers conditional
19395
19396 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19397
19398         * Makefile.am:
19399         * configure.ac:
19400         * plugins/elements/Makefile.am:
19401         * plugins/elements/gstcapsfilter.c:
19402         * plugins/elements/gstfilesink.c:
19403         * plugins/elements/gstfilesrc.c:
19404         * plugins/elements/gstidentity.c:
19405         * plugins/indexers/Makefile.am:
19406           do CVS surgery and related build fixery to move elements
19407           and indexers in a new gstreamer/plugins directory, out of the
19408           gst/ directory
19409
19410 2005-11-29  Andy Wingo  <wingo@pobox.com>
19411
19412         * check/Makefile.am:
19413         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19414         * pkgconfig/gstreamer-net.pc.in:
19415         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19416         #322257.
19417
19418 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19419
19420         * tools/Makefile.am:
19421         * tools/gst-complete.1.in:
19422         * tools/gst-complete.c:
19423         * tools/gst-compprep.1.in:
19424         * tools/gst-compprep.c:
19425           removing -compprep and -complete
19426
19427 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19428
19429         * gst/gstevent.c: (gst_event_new_new_segment),
19430         (gst_event_parse_new_segment):
19431         * gst/gstevent.h:
19432           fix #320529 - clean up new_segment API and structure.
19433           Let's hope everyone was using the methods, and not the structure.
19434
19435 2005-11-29  Edward Hervey  <edward@fluendo.com>
19436
19437         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19438         (gst_base_sink_event), (gst_base_sink_do_sync),
19439         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19440         Properly handle non GST_FORMAT_TIME segment
19441         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19442         Properly handle non GST_FORMAT_TIME segment
19443         * gst/gstsegment.c:
19444         This function is valid if the accumulator is 0 and the format
19445         is different from the requested format.
19446         
19447 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19448
19449         * docs/gst/gstreamer-sections.txt:
19450         Add gst_query_new_seeking and gst_query_parse_seeking to the
19451         docs.
19452
19453 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19454
19455         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19456           Treat a pad alloc with new caps the same as if we were not
19457           negotiated, in order to allow a changing upstream output
19458           to produce a new format of data.
19459
19460 2005-11-29  Edward Hervey  <edward@fluendo.com>
19461
19462         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19463         (gst_base_transform_event), (gst_base_transform_eventfunc):
19464         The event virtual method is now properly implemented, with a default
19465         handler
19466         Sub classes should call the parent_class event method. They should
19467         return FALSE if they had a problem handling the given event, or don't
19468         want GstBaseTransform to send that even downstream
19469         * gst/elements/gstidentity.c: (gst_identity_class_init),
19470         (gst_identity_init), (gst_identity_event),
19471         (gst_identity_transform_ip), (gst_identity_set_property),
19472         (gst_identity_get_property):
19473         * gst/elements/gstidentity.h:
19474         Added the single-segment boolean property.
19475         If set to TRUE, it will output a single segment of data, starting from
19476         0, will eat up all incoming newsegment, and modify the timestamp of the
19477         buffers accordingly
19478
19479 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19480
19481         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19482           Don't ref NULL target pad (#322751). Improve docs.
19483
19484 2005-11-29  Michael Smith  <msmith@fluendo.com>
19485
19486         * gst/gstregistryxml.c: (load_plugin):
19487           Don't crash if we failed to load a feature from a plugin. 
19488
19489 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19490
19491         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19492         (GST_START_TEST):
19493           use more check API and less GLib API
19494
19495 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19496
19497         * Makefile.am:
19498           don't run checks if we don't have check
19499         * common/check.mak:
19500           remove the registry when running make torture
19501         * docs/gst/gstreamer-sections.txt:
19502           remove second multiply
19503         * gst/gstqueue.c: (gst_queue_loop):
19504           fix a compile warning when disabling debug
19505
19506 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19507
19508         * gst/gstinfo.h:
19509         Hey! Let's print the pad name if the pointer != NULL instead
19510         of when it == NULL :-)
19511
19512 2005-11-28  Wim Taymans  <wim@fluendo.com>
19513
19514         * check/gst/gstutils.c: (GST_START_TEST):
19515         Updated check, add some scaling accuracy checking code.
19516
19517         * gst/gstutils.c: (gst_util_div128_64),
19518         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19519         (gst_util_uint64_scale_int):
19520         Fix 6 times faster division code. Optimize for common 
19521         1/1 and less common X/1 cases.
19522
19523 2005-11-28  Wim Taymans  <wim@fluendo.com>
19524
19525         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19526         More checks.
19527
19528         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19529         (do_linear_regression), (gst_clock_add_observation):
19530         Cleanups.
19531         Release lock when the clock cannot be slaved.
19532         Catch the case where the regression returned an invalid denominator.
19533
19534         * gst/gstutils.c: (gst_util_div128_64_iterate),
19535         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19536         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19537         Add protentially more performant non-iterative 128/64 divide function
19538         that unfortunatly does not work yet.
19539         Shortcut the trivial 0/X = 0 case.
19540         Remove the warnings on overflow.
19541
19542 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19543
19544         * gst/gstplugin.c: (gst_plugin_register_func):
19545           everything causing a plugin not to load should be at least a WARNING
19546
19547 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19548
19549         * docs/random/ensonic/dparams.txt:
19550           some TODOs for the next dev cycle
19551         * libs/gst/controller/gstcontroller.c:
19552         (gst_controlled_property_set_interpolation_mode),
19553         (gst_controlled_property_new):
19554         * libs/gst/controller/gstcontroller.h:
19555           use base type to assign acccessor functions
19556
19557 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19558
19559         * check/Makefile.am:
19560         Oops, that should have been top_srcdir
19561
19562 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19563
19564         * check/Makefile.am:
19565         * check/elements/fdsrc.c: (GST_START_TEST):
19566         Use a cmdline define to specify the location of a file to use for
19567         testing, to avoid breaking distcheck.
19568
19569 2005-11-28  Andy Wingo  <wingo@pobox.com>
19570
19571         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19572
19573 2005-11-28  Edward Hervey  <edward@fluendo.com>
19574
19575         * tools/gst-launch.c: (main):
19576         Clarify the output strings, makes it easier to translate.
19577         Fixes #322626
19578
19579 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19580
19581         * gst/Makefile.am:
19582           don't try and build net if we don't even have <sys/socket.h>
19583
19584 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19585
19586         * check/Makefile.am:
19587         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19588         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19589           Add tests for fdsrc seekability
19590
19591         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19592         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19593         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19594         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19595         * gst/elements/gstfdsrc.h:
19596           fdsrc should not be a 'live' source.
19597           Implement seeking on seekable fd's.
19598
19599         * gst/gstquery.c: (gst_query_new_seeking),
19600         (gst_query_parse_seeking):
19601         * gst/gstquery.h:
19602           Implement SEEKING query functions: 
19603             *_new_seeking and *_parse_seeking
19604
19605 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19606
19607         * gst/gstelement.c: (gst_element_dispose):
19608           don't loop forever
19609
19610         * gst/gstiterator.c:
19611         * gst/gststructure.c:
19612           doc fixes
19613
19614         * libs/gst/controller/gstcontroller.c:
19615         (gst_controlled_property_set_interpolation_mode):
19616         * libs/gst/controller/gstcontroller.h:
19617         * libs/gst/controller/gstinterpolation.c:
19618         (interpolate_none_get_enum_value_array):
19619           support controlling enums
19620
19621 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19622
19623         * gst/gstvalue.c:
19624           Improve documentation for gst_value_union().
19625
19626         * gst/gstvalue.h:
19627           Change return value for union, intersect and subtract functions
19628           from gint to gboolean.
19629
19630 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19631
19632         * gst/gstvalue.c: (gst_value_serialize_any_list),
19633         (gst_value_transform_any_list_string),
19634         (gst_value_deserialize_list), (gst_value_deserialize_array),
19635         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19636         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19637         (gst_value_set_fraction_range_full),
19638         (gst_value_deserialize_fraction_range),
19639         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19640         (gst_value_deserialize_boolean),
19641         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19642         (gst_value_serialize_float), (gst_value_deserialize_float),
19643         (gst_string_wrap), (gst_value_deserialize_string),
19644         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19645         (gst_value_union_int_range_int_range),
19646         (gst_value_intersect_int_range_int_range),
19647         (gst_value_intersect_double_range_double_range),
19648         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19649         (gst_value_subtract_int_range_int_range),
19650         (gst_value_subtract_double_double_range),
19651         (gst_value_subtract_double_range_double_range),
19652         (gst_value_deserialize_fraction):
19653         * gst/gstvalue.h:
19654           Use gint, gdouble and gchar in our API instead of int, double and
19655           char (and make usage in gstvalue.c more consistent).
19656
19657 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19658
19659         * check/Makefile.am:
19660         * libs/gst/controller/Makefile.am:
19661         * libs/gst/dataprotocol/Makefile.am:
19662           fix up Makefile.am and remove GST_ENABLE_NEW
19663
19664 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19665
19666         * configure.ac:
19667         * gst/Makefile.am:
19668         * gst/base/Makefile.am:
19669         * gst/check/Makefile.am:
19670         * gst/elements/Makefile.am:
19671         * gst/net/Makefile.am:
19672           update LDFLAGS use some more
19673
19674 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19675
19676         * common/m4/gst-doc.m4:
19677           Fixes #312589
19678
19679 2005-11-26  Edward Hervey  <edward@fluendo.com>
19680
19681         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19682         This shouldn't issue a g_warning since it returns NULL if it
19683         couldn't find the plugin, and all functions using this behave
19684         properly on a NULL return. Switching to a GST_WARNING.
19685
19686 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19687
19688         * gst/gstbin.c: (gst_bin_handle_message_func):
19689         Don't leak clock messages.
19690
19691 2005-11-25  Wim Taymans  <wim@fluendo.com>
19692
19693         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19694         (gst_util_uint64_scale_int):
19695         Optimisations, remove unneeded vars.
19696
19697 2005-11-25  Wim Taymans  <wim@fluendo.com>
19698
19699         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19700         Added more checks for the high precision uint64 cases.
19701
19702         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19703         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19704         Implement high precision (guint64 * guint64) / guint64.
19705
19706 2005-11-24  Wim Taymans  <wim@fluendo.com>
19707
19708         * gst/base/gstbasesrc.c: (gst_base_src_query):
19709         Fix wrong percentage query.
19710
19711         * gst/gstutils.c: (gst_util_uint64_scale),
19712         (gst_util_uint64_scale_int):
19713         Add some more common cases that can be handled 
19714         efficiently to _scale.
19715
19716 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19717
19718         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19719         (gst_mini_object_suite):
19720           don't use check calls from threads; check probably isn't
19721           threadsafe and using a lock to make it threadsafe would
19722           defeat the purpose of this check
19723         * gst/check/gstcheck.c:
19724         * gst/check/gstcheck.h:
19725           use GST_DEBUG some more
19726
19727 2005-11-24  Wim Taymans  <wim@fluendo.com>
19728
19729         * gst/gstutils.c: (gst_util_uint64_scale),
19730         (gst_util_uint64_scale_int):
19731         Chain trivial case to _scale_int.
19732
19733 2005-11-24  Wim Taymans  <wim@fluendo.com>
19734
19735         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19736         Added test for scaling.
19737
19738         * gst/gstclock.h:
19739         Small doc fix.
19740
19741         * gst/gstutils.c: (gst_util_uint64_scale_int):
19742         Implemented high precision scaling code.
19743
19744 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
19745
19746         * gst/gstinfo.h:
19747           do not crash on pad==NULL
19748
19749 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19750
19751         Patch by: Stefan Kost
19752
19753         * common/gtk-doc.mak:
19754         * docs/gst/Makefile.am:
19755         * docs/libs/Makefile.am:
19756           Fix distcheck issues for the libraries docs build
19757           Closes #319599.
19758
19759 2005-11-24  Michael Smith <msmith@fluendo.com>
19760
19761         * docs/manual/basics-helloworld.xml:
19762           Fix bug #315027: memory leak in example code in docs.
19763
19764 2005-11-24  Michael Smith <msmith@fluendo.com>
19765
19766         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19767           Unlock the PREROLL_LOCK in a failure case.
19768
19769 2005-11-24  Wim Taymans  <wim@fluendo.com>
19770
19771         * docs/gst/gstreamer-sections.txt:
19772         * gst/base/gstadapter.h:
19773         * gst/base/gstbasesink.h:
19774         * gst/base/gstbasesrc.h:
19775         * gst/base/gstbasetransform.h:
19776         * gst/base/gstpushsrc.h:
19777         * gst/elements/gstfakesink.h:
19778         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19779         * gst/elements/gstfakesrc.h:
19780         * gst/elements/gstfilesink.h:
19781         * gst/elements/gstfilesrc.h:
19782         * gst/gst.c:
19783         * gst/gstbin.c:
19784         * gst/gstbuffer.c: (_gst_buffer_copy):
19785         * gst/gstbus.h:
19786         * gst/gstcaps.c:
19787         * gst/gstchildproxy.c:
19788         * gst/gstclock.c:
19789         * gst/gstelement.c:
19790         * gst/gstelementfactory.c:
19791         * gst/gstelementfactory.h:
19792         * gst/gstevent.c:
19793         * gst/gstghostpad.h:
19794         * gst/gstindex.h:
19795         * gst/gstinterface.h:
19796         * gst/gstminiobject.c:
19797         * gst/gstminiobject.h:
19798         * gst/gstpad.c:
19799         * gst/gstpad.h:
19800         * gst/gstpadtemplate.h:
19801         * gst/gstpipeline.h:
19802         * gst/gstpluginfeature.h:
19803         * gst/gstquery.h:
19804         * gst/gstqueue.h:
19805         * gst/gsttaglist.c:
19806         * gst/gsttaglist.h:
19807         * gst/gsttagsetter.c:
19808         * gst/gsttagsetter.h:
19809         * gst/gsttrace.c:
19810         * gst/gsttrace.h:
19811         * gst/gsttypefind.h:
19812         * gst/gsturi.h:
19813         * gst/gstvalue.c:
19814         * gst/net/gstnetclientclock.c:
19815         * gst/net/gstnetclientclock.h:
19816         * gst/net/gstnettimepacket.c:
19817         * gst/net/gstnettimeprovider.c:
19818         * gst/net/gstnettimeprovider.h:
19819         Doc fixes.
19820
19821 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19822
19823         * configure.ac: back to HEAD
19824
19825 === release 0.9.6 ===
19826
19827 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
19828
19829         * configure.ac:
19830           releasing 0.9.6, "Always On Time"
19831
19832 2005-11-23  Wim Taymans  <wim@fluendo.com>
19833
19834         * docs/gst/gstreamer-sections.txt:
19835         * gst/glib-compat.c:
19836         * gst/gsttagsetter.c:
19837         * gst/gstvalue.c:
19838         * gst/net/gstnetclientclock.c:
19839         * gst/net/gstnettimepacket.h:
19840         Doc updates.
19841
19842 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19843
19844         * docs/faq/using.xml:
19845         * docs/libs/tmpl/gstcontrol.sgml:
19846         * docs/manual/advanced-dparams.xml:
19847         * docs/manual/appendix-checklist.xml:
19848         * docs/manual/basics-elements.xml:
19849         * docs/pwg/other-source.xml:
19850         * docs/random/moving-plugins:
19851         * gst/gstpad.c:
19852         * tools/gst-launch.1.in:
19853           remove mentions of sinesrc
19854
19855 2005-11-23  Michael Smith <msmith@fluendo.com>
19856
19857         * docs/gst/gstreamer-sections.txt:
19858           Update for new API and API changes.
19859         * gst/gstobject.h:
19860           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19861         * gst/gstvalue.c:
19862           Documentation typo fix.
19863         * gst/net/gstnettimepacket.c:
19864           Documentation fixes for arguments.
19865
19866 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
19867
19868         * gst/gststructure.c: (gst_structure_get_fraction),
19869         (gst_structure_parse_value),
19870         (gst_structure_fixate_field_nearest_fraction):
19871         * gst/gststructure.h:
19872         * gst/gstutils.c: (gst_util_uint64_scale_int):
19873         * gst/gstutils.h:
19874         * scripts/update-funcnames:
19875         API Changes. 
19876         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19877         Make gst_structure_fixate_field_nearest_fraction take a numerator
19878         and denominator argument instead of a GValue
19879         add gst_structure_get_fraction helper function.
19880
19881 2005-11-23  Wim Taymans  <wim@fluendo.com>
19882
19883         * docs/design/part-TODO.txt:
19884         Update TODO.
19885
19886         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19887         * gst/net/gstnetclientclock.h:
19888         Use parent fields for timeout and window_size.
19889
19890 2005-11-23  Andy Wingo  <wingo@pobox.com>
19891
19892         * check/net/gstnetclientclock.c (test_functioning): Adjust to
19893         rate_num/rate_denom change.
19894
19895         * gst/net/gstnetclientclock.c
19896         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19897         OBJECT_LOCK. Don't call add_observation with the lock.
19898
19899         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19900         fraction.
19901         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19902         rate fraction.
19903         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19904         deal with rate as a fraction whose numerator and denominator are
19905         GstClockTime values.
19906         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19907         master; the other fields are protected by the SLAVE_LOCK.
19908         (do_linear_regression): Note that this must be called with the
19909         SLAVE_LOCK.
19910         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19911         OBJECT_LOCK. Call set_calibration instead of touching the
19912         variables directly.
19913         (gst_clock_set_property, gst_clock_get_property): Protect
19914         master/slave parameters with the SLAVE_LOCK.
19915
19916         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19917         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19918         note that all of the instance variables that add_observation and
19919         the set_master functions use are protected by that lock and not
19920         the OBJECT_LOCK.
19921         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19922
19923         * gst/gstclock.c (gst_clock_add_observation): No longer requires
19924         the caller to take the object lock.
19925
19926 2005-11-23  Wim Taymans  <wim@fluendo.com>
19927
19928         * gst/gsterror.c: (_gst_core_errors_init):
19929         * gst/gsterror.h:
19930         Add error for clock stuff.
19931
19932         * gst/gstpipeline.c: (gst_pipeline_change_state),
19933         (gst_pipeline_set_clock):
19934         Post clock error when clock cannot be used in a pipeline.
19935
19936 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
19937
19938         * docs/gst/gstreamer-sections.txt:
19939           make two symbols from gstinfo private for the docs
19940         * gst/base/gstcollectpads.h:
19941         * gst/gstutils.c:
19942           fix doc typos, update docs
19943
19944 2005-11-22  Wim Taymans  <wim@fluendo.com>
19945
19946         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19947         (gst_base_sink_wait), (gst_base_sink_do_sync),
19948         (gst_base_sink_handle_event):
19949         * gst/base/gstbasesink.h:
19950         No need to store the clock, the parent element class already
19951         has it.
19952
19953         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
19954         Updates for clock_set returning a gboolean
19955
19956         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
19957         (gst_clock_id_wait_async), (gst_clock_class_init),
19958         (gst_clock_init), (gst_clock_finalize),
19959         (gst_clock_get_internal_time), (gst_clock_get_time),
19960         (gst_clock_slave_callback), (gst_clock_set_master),
19961         (gst_clock_get_master), (do_linear_regression),
19962         (gst_clock_add_observation), (gst_clock_set_property),
19963         (gst_clock_get_property):
19964         * gst/gstclock.h:
19965         Implement master/slave. When setting a clock as a slave, a
19966         periodic timeout is scheduled to sample master and slave times.
19967         Then the slave clock is recalibrated to match offset and rate
19968         of the master clock.
19969         Update logging a bit.
19970         Add flag so that a clock can state that is cannot be slaved to
19971         another clock.
19972
19973         * gst/gstelement.c: (gst_element_set_clock):
19974         * gst/gstelement.h:
19975         The set clock returns a gboolean for when an element cannot
19976         deal with the selected clock in the pipeline. 
19977
19978         * gst/gstpipeline.c: (gst_pipeline_change_state),
19979         (gst_pipeline_set_clock):
19980         * gst/gstpipeline.h:
19981         Handle the case where the selected clock cannot be set on
19982         the pipeline.
19983
19984         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
19985         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
19986         (gst_net_client_clock_set_property),
19987         (gst_net_client_clock_get_property),
19988         (gst_net_client_clock_observe_times):
19989         * gst/net/gstnetclientclock.h:
19990         Use regression code in GstClock parent, remove duplicated
19991         functionality.
19992
19993 2005-11-22  Michael Smith <msmith@fluendo.com>
19994
19995         * gst/gstutils.c: (gst_util_clock_time_scale):
19996         * gst/gstutils.h:
19997         * docs/gst/gstreamer-sections.txt:
19998           Rename method to have extra underscore.
19999
20000 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20001
20002         * gst/elements/Makefile.am:
20003         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20004         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20005         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20006         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20007         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20008         * gst/elements/gstfakesrc.h:
20009         * gst/gstqueue.c: (queue_leaky_get_type):
20010           correctly fix GEnumValues so that nick is the short lowercase
20011           dashed tag
20012         * tools/gst-inspect.c: (print_element_properties_info):
20013           also show the nick, since it's useful to use from parse_launch
20014           syntax
20015           Fixes #322139
20016
20017 2005-11-22  Michael Smith <msmith@fluendo.com>
20018
20019         * gst/gstutils.c: (gst_util_clocktime_scale):
20020         * gst/gstutils.h:
20021         * docs/gst/gstreamer-sections.txt:
20022           Add util method for scaling a clocktime by a fraction. Useful 
20023           implementation is left as an exercise for the reader.
20024
20025 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20026
20027         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20028         If needed, allocate storage in the destination value during
20029         collection.
20030
20031 2005-11-22  Edward Hervey  <edward@fluendo.com>
20032
20033         * docs/gst/gstreamer-sections.txt:
20034         * gst/Makefile.am:
20035         * gst/gst.h:
20036         * gst/gsturitype.c:
20037         * gst/gsturitype.h:
20038         * gst/gstutils.c: (gst_util_set_object_arg):
20039         * tools/gst-compprep.c: (main):
20040         * tools/gst-inspect.c: (print_element_properties_info):
20041         Removed GstURI, closes bug #321061
20042
20043 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20044
20045         * check/gst/gststructure.c: (GST_START_TEST):
20046         * gst/gststructure.c: (gst_structure_parse_value):
20047           Oops, broke automatic string type parsing.
20048           Add a test to catch it in future.
20049
20050 2005-11-22  Andy Wingo  <wingo@pobox.com>
20051
20052         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20053         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20054         Actually rename the function implementations. Grr.
20055
20056 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20057
20058         * check/gst/capslist.h:
20059           Comment test cases
20060         * check/gst/gststructure.c: (GST_START_TEST),
20061         (gst_structure_suite):
20062           Test automatic value type detection in gst_structure_from_string.
20063         * gst/gststructure.c: (gst_structure_parse_value):
20064           Add fraction as a type we try and guess automatically in
20065           caps/structure strings.
20066
20067 2005-11-22  Andy Wingo  <wingo@pobox.com>
20068
20069         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20070
20071         * gst/gsttagsetter.h:
20072         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20073         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20074         (gst_tag_setter_add_tag_valist)
20075         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20076         _add_values, _add_valist, and _add_valist_values. Since this is an
20077         interface the function suffixes should be more explicit so
20078         language binding don't end up with element.add_valist ->
20079         gst_tag_setter_add_valist, for example. Fixes #322069.
20080
20081 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20082
20083         * check/gst/gstcaps.c: (GST_START_TEST):
20084           Extend caps string tests to check that a caps to string
20085           conversion is reversible and produces the same caps.
20086
20087         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20088           Output "fraction" as the generic type fraction range, so caps
20089           serialisation and deserialisation works.
20090         * check/gst/capslist.h:
20091         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20092           Support 'MIN' and 'MAX' for deserialising fractions.
20093
20094 2005-11-22  Andy Wingo  <wingo@pobox.com>
20095
20096         * gst/gstevent.h (gst_event_new_new_segment)
20097         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20098         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20099         Renamed from *_newsegment, *_buffersize, *_notarget.
20100
20101         * scripts/update-funcnames: New script, performs the changes
20102         listed above.
20103
20104 2005-11-22  Wim Taymans  <wim@fluendo.com>
20105
20106         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20107         Make sure the GstFlowReturn is returned.
20108
20109         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20110         (gst_bus_add_signal_watch):
20111         * gst/gstbus.h:
20112         add gst_bus_add_signal_watch_full.
20113
20114         * gst/gstplugin.c: (gst_plugin_load_file):
20115         Small style cleanup.
20116
20117 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20118
20119         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20120           Block the fakesrc srcpad when we send an event, to avoid
20121           contention on the stream_lock causing random test failures.
20122
20123 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20124
20125         * check/gst/gstvalue.c: (GST_START_TEST):
20126         * gst/gstvalue.c: (gst_value_fraction_subtract):
20127           Fix subtraction.
20128
20129 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20130
20131         * gst/gst.h:
20132           include "gstchildproxy.h"
20133         * gst/gstchildproxy.h:
20134         * libs/gst/controller/gstcontroller.h:
20135           use G_GNUC_NULL_TERMINATED
20136
20137 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20138
20139         * check/gst/capslist.h:
20140         * check/gst/gstcaps.c: (GST_START_TEST):
20141         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20142         * gst/gststructure.c: (gst_structure_parse_range),
20143         (gst_structure_fixate_field_nearest_fraction):
20144         * gst/gststructure.h:
20145         * gst/gstvalue.c: (gst_value_init_fraction_range),
20146         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20147         (gst_value_collect_fraction_range),
20148         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20149         (gst_value_set_fraction_range_full),
20150         (gst_value_get_fraction_range_min),
20151         (gst_value_get_fraction_range_max),
20152         (gst_value_serialize_fraction_range),
20153         (gst_value_transform_fraction_range_string),
20154         (gst_value_compare_fraction_range),
20155         (gst_value_deserialize_fraction_range),
20156         (gst_value_intersect_fraction_fraction_range),
20157         (gst_value_intersect_fraction_range_fraction_range),
20158         (gst_value_subtract_fraction_fraction_range),
20159         (gst_value_subtract_fraction_range_fraction),
20160         (gst_value_subtract_fraction_range_fraction_range),
20161         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20162         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20163         (gst_value_transform_string_fraction), (_gst_value_initialize):
20164         * gst/gstvalue.h:
20165           Implement fraction ranges and extend GstFraction to support
20166           arithmetic subtraction, as well as deserialization from integer
20167           strings such as "100"
20168           Add a testsuite as for int and double range set operations
20169
20170 2005-11-21  Andy Wingo  <wingo@pobox.com>
20171
20172         * gst/gsttaglist.h: 
20173         * gst/gstcaps.h: 
20174         * gst/gststructure.h: Add glib-compat.h.
20175
20176 2005-11-21  Wim Taymans  <wim@fluendo.com>
20177
20178         * gst/gstbin.c: (gst_bin_change_state_func):
20179         Fix for #321595
20180
20181 2005-11-21  Wim Taymans  <wim@fluendo.com>
20182
20183         * gst/gstsegment.h:
20184         And add a nice define too.
20185
20186 2005-11-21  Wim Taymans  <wim@fluendo.com>
20187
20188         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20189         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20190         (gst_segment_set_duration), (gst_segment_set_last_stop),
20191         (gst_segment_set_seek), (gst_segment_set_newsegment),
20192         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20193         (gst_segment_clip):
20194         * gst/gstsegment.h:
20195         Make binding friendly.
20196
20197 2005-11-21  Andy Wingo  <wingo@pobox.com>
20198
20199         * gst/gsttagsetter.h: 
20200         * gst/gsttaglist.h: 
20201         * gst/gststructure.h: 
20202         * gst/gstcaps.h: 
20203         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20204         #319940.
20205
20206         * gst/gsterror.c (_gst_core_errors_init):
20207         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20208         category.
20209
20210         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20211         (noinst_HEADERS): noinst the -private.
20212
20213 2005-11-21  Michael Smith <msmith@fluendo.com>
20214
20215         * gst/gstplugin.h:
20216         * gst/gstregistry.h:
20217           Remove unimplemented declarations for which we can see no sensible
20218           use.
20219
20220 2005-11-21  Andy Wingo  <wingo@pobox.com>
20221
20222         * gst/gst.h: Include glib-compat.h.
20223
20224         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20225
20226         * gst/glib-compat.c: Include the public and the private header.
20227
20228         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20229
20230         * gst/gstvalue.c: 
20231         * gst/gstpad.c: 
20232         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20233
20234         * check/gst/gstevent.c (create_custom_events): Check that
20235         FLUSH_STOP is serialized.
20236
20237         * check/elements/identity.c (event_func): 
20238         * check/elements/fakesrc.c (event_func): No stream lock, the core
20239         takes it.
20240
20241         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20242         stream lock taking, yay.
20243
20244         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20245         ensure that core takes the stream lock.
20246
20247         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20248         lock name change.
20249
20250         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20251         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20252         it already. For the flush start we do take it though so we get the
20253         right preroll state change messages.
20254
20255         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20256         the stream lock here, the core does it for us.
20257
20258         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20259         GST_STREAM_GET_LOCK.
20260         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20261         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20262         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20263         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20264         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20265         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20266
20267         * gst/gstpad.c: Update for stream lock name change.
20268
20269         * gst/base/gstbasesink.c: Update for preroll lock name change.
20270
20271 2005-11-21  Wim Taymans  <wim@fluendo.com>
20272
20273         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20274         (gst_clock_get_master):
20275         * gst/gstclock.h:
20276         * gst/gstsystemclock.c: (gst_system_clock_init):
20277         Convert Clock flags to object flags.
20278         Added methods to manage master/slave clocks.
20279
20280 2005-11-21  Wim Taymans  <wim@fluendo.com>
20281
20282         * check/gst/gstsegment.c: (GST_START_TEST):
20283         * docs/design/part-TODO.txt:
20284         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20285         (gst_base_sink_event), (gst_base_sink_do_sync),
20286         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20287         (gst_base_sink_query), (gst_base_sink_change_state):
20288         * gst/base/gstbasesink.h:
20289         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20290         (gst_base_src_default_newsegment),
20291         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20292         (gst_base_src_get_range), (gst_base_src_loop),
20293         (gst_base_src_change_state):
20294         * gst/base/gstbasesrc.h:
20295         * gst/base/gstbasetransform.c:
20296         (gst_base_transform_prepare_output_buf),
20297         (gst_base_transform_event), (gst_base_transform_change_state):
20298         * gst/base/gstbasetransform.h:
20299         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20300         (gst_collect_pads_event):
20301         * gst/base/gstcollectpads.h:
20302         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20303         (gst_fake_src_create):
20304         * gst/elements/gstfakesrc.h:
20305         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20306         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20307         (gst_segment_set_last_stop), (gst_segment_set_seek),
20308         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20309         (gst_segment_to_running_time), (gst_segment_clip):
20310         * gst/gstsegment.h:
20311         More segment updates, replace code in plugins with segment
20312         helper functions.
20313
20314 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20315
20316         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20317         Don't ignore sscanf results
20318
20319 2005-11-21  Andy Wingo  <wingo@pobox.com>
20320
20321         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20322
20323         * *.h:
20324         * *.c: Ran scripts/update-macros. Oh yes.
20325
20326         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20327         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20328         GST_GET_LOCK, etc.
20329
20330         * scripts/update-macros: New script. Run it on your files to
20331         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20332         well.
20333
20334 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20335
20336         * docs/gst/Makefile.am:
20337         * docs/gst/gstreamer-docs.sgml:
20338         * docs/gst/gstreamer-sections.txt:
20339         * docs/gst/gstreamer.types:
20340         * gst/gstinfo.h:
20341           more docs fixes, add new api to the docs
20342
20343 2005-11-21  Andy Wingo  <wingo@pobox.com>
20344
20345         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20346         state_broadcast call.
20347
20348         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20349
20350 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20351
20352         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20353         function calls for arrays.
20354
20355 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20356
20357         * docs/random/ensonic/media-device-daemon.txt:
20358           wild idea, can this be done?
20359         * docs/gst/gstreamer-sections.txt:
20360         * gst/gsterror.h:
20361         * gst/gstfilter.c:
20362         * gst/gstfilter.h:
20363         * gst/gstplugin.h:
20364         * gst/gstpluginfeature.c:
20365         * gst/gsttrace.c:
20366         * gst/gstvalue.c:
20367         * gst/gstvalue.h:
20368           doc fixes and additions
20369
20370 2005-11-21  Andy Wingo  <wingo@pobox.com>
20371
20372         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20373         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20374         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20375         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20376         private to the basesrc implementation.
20377
20378         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20379         behalf of event function if necessary. It should no longer be
20380         necessary to take the stream lock in pad's event functions. Fixes
20381         #320299.
20382
20383 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20384         * docs/gst/gstreamer-sections.txt:
20385         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20386         (gst_structure_fixate_field_nearest_double),
20387         (gst_structure_fixate_field_boolean):
20388         * gst/gststructure.h:
20389         * win32/common/libgstreamer.def:
20390         * win32/gstreamer.def:
20391
20392         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20393         (#322027)
20394
20395 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20396
20397         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20398         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20399         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20400         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20401         (gst_fdsrc_uri_handler_init):
20402         * gst/elements/gstfdsrc.h:
20403           Port fd:// URI handler from 0.8 to fdsrc
20404
20405 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20406
20407         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20408         (gst_value_serialize_fourcc):
20409         * gst/gstvalue.h:
20410           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20411           consistent with our other format defines (#320324).
20412
20413 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20414
20415         * gst/gstvalue.c: (gst_value_is_fixed):
20416           Revert previous commit. Value lists are by definition
20417           not fixed, as they are a list of possible values.
20418
20419 2005-11-21  Andy Wingo  <wingo@pobox.com>
20420
20421         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20422         during the stable series if we need it. Fixes #319178.
20423
20424         * gst/gstevent.c (gst_event_new_filler): Removed.
20425
20426         * check/gst/gstevent.c: Update comment about filler events.
20427
20428 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20429
20430         * gst/gstvalue.c: (gst_value_is_fixed):
20431           Should handle both value arrays and value lists.
20432
20433 2005-11-21  Andy Wingo  <wingo@pobox.com>
20434
20435         patch by: Alessandro Dessina <alessandro nnva org>
20436
20437         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20438         functions to access arrays. Fixes #321962.
20439
20440 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20441
20442         * docs/gst/gstreamer.types:
20443           gst_collectpads_get_type => gst_collect_pads_get_type.
20444           
20445         * gst/base/gstbasetransform.c:
20446           Remove unused SIGNAL_HANDOFF enum.
20447
20448 2005-11-21  Andy Wingo  <wingo@pobox.com>
20449
20450         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20451         the event type (upstream, downstream, serialized). Renamed
20452         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20453         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20454         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20455
20456         * gst/gstevent.c: Update for new CUSTOM event names.
20457
20458         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20459
20460         * gst/gstevent.h:
20461         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20462         bug #319392.
20463
20464 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20465
20466         * docs/gst/gstreamer-sections.txt:
20467         * win32/common/libgstbase.def:
20468         * win32/libgstbase.def:
20469         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20470         (gst_collect_pads_class_init), (gst_collect_pads_init),
20471         (gst_collect_pads_finalize), (gst_collect_pads_new),
20472         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20473         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20474         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20475         (gst_collect_pads_start), (gst_collect_pads_stop),
20476         (gst_collect_pads_peek), (gst_collect_pads_pop),
20477         (gst_collect_pads_available), (gst_collect_pads_read),
20478         (gst_collect_pads_flush), (gst_collect_pads_event),
20479         (gst_collect_pads_chain):
20480         * gst/base/gstcollectpads.h:
20481           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20482           unimplemented functions as unimplemented. Add padding to
20483           GstCollectData. (#320766, #320423)
20484
20485 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20486
20487         * gst/gstmessage.c:
20488           Improve docs for DURATION message (usage of duration parameter)
20489           (#320113)
20490
20491 2005-11-20  Wim Taymans  <wim@fluendo.com>
20492
20493         * check/Makefile.am:
20494         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20495         (main):
20496         * gst/Makefile.am:
20497         * gst/gst.h:
20498         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20499         (gst_segment_set_seek), (gst_segment_set_newsegment),
20500         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20501         (gst_segment_clip):
20502         * gst/gstsegment.h:
20503         Added segment helper structure and methods. Not fully implemented
20504         yet.
20505         Added segment check.
20506
20507 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20508
20509         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20510           Add a deserialisation test for fractions
20511         * examples/metadata/read-metadata.c: (message_loop),
20512         (make_pipeline), (main):
20513           Fix up metadata reading sample.
20514         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20515           Debug format fix
20516         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20517           Don't try and fixate empty caps
20518         * gst/gst_private.h:
20519           Wrap in G_BEGIN_DECLS/G_END_DECLS
20520         * gst/gstvalue.c: (gst_value_collect_fraction),
20521         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20522         (gst_value_transform_string_fraction),
20523         (gst_value_compare_fraction):
20524           Add some extra guards to ensure that we don't end up 
20525           with an invalid denominator of 0 in a gstfraction and
20526           that fractions always get reduced.
20527
20528 2005-11-20  Wim Taymans  <wim@fluendo.com>
20529
20530         * docs/gst/gstreamer-sections.txt:
20531         * gst/gstbuffer.h:
20532         * gst/gstelement.c:
20533         * gst/gstformat.c:
20534         * gst/gstformat.h:
20535         * gst/gstindex.h:
20536         * gst/gstquery.c:
20537         * gst/gstquery.h:
20538         * gst/gstvalue.c:
20539         Doc fixes.
20540
20541 2005-11-20  Wim Taymans  <wim@fluendo.com>
20542
20543         * docs/design/part-TODO.txt:
20544         * gst/gstcaps.h:
20545         Make a proper enum of the flag.
20546
20547 2005-11-19  Wim Taymans  <wim@fluendo.com>
20548
20549         * docs/design/part-TODO.txt:
20550         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20551         (gst_format_to_quark), (gst_format_register):
20552         * gst/gstformat.h:
20553         * gst/gstquery.c: (_gst_query_initialize),
20554         (gst_query_type_get_name), (gst_query_type_to_quark),
20555         (gst_query_type_register):
20556         * gst/gstquery.h:
20557         Add type to quark and type to string conversions.
20558
20559 2005-11-19  Andy Wingo  <wingo@pobox.com>
20560
20561         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20562         #320097.
20563
20564 2005-11-19  Wim Taymans  <wim@fluendo.com>
20565
20566         * docs/design/part-TODO.txt:
20567         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20568         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20569         (gst_bin_handle_message_func):
20570         * gst/gstbin.h:
20571         Make message handling overridable.
20572
20573 2005-11-19  Andy Wingo  <wingo@pobox.com>
20574
20575         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20576
20577         * gst/gstclock.h:
20578         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20579         be a GstClockTime.
20580         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20581         is a GstClockTime. Fixes #321710.
20582
20583         * gst/gstclock.h (GstClock): Remove offset property. Add
20584         internal_calibration and external_calibration. Fix padding. Pad
20585         also by GstClockTime so we don't run into problems.
20586
20587         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20588         (gst_clock_get_rate_offset): Remove.
20589         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20590
20591         * gst/gstutils.h:
20592         * gst/gstutils.c (g_static_rec_cond_wait)
20593         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20594
20595         * gst/gstbin.c: Remove terrible continue_state prototype.
20596
20597         * gst/gstelement.h (gst_element_continue_state): Make public.
20598
20599         * gst/gstelement.h:
20600         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20601         by continue_state. Fixes #319389.
20602
20603         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20604         Really fixes #168438. However I don't see anywhere where the
20605         filter function is called... stupid GStreamer...
20606         
20607         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20608         don't have a dispose function, so it won't get called when the
20609         object is unreffed, but oh well!
20610
20611         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20612         allows a destroy function to be set so user_data can be freed.
20613         Fixes #168438.
20614         (gst_index_set_filter): Call gst_index_set_filter_full.
20615
20616         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20617
20618         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20619         string should produce an error, given the lack of a way to
20620         represent NULL strings. Fixes #165650.
20621         
20622         * gst/gstvalue.h: 
20623         * gst/gstvalue.c (gst_value_array_append_value) 
20624         (gst_value_array_prepend_value, gst_value_array_get_size) 
20625         (gst_value_array_get_value): New API, copied from
20626         gst_value_list_*, only operates on arrays.
20627         (gst_value_list_append_value, gst_value_list_prepend_value) 
20628         (gst_value_list_concat, gst_value_list_get_size) 
20629         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20630
20631         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20632         init_list, because it works on both.
20633         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20634         (gst_value_copy_list_or_array): Renamed from copy_list.
20635         (gst_value_free_list_or_array): Renamed from free_list.
20636         (gst_value_collect_list_or_array): Renamed from collect_list.
20637         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20638         (gst_value_list_or_array_peek_pointer): Renamed from
20639         list_peek_pointer.
20640         (_gst_value_array_value_table, _gst_value_list_value_table):
20641         Update value table functions.
20642         (gst_value_compare_list_or_array): Renamed from compare_list.
20643
20644         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20645         some constness.
20646
20647         * gst/gsttaglist.c:
20648         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20649         GstTagList*. Fixes #143472.
20650
20651         * gst/gststructure.h: Clarify what the foreach/map functions can
20652         or can't do to their arguments.
20653
20654 2005-11-18  Wim Taymans  <wim@fluendo.com>
20655
20656         * gst/gstclock.c: (gst_clock_set_calibration),
20657         (gst_clock_get_calibration):
20658         Doc and API fixes.
20659         Calibration can be set with internal time equal to current
20660         internal time too.
20661
20662 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20663
20664         * gst/gsterror.c:
20665         * gst/gsterror.h:
20666           document
20667
20668 2005-11-18  Andy Wingo  <wingo@pobox.com>
20669
20670         * configure.ac: 
20671         * pkgconfig/gstreamer-net.pc.in:
20672         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20673         * pkgconfig/Makefile.am: Add net pkgconfig files.
20674
20675 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20676
20677         * gst/gstcaps.c:
20678         * gst/gstghostpad.c:
20679         * gst/gsttrace.c:
20680         * gst/gstvalue.c:
20681         * gst/gstvalue.h:
20682           docs fixes
20683
20684 2005-11-18  Andy Wingo  <wingo@pobox.com>
20685
20686         * gst/net/gstnetclientclock.c: Turn off debugging.
20687
20688         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20689         times connverge somewhat. Can't make a real test.
20690
20691         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20692         integer arithmetic. Return the minimum of the domain, which can be
20693         set as "internal" for gst_clock_set_calibration.
20694         (gst_net_client_clock_observe_times): Call _set_calibration.
20695         (gst_net_client_clock_new): Call _set_calibration instead of
20696         rate_offset.
20697
20698         * check/net/gstnetclientclock.c (test_functioning): Use the right
20699         adjustment api.
20700
20701         * gst/gstclock.h:
20702         * gst/gstclock.c (gst_clock_get_calibration) 
20703         (gst_clock_set_calibration): New functions, obsolete the ones I
20704         added yesterday. Doh. Precision issues mean we have to extrapolate
20705         from a point in the more recent past than 1970.
20706         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20707         obsolete.
20708         (gst_clock_adjust_unlocked): Use the right calibration data.
20709
20710 2005-11-18  Edward Hervey  <edward@fluendo.com>
20711
20712         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
20713         Also reset the ->current_* values in READY->PAUSED
20714
20715 2005-11-18  Andy Wingo  <wingo@pobox.com>
20716
20717         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20718         Whoops, check the right fd. Also add some debugging.
20719         (gst_net_client_clock_observe_times): Adjust for int64 offset.
20720         (do_linear_regression): Add a crapload of debugging. Subtract off
20721         the minimum values from the input series to discard unneeded bits.
20722         Use only int arithmetic. There is still double arithmetic when
20723         calculating the intercept that needs fixing. Return boolean to
20724         indicate success; FALSE would mean the domain or range is too
20725         great. Still needs fixes.
20726
20727 2005-11-18  Wim Taymans  <wim@fluendo.com>
20728
20729         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20730         For the current position in stream time, we need to subtract
20731         accumulated time.
20732         
20733         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20734         Release lock before calling the callback function of async
20735         entries.
20736
20737 2005-11-18  Andy Wingo  <wingo@pobox.com>
20738
20739         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20740         Port goes all the way to MAXUINT16.
20741
20742         * gst/net/gstnettimeprovider.c: Make the port range the same as
20743         for the kernel: 0 assigns, otherwise ports are less than
20744         MAXUINT16.
20745
20746         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20747         port change.
20748
20749         * check/net/gstnetclientclock.c (test_functioning): Add the start
20750         of another test. 
20751
20752 2005-11-18  Wim Taymans  <wim@fluendo.com>
20753
20754         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20755         (gst_bin_remove_func), (bin_bus_handler):
20756         * gst/gstbin.h:
20757         Removing a clock provider from a bin, triggers a clock lost message
20758         so that a new clock will be selected.
20759         Adding a clock to a bin triggers a clock provider message.
20760         Make sure we reselect a clock when we received a clock lost message.
20761         Keep a reference to the element that provided the clock.
20762
20763 2005-11-18  Andy Wingo  <wingo@pobox.com>
20764
20765         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20766         the clock initially so it produces values around the base time.
20767         (gst_net_client_clock_class_init): Typo fix.
20768         (gst_net_client_clock_thread): Add note on when the socket gets
20769         closed.
20770
20771 2005-11-17  Wim Taymans  <wim@fluendo.com>
20772
20773         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20774         Free remote and local time arrays.
20775
20776 2005-11-17  Wim Taymans  <wim@fluendo.com>
20777
20778         * gst/net/gstnetclientclock.c: (do_linear_regression),
20779         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20780         Fix compilation, uninitialized vars and a forgotten continue.
20781
20782 2005-11-17  Andy Wingo  <wingo@pobox.com>
20783
20784         * check/Makefile.am (check_PROGRAMS): 
20785         * check/net/gstnetclientclock.c: Add a most minimal test for the
20786         net client clock. More to come later.
20787
20788         * gst/net/gstnet.h: 
20789         * gst/net/Makefile.am: Add netclientclock.
20790
20791         * gst/net/gstnetclientclock.h:
20792         * gst/net/gstnetclientclock.c: New files, implement an untested
20793         GstClock that takes its time from a network time provider.
20794         Implements the algorithm in network-clock.scm.
20795
20796         * tests/network-clock.scm (*window-size*): Rename from
20797         *queue-length*.
20798         * tests/network-clock.scm (network-time): 
20799         * tests/network-clock-utils.scm (q-push): Update callers.
20800
20801 2005-11-17  Wim Taymans  <wim@fluendo.com>
20802
20803         * gst/gstbin.c: (gst_bin_provide_clock_func),
20804         (gst_bin_sort_iterator_new):
20805         And unref the child too..
20806
20807 2005-11-17  Wim Taymans  <wim@fluendo.com>
20808
20809         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20810         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20811         Refactor the sort iterator so it can be used while holding the
20812         LOCK too.
20813         Make clock selection select a clock closest to the source.
20814
20815 2005-11-17  Michael Smith <msmith@fluendo.com>
20816
20817         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20818         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20819         * gst/gstclock.h:
20820           Anonymous structs are a gcc (and some other compilers) extension, so
20821           don't use them. Since this is only for ABI-compatibility, and our
20822           API/ABI freeze is over in a few days, this whole thing will only
20823           last a few days, so don't bother trying to think up a meaningful
20824           name for the struct.
20825
20826 2005-11-17  Andy Wingo  <wingo@pobox.com>
20827
20828         * gst/gstclock.h (GstClock): Add rate and offset properties,
20829         preserving ABI stability. Add rate/offset accessors. Will file bug
20830         for the freeze break.
20831
20832         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20833         and offset, trying to keep precision and avoiding
20834         underflow/overflow.
20835         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20836         functions. Make gst_clock_set_time_adjust obsolete.
20837         (gst_clock_set_time_adjust): Note that this function is obsolete.
20838         Will file bug soon.
20839
20840         * gst/base/gstbasetransform.h: Make the ABI-stability hack
20841         greppable by using GST_PADDING-1+1.
20842
20843 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
20844
20845         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20846
20847         * gst/gstmessage.c: (gst_message_parse_clock_lost):
20848           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20849
20850         * gst/gstpadtemplate.h:
20851         * gst/gstpluginfeature.h:
20852           Don't use c++ style comments in headers (#321638).
20853
20854 2005-11-16  Andy Wingo  <wingo@pobox.com>
20855
20856         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20857         buffer.
20858
20859         * check/net/gstnettimeprovider.c: Check to see that the time
20860         provider actually provides times. Works, yo!
20861
20862 2005-11-16  Wim Taymans  <wim@fluendo.com>
20863
20864         * check/Makefile.am:
20865         Enable more tests.
20866
20867         * check/elements/fakesrc.c: (GST_START_TEST):
20868         Set element to NULL before disposing it.
20869
20870 2005-11-16  Andy Wingo  <wingo@pobox.com>
20871
20872         * gst/net/Makefile.am:
20873         * gst/net/gstnet.h:
20874         * gst/net/gstnettimeprovider.c: 
20875         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20876         provider, include it from gstnet.h, and add it to the build.
20877
20878         * gst/net/gstnettimepacket.h: 
20879         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20880         sending and receiving.
20881
20882 2005-11-16  Wim Taymans  <wim@fluendo.com>
20883
20884         * check/Makefile.am:
20885         Enable valgrind check.
20886
20887         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20888         (gst_fake_src_alloc_buffer):
20889         Fix memleak.
20890
20891 2005-11-16  Wim Taymans  <wim@fluendo.com>
20892
20893         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20894         Call parent finalize too.
20895
20896 2005-11-16  Wim Taymans  <wim@fluendo.com>
20897
20898         * check/Makefile.am:
20899         Enable valgrind check that should work fine now.
20900
20901         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20902         * gst/gstqueue.c: (gst_queue_init):
20903         Fix memleaks in pad allocation.
20904
20905 2005-11-16  Andy Wingo  <wingo@pobox.com>
20906
20907         * gst/net/Makefile.am:
20908         * gst/net/gstnet.h: New part of core to hold network elements and
20909         objects. Put in core because it exposes API that applications want
20910         to use. The library is named libgstnet-tempname right now because
20911         of the existing libgstnet in gst-plugins-base. Solution is
20912         probably to rename the one in plugins-base; will file a bug for
20913         the freeze break.
20914
20915         * gst/net/gstnettimeprovider.c: 
20916         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20917         get_time call over the network.
20918
20919         * configure.ac: 
20920         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20921
20922         * check/Makefile.am:
20923         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20924         get additions shortly.
20925
20926 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20927
20928         * gst/gstpad.c: (gst_pad_new_from_static_template):
20929         * gst/gstpad.h:
20930           add gst_pad_new_from_static_template functions
20931         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20932         (gst_check_setup_sink_pad):
20933         * gst/elements/gsttee.c: (gst_tee_init):
20934           and use them
20935
20936 2005-11-16  Wim Taymans  <wim@fluendo.com>
20937
20938         * gst/gstpad.c: (gst_pad_pause_task):
20939         Removed warning, it's not really an error either.
20940
20941 2005-11-16  Wim Taymans  <wim@fluendo.com>
20942
20943         * gst/base/gstbasetransform.c:
20944         (gst_base_transform_prepare_output_buf),
20945         (gst_base_transform_event):
20946         Check if the caps are NULL, this can happen if the element
20947         is shutting down and the pad caps are set to NULL.
20948
20949 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20950
20951         * gst/elements/gsttee.c: (gst_tee_init):
20952           fix pad template leak in tee
20953
20954 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20955
20956         * gst/glib-compat.c: (g_value_dup_gst_object):
20957         * gst/glib-compat.h:
20958         * gst/gstpad.c: (gst_pad_set_property):
20959           use gst_object_ref when setting the pad template; this will
20960           trigger the pad template leaks on GLib 2.6 and the slaves
20961
20962 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20963
20964         * gst/glib-compat.c: (gst_flags_get_first_value):
20965         * gst/glib-compat.h:
20966         * gst/gstregistryxml.c:
20967           remove functions copied from GLib 2.6
20968
20969 2005-11-16  Michael Smith <msmith@fluendo.com>
20970
20971         * gst/Makefile.am:
20972           Don't link against VALGRIND_LIBS. That was always the wrong thing to
20973           do, but only breaks with newer valgrind versions. We're not a
20974           valgrind tool, we have no link-time dependencies on libcoregrind.
20975
20976 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20977
20978         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20979           some debug changes
20980         * gst/gstmessage.h:
20981           typo fixes
20982
20983 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20984
20985         * gst/base/gstbasesrc.c: (gst_base_src_init):
20986         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20987         * gst/gstqueue.c: (gst_queue_init):
20988         * gst/gstregistryxml.c: (load_feature):
20989           Revert all these unrefs, they don't even pass make check !
20990
20991 2005-11-15  Johan Dahlin  <johan@gnome.org>
20992
20993         * gst/base/gstbasesrc.c: (gst_base_src_init):
20994         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20995         * gst/gstqueue.c: (gst_queue_init): 
20996         Free pad templates, fixes a couple of leaks.
20997
20998 2005-11-15  Daniel Fischer  <dan at f3c dot com>
20999
21000         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21001
21002         * gst/gstpad.c: (gst_pad_get_property):
21003           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21004           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21005           (#321452)
21006
21007 2005-11-15  Wim Taymans  <wim@fluendo.com>
21008
21009         * gst/gstevent.c:
21010         Small doc update.
21011
21012 2005-11-15  Andy Wingo  <wingo@pobox.com>
21013
21014         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21015
21016         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21017         using GST_CLOCK_TIME_NONE to disable base time management.
21018         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21019         time if it was NONE before.
21020         (gst_pipeline_change_state): Only munge the base time if
21021         stream_time != GST_CLOCK_TIME_NONE.
21022
21023         * check/gst/gstpipeline.c (test_base_time): Punt around the
21024         problem of the probe not being called, because that's not the
21025         issue I'm looking at. Add a check that setting stream_time to NONE
21026         disables base time management.
21027         
21028 2005-11-15  Wim Taymans  <wim@fluendo.com>
21029
21030         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21031         segment_stop == -1 at startup.
21032
21033         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21034         (gst_base_transform_change_state):
21035         Init segment values at start.
21036
21037 2005-11-15  Wim Taymans  <wim@fluendo.com>
21038
21039         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21040         0 segment values are 0 in any format.
21041
21042         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21043         * gst/base/gstbasetransform.h:
21044         Parse newsegment correctly in basetransform
21045
21046         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21047         Sync to clock using updated segment values.
21048
21049 2005-11-15  Andy Wingo  <wingo@pobox.com>
21050
21051         * check/gst/gstpipeline.c (test_base_time): Add check that the
21052         base time and stream time are reset correctly.
21053
21054 2005-11-15  Wim Taymans  <wim@fluendo.com>
21055
21056         * docs/design/part-TODO.txt:
21057         Some more TODO items.
21058
21059 2005-11-15  Andy Wingo  <wingo@pobox.com>
21060
21061         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21062         error if the user selected "no clock" as the clocking method.
21063
21064         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21065         timestamps with live capture.
21066
21067         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21068         is 0 but we are a live source, timestamp the buffers using the
21069         element's clock.
21070
21071 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21072
21073         * docs/gst/gstreamer-sections.txt:
21074         * gst/gsterror.c:
21075         * gst/gstghostpad.c:
21076         * gst/gstobject.h:
21077         * gst/gstxml.c:
21078           more section docs
21079
21080 2005-11-14  Wim Taymans  <wim@fluendo.com>
21081
21082         * common/gst.supp:
21083           add suppressions from Wim's Debian machine
21084
21085 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21086
21087         * common/gst.supp:
21088           add suppressions from Andy's AMD64 Ubuntu machine
21089
21090 2005-11-14  Andy Wingo  <wingo@pobox.com>
21091
21092         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21093         STATE_LOCK not necessary. Fixes #311489.
21094
21095         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21096         #305291.
21097
21098         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21099         this function is not implemented.
21100
21101 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21102
21103         * gst/base/gstbasetransform.c:
21104         (gst_base_transform_prepare_output_buf):
21105         Ref the source pad caps while we need them.
21106         Fixes (#321386)
21107
21108 2005-11-11  Wim Taymans  <wim@fluendo.com>
21109
21110         * docs/gst/gstreamer-sections.txt:
21111         Added some docs for GstCollectData.
21112
21113         * gst/base/gstadapter.c:
21114         Some small code example fix.
21115
21116         * gst/base/gstcollectpads.c:
21117         * gst/base/gstcollectpads.h:
21118         Document some more.
21119
21120 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21121
21122         * configure.ac: back to HEAD
21123
21124 === release 0.9.5 ===
21125
21126 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21127
21128         * configure.ac:
21129           releasing 0.9.5, "Bike Lunch Day"
21130
21131 2005-11-11  Wim Taymans  <wim@fluendo.com>
21132
21133         * gst/gstbuffer.c: (_gst_buffer_copy):
21134         Copy more flags.
21135
21136         * gst/gstcaps.c: (gst_caps_is_equal):
21137         Fix some docs.
21138         Make _is_equal fast in the trivial cases.
21139
21140         * gst/gstminiobject.c:
21141         * gst/gstminiobject.h:
21142         More docs. Spifify .h file.
21143
21144         * gst/gstutils.c:
21145         Small doc update.
21146
21147 2005-11-11  Wim Taymans  <wim@fluendo.com>
21148
21149         * gst/base/gstbasetransform.c:
21150         (gst_base_transform_prepare_output_buf),
21151         (gst_base_transform_handle_buffer):
21152         Small cleanups.
21153         If we're processing a buffer and need to allocate an output
21154         buffer, we cannot accept a format change. If we did get a 
21155         format change, we have to alloc a buffer ourselves of the 
21156         right size.
21157
21158 2005-11-11  Wim Taymans  <wim@fluendo.com>
21159
21160         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21161         While checking the flag for reentrancy in the gstcaps function
21162         is nice to detect recursive invocations, it also makes it 
21163         impossible to call getcaps from multiple threads, which must be
21164         possible. So, checking for recursive calls has to go.
21165
21166 2005-11-11  Michael Smith <msmith@fluendo.com>
21167
21168         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21169           Don't sync on buffers that fall partially outside our current
21170           segment. Prevents an assertion failure/abort playing some files.
21171
21172 2005-11-10  Andy Wingo  <wingo@pobox.com>
21173
21174         * check/gst/gstbin.c (test_message_state_changed_children): Style
21175         fix..
21176
21177         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21178         gst_bus_poll with the signal watch. Ensures that poll and a signal
21179         watch see the same messages.
21180
21181         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21182         a poll and a watch at the same time get the same messages.
21183
21184 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21185
21186         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21187         * gst/gstcaps.c: (gst_caps_intersect):
21188           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21189           and it's not needed.
21190
21191 2005-11-10  Wim Taymans  <wim@fluendo.com>
21192
21193         * docs/design/part-TODO.txt:
21194         Updated todo.
21195
21196 2005-11-10  Wim Taymans  <wim@fluendo.com>
21197
21198         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21199         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21200         (gst_base_src_do_sync), (gst_base_src_get_range):
21201         Implement clock sync in base class.
21202
21203 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21204
21205         patch by: Tim-Philipp Müller <tim at centricular dot net>
21206
21207         * gst/gststructure.c: (gst_structure_parse_field),
21208         (gst_structure_from_string):
21209           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21210           so that gst_parse_launch() can deal with spaces in filtered link
21211           caps (fixes #164479)
21212         * check/gst/capslist.h:
21213         * check/gst/gststructure.c: (GST_START_TEST):
21214           add unit tests for this change
21215
21216 2005-11-10  Wim Taymans  <wim@fluendo.com>
21217
21218         * docs/gst/gstreamer-sections.txt:
21219         * gst/gstelement.c:
21220         * gst/gstelement.h:
21221         Fix docs, move some STATE macros to private.
21222
21223 2005-11-10  Wim Taymans  <wim@fluendo.com>
21224
21225         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21226         Added check for bug #317341
21227
21228         * gst/gstbuffer.c:
21229         * gst/gstbuffer.h:
21230         Some more spiffifying.
21231
21232         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21233         Call peer linkfunction if we are a source pad. Totally fixes
21234         #317341
21235
21236         * gst/gstpad.c:
21237         Update docs, source pads should call the peer linkfunction
21238         so they can atomically perform the pad link.
21239
21240 2005-11-09  Wim Taymans  <wim@fluendo.com>
21241
21242         * gst/gstbuffer.c:
21243         * gst/gstbuffer.h:
21244         Uber-spiffy-spiffify some more.
21245
21246 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21247
21248         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21249         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21250         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21251         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21252         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21253         * gst/gstpad.c: (gst_pad_init):
21254           Use GST_DEBUG_FUNCPTR() more extensively.
21255
21256 2005-11-09  Wim Taymans  <wim@fluendo.com>
21257
21258         * gst/gstobject.c: (gst_object_class_init):
21259         * gst/gstobject.h:
21260         Documentation fixes.
21261
21262 2005-11-09  Edward Hervey  <edward@fluendo.com>
21263
21264         * gst/gsttypefindfactory.c:
21265         Fix docs.
21266         
21267 2005-11-09  Edward Hervey  <edward@fluendo.com>
21268
21269         * gst/base/gsttypefindhelper.c:
21270         * gst/gsttypefind.c:
21271         * gst/gsttypefind.h:
21272         Fix docs.
21273
21274 2005-11-09  Wim Taymans  <wim@fluendo.com>
21275
21276         * gst/gstiterator.c:
21277         Fix revision data.
21278
21279         * gst/gsttask.c:
21280         * gst/gsttask.h:
21281         Fix docs.
21282
21283 2005-11-09  Wim Taymans  <wim@fluendo.com>
21284
21285         * gst/gstevent.h:
21286         * gst/gsturi.h:
21287         Fix docs.
21288
21289 2005-11-09  Wim Taymans  <wim@fluendo.com>
21290
21291         * docs/gst/gstreamer-sections.txt:
21292         Moved the message async delivery private lock and cond
21293         to the private section.
21294
21295         * gst/gstmessage.c:
21296         * gst/gstmessage.h:
21297         Fixed docs.
21298
21299 2005-11-09  Edward Hervey  <edward@fluendo.com>
21300
21301         * docs/gst/gstreamer-sections.txt:
21302         * gst/gsturi.c:
21303         * gst/gsturi.h:
21304         Document GstURIHandler
21305
21306 2005-11-09  Wim Taymans  <wim@fluendo.com>
21307
21308         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21309         (gst_iterator_find_custom):
21310         * gst/gstiterator.h:
21311         Fix iterator docs.
21312
21313 2005-11-09  Wim Taymans  <wim@fluendo.com>
21314
21315         * gst/gstbin.h:
21316         Document another field.
21317
21318         * gst/gststructure.c:
21319         * gst/gststructure.h:
21320         Document.
21321
21322 2005-11-09  Wim Taymans  <wim@fluendo.com>
21323
21324         * gst/gstbin.h:
21325         Documented structs.
21326
21327 2005-11-09  Wim Taymans  <wim@fluendo.com>
21328
21329         * docs/gst/gstreamer-sections.txt:
21330         Added some new macros.
21331
21332         * gst/gstclock.c:
21333         * gst/gstclock.h:
21334         * gst/gstobject.h:
21335         Docs updates.
21336
21337 2005-11-09  Wim Taymans  <wim@fluendo.com>
21338
21339         * docs/design/part-TODO.txt:
21340         Some more items for the TODO
21341
21342         * gst/gstcaps.c:
21343         * gst/gstcaps.h:
21344         Document GstCaps.
21345
21346 2005-11-09  Andy Wingo  <wingo@pobox.com>
21347
21348         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21349         to work on something else now tho...
21350
21351         * gst/base/gstadapter.c: More adapter docs.
21352
21353         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21354         (gst_file_sink_stop): New functions, replace the state change
21355         handler.
21356         (gst_file_sink_class_init): Hook up the start and stop functions.
21357         (gst_file_sink_base_init): Don't set the state change handler any
21358         more. It was a bit ugly too, being set from here...
21359         (gst_file_sink_get_property, gst_file_sink_set_property):
21360         Cleanups...
21361         (gst_file_sink_set_location): More robust check that doesn't call
21362         GST_STATE. Ugggggg.
21363
21364 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21365
21366         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21367           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21368
21369 2005-11-08  Wim Taymans  <wim@fluendo.com>
21370
21371         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21372         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21373         (gst_base_sink_chain), (gst_base_sink_change_state):
21374         * gst/base/gstbasesink.h:
21375         * gst/base/gstbasesrc.h:
21376         * gst/gstelement.h:
21377         * gst/gstevent.h:
21378         Avoid excessive typechecking in macros.
21379
21380         * gst/gstminiobject.c: (gst_mini_object_get_type),
21381         (gst_mini_object_init), (gst_mini_object_new),
21382         (gst_mini_object_free):
21383         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21384         (gst_object_finalize):
21385         Remove cruft code, optimize alloc_trace.
21386
21387 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21388
21389         * docs/faq/gst-uninstalled:
21390           fix up PS1 for systems that try to reset it
21391
21392 2005-11-07  Wim Taymans  <wim@fluendo.com>
21393
21394         * gst/base/gstbasesrc.c: (gst_base_src_init),
21395         (gst_base_src_get_range):
21396         Set the segment_end to -1 initially. Fixed typefind.
21397
21398 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21399
21400         * gst/base/gstadapter.c:
21401           Debug category should be 'adapter', not 'GstAdapter'.
21402           
21403         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21404         (gst_collectpads_class_init), (gst_collectpads_init),
21405         (gst_collectpads_peek), (gst_collectpads_pop),
21406         (gst_collectpads_event), (gst_collectpads_chain):
21407           Add debug category and some debugging output. Use boilerplate
21408           macros. Remove some extraneous words from docs.
21409
21410 2005-11-05  Andy Wingo  <wingo@pobox.com>
21411
21412         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21413         macro.
21414
21415 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21416
21417         * docs/gst/gstreamer-sections.txt:
21418         * gst/gstcaps.h:
21419         * gst/gstinfo.c:
21420         * gst/gstminiobject.h:
21421         * gst/gstobject.h:
21422         * gst/gstutils.h:
21423           more docs added
21424
21425 2005-11-04  Wim Taymans  <wim@fluendo.com>
21426
21427         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21428         Small update to stop at the configured segment_end
21429         position.
21430
21431 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21432
21433         * gst/gstregistry.c:
21434         * gst/gstregistry.h:
21435           added missing docs
21436
21437 2005-11-04  Edward Hervey  <edward@fluendo.com>
21438
21439         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21440         Check if we are doing a segment seek and have arrived at the
21441         end of that segment.
21442
21443 2005-11-04  Wim Taymans  <wim@fluendo.com>
21444
21445         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21446         Don't leak a mutex unlock in case of an error.
21447
21448         * gst/gstbus.h:
21449         Doc fixes.
21450
21451 2005-11-04  Wim Taymans  <wim@fluendo.com>
21452
21453         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21454         (gst_bus_post):
21455         Get the context to wake up only once.
21456
21457 2005-11-03  Wim Taymans  <wim@fluendo.com>
21458
21459         * check/states/sinks.c: (GST_START_TEST):
21460         Uncomment fixed check.
21461
21462         * docs/design/part-TODO.txt:
21463         Updated TODO.
21464
21465         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21466         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21467         (gst_base_sink_get_position):
21468         If we are going to PLAYING, post the right pending state
21469         when we post the intermediate paused message.
21470
21471         * gst/gstelement.c: (gst_element_continue_state),
21472         (gst_element_set_state_func), (gst_element_change_state):
21473         Don't post state changes that were between the same state
21474         and were not ASYNC.
21475
21476 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21477
21478         * docs/gst/gstreamer-sections.txt:
21479         * gst/gstcaps.h:
21480         * gst/gstinfo.c:
21481         * gst/gstminiobject.h:
21482         * gst/gstobject.h:
21483         * gst/gstutils.h:
21484           more docs and doc style fixes
21485
21486 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21487
21488         * docs/gst/gstreamer-sections.txt:
21489         * gst/gstelement.c:
21490         * gst/gstminiobject.c:
21491         doc fixes
21492
21493 2005-11-03  Andy Wingo  <wingo@pobox.com>
21494
21495         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21496         state-changed messages actually have the right order and the right
21497         values.
21498
21499 2005-11-03  Wim Taymans  <wim@fluendo.com>
21500
21501         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21502         Added some more checks. Specifically the case where NO_PREROLL
21503         elements are in the pipeline.
21504
21505         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21506         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21507         (gst_base_sink_get_position):
21508         Post READY->PAUSED state change messages too.
21509         Fix bug where VOID was posted as pending state...
21510
21511         * gst/gstbin.c: (gst_bin_recalc_state):
21512         use _element_continue_state() to continue the state change.
21513
21514         * gst/gstelement.c: (gst_element_continue_state),
21515         (gst_element_commit_state), (gst_element_set_state_func),
21516         (gst_element_change_state), (gst_element_change_state_func):
21517         Lots of state change cleanups, assign the STATE_RETURN in
21518         a new continue_state() function that also propagates the
21519         last return value from a state change to the app.
21520         Update some debug statements with proper category.
21521
21522 2005-11-03  Wim Taymans  <wim@fluendo.com>
21523
21524         * docs/design/part-events.txt:
21525         * docs/design/part-gstpipeline.txt:
21526         * docs/design/part-messages.txt:
21527         * docs/design/part-overview.txt:
21528         * docs/design/part-seeking.txt:
21529         * docs/design/part-states.txt:
21530         * docs/design/part-trickmodes.txt:
21531         * docs/manual/advanced-position.xml:
21532         Small docs updates.
21533
21534         * gst/gstobject.h:
21535         People think !! is ugly, this looks better.
21536
21537         * gst/gstpad.c: (gst_pad_set_blocked_async):
21538         Remove !! since it's fixed elsewhere now.
21539
21540 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21541
21542         * gst/gstminiobject.h:
21543         * gst/gstobject.h:
21544           Add !! to _FLAG_IS_SET macros to make the result boolean.
21545
21546 2005-11-03  Edward Hervey  <edward@fluendo.com>
21547
21548         * gst/gstpad.c: (gst_pad_set_blocked_async):
21549         comparing a flag and a gboolean rarely returns coherent results...
21550         Added two characters (!!) to make that work correctly.
21551         
21552 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21553
21554         * gst/gstbus.c: (gst_bus_class_init):
21555           Fix some typos.
21556           
21557         * gst/gstqueue.c: (gst_queue_loop):
21558           Don't assume a miniobject that isn't a buffer is an
21559           event (it could be that there is a refcounting
21560           problem somewhere and the pointer is stale and
21561           refers to an already destroyed miniobject).
21562
21563 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21564
21565         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21566
21567 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21568
21569         * docs/manual/advanced-position.xml:
21570           Update seek example and explanations to current 0.9 API.
21571
21572         * gst/elements/gsttypefindelement.c:
21573         (gst_type_find_element_activate):
21574           Remove FIXME comment now that the found caps
21575           are unreffed.
21576
21577 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21578
21579         * gst/gstregistryxml.c: (load_feature):
21580           Add another GST_STR_NULL instance
21581
21582 2005-11-02  Edward Hervey  <edward@fluendo.com>
21583
21584         * gst/gstpad.c: (handle_pad_block):
21585         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21586         
21587 2005-11-02  Wim Taymans  <wim@fluendo.com>
21588
21589         * gst/gstbin.c:
21590         Fix typo in docs.
21591
21592         * gst/gstelement.c: (gst_element_commit_state):
21593         Remove unused value.
21594
21595         * gst/gstiterator.c:
21596         Mention that the returned element is reffed in the docs.
21597
21598 2005-11-02  Wim Taymans  <wim@fluendo.com>
21599
21600         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21601         (gst_pad_push), (gst_pad_push_event):
21602         Unlock blocked pads when they are flushed.
21603
21604 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21605
21606         * docs/README:
21607         * docs/gst/gstreamer-sections.txt:
21608         * gst/gstbin.c:
21609           doc updates
21610         * gst/gstregistry.c: (gst_registry_scan_path_level):
21611           fix for a nasty little missed situation where an installed plug-in
21612           which was in the cache did not get overridden by an uninstalled one
21613           which was earlier in the plugin path because the newly created plugin
21614           for the uninstalled one (not in the registry) didn't get its
21615           ->registered set to TRUE
21616
21617 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21618
21619         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21620         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21621         (gst_collectpads_is_active), (gst_collectpads_collect),
21622         (gst_collectpads_collect_range), (gst_collectpads_start),
21623         (gst_collectpads_stop), (gst_collectpads_peek),
21624         (gst_collectpads_pop), (gst_collectpads_available),
21625         (gst_collectpads_read), (gst_collectpads_flush):
21626           Guard public API with assertions.
21627         
21628         * gst/gstpad.c:
21629           Fix docs for gst_pad_set_link_function().
21630
21631 2005-11-02  Johan Dahlin  <johan@gnome.org>
21632
21633         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21634         Unref found_caps after we used it.
21635
21636 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21637
21638         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21639           Don't try to ref NULL.
21640
21641 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21642
21643         * win32/common/config.h.in:
21644           provide a GST_FUNCTION that just gives a string for now
21645
21646 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21647
21648         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21649         (gst_object_flags_get_type), (register_gst_bin_flags),
21650         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21651         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21652         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21653         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21654         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21655         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21656         (gst_clock_flags_get_type), (register_gst_state),
21657         (gst_state_get_type), (register_gst_state_change_return),
21658         (gst_state_change_return_get_type), (register_gst_state_change),
21659         (gst_state_change_get_type), (register_gst_element_flags),
21660         (gst_element_flags_get_type), (register_gst_core_error),
21661         (gst_core_error_get_type), (register_gst_library_error),
21662         (gst_library_error_get_type), (register_gst_resource_error),
21663         (gst_resource_error_get_type), (register_gst_stream_error),
21664         (gst_stream_error_get_type), (register_gst_event_type),
21665         (gst_event_type_get_type), (register_gst_seek_type),
21666         (gst_seek_type_get_type), (register_gst_seek_flags),
21667         (gst_seek_flags_get_type), (register_gst_format),
21668         (gst_format_get_type), (register_gst_index_certainty),
21669         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21670         (gst_index_entry_type_get_type),
21671         (register_gst_index_lookup_method),
21672         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21673         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21674         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21675         (gst_index_flags_get_type), (register_gst_debug_level),
21676         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21677         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21678         (gst_iterator_result_get_type), (register_gst_iterator_item),
21679         (gst_iterator_item_get_type), (register_gst_message_type),
21680         (gst_message_type_get_type), (register_gst_mini_object_flags),
21681         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21682         (gst_pad_link_return_get_type), (register_gst_flow_return),
21683         (gst_flow_return_get_type), (register_gst_activate_mode),
21684         (gst_activate_mode_get_type), (register_gst_pad_direction),
21685         (gst_pad_direction_get_type), (register_gst_pad_flags),
21686         (gst_pad_flags_get_type), (register_gst_pad_presence),
21687         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21688         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21689         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21690         (gst_plugin_error_get_type), (register_gst_plugin_flags),
21691         (gst_plugin_flags_get_type), (register_gst_rank),
21692         (gst_rank_get_type), (register_gst_query_type),
21693         (gst_query_type_get_type), (register_gst_tag_merge_mode),
21694         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21695         (gst_tag_flag_get_type), (register_gst_task_state),
21696         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21697         (gst_alloc_trace_flags_get_type),
21698         (register_gst_type_find_probability),
21699         (gst_type_find_probability_get_type), (register_gst_uri_type),
21700         (gst_uri_type_get_type), (register_gst_parse_error),
21701         (gst_parse_error_get_type):
21702         * win32/common/gstversion.h:
21703           update win32 copies
21704
21705 2005-11-01  Luca Ognibene  <luogni@tin.it>
21706
21707         * gst/gst.c:
21708           fix docs. popt is dead, long live GOption.
21709
21710 2005-10-31  Wim Taymans  <wim@fluendo.com>
21711
21712         * gst/gstbuffer.h:
21713         Small doc fix.
21714
21715 2005-10-31  Andy Wingo  <wingo@pobox.com>
21716
21717         * Boo!
21718
21719         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21720
21721         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21722         need to serialize property notifications on GLib 2.8. GLib 2.6 has
21723         the possibility of deadlocks here if code calling notify() or
21724         set() has a lock that can be taken in another notify handler (ABBA
21725         with class lock and e.g. python GIL state lock).
21726
21727 2005-10-28  Julien MOUTTE  <julien@moutte.net>
21728
21729         * gst/gstbus.c: Doc updates.
21730
21731 2005-10-28  Wim Taymans  <wim@fluendo.com>
21732
21733         * docs/design/part-TODO.txt:
21734         * gst/gstiterator.c:
21735         * gst/gstsystemclock.c:
21736         * gst/gstsystemclock.h:
21737         Doc updates.
21738
21739 2005-10-28  Edward Hervey  <edward@fluendo.com>
21740
21741         * docs/gst/gstreamer-docs.sgml:
21742         * docs/gst/gstreamer-sections.txt:
21743         the GstURIType documentation page is private, it only defines GstURIType
21744         which should be defined in the GstURIHandler page
21745         
21746 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21747
21748         * gst/gstbin.c: (gst_bin_class_init):
21749         * gst/gstbin.h:
21750         * gst/gstutils.c:
21751         Documentation updates.
21752
21753 2005-10-28  Wim Taymans  <wim@fluendo.com>
21754
21755         * docs/gst/gstreamer-sections.txt:
21756         * gst/gstclock.c:
21757         * gst/gstclock.h:
21758         Documented the clocks.
21759
21760 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
21761
21762         * docs/gst/gstreamer-sections.txt:
21763           move some macros to private sections
21764         * gst/gstminiobject.c:
21765         * gst/gstminiobject.h:
21766           add descriptions provided by ds and some more
21767         * gst/gstpad.h:
21768           mark macro as to be removed
21769
21770 2005-10-28  Wim Taymans  <wim@fluendo.com>
21771
21772         * docs/design/part-TODO.txt:
21773         Add an item to TODO.
21774
21775         * gst/gstiterator.c: (gst_iterator_fold),
21776         (gst_iterator_find_custom):
21777         * gst/gstiterator.h:
21778         Add iterator docs.
21779
21780 2005-10-28  Wim Taymans  <wim@fluendo.com>
21781
21782         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21783         (gst_base_transform_init):
21784         Don't leak class.
21785
21786         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21787         An EOS event marks the queue as completely filled.
21788
21789 2005-10-27  Wim Taymans  <wim@fluendo.com>
21790
21791         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21792         (gst_base_sink_do_sync), (gst_base_sink_get_position):
21793         Some more debugging.
21794
21795         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21796         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21797         (gst_base_transform_event), (gst_base_transform_getrange),
21798         (gst_base_transform_chain):
21799         * gst/base/gstbasetransform.h:
21800         Fix debugging,
21801         Protect transform and concurrent buffer alloc with a new lock.
21802         Try not to break ABI/API.
21803
21804 2005-10-27  Wim Taymans  <wim@fluendo.com>
21805
21806         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21807         (gst_base_src_init), (gst_base_src_query),
21808         (gst_base_src_default_newsegment),
21809         (gst_base_src_configure_segment), (gst_base_src_do_seek),
21810         (gst_base_src_send_event), (gst_base_src_event_handler),
21811         (gst_base_src_pad_get_range), (gst_base_src_loop),
21812         (gst_base_src_unlock), (gst_base_src_default_negotiate),
21813         (gst_base_src_start), (gst_base_src_deactivate),
21814         (gst_base_src_activate_push), (gst_base_src_change_state):
21815         Move some stuff around and cleanup things.
21816
21817 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
21818
21819         * gst/base/gstbasesrc.c: (gst_base_src_query):
21820           Add missing break statements.
21821
21822 2005-10-27  Wim Taymans  <wim@fluendo.com>
21823
21824         * check/gst/gstbin.c: (GST_START_TEST):
21825         An extra refcount is taken in basesrc.
21826
21827         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21828         (gst_base_src_get_range), (gst_base_src_pad_get_range),
21829         (gst_base_src_loop):
21830         Small cleanups, check for flushing after being unlocked from the 
21831         LIVE_LOCK. take refcounts correctly (not yet everywhere).
21832         Don't send out EOS when going to READY.
21833
21834 2005-10-27  Wim Taymans  <wim@fluendo.com>
21835
21836         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21837         (gst_base_sink_get_position):
21838         Some more debug.
21839
21840         * gst/gstbin.c: (message_check), (bin_replace_message),
21841         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21842         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21843         (bin_query_duration_init), (bin_query_duration_fold),
21844         (bin_query_duration_done), (bin_query_generic_fold),
21845         (gst_bin_query):
21846         * tools/gst-launch.c: (main):
21847         Remove old option.
21848
21849 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
21850
21851         * examples/controller/audio-example.c: (main):
21852         * examples/queue/queue.c: (event_loop):
21853         * gst/base/gstbasetransform.h:
21854         * gst/gstelement.c: (gst_element_send_event):
21855         * gst/gstevent.h:
21856         * gst/gstpad.c: (gst_pad_send_event):
21857           fixing examples
21858           fixing docs typos
21859           changing log priority in error situations
21860
21861 2005-10-25  Wim Taymans  <wim@fluendo.com>
21862
21863         * gst/gstbin.c: (message_check), (bin_replace_message),
21864         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21865         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21866         (bin_query_duration_init), (bin_query_duration_fold),
21867         (bin_query_duration_done), (bin_query_generic_fold),
21868         (gst_bin_query):
21869         Some doc and debug updates.
21870         Cache previously requested query DURATION for speed. invalidate
21871         cached duration if element posts a DURATION message.
21872
21873 2005-10-25  Wim Taymans  <wim@fluendo.com>
21874
21875         * docs/design/part-TODO.txt:
21876         Update TODO.
21877
21878         * gst/gstbin.c: (message_check), (bin_replace_message),
21879         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21880         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21881         (bin_query_duration_init), (bin_query_duration_fold),
21882         (bin_query_duration_done), (bin_query_generic_fold),
21883         (gst_bin_query):
21884         Handle SEGMENT_START/DONE messages correctly.
21885         More evolved query algorithm that handles duration queries
21886         correctly.
21887
21888         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21889         (gst_element_get_state_func), (gst_element_abort_state),
21890         (gst_element_commit_state), (gst_element_lost_state):
21891         Some more debugging.
21892
21893         * gst/gstmessage.h:
21894         Added doc.
21895
21896 2005-10-25  Wim Taymans  <wim@fluendo.com>
21897
21898         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21899         Don't use invalid stream_time.
21900
21901         * gst/gstevent.c: (gst_event_new_newsegment):
21902         stream_time in newsegment cannot be undefined.
21903
21904 2005-10-24  Wim Taymans  <wim@fluendo.com>
21905
21906         * gst/gstbus.c:
21907         Doc fix.
21908
21909         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21910         (gst_queue_loop):
21911         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21912
21913 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
21914
21915         * docs/libs/tmpl/gstdparam.sgml:
21916         * docs/libs/tmpl/gstdplinint.sgml:
21917         * docs/libs/tmpl/gstdpman.sgml:
21918         * docs/libs/tmpl/gstdpsmooth.sgml:
21919         * docs/libs/tmpl/gstunitconvert.sgml:
21920           these are obsolete
21921
21922 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21923
21924         * configure.ac:
21925           back to HEAD
21926
21927 === release 0.9.4 ===
21928
21929 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21930
21931         * configure.ac:
21932           releasing 0.9.4, "Tyrannosaurus Rex"
21933
21934 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
21935
21936         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21937         (gst_file_sink_get_current_offset):
21938           Use fseeko() and ftello() if available. When falling back on
21939           lseek() to get the current offset, fflush() first to make sure
21940           everything is up-to-date and we get the right offset.
21941
21942 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21943
21944         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21945         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21946         * gst/gsterror.c: (_gst_stream_errors_init):
21947         * gst/gsterror.h:
21948         * gst/gstqueue.c: (gst_queue_loop):
21949         * po/POTFILES.in:
21950           remove prematurely added error category and clean up the instances
21951
21952 2005-10-21  Wim Taymans  <wim@fluendo.com>
21953
21954         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21955         (gst_base_sink_get_position), (gst_base_sink_query),
21956         (gst_base_sink_change_state):
21957         Simply set the right flag when going to playing, that's all
21958         we need to do instead of calling a function inside the object
21959         lock (that could take the lock as well and deadlock)
21960
21961 2005-10-21  Wim Taymans  <wim@fluendo.com>
21962
21963         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
21964         (gst_base_src_loop):
21965         Don't warn, the peer element knows what to do best when
21966         the seek failed, it might try something else.
21967
21968 2005-10-21  Wim Taymans  <wim@fluendo.com>
21969
21970         * gst/base/gstbasesrc.c: (gst_base_src_init),
21971         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21972         Fix seeking.
21973
21974 2005-10-21  Wim Taymans  <wim@fluendo.com>
21975
21976         * docs/design/part-segments.txt:
21977         More docs.
21978
21979         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
21980         Correctly set caps, even on the subbufer.
21981
21982 2005-10-21  Wim Taymans  <wim@fluendo.com>
21983
21984         * docs/gst/gstreamer-docs.sgml:
21985         * docs/gst/gstreamer-sections.txt:
21986         * gst/gstelement.h:
21987         * gst/gstevent.c:
21988         * gst/gstevent.h:
21989         * gst/gstmessage.h:
21990         * gst/gstpad.h:
21991         * gst/gstparse.h:
21992         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
21993         * gst/gsttask.h:
21994         * gst/gstutils.c:
21995         * gst/gstutils.h:
21996         And 2% more doc coverage.
21997
21998 2005-10-21  Andy Wingo  <wingo@pobox.com>
21999
22000         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22001         position reporting.
22002
22003 2005-10-20  Wim Taymans  <wim@fluendo.com>
22004
22005         * gst/gsterror.c: (gst_error_get_message):
22006         * gst/gstparse.h:
22007         * gst/gstquery.h:
22008         * gst/gststructure.c:
22009         * gst/gsttrace.c:
22010         * gst/gstutils.c:
22011         More docs.
22012
22013 2005-10-20  Wim Taymans  <wim@fluendo.com>
22014
22015         * gst/gstbuffer.h:
22016         * gst/gstpad.c:
22017         * gst/gstparse.c:
22018         Another 1% more coverage.
22019
22020 2005-10-20  Wim Taymans  <wim@fluendo.com>
22021
22022         * docs/gst/gstreamer-sections.txt:
22023         * gst/gstelement.c: (gst_element_get_state_func),
22024         (gst_element_abort_state), (gst_element_commit_state),
22025         (gst_element_lost_state):
22026         * gst/gstevent.h:
22027         * gst/gstquery.c: (gst_query_set_position),
22028         (gst_query_parse_position), (gst_query_set_duration),
22029         (gst_query_parse_duration), (gst_query_new_convert):
22030         * gst/gstutils.c:
22031         Yay! 1% more docs coverage.
22032
22033 2005-10-20  Wim Taymans  <wim@fluendo.com>
22034
22035         * gst/gstpad.h:
22036         * gst/gstquery.c: (gst_query_set_position),
22037         (gst_query_parse_position), (gst_query_set_duration),
22038         (gst_query_parse_duration), (gst_query_new_convert):
22039         * gst/gstquery.h:
22040         * gst/gstutils.c: (gst_element_query_convert):
22041         * gst/gstutils.h:
22042         Docs and consistency fixes.
22043
22044 2005-10-20  Wim Taymans  <wim@fluendo.com>
22045
22046         * gst/gsttask.c:
22047         * gst/gsttask.h:
22048         More docs.
22049
22050 2005-10-20  Wim Taymans  <wim@fluendo.com>
22051
22052         * gst/gstbin.c: (message_check), (bin_replace_message),
22053         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22054         (update_degree), (gst_bin_sort_iterator_next),
22055         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22056         Reworked the message handling a bit, cache the messages instead of
22057         only the senders. alows us to do more in the future.
22058
22059 2005-10-20  Wim Taymans  <wim@fluendo.com>
22060
22061         * docs/design/part-TODO.txt:
22062         Update TODO
22063
22064         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22065         (gst_base_sink_query):
22066         Don't use clock time to report position when in EOS.
22067
22068 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22069
22070         * tools/gst-inspect.c: (print_interfaces),
22071         (print_element_properties_info), (print_element_info):
22072           Fix interface output with gst-inspect -a; don't print
22073           newlines after double/float properties.
22074
22075 2005-10-20  Wim Taymans  <wim@fluendo.com>
22076
22077         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22078         (gst_base_sink_query):
22079         Speed up current position calculation.
22080
22081         * gst/base/gstbasesrc.c: (gst_base_src_query),
22082         (gst_base_src_default_newsegment):
22083         Correctly set stream position in newsegment.
22084
22085         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22086         (update_degree), (gst_bin_sort_iterator_next),
22087         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22088         * gst/gstmessage.c: (gst_message_new_custom):
22089         Clean up debugging info
22090
22091         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22092         (gst_queue_loop), (gst_queue_handle_src_query):
22093         Pause task faster.
22094
22095 2005-10-19  Wim Taymans  <wim@fluendo.com>
22096
22097         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22098         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22099         Fix query handling again.
22100
22101 2005-10-19  Wim Taymans  <wim@fluendo.com>
22102
22103         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22104         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22105         * gst/base/gstbasesrc.c: (gst_base_src_query):
22106         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22107         * gst/elements/gsttypefindelement.c:
22108         (gst_type_find_handle_src_query), (find_element_get_length),
22109         (gst_type_find_element_activate):
22110         API change fix.
22111
22112         * gst/gstquery.c: (gst_query_new_position),
22113         (gst_query_set_position), (gst_query_parse_position),
22114         (gst_query_new_duration), (gst_query_set_duration),
22115         (gst_query_parse_duration), (gst_query_set_segment),
22116         (gst_query_parse_segment):
22117         * gst/gstquery.h:
22118         Bundling query position/duration is not a good idea since duration
22119         does not change much and we don't want to recalculate it for every
22120         position query, so they are separated again..
22121         Base value in segment query is not needed.
22122
22123         * gst/gstqueue.c: (gst_queue_handle_src_query):
22124         * gst/gstutils.c: (gst_element_query_position),
22125         (gst_element_query_duration), (gst_pad_query_position),
22126         (gst_pad_query_duration):
22127         * gst/gstutils.h:
22128         Updates for query API change.
22129         Added some docs here and there.
22130
22131 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22132
22133         * check/gst/gstbin.c: (GST_START_TEST):
22134         * check/gst/gstghostpad.c: (GST_START_TEST):
22135         * check/pipelines/cleanup.c: (GST_START_TEST):
22136           wait on thread to die so we can check refcount correctly
22137
22138 2005-10-18  Wim Taymans  <wim@fluendo.com>
22139
22140         * check/pipelines/stress.c: (GST_START_TEST):
22141         Make check a little more time consuming.
22142
22143 2005-10-18  Wim Taymans  <wim@fluendo.com>
22144
22145         * check/Makefile.am:
22146         * check/pipelines/stress.c: (GST_START_TEST),
22147         (simple_launch_lines_suite), (main):
22148         Small state change torture test.
22149
22150         * docs/design/part-states.txt:
22151         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22152         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22153         (gst_base_sink_change_state):
22154         Never take state lock from streaming thread, clean up ugly
22155         hacks. Unfortunatly core does not yet support nice ways to
22156         async commit state.
22157         
22158         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22159         (bin_bus_handler):
22160         Start state recalc if a STATE_DIRTY message is posted, but only
22161         on the toplevel bin.
22162
22163         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22164         (gst_element_get_state_func), (gst_element_abort_state),
22165         (gst_element_commit_state), (gst_element_lost_state),
22166         (gst_element_set_state_func), (gst_element_change_state):
22167         * gst/gstelement.h:
22168         State variables are now protected with the LOCK, the state
22169         lock is only used to serialize _set_state().
22170
22171 2005-10-18  Wim Taymans  <wim@fluendo.com>
22172
22173         * check/gst/gstbin.c: (GST_START_TEST):
22174         * check/gst/gstmessage.c: (GST_START_TEST):
22175         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22176         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22177         (bin_bus_handler):
22178         * gst/gstelement.c: (gst_element_abort_state),
22179         (gst_element_commit_state), (gst_element_lost_state):
22180         * gst/gstmessage.c: (gst_message_new_state_changed),
22181         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22182         (gst_message_new_segment_done), (gst_message_new_duration),
22183         (gst_message_parse_state_changed),
22184         (gst_message_parse_segment_start),
22185         (gst_message_parse_segment_done), (gst_message_parse_duration):
22186         * gst/gstmessage.h:
22187         * tools/gst-launch.c: (event_loop):
22188         Seriously, this is better than a previous commit as we only need
22189         to notify the fact that an element changed state in a streaming
22190         thread, marking the state of the parents dirty, hence the 
22191         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22192         message.
22193
22194 2005-10-18  Wim Taymans  <wim@fluendo.com>
22195
22196         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22197         (gst_bin_recalc_func):
22198         * gst/gstelement.c: (gst_element_set_clock),
22199         (gst_element_abort_state), (gst_element_lost_state):
22200         Cleanups, prepare for state change fixes.
22201
22202 2005-10-18  Wim Taymans  <wim@fluendo.com>
22203
22204         * gst/gstbin.h:
22205         * gst/gstelement.c: (gst_element_class_init),
22206         (gst_element_set_state), (gst_element_set_state_func):
22207         * gst/gstelement.h:
22208         Pending ABI changes.
22209         GThreadPool in GstBinClass to monitor async state changes.
22210         state_cookie in GstElement to detect concurrent gst/set state.
22211         set_state is now virtual too in case a very complicated element
22212         has to be constructed.
22213
22214 2005-10-18  Wim Taymans  <wim@fluendo.com>
22215
22216         * check/gst/gstbin.c: (GST_START_TEST):
22217         * check/gst/gstmessage.c: (GST_START_TEST):
22218         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22219         * gst/gstbin.c: (bin_bus_handler):
22220         * gst/gstelement.c: (gst_element_commit_state),
22221         (gst_element_lost_state):
22222         * gst/gstmessage.c: (gst_message_new_state_changed),
22223         (gst_message_new_segment_start), (gst_message_new_segment_done),
22224         (gst_message_new_duration), (gst_message_parse_state_changed),
22225         (gst_message_parse_segment_start),
22226         (gst_message_parse_segment_done), (gst_message_parse_duration):
22227         * gst/gstmessage.h:
22228         * tools/gst-launch.c: (event_loop):
22229         Make messages future proof.
22230         state-change gets a flag if it was a message comming from the
22231         streaming thread.
22232         segment-start/stop can also be specified in other formats.
22233         A message to notify an app that a pipeline changed playback 
22234         duration.
22235         Also fix a GstMessage leak in -launch
22236
22237 2005-10-18  Andy Wingo  <wingo@pobox.com>
22238
22239         * gst/gstelement.c (gst_element_dispose): More helpful message.
22240
22241 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22242
22243         reviewed by: <delete if not using a buddy>
22244
22245         * common/gtk-doc.mak:
22246
22247 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22248
22249         * gst/gstregistry.c: (gst_registry_scan_path_level):
22250           unref a plug-in we get that was already initialized
22251
22252 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22253
22254         * docs/gst/gstreamer-sections.txt:
22255         * docs/libs/gstreamer-libs-sections.txt:
22256         * gst/gstelement.h:
22257           add new api entries
22258           hide internal macro
22259
22260 2005-10-17  Andy Wingo  <wingo@pobox.com>
22261
22262         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22263         cleanup.
22264
22265         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22266
22267         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22268
22269         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22270         (gst_element_get_state_func): Better debug message.
22271         (gst_element_commit_state): s/INFO/DEBUG/.
22272         (gst_element_lost_state, gst_element_change_state): 
22273
22274         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22275         (gst_message_new_custom): s/INFO/LOG/.
22276
22277 2005-10-17  Michael Smith <msmith@fluendo.com>
22278
22279         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22280           Check if end time is valid using end time, not start time.
22281
22282 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22283
22284         * check/gst-libs/controller.c: (GST_START_TEST),
22285         (gst_controller_suite):
22286         * libs/gst/controller/gstcontroller.c:
22287         (gst_controlled_property_set_interpolation_mode):
22288         * libs/gst/controller/gstcontroller.h:
22289         * libs/gst/controller/gstinterpolation.c:
22290         * testsuite/controller/.cvsignore:
22291         * testsuite/controller/Makefile.am:
22292         * testsuite/controller/interpolator.c:
22293           merge controller testsuites
22294           fix broken tests
22295           remove mem-chunk from docs
22296
22297 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22298
22299         * gst/gstmemchunk.c:
22300         * gst/gstmemchunk.h:
22301         * gst/gsttrashstack.c:
22302         * gst/gsttrashstack.h:
22303           out.  get out.  you're fired.  to the Attic !
22304
22305 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22306
22307         * gst/gstcaps.c: (gst_caps_intersect):
22308           fix signedness issues in a (hopefully) correct way
22309         * gst/gstelement.c: (gst_element_pads_activate):
22310           some debugging
22311         * gst/gstobject.c: (gst_object_set_parent):
22312           some debugging
22313
22314 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22315
22316         * gst/gstvalue.h: Fix prototypes.
22317
22318 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22319
22320         * docs/gst/gstreamer-sections.txt:
22321         * gst/gst.c: (gst_version_string):
22322         * gst/gst.h:
22323         * gst/gstversion.h.in:
22324         * win32/common/libgstreamer.def:
22325           add gst_version_string ()
22326
22327 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22328
22329         * configure.ac:
22330           clean up further
22331         * gst/gst.c: (init_post):
22332         * win32/common/config.h.in:
22333           it's PLUGINDIR now
22334         * gst/gstcaps.c: (gst_caps_intersect):
22335           use gint64, the range could be bigger than a guint
22336
22337 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22338
22339         * gst/gstclock.h:
22340           document potential problem in 2038
22341
22342 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22343
22344         * gst/gstcaps.c: (gst_caps_intersect):
22345           Fix guint j diving under 0
22346
22347 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22348
22349         * configure.ac:
22350         * win32/common/config.h:
22351         * win32/common/config.h.in:
22352           check for process.h, declares getpid() on Windows
22353         * gst/gstinfo.c:
22354           include process.h if we have it
22355         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22356         * gst/gstmemchunk.h:
22357           fix signedness issues
22358         * win32/common/libgstreamer.def:
22359           fix get_type's
22360
22361 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22362
22363         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22364         fix. Because of unsigned ints, caps intersection was going nuts and
22365         trying to access structures with G_MAXUINT index. That fixes
22366         videotestsrc ! ffmpegcolorspace ! fakesink
22367         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22368         consistency.
22369
22370 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22371
22372         * configure.ac:
22373           use the gettext macro
22374         * gst/elements/gstelements.c:
22375         * gst/gst.c:
22376         * gst/indexers/gstindexers.c:
22377           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22378         * win32/common/config.h:
22379           updated config.h
22380         * win32/common/config.h.in:
22381           add the template to generate config.h
22382         * win32/common/gstenumtypes.c:
22383         * win32/common/gstversion.h:
22384           updated copies
22385
22386 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22387
22388         * gst/gst.c: (gst_version):
22389         * gst/gstversion.h.in:
22390           add the nano
22391
22392 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22393
22394         * gst/gstevent.h:
22395           Oops, add missing closing bracket.
22396
22397 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22398
22399         * configure.ac:
22400           use common m4's for argument checking
22401
22402 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22403
22404         * docs/gst/gstreamer-sections.txt:
22405         * gst/gstevent.h:
22406           Add GST_EVENT_TYPE_NAME() macro.
22407
22408 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22409
22410         * gst/gstinfo.c:
22411         * gst/gstpluginfeature.c:
22412         * gst/gsttask.c:
22413           privatize more symbols
22414
22415 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22416
22417         * configure.ac:
22418           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22419           everything that uses GStreamer API should have the includes
22420
22421 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22422
22423         * docs/gst/gstreamer-sections.txt:
22424         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22425         * gst/gstvalue.h:
22426           give each value a _get_type, removes the DATA exports
22427
22428 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22429
22430         * gst/gst.c:
22431         * gst/gst.h:
22432           remove _gst_registry_auto_load, not used anymore
22433         * gst/gstbin.c: (gst_bin_get_type):
22434         * gst/gstbin.h:
22435         * gst/gstelement.c: (gst_element_get_type):
22436         * gst/gstelement.h:
22437         * gst/gstobject.c: (gst_object_get_type):
22438         * gst/gstobject.h:
22439         * gst/gstpad.c: (gst_pad_get_type):
22440         * gst/gstpad.h:
22441           make _get_type functions similar, fixes data export from library
22442
22443 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22444
22445         * configure.ac:
22446           correctly make conditionals
22447         * gst/elements/Makefile.am:
22448         * gst/elements/gstelements.c:
22449           fix typo causing fdsrc not to build
22450
22451 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22452
22453         * testsuite/Makefile.am:
22454         * testsuite/bytestream/.cvsignore:
22455         * testsuite/bytestream/Makefile.am:
22456         * testsuite/bytestream/filepadsink.c:
22457         * testsuite/bytestream/gstbstest.c:
22458         * testsuite/bytestream/test1.c:
22459         * testsuite/bytestream/testfile1:
22460         * testsuite/caps/normalisation.c:
22461         * testsuite/caps/random.c: (main):
22462         * testsuite/cleanup/.cvsignore:
22463         * testsuite/cleanup/Makefile.am:
22464         * testsuite/cleanup/cleanup1.c:
22465         * testsuite/cleanup/cleanup2.c:
22466         * testsuite/cleanup/cleanup3.c:
22467         * testsuite/cleanup/cleanup4.c:
22468         * testsuite/cleanup/cleanup5.c:
22469         * testsuite/controller/interpolator.c:
22470         * testsuite/debug/printf_extension.c: (main):
22471         * testsuite/elements/tee.c:
22472         * testsuite/negotiation/.cvsignore:
22473         * testsuite/negotiation/Makefile.am:
22474         * testsuite/negotiation/pad_link.c:
22475         * testsuite/pad/Makefile.am:
22476         * testsuite/pad/chainnopull.c:
22477         * testsuite/pad/getnopush.c:
22478         * testsuite/pad/link.c:
22479         * testsuite/refcounting/sched.c: (create_pipeline):
22480         * testsuite/registry/Makefile.am:
22481         * testsuite/registry/gst-print-formats.c:
22482         * testsuite/schedulers/.cvsignore:
22483         * testsuite/schedulers/142183-2.c:
22484         * testsuite/schedulers/142183.c:
22485         * testsuite/schedulers/143777-2.c:
22486         * testsuite/schedulers/143777.c:
22487         * testsuite/schedulers/147713.c:
22488         * testsuite/schedulers/147819.c:
22489         * testsuite/schedulers/147894-2.c:
22490         * testsuite/schedulers/147894.c:
22491         * testsuite/schedulers/Makefile.am:
22492         * testsuite/schedulers/group_link.c:
22493         * testsuite/schedulers/queue_link.c:
22494         * testsuite/schedulers/relink.c:
22495         * testsuite/schedulers/unlink.c:
22496         * testsuite/schedulers/unref.c:
22497         * testsuite/schedulers/useless_iteration.c:
22498         * testsuite/states/bin.c:
22499           clean out/remove some stuff from the testsuite directories
22500
22501 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22502
22503         * configure.ac:
22504           check for some headers
22505         * gst/elements/Makefile.am:
22506         * gst/elements/gstelements.c:
22507           don't compile fdsrc without sys/socket.h
22508         * gst/indexers/Makefile.am:
22509         * gst/indexers/gstindexers.c: (plugin_init):
22510           don't compile fileindex without mmap
22511
22512 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22513
22514         * configure.ac:
22515           reorganize
22516           clean up
22517           document more
22518           remove cruft
22519         * check/Makefile.am:
22520         * docs/gst/Makefile.am:
22521         * examples/helloworld/Makefile.am:
22522         * gst/Makefile.am:
22523         * gst/base/Makefile.am:
22524         * gst/check/Makefile.am:
22525         * gst/elements/Makefile.am:
22526         * gst/indexers/Makefile.am:
22527         * gst/parse/Makefile.am:
22528         * libs/gst/controller/Makefile.am:
22529         * libs/gst/dataprotocol/Makefile.am:
22530         * examples/helloworld/helloworld.c: (event_loop):
22531           compile fixes, though it's not being compiled currently
22532
22533 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22534
22535         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22536           Add some simple tests for the new taglist date API.
22537
22538 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22539
22540         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22541         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22542           Beautify 'last-message' output: print 'none' for buffer timestamps
22543           and durations if none is set; improve alignment with next messages.
22544
22545 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22546
22547         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22548         * gst/gstpluginfeature.h:
22549         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22550         * gst/gstregistry.h:
22551         * docs/gst/gstreamer-sections.txt:
22552           Add new API to check plugin feature version requirements.
22553
22554         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22555           Some basic tests for the above.         
22556
22557 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22558
22559         * gst/gststructure.c: (gst_structure_to_string):
22560           guard against NULL printf - happens when for example
22561           a message structure with GstClock gets serialized
22562
22563 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22564
22565         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22566           Fix presumable copy'n'pasto.
22567
22568 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22569
22570         * gst/elements/gstfakesrc.h:
22571         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22572         * gst/elements/gsttypefindelement.c:
22573           fix some signedness
22574         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22575           I wonder if this could actually write +2GB files before
22576
22577 2005-10-13  Andy Wingo  <wingo@pobox.com>
22578
22579         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22580         Fix Timmeke Waymans bug.
22581         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22582         string of the proper length to gst_caps_from_string. There's a
22583         potential for, before this fix, that this could cause someone
22584         connecting over the network to cause a segfault if the payload is
22585         not NUL-terminated.
22586
22587 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22588
22589         * docs/design/draft-push-pull.txt:
22590         * docs/design/part-overview.txt:
22591         * docs/random/TODO-pre-0.9:
22592         * docs/random/old/ChangeLog.gstreamer:
22593         * gst/base/gstpushsrc.c:
22594         * gst/gstclock.c:
22595           fixed typos
22596
22597 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22598
22599         * gst/glib-compat.c: (gst_flags_get_first_value):
22600         * gst/glib-compat.h:
22601         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22602         (gst_value_compare_double), (gst_value_serialize_flags):
22603           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22604           infinite loop
22605
22606 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22607
22608         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22609         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22610           fix up debugging
22611         * tools/gst-launch.c: (event_loop):
22612           print out clock nicely
22613
22614 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22615
22616         * docs/gst/gstreamer-sections.txt:
22617         * gst/gsttaglist.h:
22618         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22619         (gst_tag_list_get_date_index):
22620           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22621           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22622
22623 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22624
22625         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22626         (gst_collectpads_chain):
22627         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22628         in CollectData.
22629
22630 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22631
22632         * docs/gst/gstreamer-sections.txt:
22633         * gst/gst.c:
22634         * gst/gsterror.h:
22635         * tools/gst-inspect.c: (main):
22636         * tools/gst-launch.c: (main):
22637         * tools/gst-run.c: (main):
22638         * tools/gst-xmlinspect.c: (main):
22639           fix GOption context leaks
22640           doc fixes
22641
22642 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22643
22644         * gst/gstbus.c:
22645           use HAVE_UNISTD_H
22646         * win32/common/config.h:
22647           update config
22648         * win32/vs6/grammar.dsp:
22649         * win32/vs6/libgstelements.dsp:
22650         * win32/vs6/libgstreamer.dsp:
22651           update vs6 files
22652
22653 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22654
22655         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22656         * gst/base/gstbasesrc.c: (gst_base_src_query):
22657           fix more guint64<->gdouble conversions
22658
22659 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22660
22661         * Makefile.am:
22662           add win32-update target
22663         * win32/common/gstconfig.h:
22664         * win32/common/gstenumtypes.c:
22665         * win32/common/gstenumtypes.h:
22666         * win32/common/gstversion.h:
22667           add files that visual studio can't generate
22668
22669 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22670
22671         * Makefile.am:
22672           add a win32-update target
22673         * configure.ac:
22674
22675 2005-10-12  Wim Taymans  <wim@fluendo.com>
22676
22677         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22678         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22679         * gst/gstelement.c: (gst_element_commit_state),
22680         (gst_element_set_state):
22681         Protect flags with proper lock.
22682         unref provided cached clock in dispose.
22683
22684 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22685
22686         * gst/gst.c:
22687         * gst/gstminiobject.h:
22688         * gst/gstpad.h:
22689         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22690           removed unused flags from miniobject
22691           doc fixes
22692
22693 2005-10-12  Wim Taymans  <wim@fluendo.com>
22694
22695         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22696         (gst_file_sink_event), (gst_file_sink_render):
22697         Flush before seeking.
22698
22699 2005-10-12  Andy Wingo  <wingo@pobox.com>
22700
22701         * gst/gst.c (gst_init_check): Ignore unknown options, as has
22702         always been the case.
22703
22704 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22705
22706         * check/gst/gstbin.c: (GST_START_TEST):
22707         * docs/gst/gstreamer-sections.txt:
22708         * gst/base/gstbasesink.c: (gst_base_sink_init):
22709         * gst/base/gstbasesrc.c: (gst_base_src_init),
22710         (gst_base_src_get_range), (gst_base_src_check_get_range),
22711         (gst_base_src_start), (gst_base_src_stop):
22712         * gst/base/gstbasesrc.h:
22713         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22714         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22715         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22716         (bin_bus_handler):
22717         * gst/gstbin.h:
22718         * gst/gstbuffer.h:
22719         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22720         * gst/gstbus.h:
22721         * gst/gstelement.c: (gst_element_is_locked_state),
22722         (gst_element_set_locked_state), (gst_element_commit_state),
22723         (gst_element_set_state):
22724         * gst/gstelement.h:
22725         * gst/gstindex.c: (gst_index_init):
22726         * gst/gstindex.h:
22727         * gst/gstminiobject.h:
22728         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22729         (gst_object_set_parent):
22730         * gst/gstobject.h:
22731         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22732         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22733         * gst/gstpad.h:
22734         * gst/gstpadtemplate.h:
22735         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22736         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22737         * gst/gstpipeline.h:
22738         * gst/indexers/gstfileindex.c: (gst_file_index_load),
22739         (gst_file_index_commit):
22740         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22741         * testsuite/pad/link.c: (gst_test_src_init),
22742         (gst_test_filter_init), (gst_test_sink_init):
22743         * testsuite/states/locked.c: (main):
22744           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22745           moved bitshift from macro to enum definition
22746
22747 2005-10-12  Wim Taymans  <wim@fluendo.com>
22748
22749         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22750         * gst/elements/gstfilesink.c: (gst_file_sink_event),
22751         (gst_file_sink_render):
22752         Some more debugging info.
22753
22754 2005-10-12  Wim Taymans  <wim@fluendo.com>
22755
22756         * docs/design/part-states.txt:
22757         * tools/gst-launch.c: (main):
22758         Some doc updates.
22759         Revert non-intentional change.
22760
22761 2005-10-12  Wim Taymans  <wim@fluendo.com>
22762
22763         * check/gst/gstbin.c: (GST_START_TEST):
22764         * check/gst/gstelement.c: (GST_START_TEST):
22765         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22766         * check/gst/gstghostpad.c: (GST_START_TEST):
22767         * check/gst/gstpipeline.c: (GST_START_TEST):
22768         * check/pipelines/simple_launch_lines.c: (run_pipeline):
22769         * check/states/sinks.c: (GST_START_TEST):
22770         * gst/elements/gsttypefindelement.c: (stop_typefinding):
22771         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22772         (gst_bin_remove_func), (gst_bin_get_state_func),
22773         (gst_bin_recalc_state), (gst_bin_change_state_func),
22774         (bin_bus_handler):
22775         * gst/gstelement.c: (gst_element_get_state_func),
22776         (gst_element_get_state), (gst_element_abort_state),
22777         (gst_element_commit_state), (gst_element_set_state),
22778         (gst_element_change_state), (gst_element_change_state_func):
22779         * gst/gstelement.h:
22780         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22781         (gst_pipeline_provide_clock_func):
22782         * gst/gstutils.c: (gst_element_link_pads_filtered):
22783         * tools/gst-launch.c: (main):
22784         * tools/gst-typefind.c: (main):
22785         Use GstClockTime in _get_state() instead of GTimeVal.
22786         Remove old code in gstutils.c
22787
22788 2005-10-12  Andy Wingo  <wingo@pobox.com>
22789
22790         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22791         removed.
22792
22793         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22794         there is no task. Shouldn't affect any code, as nothing in our
22795         plugins checks this return value.
22796         (gst_pad_stop_task): Also take the stream lock if the pad has no
22797         task. Docs updated.
22798
22799 2005-10-12  Wim Taymans  <wim@fluendo.com>
22800
22801         * gst/gstpad.c: (pre_activate), (post_activate),
22802         (gst_pad_activate_pull), (gst_pad_activate_push):
22803         Cleanup activation code. Reset old state if
22804         activation failed.
22805
22806 2005-10-12  Wim Taymans  <wim@fluendo.com>
22807
22808         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22809         (gst_base_sink_change_state):
22810         No need to prerol after receiving EOS.
22811
22812         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22813         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22814         * gst/elements/gstidentity.c: (gst_identity_event):
22815         Print events more verbosely.
22816
22817 2005-10-12  Wim Taymans  <wim@fluendo.com>
22818
22819         * check/Makefile.am:
22820         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22821         * check/states/sinks2.c:
22822         Moved sinks2 testcode in sinks check.
22823
22824         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22825         (gst_bin_remove_func), (gst_bin_recalc_state),
22826         (gst_bin_change_state_func), (bin_bus_handler):
22827         Fix potential race condition when _get_state() iterated over an
22828         ASYNC element right before it posted a state completion.
22829
22830         * gst/gstclock.h:
22831         Do proper cast here.
22832
22833         * gst/gstevent.c: (gst_event_new_newsegment),
22834         (gst_event_parse_newsegment):
22835         A playback rate of 0.0 is not allowed.
22836
22837 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22838
22839         * win32/common/config.h:
22840         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22841         (_trewinddir), (_ttelldir), (_tseekdir):
22842         * win32/common/dirent.h:
22843         * win32/common/gtchar.h:
22844         * win32/common/libgstbase.def:
22845         * win32/common/libgstreamer.def:
22846         * win32/vs6/grammar.dsp:
22847         * win32/vs6/gst_inspect.dsp:
22848         * win32/vs6/gst_launch.dsp:
22849         * win32/vs6/gstreamer.dsw:
22850         * win32/vs6/libgstbase.dsp:
22851         * win32/vs6/libgstelements.dsp:
22852         * win32/vs6/libgstreamer.dsp:
22853           Visual Studio 6 project files, and a new common directory.
22854           Phear.
22855
22856 2005-10-11  Wim Taymans  <wim@fluendo.com>
22857
22858         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22859         (gst_base_sink_do_sync), (gst_base_sink_query),
22860         (gst_base_sink_change_state):
22861         * gst/base/gstbasesink.h:
22862         Correctly parse newsegment info.
22863
22864 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22865
22866         * gst/gst.c: (init_post):
22867           split plugin paths correctly
22868
22869 2005-10-11  Wim Taymans  <wim@fluendo.com>
22870
22871         * check/gst/gstevent.c: (GST_START_TEST):
22872         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22873         (gst_base_sink_change_state):
22874         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22875         * gst/base/gstbasetransform.c: (gst_base_transform_event):
22876         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22877         * gst/gstevent.c: (gst_event_new_newsegment),
22878         (gst_event_parse_newsegment):
22879         * gst/gstevent.h:
22880         Added extra flag to newsegment for future API freeze.
22881         Updated check and base elements.
22882
22883 2005-10-11  Julien MOUTTE  <julien@moutte.net>
22884
22885         * gst/base/gstcollectpads.c: (gst_collectpads_init),
22886         (gst_collectpads_add_pad), (gst_collectpads_pop),
22887         (gst_collectpads_event), (gst_collectpads_chain):
22888         * gst/base/gstcollectpads.h: Handle EOS correctly.
22889
22890 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22891
22892         * tools/gst-launch.c: (main):
22893           more null protecting
22894
22895 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22896
22897         * gst/gst-i18n-lib.h:
22898           check for ENABLE_NLS, not GETTEXT_PACKAGE
22899         * gst/gstregistry.c: (gst_registry_add_plugin),
22900         (gst_registry_scan_path_level),
22901         (_gst_registry_remove_cache_plugins):
22902           protect possibly NULL strings
22903         * gst/parse/types.h:
22904           config.h already included before
22905         * tools/gst-inspect.c: (main):
22906           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22907           check for ENABLE_NLS, not GETTEXT_PACKAGE
22908         * tools/gst-launch.c: (main):
22909           check for ENABLE_NLS, not GETTEXT_PACKAGE
22910
22911 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22912
22913         * configure.ac:
22914           if we don't have glib, fail before testing 2.8
22915         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22916           fix a leak, should fix plugins-base testsuite
22917
22918 2005-10-11  Andy Wingo  <wingo@pobox.com>
22919
22920         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22921         take the mode we're going to as an arg. Go head and set the mode
22922         and flushing flags now, so that if the activate function starts a
22923         thread all the flags will be in the right state.
22924         (post_activate): Renamed also. Just handle making sure streaming
22925         finishes for the deactivation case, and setting the deactivated
22926         mode.
22927         (gst_pad_set_active): Complain loudly if deactivation fails.
22928         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22929         (gst_pad_activate_push): Adapt to pre/post_activate changes,
22930         remove the terrible hack.
22931
22932 2005-10-11  Wim Taymans  <wim@fluendo.com>
22933
22934         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22935         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22936         (gst_bin_recalc_state), (gst_bin_change_state_func),
22937         (gst_bin_dispose), (bin_bus_handler):
22938         * gst/gstbin.h:
22939         Prepare to make current EOS message queue more generic.
22940         Fix some typos.
22941
22942         * gst/gstevent.c: (gst_event_new_newsegment),
22943         (gst_event_parse_newsegment):
22944         * gst/gstevent.h:
22945         Rename base to stream_time.
22946
22947         * gst/gstmessage.h:
22948         Fix typo in docs.
22949
22950 2005-10-11  Wim Taymans  <wim@fluendo.com>
22951
22952         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22953         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
22954         (gst_bin_change_state_func), (bin_bus_handler):
22955         * gst/gstbin.h:
22956         Work on proper clock selection.
22957
22958 2005-10-11  Edward Hervey  <edward@fluendo.com>
22959
22960         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
22961         * libs/gst/controller/gstcontroller.h:
22962         Added GList* version of _remove_properties() in order to be able to wrap
22963         it in bindings.
22964
22965 2005-10-11  Wim Taymans  <wim@fluendo.com>
22966
22967         * docs/design/part-states.txt:
22968         Some more docs.
22969
22970         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
22971         (gst_bin_change_state_func), (bin_bus_handler):
22972         Doc updates. Don't distribute the same clock over and over again.
22973
22974         * gst/gstclock.c:
22975         * gst/gstclock.h:
22976         Doc updates.
22977
22978         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
22979         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
22980         (gst_pad_send_event):
22981         * gst/gstpad.h:
22982         Make probe emission threadsafe again.
22983         Register quarks and move _get_name() from utils.
22984         Doc updates.
22985
22986         * gst/gstpipeline.c: (gst_pipeline_class_init),
22987         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22988         Only redistribute the clock of it changed.
22989
22990         * gst/gstsystemclock.h:
22991         Doc updates. 
22992
22993         * gst/gstutils.c:
22994         * gst/gstutils.h:
22995         Moved the _flow_get_name() to GstPad.
22996
22997 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22998
22999         * check/gst-libs/gdp.c: (GST_START_TEST):
23000         * check/gst/gstcaps.c: (GST_START_TEST):
23001         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23002         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23003         (gst_dp_packet_from_caps):
23004           fix more valgrind warnings before turning up the heat
23005
23006 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23007
23008         * gst/parse/grammar.y:
23009           some cleanup before the hacking
23010
23011 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23012
23013         * gst/base/gstbasesrc.c: (gst_base_src_query):
23014           use conversions
23015         * gst/gstutils.c: (gst_guint64_to_gdouble),
23016         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23017         * gst/gstutils.h:
23018           externalize, basesrc uses it
23019           obviously the implementation needs testing
23020
23021 2005-10-10  Wim Taymans  <wim@fluendo.com>
23022
23023         * tests/sched/Makefile.am:
23024         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23025         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23026
23027 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23028
23029         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23030           apparently converting from guint64 to double is not implemented
23031           on MSVC
23032
23033 2005-10-10  Wim Taymans  <wim@fluendo.com>
23034
23035         * check/Makefile.am:
23036         * check/generic/states.c: (GST_START_TEST):
23037         * check/gst/gstbin.c: (GST_START_TEST):
23038         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23039         * check/states/sinks.c: (GST_START_TEST):
23040         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23041         (main):
23042         Check fixes, use API as stated in design docs, remove hacks.
23043
23044         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23045         (gst_base_sink_change_state):
23046         Catch stopping our task while we're shutting down.
23047
23048         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23049         (gst_bin_remove_func), (gst_bin_get_state_func),
23050         (gst_bin_recalc_state), (gst_bin_change_state_func),
23051         (bin_bus_handler):
23052         * gst/gstbin.h:
23053         * gst/gstelement.c: (gst_element_init),
23054         (gst_element_get_state_func), (gst_element_abort_state),
23055         (gst_element_commit_state), (gst_element_lost_state),
23056         (gst_element_set_state), (gst_element_change_state),
23057         (gst_element_change_state_func):
23058         * gst/gstelement.h:
23059         New state change algorithm (see #318116)
23060
23061         * gst/gstpipeline.c: (gst_pipeline_class_init),
23062         (gst_pipeline_init), (gst_pipeline_set_property),
23063         (gst_pipeline_get_property), (do_pipeline_seek),
23064         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23065         * gst/gstpipeline.h:
23066         Remove crude state change hacks.
23067
23068         * gst/gstutils.h:
23069         Remove crude hacks.
23070
23071         * tools/gst-launch.c: (main):
23072         Fixes for state change. Needs some more work to fully use the
23073         new stuff.
23074
23075 2005-10-10  Andy Wingo  <wingo@pobox.com>
23076
23077         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23078
23079         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23080         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23081         issue.
23082
23083 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23084
23085         * gst/gstiterator.c: (gst_iterator_new):
23086           Fix my previous commit: GTypes passed to gst_iterator_new()
23087           can be fundamental types.
23088
23089 2005-10-10  Wim Taymans  <wim@fluendo.com>
23090
23091         * gst/gstelement.c: (gst_element_iterate_pad_list),
23092         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23093         (gst_element_iterate_sink_pads):
23094         Use src/sink pads lists for the respective iterators instead
23095         of filtering.
23096
23097 2005-10-10  Andy Wingo  <wingo@pobox.com>
23098
23099         Merged in popt removal + GOption addition patch from Ronald, bug
23100         #169772.
23101
23102         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23103         GstElement macros around, remove popt-related symbols, add goption
23104         stuff.
23105
23106         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23107         
23108         * docs/gst/Makefile.am:
23109         * docs/libs/Makefile.am: No POPT_CFLAGS.
23110         
23111         * examples/manual/Makefile.am:
23112         * docs/manual/basics-init.xml: Doc updates with an example.
23113         
23114         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23115         (gst_init), (parse_one_option), (parse_goption_arg):
23116         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23117         bit of hand merging and debugging to get the GOption stuff working
23118         tho.
23119         
23120         * tests/Makefile.am:
23121         * tools/Makefile.am:
23122         * tools/gst-inspect.c: (main):
23123         * tools/gst-launch.c: (main):
23124         * tools/gst-run.c: (main):
23125         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23126
23127 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23128
23129         * gst/gstiterator.c: (gst_iterator_new):
23130           Add assertions to make sure passed GType is likely to really
23131           be a GType (as the compiler won't catch it if the size and
23132           GType arguments get mixed up, see #318447).
23133
23134 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23135
23136         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23137
23138         * gst/gstbin.c: (gst_bin_iterate_sorted):
23139           Pass GType and size arguments to gst_iterator_new() in the right
23140           order (maybe we should make _new() take the GType as first argument
23141           just like _new_list()?) (#318447).
23142           
23143
23144 2005-10-10  Wim Taymans  <wim@fluendo.com>
23145
23146         * gst/gstelement.c: (gst_element_finalize):
23147         And free the GStaticRecMutex too
23148
23149 2005-10-10  Andy Wingo  <wingo@pobox.com>
23150
23151         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23152         Allocate and free the mutex properly.
23153
23154         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23155         New macros.
23156         (GstElement): The state_lock is now recursive. Rebuild your
23157         plugins, suckers. Old macros adapted.
23158
23159         * docs/gst/gstreamer-sections.txt: Doc updates.
23160
23161         * gst/gstutils.h:
23162         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23163         (g_static_rec_cond_wait): Ported from state changes patch, while
23164         we wait on bug #317802 to be solved in a well-distributed GLib.
23165
23166         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23167         gst_element_change_state, variable name changes.
23168         (gst_element_change_state): Split out of gst_element_set_state in
23169         preparation for the state change merge. Doesn't pay attention to
23170         the 'transition' argument.
23171         (gst_element_set_state): Updates, hopefully purely cosmetic.
23172         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23173         state change patch.
23174         (gst_element_get_state_func): Renamed from get_state, cosmetic
23175         changes.
23176
23177 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23178
23179         * gst/elements/gstelements.c:
23180         * win32/GStreamer.vcproj:
23181         * win32/config.h:
23182         * win32/dirent.c: (_tseekdir):
23183         * win32/gst-inspect.vcproj:
23184         * win32/gst-launch.vcproj:
23185         * win32/gstconfig.h:
23186         * win32/gstelements.vcproj:
23187         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23188         * win32/gstreamer.def:
23189         * win32/msvc71.sln:
23190           updates for the win32 build (patch from Sebastien Moutte)
23191
23192 2005-10-10  Andy Wingo  <wingo@pobox.com>
23193
23194         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23195         gst_bin_get_state, cleaned up (but no logic changes).
23196         (bin_element_is_sink): Comment updates.
23197         (sink_iterator_filter): Remove needless cast.
23198         (gst_bin_iterate_sinks): Doc update.
23199         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23200         cleaned up (but no logic changes).
23201
23202         * check/states/sinks.c (test_src_sink): Cleanups from the state
23203         change patch.
23204         (test_livesrc_sink): Sync on the state.
23205
23206         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23207         the state change patch.
23208
23209         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23210         change patch.
23211
23212         * check/gst/gstbin.c: Merge in some style fixes and additional
23213         checks from Wim's state change patch.
23214
23215 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23216
23217         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23218         (gst_type_find_helper):
23219           Check whether we have the requested data already in our list of
23220           cached buffers before pulling a new buffer; also make the buffer
23221           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23222
23223 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23224
23225         * gst/gstcaps.c:
23226         * gst/gstevent.c:
23227           doc updates
23228         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23229           don't use long long, it's not portable.  Replacing with
23230           gint64 seems to work; let's hope no skeletons fall out of the closet.
23231
23232 2005-10-10  Andy Wingo  <wingo@pobox.com>
23233
23234         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23235
23236 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23237
23238         * docs/gst/gstreamer-sections.txt:
23239         * gst/gstevent.c:
23240         * gst/gstevent.h:
23241         * gst/gstinfo.c:
23242         * gst/gstinfo.h:
23243         * gst/gstmessage.c: (gst_message_parse_state_changed):
23244         * gst/gstpad.c:
23245         * gst/gstpad.h:
23246           more docs, fix compilation
23247
23248 2005-10-09  Philippe Khalaf <burger@speedy.org>
23249         * gst/gstmessage.c:
23250           Fixed a few forgotten variables on previous commit
23251
23252 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23253
23254         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23255           Fix evil typefind crasher: getrange() might return a short
23256           buffer at the end of a file, but gst_type_find_peek() must
23257           either return the full data as requested or NULL, but
23258           never a short buffer.
23259
23260 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23261
23262         * gst/gstmessage.c: (gst_message_new_state_changed),
23263         (gst_message_parse_state_changed):
23264         * gst/gstmessage.h:
23265           don't use "new", it's a C++ keyword
23266
23267 2005-10-08  Wim Taymans  <wim@fluendo.com>
23268
23269         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23270         * gst/gstelement.c: (gst_element_post_message):
23271         * gst/gstpipeline.c: (gst_pipeline_change_state):
23272         Small docs and debug updates.
23273
23274 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23275
23276         * docs/gst/gstreamer-sections.txt:
23277         * gst/gstelementfactory.c:
23278         * gst/gstevent.c:
23279         * gst/gsttaglist.c:
23280           more docs
23281
23282 2005-10-08  Wim Taymans  <wim@fluendo.com>
23283
23284         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23285         (gst_bin_dispose), (bin_bus_handler):
23286         Fix typos, add comments.
23287         Clear EOS list when going to PAUSED from any direction and do it
23288         in a threadsafe way.
23289         Get base time in a threadsafe way too.
23290         Fix confusing debug in the change_state function.
23291         Various other small cleanups.
23292         
23293         * gst/gstelement.c: (gst_element_post_message):
23294         Fix very verbose bus posting code.
23295
23296         * gst/gstpipeline.c: (gst_pipeline_class_init),
23297         (gst_pipeline_set_property), (gst_pipeline_get_property),
23298         (gst_pipeline_change_state):
23299         Small ARG_ -> PROP_ cleanup
23300
23301 2005-10-08  Wim Taymans  <wim@fluendo.com>
23302
23303         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23304         Do a less CPU demanding EOS check because we can.
23305
23306 2005-10-08  Wim Taymans  <wim@fluendo.com>
23307
23308         * libs/gst/dataprotocol/dataprotocol.c:
23309         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23310         (gst_dp_packet_from_event):
23311         * libs/gst/dataprotocol/dataprotocol.h:
23312         * libs/gst/dataprotocol/dp-private.h:
23313         It's about time we bump the version number.
23314         Since event types don't fit in the guint8 anymore describing
23315         the payload type, make payload type 16 bits wide.
23316
23317 2005-10-08  Wim Taymans  <wim@fluendo.com>
23318
23319         * docs/design/part-TODO.txt:
23320         * docs/design/part-clocks.txt:
23321         * docs/design/part-events.txt:
23322         * docs/design/part-gstbin.txt:
23323         * docs/design/part-gstelement.txt:
23324         * docs/design/part-gstpipeline.txt:
23325         * docs/design/part-live-source.txt:
23326         * docs/design/part-messages.txt:
23327         * docs/design/part-overview.txt:
23328         * docs/design/part-states.txt:
23329         Many doc updates.
23330
23331 2005-10-08  Wim Taymans  <wim@fluendo.com>
23332
23333         * gst/gstevent.c:
23334         * gst/gstevent.h:
23335         Fix event quark registration.
23336         Add some space between events so we can insert them in the
23337         right groups.
23338
23339 2005-10-08  Wim Taymans  <wim@fluendo.com>
23340
23341         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23342         (gst_base_sink_handle_buffer):
23343         Better log message.
23344
23345         * gst/gstbus.h:
23346         * gst/gstelement.h:
23347         More docs.
23348
23349         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23350         (gst_queue_set_property), (gst_queue_get_property):
23351         * gst/gstqueue.h:
23352         Remove old unused properties.
23353
23354 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23355         * docs/gst/gstreamer-sections.txt:
23356         * gst/gstmessage.c:
23357         * gst/gstmessage.h:
23358         * gst/gstminiobject.c:
23359         * gst/gstminiobject.h:
23360         * gst/gstobject.h:
23361         * gst/gstpad.h:
23362         * gst/gstutils.h:
23363           lots of new docs and doc fixes
23364
23365 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23366
23367         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23368         * gst/gstplugin.h:
23369         * gst/gstregistry.c: (gst_registry_lookup_locked),
23370         (gst_registry_scan_path_level):
23371         * gst/gstregistryxml.c: (load_plugin):
23372           Only ever load one plugin for a given plugin basename.
23373           This ensures correct overriding of GST_PLUGIN_PATH over
23374           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23375           system installed plugins.
23376
23377 2005-10-08  Wim Taymans  <wim@fluendo.com>
23378
23379         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23380         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23381         Prepare for doing QOS.
23382
23383 2005-10-08  Wim Taymans  <wim@fluendo.com>
23384
23385         * check/gst/gstbin.c: (GST_START_TEST):
23386         * check/pipelines/cleanup.c: (GST_START_TEST):
23387         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23388         Allow new clock message too.
23389
23390 2005-10-08  Wim Taymans  <wim@fluendo.com>
23391
23392         * gst/gstmessage.c: (gst_message_new_error),
23393         (gst_message_new_warning), (gst_message_new_tag),
23394         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23395         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23396         (gst_message_new_segment_start), (gst_message_new_segment_done),
23397         (gst_message_parse_state_changed),
23398         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23399         (gst_message_parse_new_clock):
23400         * gst/gstmessage.h:
23401         Also carry the clock in question.
23402
23403 2005-10-08  Wim Taymans  <wim@fluendo.com>
23404
23405         * gst/gstmessage.c: (gst_message_new_custom),
23406         (gst_message_new_eos), (gst_message_new_error),
23407         (gst_message_new_warning), (gst_message_new_tag),
23408         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23409         (gst_message_new_new_clock), (gst_message_new_segment_start),
23410         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23411         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23412         * gst/gstmessage.h:
23413         Clean up.
23414         Added clock related messages.
23415
23416         * gst/gstpipeline.c: (gst_pipeline_change_state):
23417         Post message when the clock changed.
23418
23419         * tools/gst-launch.c: (event_loop):
23420         Print new clock.
23421
23422 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23423
23424         * tools/gst-inspect.c: (print_element_properties_info):
23425           Can't pass NULL strings to g_print() on windows.
23426
23427 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23428
23429         * docs/Makefile.am:
23430         * docs/gst/Makefile.am:
23431         * docs/gst/gstreamer-docs.sgml:
23432         * docs/gst/running.xml:
23433         * docs/version.entities.in:
23434           add a chapter on running GStreamer.
23435           document GST_DEBUG and GST_PLUGIN* env vars
23436
23437 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23438
23439         * Makefile.am:
23440           remove include dir
23441         * configure.ac:
23442           remove PLUGINS_BUILDDIR stuff
23443         * gst/gst.c: (init_post):
23444           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23445         * idiottest.mak:
23446           remove, it was condescending and not needed
23447
23448 2005-10-08  Wim Taymans  <wim@fluendo.com>
23449
23450         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23451         (gst_base_sink_handle_object), (gst_base_sink_event),
23452         (gst_base_sink_wait), (gst_base_sink_handle_event),
23453         (gst_base_sink_change_state):
23454         * gst/base/gstbasesink.h:
23455         Repost EOS message while going to PLAYING if still EOS.
23456         Make sure that when receiving a FLUSH_START we don't attempt
23457         to sync on the clock anymore.
23458
23459 2005-10-08  Wim Taymans  <wim@fluendo.com>
23460
23461         * tools/gst-launch.c: (event_loop):
23462         Better message printout.
23463
23464 2005-10-08  Wim Taymans  <wim@fluendo.com>
23465
23466         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23467         (gst_bin_child_proxy_get_children_count):
23468         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23469         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23470         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23471         (gst_child_proxy_set_valist):
23472         * gst/parse/grammar.y:
23473         Make ChildProxy threadsafe and fix mem leaks.
23474
23475 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23476
23477         * gst/gst.c: (init_post):
23478           debug the GST_PLUGIN_ env vars
23479
23480 2005-10-08  Wim Taymans  <wim@fluendo.com>
23481
23482         * check/gst/gstbin.c: (GST_START_TEST):
23483         * check/gst/gstmessage.c: (GST_START_TEST):
23484         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23485         * gst/gstelement.c: (gst_element_commit_state),
23486         (gst_element_lost_state):
23487         * gst/gstmessage.c: (gst_message_new_state_changed),
23488         (gst_message_parse_state_changed):
23489         * gst/gstmessage.h:
23490         * tools/gst-launch.c: (event_loop):
23491         Added extra field to STATE_CHANGE message with the pending
23492         state, which will be different from the new state soon.
23493
23494 2005-10-08  Wim Taymans  <wim@fluendo.com>
23495
23496         * gst/gstbus.c: (gst_bus_pop):
23497         * gst/gstclock.c:
23498         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23499         Small cleanups and doc updates.
23500
23501 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23502
23503         * gst/gst.c: (init_pre):
23504         * gst/gstbin.c: (gst_bin_add_func):
23505           log distributing clocks and base time
23506         * gst/gstregistry.c: (gst_registry_add_plugin),
23507         (gst_registry_scan_path_level), (gst_registry_scan_path):
23508           clean up the debugging output a little
23509         * gst/gstutils.c: (gst_element_state_get_name):
23510           warn about a memleak (I've actually seen this be used, though
23511           it was probably a bug)
23512
23513 2005-10-07  Wim Taymans  <wim@fluendo.com>
23514
23515         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23516         (gst_base_src_init), (gst_base_src_default_newsegment),
23517         (gst_base_src_newsegment), (gst_base_src_do_seek),
23518         (gst_base_src_loop), (gst_base_src_start):
23519         * gst/base/gstbasesrc.h:
23520         Make the newsegment event customizable by subclasses.
23521
23522 2005-10-07  Wim Taymans  <wim@fluendo.com>
23523
23524         * gst/gstevent.c: (gst_event_new_buffersize),
23525         (gst_event_parse_buffersize):
23526         * gst/gstevent.h:
23527         New event for future idea.
23528
23529 2005-10-07  Andy Wingo  <wingo@pobox.com>
23530
23531         * gst/gstelement.c (gst_element_post_message): Doc update.
23532
23533         * docs/gst/gstreamer-sections.txt: Update.
23534
23535         * gst/gstmessage.c (gst_message_new_application): Made into a
23536         function like honest API calls.
23537         (gst_message_new_element): New message type.
23538
23539         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23540
23541         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23542         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23543         times.
23544
23545         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23546         NO_PREROLL from gst_element_change_state to fall through.
23547
23548 2005-10-07  Wim Taymans  <wim@fluendo.com>
23549
23550         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23551         (gst_ghost_pad_do_activate_push):
23552         Activating a ghostpad with no internal pad in push mode
23553         is ok.
23554
23555 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23556
23557         * gst/gstobject.h:
23558           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23559           Fixes compilation on Windows.
23560
23561 2005-10-07  Michael Smith <msmith@fluendo.com>
23562
23563         * tools/gst-inspect.c:
23564           Print out feature and plugin count at the end when printing out
23565           all features.
23566
23567 2005-10-04  Michael Smith <msmith@fluendo.com>
23568
23569         * gst/gsterror.c: (_gst_stream_errors_init):
23570           Add another error string used in a few existing plugins.
23571
23572         * gst/gstplugin.c:
23573         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23574         * tools/gst-inspect.c: (print_element_info):
23575           When a feature disappears from a plugin (and the feature exists in
23576           the cached registry file), things went horribly wrong. This isn't a
23577           complete fix, we should actually be removing the 'missing' features
23578           from the features list when we load the actual plugin. That's not
23579           yet implemented. 
23580
23581 2005-10-04  Johan Dahlin  <johan@gnome.org>
23582
23583         * check/gst/gstiterator.c: (GST_START_TEST):
23584         * gst/gstbin.c: (gst_bin_iterate_elements),
23585         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23586         * gst/gstelement.c: (gst_element_iterate_pads):
23587         * gst/gstformat.c: (gst_format_iterate_definitions):
23588         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23589         (gst_iterator_new_list), (gst_iterator_filter):
23590         * gst/gstiterator.h:
23591         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23592         Add a GType to GstIterator, update callsites and tests.
23593
23594 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23595
23596         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23597           give events a chance to be handled by event probes when the pad
23598           is not linked
23599
23600 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23601
23602         * gst/gstevent.c: (gst_event_type_get_name),
23603         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23604         * gst/gstevent.h:
23605           add string representations for event types
23606
23607 2005-10-06  Wim Taymans  <wim@fluendo.com>
23608
23609         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23610         Don't use NULL pointers.
23611
23612 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23613
23614         * gst/gst_private.h:
23615         * gst/gstbus.c:
23616         * gst/gstelement.c:
23617         * gst/gstinfo.c:
23618         * gst/gstpluginfeature.c:
23619           widen the debug category in output to fit the biggest one we have
23620           add a bus category and use it
23621           play with the colors
23622           fix up some categories
23623
23624 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23625
23626         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23627           add push activation of sink ghost pads.
23628           Andye, please verify
23629
23630 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23631
23632         * gst/gstutils.c: (gst_element_link_pads):
23633           fix a bug in the case where neither element has a pad
23634         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23635           add a test for that case
23636
23637 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23638
23639         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23640           emit have-data before checking for peers.  This allows
23641           for probe handlers to connect elements.  This helps autopluggers.
23642         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23643         (gst_pad_suite):
23644           add six checks, linked/unlinked with no/true/false probe
23645
23646 2005-10-04  Wim Taymans  <wim@fluendo.com>
23647
23648         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23649         (gst_fake_sink_event), (gst_fake_sink_preroll),
23650         (gst_fake_sink_render), (gst_fake_sink_change_state):
23651         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23652         (gst_fake_src_get_property), (gst_fake_src_create),
23653         (gst_fake_src_stop):
23654         * gst/elements/gstidentity.c: (gst_identity_stop):
23655         Protect last_message with lock.
23656
23657 2005-10-04  Edward Hervey  <edward@fluendo.com>
23658
23659         * gst/gstformat.h: 
23660         Added precision in the comments for GST_FORMAT_DEFAULT
23661
23662 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23663
23664         * tools/gst-launch.c: (main):
23665           Don't try to run erroneous pipelines.
23666
23667 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23668
23669         * gst/gstbus.c: We don't need this header.
23670
23671 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23672
23673         * configure.ac:
23674           back to development
23675
23676 === release 0.9.3 ===
23677
23678 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23679
23680         * README:
23681         * configure.ac:
23682           Releasing 0.9.3, "Unregistered"
23683
23684 2005-10-03  Andy Wingo  <wingo@pobox.com>
23685
23686         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23687         whereby calling a pad's activatepush() function can start a thread
23688         that starts to push or pull before the pad gets the FLUSHING flag
23689         unset. Hack around it by holding the stream lock until the flag is
23690         set. Need to replace this with a proper solution. Together with
23691         the ghost pad fixes, this fixes mp3 playing/tagreading.
23692
23693         * docs/design/part-gstghostpad.txt: Add a note about activation of
23694         proxy pads outside of ghost pads.
23695
23696         * gst/gstghostpad.c: Implement the ghost pad activation design.
23697
23698 2005-10-02  Andy Wingo  <wingo@pobox.com>
23699
23700         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23701         It is volatile, after all.
23702
23703         * docs/design/part-gstghostpad.txt: Flesh out activation with
23704         ghost pads.
23705
23706         * gst/base/gstbasesrc.c (gst_base_src_init): Use
23707         GST_DEBUG_FUNCPTR.
23708
23709 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
23710
23711         * configure.ac:
23712           Fix (unused) AM_CONDITIONAL tests.
23713
23714 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
23715
23716         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23717
23718         * gst/gstutils.c: (gst_pad_query_convert):
23719           Add assertion that makes sure src_val is >=0, just like
23720           gst_query_new_convert() has. (#315895)
23721
23722 2005-09-30  Edward Hervey  <edward@fluendo.com>
23723
23724         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23725         Let's not iterate pads we're not interested in, it avoids getting 
23726         sky-high refcounts on sinkpad.
23727
23728 2005-09-30  Wim Taymans  <wim@fluendo.com>
23729
23730         * gst/gstelement.c: (gst_element_set_state),
23731         (gst_element_change_state):
23732         Small tweak, element in ASYNC remains ASYNC.
23733
23734 2005-09-30  Wim Taymans  <wim@fluendo.com>
23735
23736         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23737         Only error is an error.
23738
23739         * gst/gstbin.c: (gst_bin_change_state):
23740         Better debugging.
23741
23742         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23743         Also call pad_block in pad alloc.
23744
23745         * gst/gstutils.c: (gst_flow_get_name):
23746         Better debugging.
23747
23748 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23749
23750         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23751         (gst_base_src_get_range):
23752           Fix documentation typos. Add some more debug info.
23753
23754 2005-09-29  David Schleef  <ds@schleef.org>
23755
23756         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23757           more end-user friendly.
23758         * tools/gst-inspect.c: (main): Check if command-line argument is
23759           a file and attempt to load that file as a plugin.
23760
23761 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23762
23763         * check/gst/gstbin.c:
23764         * check/states/sinks.c:
23765           fix tests for the new warning
23766         * check/gst/gstpipeline.c:
23767           add a test for pipeline and bus interaction
23768         * gst/gstelement.c:
23769           elements should be NULL if they get disposed; add a warning if not
23770
23771 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23772
23773         * gst/gstobject.c:
23774           for 2.6 refcounting, make debug log more correct by printing
23775           the actual refcounts at the time of swap (Wim)
23776
23777 2005-09-29  Andy Wingo  <wingo@pobox.com>
23778
23779         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23780         removes signal watches previously added via
23781         gst_bus_add_signal_watch.
23782         (gst_bus_add_signal_watch): Don't return the source id, just store
23783         it on the bus if there wasn't an id already.
23784
23785         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23786         add_signal_watch and remove_signal_watch.
23787
23788 2005-09-29  Edward Hervey  <edward@fluendo.com>
23789
23790         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
23791         Better if we actually iterate the list :)
23792
23793 2005-09-29  Wim Taymans  <wim@fluendo.com>
23794
23795         * check/gst/gstbin.c: (GST_START_TEST):
23796         Change for new bus API.
23797
23798         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23799         (send_messages), (GST_START_TEST), (gstbus_suite):
23800         Change for new bus signal API.
23801
23802         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23803         (gst_bus_source_prepare), (gst_bus_source_check),
23804         (gst_bus_create_watch), (gst_bus_add_watch_full),
23805         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23806         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23807         * gst/gstbus.h:
23808         Remove support for multiple GSources operating on different
23809         message types as it is too complex and unneeded when using
23810         signals.
23811         Added support for receiving signals from the bus.
23812
23813 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23814
23815         * docs/libs/tmpl/gstdataprotocol.sgml:
23816         * docs/manual/advanced-dataaccess.xml:
23817         * gst/elements/gstcapsfilter.c:
23818         * gst/gstutils.c:
23819           rename filter-caps to caps property
23820
23821 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23822
23823         * gst/gstvalue.c: (gst_value_deserialize_fraction):
23824           More robust fraction string parsing.
23825
23826         * docs/pwg/appendix-porting.xml:
23827           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23828
23829 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23830
23831         * gst/gstcaps.c: (gst_caps_do_simplify):
23832           Thou shalt not free a structure and then continue using it
23833           in the next loop iteration.
23834
23835         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23836         (gst_caps_suite):
23837           Add test case for caps simplification.
23838
23839 2005-09-29  Wim Taymans  <wim@fluendo.com>
23840
23841         * check/gst/gstbin.c: (GST_START_TEST):
23842         Oops.
23843
23844 2005-09-29  Wim Taymans  <wim@fluendo.com>
23845
23846         * check/gst/gstbin.c: (GST_START_TEST):
23847         Add bus to bin.
23848
23849         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23850         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23851         (find_element), (gst_bin_sort_iterator_next),
23852         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23853         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23854         (gst_bin_change_state), (gst_bin_dispose):
23855         A bin does not have a bus, it gets the bus from the parent.
23856
23857         * gst/gstelement.c: (gst_element_requires_clock),
23858         (gst_element_provides_clock), (gst_element_is_indexable),
23859         (gst_element_is_locked_state), (gst_element_change_state),
23860         (gst_element_set_bus_func):
23861         Small cleanups.
23862
23863         * gst/gstpipeline.c: (gst_pipeline_class_init),
23864         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23865         The pipeline provides a bus.
23866
23867 2005-09-28  Johan Dahlin  <johan@gnome.org>
23868
23869         * gst/gstmessage.c (gst_message_parse_state_changed): Use
23870         gst_structure_get_enum instead of gst_structure_get_int
23871
23872         * gst/gststructure.c (gst_structure_get_enum): Impl.
23873
23874         * gst/gststructure.h (gst_structure_get_enum): Add
23875
23876         * docs/gst/gstreamer-sections.txt: Ditto
23877
23878         * gst/gstmessage.c (gst_message_new_state_changed): Use
23879         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23880         which does introspection.
23881         Reviewed by Christian Schaller
23882
23883 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
23884
23885         * gst/gstinfo.c: (gst_debug_log_default):
23886           don't do dummy g_strdup()s
23887         * libs/gst/controller/gstcontroller.c:
23888         (on_object_controlled_property_changed),
23889         (gst_controlled_property_new), (gst_controller_new_valist),
23890         (gst_controller_new_list),
23891         (gst_controller_remove_properties_valist), (gst_controller_set),
23892         (gst_controller_get), (gst_controller_sync_values),
23893         (gst_controller_get_value_array), (_gst_controller_class_init),
23894         (gst_controller_get_type):
23895         * libs/gst/controller/gstcontroller.h:
23896         * libs/gst/controller/gstinterpolation.c:
23897         (gst_controlled_property_find_timed_value_node):
23898           convert // to /**/ comments
23899
23900 2005-09-28  Wim Taymans  <wim@fluendo.com>
23901
23902         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23903         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23904         (gst_bus_sync_signal_handler):
23905         * gst/gstbus.h:
23906         Added async-message and sync-message signals to the bus.
23907         Added helper BusFunc to emit signals for all posted messages.
23908
23909         * gst/gstmessage.c: (gst_message_type_get_name),
23910         (gst_message_type_to_quark), (gst_message_get_type):
23911         * gst/gstmessage.h:
23912         Register quarks for message names.
23913
23914 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
23915
23916         * docs/libs/gstreamer-libs-sections.txt:
23917         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23918         (gst_controller_new_list):
23919         * libs/gst/controller/gstcontroller.h:
23920           added another constructor for language bindings
23921
23922 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
23923
23924         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23925           add another check
23926         * gst/gstbus.c:
23927           add some doc
23928         * gst/gstinfo.c: (_gst_debug_init):
23929           slightly more readable color for refcount debugging
23930
23931 2005-09-28  Wim Taymans  <wim@fluendo.com>
23932
23933         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23934         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23935         (find_element), (gst_bin_sort_iterator_next),
23936         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23937         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23938         (gst_bin_change_state), (gst_bin_dispose):
23939         Small doc fixes. get_clock -> provide_clock.
23940
23941         * gst/gstelement.c: (gst_element_class_init),
23942         (gst_element_provides_clock), (gst_element_provide_clock),
23943         (gst_element_get_clock), (gst_element_commit_state),
23944         (gst_element_lost_state):
23945         * gst/gstelement.h:
23946         Make get/set_clock() symetric. Add provide_clock vmethod since
23947         that is actually what this function does.
23948
23949         * gst/gstpipeline.c: (gst_pipeline_class_init),
23950         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
23951         (gst_pipeline_get_clock):
23952         get_clock -> provide_clock.
23953
23954 2005-09-28  Andy Wingo  <wingo@pobox.com>
23955
23956         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
23957         lieu of real docs...
23958
23959         * gst/elements/gstfdsrc.c: Cleaned up a bit.
23960
23961 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
23962
23963         * gst/elements/gstcapsfilter.c:
23964         * gst/elements/gstfakesink.c:
23965         * gst/elements/gstfakesrc.c:
23966         * gst/elements/gstfdsink.c:
23967         * gst/elements/gstfdsrc.c:
23968         * gst/elements/gstfilesink.c:
23969         * gst/elements/gstfilesrc.c:
23970         * gst/elements/gstidentity.c:
23971         * gst/elements/gsttee.c:
23972         * gst/elements/gsttypefindelement.c:
23973           Make element details static.
23974
23975 2005-09-28  Wim Taymans  <wim@fluendo.com>
23976
23977         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23978         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23979         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23980         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23981         (gst_bin_change_state), (gst_bin_dispose):
23982         Some documentation updates.
23983         Clean up dispose handlers.
23984
23985         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
23986         * gst/gstpad.c: (gst_pad_dispose):
23987         Clean up dispose handler.
23988
23989         * gst/gstpipeline.c: (gst_pipeline_change_state):
23990         Removed spurious UNLOCK.
23991
23992 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
23993
23994         * docs/gst/gstreamer-sections.txt:
23995         * gst/base/gstbasesrc.h:
23996         * gst/gstelement.h:
23997         * gst/gstevent.h:
23998         * gst/gstobject.h:
23999         * gst/gstpad.h:
24000         * gst/gstpipeline.c:
24001         * gst/gstpipeline.h:
24002         * gst/gstutils.h:
24003         * gst/gstxml.h:
24004           added two new functions to the docs
24005                 documents all undocumented GstXXXFlags
24006                 completed some incomplete docs 
24007
24008 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24009
24010         * gst/gstbin.c: (gst_bin_dispose):
24011         * gst/gstelement.c: (gst_element_dispose):
24012           remove now useless and leaky resurrection code in dispose
24013         * gst/base/gstbasesrc.c: (gst_base_src_init):
24014         * gst/gstelementfactory.c: (gst_element_factory_create):
24015         * gst/gstobject.c: (gst_object_set_parent):
24016           add some debugging
24017
24018 2005-09-27  Wim Taymans  <wim@fluendo.com>
24019
24020         * docs/design/part-TODO.txt:
24021         Update TODO.
24022
24023         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24024         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24025         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24026         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24027         (gst_bin_change_state):
24028         * gst/gstelement.h:
24029         Remove element variable, we keep element info in the iterator now.
24030
24031 2005-09-27  Andy Wingo  <wingo@pobox.com>
24032
24033         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24034         values.
24035
24036 2005-09-27  Wim Taymans  <wim@fluendo.com>
24037
24038         * check/gst/gstbin.c: (GST_START_TEST):
24039         Enable check that works now.
24040
24041         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24042         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24043         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24044         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24045         (gst_bin_change_state):
24046         * gst/gstbin.h:
24047         Redid the state change algorithm using a topological sort algo.
24048         Handles all cases correctly.
24049         Exposed iterator for state change order.
24050
24051         * gst/gstelement.h:
24052         Temp storage for state changes. Need to get rid of this soon.
24053
24054 2005-09-27  Wim Taymans  <wim@fluendo.com>
24055
24056         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24057         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24058         (link_fold_func), (gst_pad_proxy_setcaps):
24059         Leak fixes, the fold functions need to unref the passed object and
24060         _get_parent_*() returns ref to parent.
24061
24062 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24063
24064         * check/gst/gstbuffer.c: (test_make_writable):
24065           Plug leak in test case and fix 'make check-valgrind'
24066
24067 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24068
24069         * gst/gstbuffer.c: (gst_subbuffer_init):
24070           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24071           works correctly in all circumstances (we could have just copied
24072           the parent buffer's readonly flag, but conceptually it seems
24073           cleaner to mark all subbuffers as read-only). (based on patch
24074           by Alessandro Decina, #314710).
24075         
24076         * check/gst/gstbuffer.c: (create_read_only_buffer),
24077         (test_make_writable), (test_subbuffer_make_writable),
24078         (gst_test_suite):
24079           Add some tests for gst_buffer_make_writable().
24080
24081 2005-09-27  Wim Taymans  <wim@fluendo.com>
24082
24083         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24084         use gst_object_has_ancestor().
24085
24086         * gst/gstobject.c: (gst_object_has_ancestor):
24087         * gst/gstobject.h:
24088         gst_object_has_ancestor() copied from gstbin.c as it is a
24089         useful function.
24090
24091         * tests/instantiate/create.c: (create_all_elements):
24092         * tests/lat.c: (handoff_src), (handoff_sink):
24093         * tests/sched/runxml.c: (main):
24094         * tests/seeking/seeking1.c: (main):
24095         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24096         (main):
24097         Fix compilation of some tests.
24098
24099 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24100
24101         * gst/gsterror.h:
24102           Remove comment. GST_TYPE_G_ERROR is here to stay,
24103           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24104           (#316961, #300610).
24105
24106 2005-09-26  Wim Taymans  <wim@fluendo.com>
24107
24108         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24109         Added check that shows error in state change order.
24110
24111 2005-09-26  Wim Taymans  <wim@fluendo.com>
24112
24113         * gst/gstbin.c: (gst_bin_change_state):
24114         Make state change function use 3 queues again, we were
24115         adding elements in the wrong order.
24116
24117         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24118         Some debug info,
24119
24120         * gst/gstpad.c: (gst_pad_dispose):
24121         Added some debug info first.
24122
24123 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24124
24125         * docs/design/draft-push-pull.txt:
24126         * docs/design/part-events.txt:
24127         * docs/design/part-overview.txt:
24128         * docs/design/part-scheduling.txt:
24129           Replace all _pull_region() with _pull_range()
24130           
24131 2005-09-26  Andy Wingo  <wingo@pobox.com>
24132
24133         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24134
24135         * check/gst-libs/controller.c: Update for controller api change.
24136
24137         * configure.ac: 
24138         * tests/Makefile.am:
24139         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24140         over by GLib bug 118439.
24141         
24142         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24143         routines to a function.
24144
24145         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24146
24147         * libs/gst/controller/gsthelper.c:
24148         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24149         (gst_object_sync_values): Renamed from sink_values. Ugh.
24150
24151         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24152
24153         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24154         Renamed from controller_key, as it is exported.
24155
24156         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24157
24158 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24159
24160         * gst/Makefile.am:
24161         * gst/gst.h:
24162         * gst/gstpad.h:
24163         * gst/gstpadtemplate.h:
24164         * gst/gstquery.c:
24165         * gst/gstquery.h:
24166         * gst/gstqueryutils.c:
24167         * gst/gstqueryutils.h:
24168           remove queryutils headers after moving the two used functions
24169           to gstquery.  also fixes build problem for gstsiddec
24170
24171 2005-09-26  Michael Smith <msmith@fluendo.com>
24172
24173         * tools/gst-launch.1.in:
24174         Correct documentation in manpage of debug syntax
24175
24176 2005-09-26  Wim Taymans  <wim@fluendo.com>
24177
24178         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24179         (gst_base_src_is_seekable), (gst_base_src_change_state):
24180         Some more debugging info.
24181
24182 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24183
24184         * docs/gst/gstreamer-sections.txt:
24185         * gst/base/gstbasetransform.h:
24186         * gst/gstindex.h:
24187           added more docs
24188
24189 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24190
24191         * docs/gst/.cvsignore:
24192         * docs/gst/tmpl/.cvsignore:
24193         * docs/gst/tmpl/gstpipeline.sgml:
24194         * docs/gst/tmpl/gstplugin.sgml:
24195         * gst/gstpipeline.c:
24196         * gst/gstplugin.c:
24197         * gst/gstplugin.h:
24198           inlined the last two docs files
24199           removed the tmpl directory from cvs (no more conflicts here!)
24200
24201 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24202
24203         * docs/gst/gstreamer-sections.txt:
24204         * docs/gst/tmpl/.cvsignore:
24205         * docs/gst/tmpl/gstpad.sgml:
24206         * docs/gst/tmpl/gstpadtemplate.sgml:
24207         * gst/Makefile.am:
24208         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24209         (gst_pad_finalize), (gst_pad_set_pad_template):
24210         * gst/gstpad.h:
24211         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24212         (gst_pad_template_class_init), (gst_pad_template_init),
24213         (gst_pad_template_dispose), (name_is_valid),
24214         (gst_static_pad_template_get), (gst_pad_template_new),
24215         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24216         (gst_pad_template_pad_created):
24217         * gst/gstpadtemplate.h:
24218           inlined two more docs
24219           factored gstpadtemplate out of gstpad
24220
24221 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24222
24223         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24224         (test_children_state_change_order_semi_sink):
24225           Fix test case: we can't rely on a fixed state change order when
24226           going from READY => PAUSED because the sink might commit its 
24227           new state first when the first buffer created by the source 
24228           reaches the sink before the source has finished its change state.
24229           (Test case still fails at times, see #316856, comment 5 onwards)
24230
24231 2005-09-24  Wim Taymans  <wim@fluendo.com>
24232
24233         * docs/design/part-events.txt:
24234         * docs/design/part-gstbus.txt:
24235         * docs/design/part-gstpipeline.txt:
24236         * docs/design/part-messages.txt:
24237         * docs/design/part-overview.txt:
24238         * docs/design/part-segments.txt:
24239         * gst/gstbin.c:
24240         * gst/gstbuffer.c:
24241         * gst/gstclock.c:
24242         * gst/gstelement.c:
24243         * gst/gstevent.c:
24244         * gst/gstfilter.c:
24245         * gst/gstiterator.c:
24246         Various documentation updates.
24247
24248 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24249
24250         * gst/gstclock.h:
24251           Well, that's embarassing.  Luckily we weren't using
24252           GST_CLOCK_DIFF anywhere.
24253
24254 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24255
24256         * common/gtk-doc.mak:
24257           don't fail on building XML, FC4 slave shows a bunch of doc
24258           missing bits that I don't get
24259         * gst/gstpad.c:
24260         * gst/gstpipeline.c:
24261         * gst/gststructure.c:
24262           some doc updates
24263
24264 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24265
24266         * docs/design/part-gstbin.txt:
24267         * docs/design/part-gstbus.txt:
24268         * gst/gstbus.c:
24269           Add blurb about how the bus goes into flushing mode and
24270           drops all messages when its bin goes from READY into NULL 
24271           state.
24272
24273 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24274
24275         * docs/gst/gstreamer-sections.txt:
24276         * gst/gststructure.c: (gst_structure_get_clock_time):
24277         * gst/gststructure.h:
24278           add a method to get a GstClockTime out of a structure
24279
24280 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24281
24282         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24283         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24284           Added test to check state change order in bins (can still be made
24285           to fail here under heavy disk load; bails out with 'Push on pad
24286           fakesink:sink0, but it was not activated in push mode').
24287
24288         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24289           Fix state change order when there is only a semi sink (#316856)
24290
24291         * gst/gstbus.c: (gst_bus_class_init):
24292           Use _class_peek_parent(), not _class_ref(); fix docs to say
24293           'default main context' instead of 'mainloop' where that is
24294           what's meant.
24295
24296         * gst/gstelement.c: (gst_element_commit_state),
24297         (gst_element_set_state):
24298           Fix typos in debug messages
24299
24300 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24301
24302         * docs/README:
24303         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24304         * gst/gstpluginfeature.c:
24305         * gst/gstutils.c:
24306           various doc updates
24307         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24308           change an assert into an error until it gets fixed properly
24309
24310 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24311
24312         * docs/gst/gstreamer-sections.txt:
24313         * docs/gst/tmpl/.cvsignore:
24314         * docs/gst/tmpl/gstelement.sgml:
24315         * docs/gst/tmpl/gstinfo.sgml:
24316         * docs/gst/tmpl/gstobject.sgml:
24317         * gst/gstelement.c:
24318         * gst/gstelement.h:
24319         * gst/gstinfo.c:
24320         * gst/gstinfo.h:
24321         * gst/gstobject.c: (gst_object_class_init):
24322         * gst/gstobject.h:
24323           inlined 3 more biiiig doc files and added some missing docs on the fly
24324
24325 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24326
24327         * check/gst/.cvsignore:
24328         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24329         * gst/gstregistryxml.c: (load_plugin),
24330         (gst_registry_xml_save_plugin):
24331           put back source in registry.  add checks for find_plugin.
24332         * testsuite/states/bin.c: (assert_state), (empty_bin),
24333         (test_adding_one_element), (main):
24334         * testsuite/states/locked.c: (main):
24335           some compile/run fixes
24336
24337 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24338
24339         * check/gst/gstvalue.c: (GST_START_TEST):
24340           fix leaks in the test itself
24341
24342 2005-09-22  Wim Taymans  <wim@fluendo.com>
24343
24344         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24345         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24346         (gst_base_sink_query):
24347         Prepare for more accurate position reporting and query
24348         handling.
24349
24350         * gst/gstelement.c: (gst_element_send_event),
24351         (gst_element_set_state):
24352         Add some comment.
24353
24354 2005-09-22  Wim Taymans  <wim@fluendo.com>
24355
24356         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24357         (gst_query_parse_segment):
24358         * gst/gstquery.h:
24359         More documentation.
24360         Add segment query for future use.
24361
24362 2005-09-22  Wim Taymans  <wim@fluendo.com>
24363
24364         * gst/gstbin.c: (gst_bin_add_func):
24365         Some more debug info.
24366
24367         * gst/gstelement.c: (gst_element_send_event):
24368         Simplify send_event
24369
24370         * gst/gstelement.h:
24371         Don't know how flags got broken.
24372
24373         * gst/gstquery.h:
24374         Added new query.
24375
24376 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24377
24378         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24379           Add simplistic test suite for GST_TYPE_DATE serialisation and
24380           deserialisation.
24381
24382 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24383
24384         * docs/gst/gstreamer-sections.txt:
24385         * gst/gststructure.c: (gst_structure_set_valist),
24386         (gst_structure_get_date):
24387         * gst/gststructure.h:
24388         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24389         (gst_date_copy), (gst_value_compare_date),
24390         (gst_value_serialize_date), (gst_value_deserialize_date),
24391         (gst_value_transform_date_string),
24392         (gst_value_transform_string_date), (_gst_value_initialize):
24393         * gst/gstvalue.h:
24394           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24395           bunch of utility functions along with a hack that checks that
24396           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24397           is required. Part of the grand scheme in #170777.
24398
24399 2005-09-22  Andy Wingo  <wingo@pobox.com>
24400
24401         * gst/gstconfig.h.in: Psych out gtk-doc.
24402
24403         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24404
24405         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24406
24407         * tools/gst-inspect.c (print_element_list): Plug some
24408         inconsequential leaks.
24409
24410         * gst/gstregistry.c (gst_registry_get_default): Doc.
24411
24412         * check/gst/gstplugin.c: 
24413         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24414         * gst/gstelementfactory.c (gst_element_factory_create): 
24415         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24416         refcount changes.
24417
24418         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24419         (gst_plugin_feature_load): Doc, don't eat refs.
24420
24421         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24422         (gst_plugin_list_free): Doc.
24423         (gst_plugin_load_file): Doc updates.
24424
24425         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24426         accessors returning refcounted objects, return a ref.
24427
24428         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24429         accessor for caps. IDEMPOTENCE. Oh yes.
24430
24431 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24432
24433         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24434
24435         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24436         (_gst_debug_register_funcptr):
24437           Add mutex to serialise access to the hash table with
24438           the function pointer => function name string mapping;
24439           make that hash table static scope (#316809).
24440
24441         * gst/registries/.cvsignore:
24442           Remove left-over file.
24443
24444 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24445
24446         * docs/pwg/appendix-porting.xml:
24447           And something about newsegment events and caps-on-buffers to
24448           the porting guide (feel free to improve).
24449
24450 2005-09-21  Andy Wingo  <wingo@pobox.com>
24451
24452         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24453         data and event probes on the same pad.
24454         (test_buffer_probe_once): Test that removing probes from within
24455         the probe functions works.
24456
24457 2005-09-21  Andy Wingo  <wingo@pobox.com>
24458
24459         * check/gst/gstutils.c: New file.
24460         (test_buffer_probe_n_times): A simple buffer probe test. More to
24461         come, foolios.
24462
24463         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24464         have-data::buffer, not have-data.
24465         (gst_pad_add_event_probe): Likewise for have-data::event.
24466         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24467         peer' isn't quite right yet though.
24468         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24469         (gst_pad_remove_data_probe): Change to take the guint handler_id
24470         as their arg, not the function+data, which is more glib-like.
24471
24472         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24473         the signal emission to indicate if the data is a buffer or an
24474         event.
24475         (gst_pad_get_type): Initialize buffer and event quarks.
24476         (gst_pad_class_init): have-data is now a detailed signal, yes it
24477         is.
24478
24479 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24480
24481         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24482         * gst/gstutils.c: (gst_util_set_value_from_string),
24483         (gst_util_set_object_arg):
24484           Don't put functional code in g_return_if_fail() or
24485           g_return_val_if_fail() statements, otherwise things will 
24486           break when G_DISABLE_CHECKS is defined during compilation.
24487
24488 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24489
24490         * docs/gst/tmpl/.cvsignore:
24491         * docs/gst/tmpl/gstvalue.sgml:
24492         * gst/gstvalue.c:
24493         * gst/gstvalue.h:
24494           inlied another one and added  some obvious docs
24495
24496 2005-09-21  Wim Taymans  <wim@fluendo.com>
24497
24498         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24499         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24500         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24501         (gst_fdsrc_get_property), (gst_fdsrc_create):
24502         * gst/elements/gstfdsrc.h:
24503         Properly implement fdsrc. Removed signal and timeout,
24504         better implemented somewhere else.
24505
24506 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24507
24508         * docs/gst/tmpl/.cvsignore:
24509         * docs/gst/tmpl/gstimplementsinterface.sgml:
24510         * gst/gstinterface.c:
24511           inlined more docs
24512
24513 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24514
24515         * docs/gst/gstreamer-sections.txt:
24516         * docs/gst/tmpl/.cvsignore:
24517         * docs/gst/tmpl/gstenumtypes.sgml:
24518           remove obsolete doc file
24519
24520 2005-09-21  David Schleef  <ds@schleef.org>
24521
24522         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24523         little beer, fix a little leak.
24524
24525 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24526
24527         * docs/gst/gstreamer-docs.sgml:
24528         * docs/gst/gstreamer-sections.txt:
24529         * docs/gst/tmpl/.cvsignore:
24530         * gst/Makefile.am:
24531         * gst/gst.h:
24532         * gst/gstbin.c:
24533         * gst/gstelement.h:
24534         * gst/gstindex.c: (gst_index_class_init):
24535         * gst/gstindex.h:
24536         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24537         (gst_index_factory_class_init), (gst_index_factory_init),
24538         (gst_index_factory_finalize), (gst_index_factory_new),
24539         (gst_index_factory_destroy), (gst_index_factory_find),
24540         (gst_index_factory_create), (gst_index_factory_make):
24541         * gst/gstindexfactory.h:
24542         * gst/gstpluginfeature.c:
24543         * gst/gstpluginfeature.h:
24544         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24545           more docs inlined, splitted gstindex.{c,h}
24546
24547 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24548
24549         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24550           fix a leak
24551
24552 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24553
24554         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24555           Set sync to FALSE by default.
24556
24557 2005-09-20  Wim Taymans  <wim@fluendo.com>
24558
24559         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24560         (gst_base_sink_init):
24561         Make sync property settable from subclass.
24562
24563         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24564         (gst_fake_sink_change_state):
24565         Set sync to FALSE by default.
24566
24567 2005-09-20  Wim Taymans  <wim@fluendo.com>
24568
24569         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24570         * tools/gst-launch.c: (main):
24571         The timeout handler should have lower priority than the source
24572         so we don't timeout before popping a message with 0 timeout.
24573         Dump error messages after failed state change.
24574
24575 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24576
24577         * tools/gst-inspect.c: (print_element_properties_info):
24578           Fix two typos.
24579
24580 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24581
24582         * check/gst/gstevent.c:
24583         * gst/elements/gstfakesink.c:
24584         * gst/elements/gstfakesink.h:
24585           remove the sync property from fakesink.
24586           has the side effect of setting sync TRUE
24587           for fakesink, which is a change.  Anyone who knows how
24588           to fix this nicely in a GObject-y way, feel free.
24589
24590 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24591
24592         * docs/gst/gstreamer-docs.sgml:
24593           remove probe refsection
24594
24595 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24596
24597         * check/Makefile.am:
24598           disable valgrinding the controller test again
24599         * docs/gst/gstreamer-sections.txt:
24600           update for api-changes
24601
24602 2005-09-20  Wim Taymans  <wim@fluendo.com>
24603
24604         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24605         (gst_base_sink_set_property), (gst_base_sink_get_property),
24606         (gst_base_sink_do_sync):
24607         * gst/base/gstbasesink.h:
24608         Added sync property to basesink to disable clock sync.
24609
24610 2005-09-20  Andy Wingo  <wingo@pobox.com>
24611
24612         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24613         eating the caller's refcount.
24614
24615         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24616         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24617         refcount.
24618
24619         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24620         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24621         of GLib 2.8 public, so we can know which refcount to check in
24622         tests.
24623
24624         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24625         (gst_object_init): Only set the gst refcount if we're going ahead
24626         with the refcount hack.
24627
24628 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24629
24630         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24631         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24632           more leaks plumbed, added more debug-logging
24633         * gst/gstmacros.h:
24634           whitespace fix
24635
24636 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24637
24638         * gst/gstmessage.c:
24639           remove include of gstmemchunk.h
24640
24641 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24642
24643         * gst/gstclock.c: (_gst_clock_id_free):
24644           Commit from the Political Party For More Atomic CVS Commits,
24645           so that people don't waste too much of their day fishing
24646           out obvious leaks out of massive commits.
24647           Oh, and fix a pretty damn obvious leak in the memchunk
24648           removal code.
24649
24650 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24651
24652         * check/Makefile.am:
24653         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24654           plug mem-leak, re-add to valgrindable tests
24655
24656 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24657
24658         * gst/gstplugin.h:
24659           unbreak the build for those who have chronic arthritis
24660           and typing "make check" is just too taxing on the hands
24661
24662 2005-09-20  Andy Wingo  <wingo@pobox.com>
24663
24664         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24665         really want it out, you should fix plugins at the same time.
24666
24667 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24668
24669         * configure.ac:
24670         * docs/gst/gstreamer-sections.txt:
24671         * gst/gstobject.c:
24672           added missing symbols to api docs
24673           disable ref-count hack if we have glib >= 2.8
24674
24675 2005-09-19  David Schleef  <ds@schleef.org>
24676
24677         * docs/gst/Makefile.am: Ignore a few more internal headers
24678         * docs/gst/gstreamer-docs.sgml: Remove old sections
24679         * docs/gst/gstreamer-sections.txt: Remove old sections
24680         * docs/gst/tmpl/gstobject.sgml: update
24681         * docs/gst/tmpl/gstplugin.sgml: update
24682         * docs/gst/tmpl/gstpluginfeature.sgml: update
24683         * docs/random/ds/0.9-suggested-changes: update.
24684         * gst/Makefile.am: remove memchunk and trashstack, since they're
24685           not used.
24686         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24687         * gst/gst.h: don't include some headers
24688         * gst/gstchildproxy.c: add gstmarshal.h
24689         * gst/gstclock.c: Don't use memchunks
24690         * gst/gstminiobject.c: Add some docs
24691         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24692         * gst/gstobject.h: same
24693         * gst/gstplugin.c: include gstmacros.h
24694         * gst/gstplugin.h: don't include gstmacros.h, since it's private
24695         * gst/gstquery.c: don't use memchunks
24696         * gst/gstregistry.c: rename gst_registry_deinit()
24697         * gst/gstregistry.h: same
24698
24699 2005-09-19  David Schleef  <ds@schleef.org>
24700
24701         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24702         * docs/libs/gstreamer-libs-sections.txt:
24703         * docs/libs/tmpl/gstgetbits.sgml:
24704         * docs/libs/tmpl/gstputbits.sgml:
24705
24706 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
24707
24708         * win32/gstenumtypes.c:
24709         * win32/gstenumtypes.h:
24710           Update.
24711
24712 2005-09-19  Wim Taymans  <wim@fluendo.com>
24713
24714         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24715         Automatically PAUSE and RESUME a pipeline when a flushing seek
24716         is performed.
24717
24718 2005-09-19  Andy Wingo  <wingo@pobox.com>
24719
24720         * gst/gstregistry.h: Spacing fixen.
24721
24722 2005-09-19  Wim Taymans  <wim@fluendo.com>
24723
24724         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24725         Handle state change failure more correctly.
24726
24727 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24728
24729         * check/Makefile.am:
24730         * check/pipelines/cleanup.c: (run_pipeline):
24731         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24732         (GST_START_TEST):
24733           enable cleanup again after fixing the leak
24734         * docs/README:
24735           some more info on docs
24736
24737 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24738
24739         * check/Makefile.am:
24740           re-enable tests now that leaks are plugged
24741         * check/gst/gst.c:
24742         * check/gst/gstbin.c:
24743         * check/gst/gstpipeline.c:
24744           add some more tests while fixing leaks
24745         * common/check.mak:
24746           make sure binaries are uptodate when valgrinding/gdbing
24747         * gst/gst.c:
24748         * gst/gstelementfactory.c:
24749           remove a ref too many, and add a FIXME for when we get
24750           round to disposing of classes
24751         * gst/gstplugin.c:
24752           fix the refcounting when loading a plugin from a file and
24753           the code pretends that the pointer is the same even though
24754           of course it can change
24755         * gst/gstpluginfeature.c:
24756           unref plugins marked cached (a bit confusing as a name)
24757           as the docs state should be done
24758           various doc additions to explain refcounting
24759         * gst/gstregistry.c:
24760         * gst/gstregistryxml.c:
24761           debugging
24762
24763 2005-09-19  Wim Taymans  <wim@fluendo.com>
24764
24765         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24766         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24767         (send_messages), (GST_START_TEST), (gstbus_suite):
24768         * check/gst/gstpipeline.c: (GST_START_TEST):
24769         * check/pipelines/cleanup.c: (run_pipeline):
24770         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24771         (GST_START_TEST):
24772         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24773         (gst_bus_source_check), (gst_bus_source_dispatch),
24774         (gst_bus_create_watch), (gst_bus_add_watch_full),
24775         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24776         * gst/gstbus.h:
24777         * tools/gst-launch.c: (event_loop):
24778         * tools/gst-md5sum.c: (event_loop):
24779         GstBusHandler -> GstBusFunc, return value has the same meaning as
24780         any other GSource (FALSE == remove source).
24781         _add_watch() and _add_watch_full() now take a MessageType mask to
24782         only handle specific types of messages.
24783         _poll() returns the GstMessage instead of the message type to avoid
24784         race conditions.
24785         _have_pending() takes a MessageType mask now too.
24786         Added testsuite for multiple bus watches.
24787         Fix testsuites and applications for new bus API.
24788
24789 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24790
24791         * check/Makefile.am:
24792           mark a bunch of the tests as to fix until we fix them
24793
24794 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24795
24796         * common/check.mak:
24797           use GST_PLUGIN settings for valgrind tests as well, so we're
24798           valgrinding the correct thing
24799         * gst/gst.c: (init_post):
24800           plug another leak
24801
24802 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24803
24804         * gst/gst.c: (init_post), (gst_deinit):
24805         * gst/gstelementfactory.c: (gst_element_factory_class_init),
24806         (gst_element_factory_finalize), (gst_element_factory_cleanup):
24807         * gst/gstindex.c: (gst_index_factory_class_init),
24808         (gst_index_factory_finalize):
24809         * gst/gstobject.c: (gst_object_dispose):
24810         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24811         (gst_plugin_load_file), (gst_plugin_desc_free):
24812         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24813         (gst_plugin_feature_finalize):
24814         * gst/gstregistry.c: (gst_registry_class_init),
24815         (gst_registry_init), (gst_registry_finalize),
24816         (gst_registry_get_default), (gst_registry_deinit):
24817         * gst/gstregistry.h:
24818         * gst/gstregistryxml.c: (load_feature), (load_plugin):
24819           various cleanups and memleak plugging.  make valgrind is happy now.
24820
24821 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24822
24823         * common/check.mak:
24824           add a check-valgrind target
24825
24826 2005-09-18  David Schleef  <ds@schleef.org>
24827
24828         * tools/gst-inspect.c: Revert the GOption code.
24829
24830 2005-09-17  David Schleef  <ds@schleef.org>
24831
24832         * check/Makefile.am: Fix environment variables.
24833         * check/gst/gstplugin.c: Fix for API changes.
24834         * tools/gst-inspect.c: Fix for API changes.
24835         * tools/gst-xmlinspect.c: Fix for API changes.
24836         * gst/gstelementfactory.c:
24837         * gst/gstplugin.c:
24838         * gst/gstplugin.h:
24839         * gst/gstpluginfeature.c:
24840         * gst/gstpluginfeature.h:
24841         * gst/gstregistry.c:
24842         * gst/gstregistry.h:
24843         * gst/gstregistryxml.c:
24844         * gst/gsttypefind.c:
24845         * gst/gsttypefindfactory.c:
24846         * gst/indexers/gstfileindex.c:
24847         * gst/indexers/gstmemindex.c:
24848         * gst/schedulers/Makefile.am:
24849           Change registry to keep track of both plugins and features,
24850           removing the feature tracking from plugins themselves.
24851
24852 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
24853
24854         * check/Makefile.am:
24855         * tools/gst-register.1.in:
24856           remove gst-register
24857
24858 2005-09-15  David Schleef  <ds@schleef.org>
24859
24860         * check/gst/gstplugin.c:
24861         * gst/gstelementfactory.c:
24862         * gst/gstplugin.c:
24863         * gst/gstpluginfeature.c:
24864         * gst/gstregistry.c:
24865           Getting tired of debugging.  Disabled all the unreffing of
24866           plugins and features, which fixes the segfaults, but of
24867           course leaks like crazy.  At least playbin works.
24868
24869 2005-09-15  David Schleef  <ds@schleef.org>
24870
24871         * check/gst/gstplugin.c: (register_check_elements),
24872         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24873         More testing
24874         * gst/elements/gsttypefindelement.c: Fix refcounting.
24875         * gst/gsttypefind.c:
24876         * gst/gsttypefindfactory.c:
24877         * gst/gsttypefindfactory.h:
24878
24879 2005-09-15  David Schleef  <ds@schleef.org>
24880
24881         * gst/gstindex.c: get refcounting correct.
24882         * gst/gstregistry.c: Handle the case where a feature/plugin is
24883           not found.
24884
24885 2005-09-15  David Schleef  <ds@schleef.org>
24886
24887         * check/Makefile.am:
24888         * check/gst/gstplugin.c: Add test
24889         * gst/gstplugin.c: Fix problems noticed by testsuite
24890         * gst/gstplugin.h:
24891         * gst/gstregistry.c: 
24892         * gst/gstregistry.h:
24893
24894 2005-09-15  David Schleef  <ds@schleef.org>
24895
24896         * gst/gstplugin.c: Implement semi-decent recounting and locking
24897           in plugins and plugin features.
24898         * gst/gstplugin.h:
24899         * gst/gstpluginfeature.c:
24900         * gst/gstpluginfeature.h:
24901         * gst/gstregistry.c:
24902
24903 2005-09-15  Michael Smith <msmith@fluendo.com>
24904
24905         * gst/gstregistry.c: (gst_registry_get_feature_list):
24906           Implement this. Makes oggdemux work; decodebin still broken.
24907
24908 2005-09-14  David Schleef  <ds@schleef.org>
24909
24910         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24911           #316076)
24912         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24913         * gst/check/Makefile.am:
24914         * libs/gst/controller/Makefile.am:
24915         * libs/gst/dataprotocol/Makefile.am:
24916
24917 2005-09-14  David Schleef  <ds@schleef.org>
24918
24919         * configure.ac: Remove getbits library.  Nothing uses it, and
24920           it should be in something like liboil if someone did want
24921           to use it.
24922         * libs/gst/Makefile.am:
24923         * libs/gst/getbits/Makefile.am:
24924         * libs/gst/getbits/gbtest.c:
24925         * libs/gst/getbits/getbits.c:
24926         * libs/gst/getbits/getbits.h:
24927         * libs/gst/getbits/gstgetbits_generic.c:
24928         * libs/gst/getbits/gstgetbits_i386.s:
24929         * libs/gst/getbits/gstgetbits_inl.h:
24930
24931 2005-09-14  David Schleef  <ds@schleef.org>
24932
24933         * gst/Makefile.am: Dist glib-compat.h
24934
24935 2005-09-14  David Schleef  <ds@schleef.org>
24936
24937         * configure.ac: Remove gst/registries, since it's no longer used.
24938         * gst/registries/Makefile.am:
24939         * gst/registries/gstlibxmlregistry.c:
24940         * gst/registries/gstlibxmlregistry.h:
24941         * gst/registries/gstxmlregistry.c:
24942         * gst/registries/gstxmlregistry.h:
24943         * gst/registries/registrytest.c:
24944
24945 2005-09-14  David Schleef  <ds@schleef.org>
24946
24947         * gst/glib-compat.h:
24948         * gst/gstregistryxml.c:
24949           Convergence is near.  Seriously.
24950
24951 2005-09-14  David Schleef  <ds@schleef.org>
24952
24953         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24954         * gst/glib-compat.h:
24955           Attempt #4 to appease the buildbots.
24956
24957 2005-09-14  David Schleef  <ds@schleef.org>
24958
24959         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24960           Attempt #3.
24961
24962 2005-09-14  David Schleef  <ds@schleef.org>
24963
24964         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24965         Attempt #2.
24966
24967 2005-09-14  David Schleef  <ds@schleef.org>
24968
24969         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
24970           the new functions.
24971
24972 2005-09-14  David Schleef  <ds@schleef.org>
24973
24974         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24975         * gst/glib-compat.h: Add some functions that are in newer versions
24976           of glib than we care to require.
24977         * gst/gstregistryxml.c: Use them.
24978
24979 2005-09-14  David Schleef  <ds@schleef.org>
24980
24981         * po/POTFILES.in: remove gst-register.c
24982
24983 2005-09-14  David Schleef  <ds@schleef.org>
24984
24985         * docs/gst/gstreamer-docs.sgml:
24986         * docs/gst/gstreamer-sections.txt:
24987         * docs/gst/gstreamer.types:
24988         * docs/gst/tmpl/gstelement.sgml:
24989         * docs/gst/tmpl/gstplugin.sgml:
24990         * docs/gst/tmpl/gstpluginfeature.sgml:
24991           Documentation updates for registry changes.
24992
24993 2005-09-14  David Schleef  <ds@schleef.org>
24994
24995         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
24996           because we don't require glib-2.8.
24997
24998 2005-09-14  David Schleef  <ds@schleef.org>
24999
25000         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25001           registries directory.
25002
25003 2005-09-14  David Schleef  <ds@schleef.org>
25004
25005         * check/Makefile.am:
25006         * check/generic/states.c:
25007         * gst/Makefile.am:
25008         * gst/gst.c:
25009         * gst/gst.h:
25010         * gst/gst_private.h:
25011         * gst/gstelementfactory.c:
25012         * gst/gstindex.c:
25013         * gst/gstinfo.c:
25014         * gst/gstplugin.c:
25015         * gst/gstplugin.h:
25016         * gst/gstpluginfeature.c:
25017         * gst/gstpluginfeature.h:
25018         * gst/gstregistry.c:
25019         * gst/gstregistry.h:
25020         * gst/gstregistrypool.c: remove
25021         * gst/gstregistrypool.h: remove
25022         * gst/gsttypefind.c:
25023         * gst/gsttypefindfactory.c:
25024         * gst/gsturi.c:
25025         * tools/Makefile.am:
25026         * tools/gst-compprep.c:
25027         * tools/gst-inspect.c:
25028         * tools/gst-register.c: remove
25029         * tools/gst-xmlinspect.c:
25030           Registry rewrite.  Changes registry from being a file created
25031           by a tool into a simple cache file created automatically by 
25032           libgstreamer.  Removed gst-register (because it's no longer
25033           needed).  Remove registry pools, because we only have one
25034           registry implementation (XML).  Fix up other subsystems as
25035           necessary.
25036
25037 2005-09-13  Michael Smith <msmith@fluendo.com>
25038
25039         * gst/gstconfig.h.in:
25040           Don't Use windows linking attributes for MinGW. Fixes #316157
25041
25042 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25043
25044         * gst/gstutils.c: (set_state_async_thread_func),
25045         (gst_element_set_state_async):
25046           Apparently people think it's better if this function doesn't
25047           try to set the state to whatever state was asked for on the first
25048           call to this function for any object.  Seriously.
25049
25050 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25051
25052         * check/gst/gstpipeline.c: (GST_START_TEST):
25053         * docs/gst/gstreamer-sections.txt:
25054         * gst/gstutils.c: (set_state_async_thread_func),
25055         (gst_element_set_state_async):
25056         * gst/gstutils.h:
25057           add a "gst_element_set_state_async" method that
25058           sets the state and starts a thread to make sure the state
25059           change completes as best as it can
25060
25061 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25062
25063         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25064           codify design+behaviour in testsuite after discussion
25065
25066 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25067
25068         * docs/gst/tmpl/gstelement.sgml:
25069         * docs/manual/appendix-quotes.xml:
25070           add a quote
25071         * gst/gstelement.c: (gst_element_set_state):
25072           add some debug
25073
25074 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25075
25076         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25077         (gst_base_transform_prepare_output_buf),
25078         (gst_base_transform_handle_buffer):
25079         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25080         (gst_capsfilter_prepare_buf):
25081           Remove the requirement for sub-classes to call the parent
25082           implementation of prepare_output_buffer with a wrapper function.
25083           
25084         * gst/gsttaglist.h:
25085         * gst/gsttagsetter.h:
25086           Fix #define wrapper
25087
25088 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25089
25090         * docs/gst/gstreamer-sections.txt:
25091           more doc cleanups
25092
25093 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25094
25095         * docs/gst/gstreamer-sections.txt:
25096         * docs/gst/tmpl/gstelement.sgml:
25097         * docs/gst/tmpl/gstplugin.sgml:
25098         * gst/gstminiobject.c:
25099         * gst/gstvalue.h:
25100           docs now stop throwing warnings
25101
25102 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25103
25104         * docs/gst/gstreamer-sections.txt:
25105         * docs/gst/gstreamer.types:
25106         * docs/gst/tmpl/gstpad.sgml:
25107         * docs/gst/tmpl/gsttypes.sgml:
25108         * gst/base/gstadapter.h:
25109         * gst/base/gstbasesink.h:
25110         * gst/base/gstbasesrc.h:
25111         * gst/gstbin.h:
25112         * gst/gstbuffer.h:
25113         * gst/gstbus.h:
25114         * gst/gstcaps.h:
25115         * gst/gstclock.h:
25116         * gst/gstelement.h:
25117         * gst/gstevent.h:
25118         * gst/gstmessage.h:
25119         * gst/gstpad.h:
25120         * gst/gststructure.c:
25121         * gst/registries/gstlibxmlregistry.h:
25122           various documentation fixes
25123
25124 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25125
25126         * docs/gst/gstreamer-sections.txt:
25127         * docs/gst/tmpl/gstvalue.sgml:
25128           rearrange gstvalue section
25129         * gst/gstutils.c: (gst_element_state_get_name):
25130           NONE -> VOID
25131         * gst/gstvalue.c: (_gst_value_initialize):
25132         * gst/gstvalue.h:
25133           doc updates
25134
25135 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25136
25137         * check/gst-libs/controller.c:
25138           Header include fix.
25139         * gst/base/gstbasetransform.c:
25140         (gst_base_transform_default_prepare_buf),
25141         (gst_base_transform_handle_buffer):
25142         * gst/base/gstbasetransform.h:
25143           Some more basetransform changes and fixes to enable sub-classes
25144           that modify buffer metadata only.
25145         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25146         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25147         (gst_capsfilter_prepare_buf):
25148           If the output pad has fixed allowed caps and input buffers 
25149           don't have any, set the fixed caps on outgoing buffers.
25150
25151 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25152         * check/elements/identity.c: (GST_START_TEST):
25153           Make the error a little clearer when the test fails because
25154           identity made a copy of the buffer.
25155         * docs/gst/gstreamer-sections.txt:
25156           New symbols in gstbasetransform.h
25157         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25158         (gst_base_transform_init), (gst_base_transform_transform_size),
25159         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25160         (gst_base_transform_default_prepare_buf),
25161         (gst_base_transform_get_unit_size),
25162         (gst_base_transform_buffer_alloc),
25163         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25164         (gst_base_transform_change_state),
25165         (gst_base_transform_set_passthrough),
25166         (gst_base_transform_set_in_place),
25167         (gst_base_transform_is_in_place):
25168         * gst/base/gstbasetransform.h:
25169           Change BaseTransform to separate in_place operate from same_caps
25170           output. in_place implies that the element can perform the transform
25171           on incoming buffers in-place, even if the caps on the output are
25172           different.
25173           Sub-class elements can now implement special buffer allocation
25174           methods for outgoing buffers if they wish to.
25175           Big documentation addition.
25176         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25177         * gst/elements/gstelements.c:
25178           Changes for basetransform modifications.
25179         * gst/elements/Makefile.am:
25180         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25181           Compile fix. Extra debug output.
25182
25183 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25184
25185         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25186         (gst_pad_suite):
25187           add tests for valid pad naming
25188         * gst/check/gstcheck.c: (gst_check_log_message_func),
25189         (gst_check_log_critical_func):
25190           add ASSERT_WARNING
25191           remove printing of code, it is fragile when the code contains
25192           % and the line number is enough info
25193         * gst/check/gstcheck.h:
25194         * gst/gstpad.c: (gst_pad_template_new):
25195           fix memleaks
25196
25197 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25198
25199         * configure.ac:
25200           say what CHECK flags we use
25201         * docs/libs/gstreamer-libs.types:
25202         * libs/gst/controller/Makefile.am:
25203         * libs/gst/controller/gst-controller.c:
25204         * libs/gst/controller/gst-controller.h:
25205         * libs/gst/controller/gst-helper.c:
25206         * libs/gst/controller/gst-interpolation.c:
25207         * libs/gst/controller/gstcontroller.c:
25208         * libs/gst/controller/gsthelper.c:
25209         * libs/gst/controller/gstinterpolation.c:
25210         * tools/gst-inspect.c: (print_plugin_info):
25211           we don't use dashes in header names
25212
25213 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25214
25215         * check/Makefile.am:
25216         * check/gst/.cvsignore:
25217         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25218         (gst_pipeline_suite), (main):
25219           adding a test for pipelines and state changes
25220         * gst/gstutils.c: (get_state_func):
25221           add some debugging
25222         * gstreamer.spec.in:
25223           fix up spec file
25224
25225 2005-09-08  Michael Smith <msmith@fluendo.com>
25226
25227         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25228         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25229         (gst_file_src_is_seekable), (gst_file_src_get_size),
25230         (gst_file_src_start):
25231         * gst/elements/gstfilesrc.h:
25232           Various fixes for unseekable, unmmapable, and non-normal files, so
25233           that fallback to read() rather than mmap() works.
25234         * gst/gstevent.c: (gst_event_new_newsegment):
25235           Allow newsegment events with segment_start == segment_end, as will
25236           correctly happen if you use filesrc on a zero-size file, for
25237           example.
25238
25239 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25240
25241         * gst/gstplugin.c: (gst_plugin_load_file):
25242           Call g_module_close when we don't load the module
25243
25244         * gst/registries/gstlibxmlregistry.c:
25245         (gst_xml_registry_get_property):
25246           Port leak fix from 0.8
25247
25248 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25249
25250         * docs/gst/gstreamer-docs.sgml:
25251         * docs/gst/tmpl/.cvsignore:
25252         * docs/gst/tmpl/gsttrace.sgml:
25253         * docs/gst/tmpl/gsttrashstack.sgml:
25254         * gst/Makefile.am:
25255         * gst/gst.h:
25256         * gst/gstelement.h:
25257         * gst/gstevent.h:
25258         * gst/gstmessage.c:
25259         * gst/gstmessage.h:
25260         * gst/gsttag.c:
25261         * gst/gsttag.h:
25262         * gst/gsttaginterface.c:
25263         * gst/gsttaginterface.h:
25264         * gst/gsttaglist.c:
25265         * gst/gsttaglist.h:
25266         * gst/gsttagsetter.c:
25267         * gst/gsttagsetter.h:
25268         * gst/gsttrace.c:
25269         * gst/gsttrace.h:
25270         * gst/gsttrashstack.c:
25271           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25272           inlined docs for gsttrace, gsttrashstack
25273
25274 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25275
25276         * gst/Makefile.am:
25277         * gst/elements/gstbufferstore.h:
25278         * gst/elements/gsttypefindelement.c:
25279         * gst/elements/gsttypefindelement.h:
25280         * gst/gst.h:
25281         * gst/gsttypefind.c:
25282         * gst/gsttypefind.h:
25283         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25284         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25285         (gst_type_find_factory_dispose),
25286         (gst_type_find_factory_unload_thyself),
25287         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25288         (gst_type_find_factory_get_caps),
25289         (gst_type_find_factory_get_extensions),
25290         (gst_type_find_factory_call_function):
25291         * gst/gsttypefindfactory.h:
25292         * gst/registries/gstlibxmlregistry.c:
25293         * gst/registries/gstxmlregistry.c:
25294           splitted gsttypefind into gsttypefind, gsttypefindfactory
25295
25296 2005-09-07  Andy Wingo  <wingo@pobox.com>
25297
25298         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25299         condition whereby the pad's task function is entered before the
25300         pad_mode variable was set.
25301
25302 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25303
25304         * gst/gstpad.c: (gst_pad_alloc_buffer):
25305           Catch misbehaving pad_alloc functions that don't
25306           set up caps and do it for them.
25307
25308 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25309
25310         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25311           test for pipe!=NULL
25312         * docs/gst/tmpl/.cvsignore:
25313         * docs/gst/tmpl/gstmemchunk.sgml:
25314         * docs/gst/tmpl/gstparse.sgml:
25315         * docs/gst/tmpl/gsttaglist.sgml:
25316         * docs/gst/tmpl/gsttagsetter.sgml:
25317         * docs/gst/tmpl/gsttypefind.sgml:
25318         * docs/gst/tmpl/gsttypefindfactory.sgml:
25319         * gst/gstmemchunk.c:
25320         * gst/gstparse.c:
25321         * gst/gsttag.c:
25322         * gst/gsttaginterface.c:
25323         * gst/gsttypefind.c:
25324         * gst/gsttypefind.h:
25325           inlined more docs
25326
25327 === release 0.9.2 ===
25328
25329 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25330
25331         * NEWS:
25332         * RELEASE:
25333         * configure.ac:
25334           releasing 0.9.2, "South"
25335
25336 2005-09-05  Andy Wingo  <wingo@pobox.com>
25337
25338         * gst/registries/gstxmlregistry.h:
25339         * gst/registries/gstxmlregistry.c: Um... resurrect...
25340         
25341         * gst/registries/gstxmlregistry.h:
25342         * gst/registries/gstxmlregistry.c: and update to newer API.
25343         Incidentally they should be a bit faster now that they don't have
25344         to parse the caps.
25345         
25346 2005-09-05  Andy Wingo  <wingo@pobox.com>
25347
25348         * gst/registries/gstxmlregistry.h:
25349         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25350         replaced by the libxml registry a while back
25351
25352 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25353
25354         * docs/gst/tmpl/gstplugin.sgml:
25355         * gst/elements/gstelements.c:
25356         * gst/gst.c:
25357         * gst/gstplugin.c: (gst_plugin_register_func),
25358         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25359         (gst_plugin_get_source):
25360         * gst/gstplugin.h:
25361         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25362         (gst_xml_registry_save_plugin):
25363         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25364         (gst_xml_registry_save_plugin):
25365         * tools/gst-inspect.c: (print_plugin_info):
25366           add a "source" plugin description field, to represent the source
25367           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25368           will set it to PACKAGE, which is automake's idea of the name of
25369           the source project.
25370
25371 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25372
25373         * Makefile.am:
25374         * autogen.sh:
25375         * configure.ac:
25376         * docs/Makefile.am:
25377         * docs/faq/Makefile.am:
25378         * docs/gst/tmpl/gstelement.sgml:
25379         * docs/gst/tmpl/gsttypes.sgml:
25380         * docs/htmlinstall.mak:
25381         * docs/manual/Makefile.am:
25382         * docs/pwg/Makefile.am:
25383           reorganize doc build a little
25384           split out docbook and gtk-doc stuff
25385           have two separate --enable's and enable them through autogen
25386           but disable by default in configure (to be similar to other
25387           projects)
25388         * gstreamer.spec.in:
25389           clean up docs install
25390         * po/af.po:
25391         * po/az.po:
25392         * po/ca.po:
25393         * po/cs.po:
25394         * po/de.po:
25395         * po/en_GB.po:
25396         * po/fr.po:
25397         * po/it.po:
25398         * po/nb.po:
25399         * po/nl.po:
25400         * po/ru.po:
25401         * po/sq.po:
25402         * po/sr.po:
25403         * po/sv.po:
25404         * po/tr.po:
25405         * po/uk.po:
25406         * po/vi.po:
25407           translation updates
25408
25409 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25410
25411         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25412           Add comment.
25413           
25414         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25415         (gst_fake_sink_change_state):
25416           Make state change function thread-safe.
25417           
25418         * gst/gstpad.c: (gst_pad_alloc_buffer):
25419           Set offset on generic buffer allocated by fallback.
25420
25421 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25422
25423         * docs/gst/gstreamer-sections.txt:
25424         * docs/gst/tmpl/gstelement.sgml:
25425         * gst/gstpad.c:
25426         * libs/gst/controller/gst-controller.c:
25427         (gst_controlled_property_set_interpolation_mode),
25428         (gst_controlled_property_new),
25429         (gst_controller_find_controlled_property):
25430          run the wingo-magic script against the docs
25431
25432 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25433
25434         * docs/gst/gstreamer-docs.sgml:
25435         * docs/gst/gstreamer-sections.txt:
25436         * docs/gst/tmpl/.cvsignore:
25437         * docs/gst/tmpl/gstelementdetails.sgml:
25438         * docs/gst/tmpl/gstelementfactory.sgml:
25439         * gst/gst.c:
25440         * gst/gstbus.c:
25441         * gst/gstelementfactory.c:
25442         * gst/gstelementfactory.h:
25443           merged elementdetails docs into elementfactory docs
25444           inlined both
25445
25446 2005-09-02  Andy Wingo  <wingo@pobox.com>
25447
25448         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25449         consider this enum an enum and not a flags.
25450
25451 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25452
25453         * docs/gst/gstreamer-docs.sgml:
25454         * docs/gst/tmpl/.cvsignore:
25455         * docs/gst/tmpl/gstghostpad.sgml:
25456         * docs/gst/tmpl/gstiterator.sgml:
25457         * docs/gst/tmpl/gstmacros.sgml:
25458         * docs/gst/tmpl/gstrealpad.sgml:
25459         * docs/gst/tmpl/gstregistry.sgml:
25460         * docs/gst/tmpl/gstregistrypool.sgml:
25461         * docs/gst/tmpl/gststructure.sgml:
25462         * docs/gst/tmpl/gstsystemclock.sgml:
25463         * docs/gst/tmpl/gsttrace.sgml:
25464         * gst/gstghostpad.c:
25465         * gst/gstmacros.h:
25466         * gst/gstmemchunk.c:
25467         * gst/gstmemchunk.h:
25468         * gst/gstqueue.c:
25469         * gst/gstregistry.c:
25470         * gst/gstregistrypool.c:
25471         * gst/gststructure.c:
25472         * gst/gstsystemclock.c:
25473           more docs inlined
25474
25475 2005-09-02  Andy Wingo  <wingo@pobox.com>
25476
25477         * gst/gstelement.h (GstState): Renamed from GstElementState,
25478         changed to be a normal enum instead of flags.
25479         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25480         munged to be GST_STATE_CHANGE_*.
25481         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25482         work with the new state representation.
25483         (GstStateChange): New enumeration of possible state transitions.
25484         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25485         (GstElementClass::change_state): Pass the GstStateChange along as
25486         an argument. Helps language bindings, so they don't have to use
25487         tricky lock-needing macros like GST_STATE_CHANGE ().
25488
25489         * scripts/update-states (file): New script. Run it on a file to
25490         update it for state naming and API changes. Updates files in
25491         place.
25492
25493         * All files updated for the new API.
25494
25495 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25496
25497         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25498         * gst/gstutils.c: (gst_util_set_value_from_string),
25499         (gst_util_set_object_arg):
25500           fix a bunch of unchecked return values
25501         * tools/gst-complete.c: (main):
25502         * gstreamer.spec.in:
25503           clean up a little
25504
25505 2005-09-01  Wim Taymans  <wim@fluendo.com>
25506
25507         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25508         (gst_base_sink_event), (gst_base_sink_do_sync),
25509         (gst_base_sink_handle_event):
25510         * gst/base/gstbasesink.h:
25511         Handle newsegments more correctly.
25512
25513         * gst/gstbus.c:
25514         Fix docs.
25515
25516         * gst/gstevent.c: (gst_event_new_newsegment):
25517         A newsegment cannot have a start_time of -1
25518
25519 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25520
25521         * win32/gstenumtypes.c:
25522         * win32/gstenumtypes.h:
25523           Update
25524
25525 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25526
25527         * libs/gst/controller/gst-controller.c:
25528         (gst_controlled_property_set_interpolation_mode),
25529         (gst_controlled_property_new):
25530          fixed boolean again
25531
25532 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25533
25534         * docs/faq/gst-uninstalled:
25535           add -good
25536         * gst/gstevent.c:
25537         * gst/gstevent.h:
25538           remove wrong docs
25539         * gst/gstutils.c: (gst_element_link_filtered):
25540         * gst/gstutils.h:
25541           add gst_element_link_filtered
25542
25543 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25544
25545         * docs/gst/gstreamer-docs.sgml:
25546         * docs/gst/gstreamer-sections.txt:
25547         * docs/gst/tmpl/.cvsignore:
25548         * docs/gst/tmpl/gsterror.sgml:
25549         * docs/gst/tmpl/gstfilter.sgml:
25550         * docs/gst/tmpl/gsturihandler.sgml:
25551         * docs/gst/tmpl/gsturitype.sgml:
25552         * docs/gst/tmpl/gstutils.sgml:
25553         * docs/gst/tmpl/gstxml.sgml:
25554         * gst/gsterror.c:
25555         * gst/gsterror.h:
25556         * gst/gstfilter.c:
25557         * gst/gsturi.c:
25558         * gst/gsturitype.c:
25559         * gst/gstutils.c:
25560         * gst/gstxml.c:
25561           inlined more docs, fixed double id-ref
25562
25563 2005-08-31  Wim Taymans  <wim@fluendo.com>
25564
25565         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25566         (gst_base_transform_handle_buffer):
25567         Passthrough elements don't need the caps as they don't care.
25568
25569 2005-08-31  Wim Taymans  <wim@fluendo.com>
25570
25571         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25572         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25573         Don't leak refcounts on buffers.
25574
25575 2005-08-31  Wim Taymans  <wim@fluendo.com>
25576
25577         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25578         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25579         (gst_base_transform_chain), (gst_base_transform_change_state):
25580         * gst/base/gstbasetransform.h:
25581         Handle the case where we are not negotiated more gracefully.
25582
25583 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25584
25585         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25586         (gst_file_src_map_region):
25587           Set READONLY flag on mmap'ed buffers, otherwise
25588           gst_buffer_make_writable() won't work properly (#314708).
25589
25590 2005-08-31  Wim Taymans  <wim@fluendo.com>
25591
25592         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25593         passthrough elements can even do inplace on non writable
25594         buffers (as they don't touch them).
25595
25596 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25597
25598         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25599         (gst_test_mono_source_set_property),
25600         (gst_test_mono_source_class_init), (GST_START_TEST),
25601         (gst_controller_suite):
25602           more tests (hehe I have the most)
25603         * gst/gstbus.c:
25604           describe popping messages whenusing mulltiple sources
25605         * libs/gst/controller/gst-controller.c:
25606         (gst_controlled_property_set_interpolation_mode),
25607         (gst_controlled_property_new):
25608         * libs/gst/controller/gst-controller.h:
25609         * libs/gst/controller/gst-interpolation.c:
25610           implement boolean properties
25611
25612 2005-08-31  Wim Taymans  <wim@fluendo.com>
25613
25614         * gst/gstminiobject.c: (gst_mini_object_ref):
25615         Cannot assert that the refcount has to be positive
25616         since a disposed object can be resurrected.
25617
25618 2005-08-31  Wim Taymans  <wim@fluendo.com>
25619
25620         * gst/gstpad.c: (gst_pad_init):
25621         Revert change, need to first fix badly behaving 
25622         apps.
25623
25624 2005-08-30  Wim Taymans  <wim@fluendo.com>
25625
25626         * check/elements/fakesrc.c: (setup_fakesrc):
25627         * check/elements/identity.c: (setup_identity):
25628         Activate pads before using them.
25629
25630 2005-08-30  Wim Taymans  <wim@fluendo.com>
25631
25632         * gst/base/gstadapter.c: (gst_adapter_flush):
25633         Flushing out 0 bytes is ok for this function.
25634
25635         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25636         no newsegment gives a warning and sets the start/stop to 
25637         invalid.
25638
25639         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25640         (gst_base_transform_set_passthrough):
25641         Some debug info.
25642
25643         * gst/gstminiobject.c: (gst_mini_object_ref):
25644         Check refcount here too.
25645
25646         * gst/gstpad.c: (gst_pad_init):
25647         Pads are initially flushing and refusing data.
25648
25649         * gst/gstutils.c: (gst_element_link_pads_filtered):
25650         When adding a capsfilter element make sure it has the
25651         same state as the parent bin.
25652
25653 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25654
25655         * docs/gst/tmpl/.cvsignore:
25656         * docs/gst/tmpl/gstformat.sgml:
25657         * docs/gst/tmpl/gstversion.sgml:
25658         * gst/gstbus.h:
25659         * gst/gstformat.c:
25660         * gst/gstformat.h:
25661         * gst/gstversion.h.in:
25662           more docs and two more inlined
25663
25664 2005-08-30  Wim Taymans  <wim@fluendo.com>
25665
25666         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25667         Don't sync to clock.
25668
25669 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25670
25671         * docs/gst/gstreamer-sections.txt:
25672           ultral33t func10ns deserve to appear in the docs actually
25673         * docs/gst/tmpl/.cvsignore:
25674         * docs/gst/tmpl/gstcompat.sgml:
25675         * docs/gst/tmpl/gstconfig.sgml:
25676         * gst/check/gstcheck.c:
25677         * gst/gstcompat.h:
25678         * gst/gstconfig.h.in:
25679           inlined more docs
25680
25681 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25682
25683         * docs/gst/tmpl/.cvsignore:
25684         * docs/gst/tmpl/gstquery.sgml:
25685         * docs/gst/tmpl/gstutils.sgml:
25686         * gst/gstquery.c:
25687         * gst/gstquery.h:
25688           inlined and extended docs
25689
25690 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25691
25692         * check/gst-libs/controller.c: (GST_START_TEST),
25693         (gst_controller_suite):
25694           more tests
25695         * docs/gst/tmpl/gstutils.sgml:
25696         * docs/libs/gstreamer-libs-sections.txt:
25697         * docs/libs/tmpl/gstdataprotocol.sgml:
25698           include path fixes
25699         * examples/controller/audio-example.c: (main):
25700           controller example works now
25701         * gst/gstclock.h:
25702           doc fixes
25703         * tools/gst-inspect.c: (print_element_properties_info):
25704           show param spec flags
25705
25706 2005-08-29  Andy Wingo  <wingo@pobox.com>
25707
25708         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25709
25710 2005-08-28  Andy Wingo  <wingo@pobox.com>
25711
25712         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25713         as having two arguments instead of just one. Allows superclasses
25714         to access information on subclasses -- see the terrible for() loop
25715         in gtype.c:g_type_create_instance for the reason why. All callers
25716         changed.
25717
25718 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25719
25720         * docs/design/part-messages.txt:
25721           update info
25722         * docs/gst/tmpl/.cvsignore:
25723         * docs/gst/tmpl/gstcaps.sgml:
25724         * docs/gst/tmpl/gstclock.sgml:
25725         * gst/gstbus.c:
25726         * gst/gstcaps.c:
25727         * gst/gstcaps.h:
25728         * gst/gstclock.c:
25729         * gst/gstclock.h:
25730         * gst/gstmessage.c:
25731           added descriptions for bus and message
25732           inline caps and clock docs
25733
25734 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25735
25736         * gst/gstmessage.c:
25737         * gst/gstmessage.h:
25738           doc fixes
25739
25740 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25741
25742         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25743           fix div-by-zero
25744
25745 2005-08-26  Andy Wingo  <wingo@pobox.com>
25746
25747         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25748         element_set_state's return val.
25749         (test_2_elements): Add test that's been disabled for months.
25750
25751         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25752         can-activate-pull properties.
25753
25754         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25755         can-activate-pull properties. Implement is_seekable so fakesrc can
25756         operate in pull mode.
25757
25758         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25759         properties.
25760         (gst_base_sink_activate, gst_base_sink_activate_pull)
25761         (gst_base_sink_activate_push): Make activation mode choosing work.
25762         Cleanups.
25763         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25764         is right. Make pull mode work. Post an eos before pausing in pull
25765         mode.
25766         (gst_base_sink_change_state): Pay attention to the core's
25767         change_state() return val.
25768         
25769         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25770         has-getrange properties. Cleanups.
25771         
25772         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25773         has_getrange and replace with can_activate_pull and
25774         can_activate_push.
25775
25776         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25777         locking comments. Remove has_loop, has_chain and replace with
25778         can_activate_pull and can_activate_push.
25779
25780 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
25781
25782         * configure.ac:
25783         * examples/Makefile.am:
25784         * examples/metadata/Makefile.am:
25785         * examples/metadata/read-metadata.c: (message_loop),
25786         (have_pad_handler), (make_pipeline), (print_tag), (main):
25787           Add metadata reading example that loops over a list of filenames,
25788           dumping any tags found.
25789
25790         * gst/gstbus.c: (gst_bus_dispose):
25791         * gst/gstelement.c: (gst_element_dispose):
25792           Release a few potentially-held references in dispose.
25793
25794 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25795
25796         * docs/gst/tmpl/gstminiobject.sgml:
25797           do *not* add tmpl/*.sgml files to CVS!
25798
25799 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25800
25801         * libs/gst/bytestream/.cvsignore:
25802         * libs/gst/bytestream/Makefile.am:
25803         * libs/gst/bytestream/adapter.c:
25804         * libs/gst/bytestream/adapter.h:
25805         * libs/gst/bytestream/bytestream.c:
25806         * libs/gst/bytestream/bytestream.h:
25807         * libs/gst/bytestream/filepad.c:
25808         * libs/gst/bytestream/filepad.h:
25809           removing obsolete files
25810
25811 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25812
25813         * docs/gst/gstreamer-docs.sgml:
25814         * docs/libs/gstreamer-libs-docs.sgml:
25815           disabed additional index entries again, as this makes docs-gen just
25816           slow and they aren't useful yet
25817         * docs/libs/gstreamer-libs-sections.txt:
25818           little -section.txt cleanup for libs
25819
25820 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
25821
25822         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25823         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25824           fix up some debugging
25825         (gst_base_transform_get_unit_size),
25826         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25827         (gst_base_transform_handle_buffer):
25828         * gst/base/gstbasetransform.h:
25829           handle and store timed NEWSEGMENT events so that subclasses that
25830           calculate time by counting samples have a segment_start time they
25831           need to add to their timestamps - see audioresample
25832
25833 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25834
25835         * gst/gstbin.h:
25836           removed ';' from the end of macro defs
25837         * docs/gst/gstreamer-docs.sgml:
25838         * docs/gst/gstreamer-sections.txt:
25839         * docs/gst/tmpl/.cvsignore:
25840         * gst/gstbus.h:
25841         * gst/gstelement.c: (gst_element_class_init),
25842         (gst_element_set_state), (activate_pads),
25843         (gst_element_save_thyself):
25844         * gst/gstevent.c: (gst_event_new_newsegment):
25845         * gst/gstevent.h:
25846         * gst/gstiterator.c:
25847         * gst/gstiterator.h:
25848         * gst/gstpad.c:
25849         * gst/gstprobe.h:
25850         * gst/gstutils.c: (gst_pad_query_convert):
25851         * gst/gstutils.h:
25852           fixed parameter name mismatches between source, header and docs
25853           added some more docs, resolved the last batch of unused elements in
25854           docs (now someone needs to doc them)
25855
25856 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25857
25858         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25859         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25860           don't walk through the plugins backwards.  Where is all this
25861           reversed logic coming from ?
25862
25863 2005-08-25  Wim Taymans  <wim@fluendo.com>
25864
25865         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25866         (gst_base_transform_transform_size),
25867         (gst_base_transform_configure_caps),
25868         (gst_base_transform_get_unit_size),
25869         (gst_base_transform_buffer_alloc),
25870         (gst_base_transform_change_state):
25871         * gst/base/gstbasetransform.h:
25872         Cache caps unit_size.
25873         Make sure we cannot negotiate up and downstream at the
25874         same time.
25875
25876 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25877
25878         * gst/gst.c: (init_pre), (init_post):
25879           register the installed plugin path after the env var
25880         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25881         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25882           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25883           directories, so the tests can prefer uninstalled over installed
25884
25885 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25886
25887         * gst/base/gstbasetransform.h:
25888           comment
25889         * gst/gstpad.c:
25890           add to docs
25891
25892 2005-08-25  Wim Taymans  <wim@fluendo.com>
25893
25894         * gst/gstbin.c: (bin_bus_handler):
25895         Be a bit more conservative about the posted message.
25896         
25897         * gst/gstbus.c: (gst_bus_post):
25898         Some cleanups, warn wrong return values.
25899
25900 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
25901
25902         * check/gst/gstbin.c: (GST_START_TEST):
25903         * gst/gstbin.c: (bin_bus_handler):
25904         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25905         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25906         (gst_message_new_warning), (gst_message_new_tag),
25907         (gst_message_new_state_changed), (gst_message_new_segment_start),
25908         (gst_message_new_segment_done), (gst_message_new_custom):
25909         * gst/gstmessage.h:
25910         * tools/gst-launch.c: (event_loop):
25911         * tools/gst-md5sum.c: (event_loop):
25912           Revert unpopular change for GST_MESSAGE_SRC to GObject.
25913
25914 2005-08-25  Wim Taymans  <wim@fluendo.com>
25915
25916         * check/generic/states.c: (GST_START_TEST):
25917         Cleanup can be done at the end.
25918
25919         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25920         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25921         (gst_task_get_state), (gst_task_start), (gst_task_pause):
25922         Oh boy.. Thanks for finding this, Thomas. 
25923
25924 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
25925
25926         * docs/gst/gstreamer.types:
25927           added missing types
25928
25929 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
25930
25931         * docs/gst/gstreamer-docs.sgml:
25932         * docs/gst/gstreamer-sections.txt:
25933         * docs/gst/tmpl/.cvsignore:
25934         * gst/gstbin.c:
25935         * gst/gstiterator.c:
25936         * gst/gstutils.c:
25937         * gst/registries/gstxmlregistry.h:
25938           added missing classes and symbols (123 more to go)
25939           removed removed symbols from section file
25940           fixed many doc-comments
25941
25942 2005-08-24  Wim Taymans  <wim@fluendo.com>
25943
25944         * check/generic/states.c: (GST_START_TEST):
25945         Make sure all tasks are stopped.
25946
25947         * check/gst/gstbin.c: (GST_START_TEST):
25948         Unref after usage for proper valgrinding.
25949
25950         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
25951         Really wait for the task to stop before destroying the
25952         mutex.
25953
25954         * gst/gstqueue.c: (gst_queue_sink_activate_push),
25955         (gst_queue_src_activate_push):
25956         Small cleanups. Don't stop the task when we did not start
25957         it.
25958
25959         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
25960         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25961         (gst_task_get_state), (gst_task_start), (gst_task_pause),
25962         (gst_task_join):
25963         * gst/gsttask.h:
25964         Protect the stream lock with the object lock.
25965         Disallow setting the stream lock when running.
25966         Add cleanup_all to wait for the threadpool to finish.
25967         Remove code to autoallocate a mutex if none was provided.
25968         Add _join() to wait for a task to stop.
25969         Protect the thread pool with a global lock.
25970
25971 2005-08-24  Wim Taymans  <wim@fluendo.com>
25972
25973         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25974         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25975         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
25976         * gst/base/gstbasesink.h:
25977         Handle newsegment events correctly.
25978         Drop buffers out of the segment range.
25979
25980 2005-08-22  Andy Wingo  <wingo@pobox.com>
25981
25982         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
25983         macro, implements an interface and gstimplementsinterface for a
25984         new type.
25985
25986 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
25987
25988         * check/Makefile.am:
25989         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
25990           add a test that does a bunch of state changes on elements
25991           needs some fixing for valgrind
25992         * check/states/sinks.c: (gst_object_suite):
25993           whitespace
25994         * gst/gstcaps.h:
25995           add prototype for gst_caps_is_equal_fixed
25996         * gst/gstplugin.c:
25997         * gst/gstregistrypool.c:
25998           doc fixes
25999
26000 2005-08-24  Andy Wingo  <wingo@pobox.com>
26001
26002         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26003         convert a negative value. Doesn't make much sense. Mostly this is
26004         here to force callers to ensure -1 maps to -1.
26005
26006 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26007
26008         * docs/pwg/advanced-types.xml:
26009           Well done to Michael for catching my deliberate introduction
26010           of this spelling mistake. 
26011         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26012         * gst/gstelement.h:
26013           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26014           unlink pads before removing the element from the bin.
26015
26016 2005-08-24  Andy Wingo  <wingo@pobox.com>
26017
26018         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26019         the same thing as GST_DEBUG=*:4.
26020         (parse_debug_level, parse_debug_category): New helper parsers.
26021
26022 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26023
26024         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26025         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26026         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26027         (gst_base_transform_buffer_alloc),
26028         (gst_base_transform_handle_buffer):
26029           use gboolean return values and pointers to size so we can use the
26030           full GST_BUFFER_SIZE range (guint) for buffer sizes
26031           use GstPadDirection for transform_caps
26032         * gst/base/gstbasetransform.h:
26033           rename get_size to get_unit_size since that's what it is
26034         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26035           use GstPadDirection for transform_caps
26036         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26037         * gst/gstutils.h:
26038           cleanup and debugging
26039
26040 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26041
26042         * gst/gstelement.c: (gst_element_class_init),
26043         (gst_element_set_state), (activate_pads),
26044         (gst_element_save_thyself):
26045         * tools/gst-compprep.c: (main):
26046         * tools/gst-inspect.c: (print_element_properties_info):
26047         * tools/gst-xmlinspect.c: (print_element_properties):
26048           Fixed long standing mem-leak
26049
26050 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26051
26052         * check/gst/gstbin.c: (GST_START_TEST):
26053         * gst/gstbin.c: (bin_bus_handler):
26054         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26055         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26056         (gst_message_new_warning), (gst_message_new_tag),
26057         (gst_message_new_state_changed), (gst_message_new_segment_start),
26058         (gst_message_new_segment_done), (gst_message_new_custom):
26059         * gst/gstmessage.h:
26060         * tools/gst-launch.c: (event_loop):
26061         * tools/gst-md5sum.c: (event_loop):
26062           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26063           that applications can sensibly post custom messages with references
26064           to their own objects.
26065
26066 2005-08-24  Andy Wingo  <wingo@pobox.com>
26067
26068         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26069         already.
26070
26071 2005-08-24  Wim Taymans  <wim@fluendo.com>
26072
26073         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26074         (gst_base_transform_transform_caps),
26075         (gst_base_transform_transform_size),
26076         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26077         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26078         (gst_base_transform_handle_buffer):
26079         * gst/base/gstbasetransform.h:
26080         Many fixes and new features added by Thomas. Can now also do
26081         transforms with variable sizes and a custom fixate_caps function.
26082
26083 2005-08-24  Wim Taymans  <wim@fluendo.com>
26084
26085         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26086         Some debugging.
26087
26088         * gst/gstclock.h:
26089         Cast to ClockTime before formatting to time.
26090
26091         * gst/gstutils.h:
26092         Cleanups.
26093
26094 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26095
26096         * check/gst-libs/controller.c: (GST_START_TEST),
26097         (gst_controller_suite):
26098         * docs/gst/tmpl/gstcaps.sgml:
26099         * docs/gst/tmpl/gstghostpad.sgml:
26100         * docs/gst/tmpl/gstquery.sgml:
26101         * docs/gst/tmpl/gstutils.sgml:
26102         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26103         (gst_object_sink_values), (gst_object_get_value_arrays),
26104         (gst_object_get_value_array):
26105           gracefully handle helper method calls to objects that are not beeing
26106           controlled, added test case for that          
26107
26108 2005-08-23  Wim Taymans  <wim@fluendo.com>
26109
26110         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26111         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26112         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26113         (gst_event_parse_qos), (gst_event_new_seek),
26114         (gst_event_parse_seek):
26115         * gst/gstevent.h:
26116         Some more debugging output and doc cleanups.
26117
26118         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26119         Fix possible deadlock.
26120
26121 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26122
26123         * docs/gst/gstreamer-docs.sgml:
26124         * docs/gst/gstreamer-sections.txt:
26125         * docs/gst/gstreamer.types:
26126         * docs/gst/tmpl/.cvsignore:
26127         * gst/gstbin.h:
26128         * gst/gstbus.c:
26129         * gst/gstelement.c:
26130         * gst/gstevent.h:
26131           added 100 symbols from gstreamer-unused.txt to the right sections
26132           fixed more broken comments
26133           added GstBus to docs
26134
26135 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26136
26137         * docs/gst/gstreamer-sections.txt:
26138         * docs/gst/tmpl/.cvsignore:
26139         * docs/gst/tmpl/gstbin.sgml:
26140         * docs/gst/tmpl/gstbuffer.sgml:
26141         * gst/base/gstbasesrc.c:
26142         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26143         * gst/gstbuffer.c:
26144         * gst/gstbuffer.h:
26145         * tools/gst-launch.1.in:
26146           inlined more doc comments, added missing comments and fixed comments
26147           fixed typos
26148
26149 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26150
26151         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26152           some debugging
26153         * gst/gstcaps.h:
26154           whitespace fixes
26155         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26156           more debugging
26157         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26158         * gst/gststructure.h:
26159           add a fixate function for booleans; add a FIXME that these func
26160           names should probably be gst_structure_fixate_*
26161
26162 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26163
26164         * docs/gst/gstreamer-docs.sgml:
26165         * docs/gst/gstreamer-sections.txt:
26166         * gst/Makefile.am:
26167         * gst/gstbin.c: (gst_bin_get_type),
26168         (gst_bin_child_proxy_get_child_by_index),
26169         (gst_bin_child_proxy_get_children_count),
26170         (gst_bin_child_proxy_init):
26171         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26172         (gst_child_proxy_get_child_by_index),
26173         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26174         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26175         (gst_child_proxy_get), (gst_child_proxy_set_property),
26176         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26177         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26178         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26179         * gst/gstchildproxy.h:
26180         * gst/parse/grammar.y:
26181         * tools/gst-inspect.c: (print_interfaces),
26182         (print_element_properties_info), (print_element_info):
26183           ported gstchildproxy over from 0.8
26184           ported gst-inspect fixes and enhancements over from 0.8
26185
26186 2005-08-22  Wim Taymans  <wim@fluendo.com>
26187
26188         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26189         (gst_base_transform_handle_buffer):
26190         Also call the transform function if we have ANY caps.
26191
26192         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26193         Fix debug info.
26194
26195 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26196
26197         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26198           Don't pretend to handle seek events if the source is not seekable
26199
26200 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26201
26202         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26203           Remove extra parameter to debug output
26204
26205         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26206         (gst_base_src_do_seek), (gst_base_src_activate_push):
26207           Fix seek event handling.
26208
26209         * gst/gstpipeline.c: (gst_pipeline_change_state):
26210         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26211         (gst_queue_src_activate_push):
26212           Don't start the src pad task on FLUSH_STOP if the pad
26213           isn't linked.
26214           Debug changes.
26215
26216 2005-08-22  Wim Taymans  <wim@fluendo.com>
26217
26218         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26219         Added check for gst_static_caps_get() refcounting.
26220
26221 2005-08-22  Wim Taymans  <wim@fluendo.com>
26222
26223         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26224         Make _static_caps_get() refcounting sane.
26225         
26226         * gst/gstelement.c: (gst_element_set_state):
26227         Add g_return_val_if_fail() to protect against segfaults.
26228
26229 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26230
26231         * docs/gst/tmpl/gstevent.sgml:
26232         * gst/gstevent.c:
26233         * gst/gstevent.h:
26234           inlined remaining docs, added missing doc comments
26235
26236 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26237
26238         * check/gst/gstbin.c: (GST_START_TEST):
26239           since we don't know when preroll is done, use refcount range
26240           check for the sink
26241         * gst/check/gstcheck.h:
26242           add macro for checking refcount range
26243
26244 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26245
26246         * check/Makefile.am:
26247           clean up environment for when registry gets built versus
26248           when actual tests are run; valgrind seems to not report
26249           leaks if GST_PLUGIN_PATH is set to some specific values
26250         * check/gst/gstbin.c: (GST_START_TEST):
26251           add more refcounting checks; maybe this exposes a
26252           preroll lock bug ?
26253         * common/check.mak:
26254         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26255         * gst/check/gstcheck.h:
26256         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26257         (gst_bin_change_state):
26258         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26259           add/fix debugging/whitespace
26260
26261 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26262
26263         * check/gst/gstevent.c: (event_probe), (test_event),
26264         (GST_START_TEST):
26265          Er, don't call gst_bin_watch_for_state_change you idiot.
26266
26267 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26268
26269         * check/Makefile.am:
26270           Use CHECK_CFLAGS and CHECK_LIBS
26271         * check/gst/gstevent.c: (event_probe), (test_event),
26272         (GST_START_TEST):
26273           Don't leak events.
26274         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26275         (gst_base_src_start), (gst_base_src_stop),
26276         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26277         (gst_base_src_change_state):
26278           Sprinkle gst_base_src_stop liberally around error paths to fix
26279           problems reusing a source after failed state changes.
26280         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26281         (helper_find_suggest), (gst_type_find_helper):
26282           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26283         * gst/gstevent.h:
26284         * docs/gst/tmpl/gstevent.sgml:
26285           Migrate part of the docs from the SGML file. Wait for ensonic to
26286           tell me how I did it wrong ;)
26287         * tools/gst-typefind.c: (main):
26288           Extra robustness to state changes between files.
26289
26290 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26291
26292         * check/Makefile.am:
26293           don't valgrind the controller test - it's leaking - Stefan, HELP
26294         * gst/check/gstcheck.c: (gst_check_message_error),
26295         (gst_check_chain_func), (gst_check_setup_element),
26296         (gst_check_teardown_element), (gst_check_setup_src_pad),
26297         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26298         (gst_check_teardown_sink_pad):
26299         * gst/check/gstcheck.h:
26300           add a bunch of methods to set up elements, and src and sink pads
26301         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26302         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26303         (GST_START_TEST):
26304           use them
26305         * gst/gstmessage.c:
26306         * gst/gsttag.h:
26307           whitespace/doc fixes
26308
26309 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26310
26311         * gst/gstelement.h:
26312           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26313           be handled by the application and not always printed as well
26314
26315 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26316
26317         * check/Makefile.am:
26318           set GST_TOOLS_DIR
26319         * gst/check/gstcheck.c: (gst_check_message_error):
26320         * gst/check/gstcheck.h:
26321           add a fail_unless_equals_int
26322           add fail_unless for error messages
26323
26324 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26325
26326         * check/Makefile.am:
26327         * check/gst.supp:
26328         * common/Makefile.am:
26329         * common/check.mak:
26330         * common/gst.supp:
26331           factor out some of the common stuff so we can use it
26332
26333 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26334
26335         * check/Makefile.am:
26336         * check/gst/gstiterator.c: (GST_START_TEST):
26337         * check/gst/gstsystemclock.c: (GST_START_TEST),
26338         (gst_systemclock_suite):
26339         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26340         * gst/gstclock.c:
26341           valgrind more tests
26342
26343 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26344
26345         * check/elements/.cvsignore:
26346         * check/elements/gstfakesrc.c:
26347           rename to name of element
26348         * check/elements/identity.c: (chain_func), (event_func),
26349         (setup_identity), (cleanup_identity), (GST_START_TEST),
26350         (identity_suite), (main):
26351           add a test for identity
26352         * check/Makefile.am:
26353         * pkgconfig/Makefile.am:
26354         * pkgconfig/gstreamer-check.pc.in:
26355         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26356         * gst/check:
26357         * gst/Makefile.am:
26358         * configure.ac:
26359           move the check stuff to a library that gets installed
26360         * check/gst-libs/controller.c: (GST_START_TEST):
26361         * check/gst-libs/gdp.c:
26362         * check/gst/gst.c: (GST_START_TEST):
26363         * check/gst/gstbin.c:
26364         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26365         * check/gst/gstbus.c:
26366         * check/gst/gstcaps.c: (GST_START_TEST):
26367         * check/gst/gstelement.c:
26368         * check/gst/gstghostpad.c:
26369         * check/gst/gstiterator.c:
26370         * check/gst/gstmessage.c:
26371         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26372         * check/gst/gstobject.c:
26373         * check/gst/gstpad.c: (GST_START_TEST):
26374         * check/gst/gststructure.c: (GST_START_TEST):
26375         * check/gst/gstsystemclock.c: (GST_START_TEST),
26376         (gst_systemclock_suite):
26377         * check/gst/gsttag.c: (gst_tag_suite):
26378         * check/gst/gstvalue.c:
26379         * check/pipelines/cleanup.c:
26380         * check/pipelines/simple_launch_lines.c:
26381         * check/states/sinks.c:
26382           change include statement
26383
26384         * docs/gst/gstreamer-sections.txt:
26385         * docs/gst/tmpl/gstpad.sgml:
26386           document more pad stuff
26387         * gst/gstminiobject.c: (gst_mini_object_ref),
26388         (gst_mini_object_unref):
26389           debug refcounting
26390
26391 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26392
26393         * docs/gst/tmpl/gst.sgml:
26394         * gst/gst.c:
26395           eliminate another tmpl file, fix spelling in the long-description
26396
26397 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26398
26399         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26400         (test_event), (timediff), (gstevents_suite):
26401           Should fix build on 64-bit arch's
26402
26403 2005-08-18  Andy Wingo  <wingo@pobox.com>
26404
26405         Make sure that when a pipeline goes to PLAYING, that data has
26406         actually hit the sink.
26407
26408         * check/states/sinks.c (test_sink): A sink that doesn't get any
26409         data shouldn't return SUCCESS for going to either PLAYING or
26410         PAUSED. Test also the return values on the way back down.
26411
26412         * gst/gstelement.c (gst_element_set_state): When changing the
26413         state of an element currently changing state asynchronously, go to
26414         lost-state after commiting the pending state. Makes future calls
26415         to get_state continue to return ASYNC.
26416
26417         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26418         ASYNC when going to PLAYING if we still don't have preroll, as can
26419         happen with live sources.
26420
26421 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26422
26423         * docs/pwg/advanced-types.xml:
26424           Hack long paragraph into 2 chunks as a workaround for buggy
26425           jadetex version in sid and breezy that loops infinitely and
26426           eats all RAM.
26427
26428 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26429
26430         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26431         (test_event), (timediff), (gstevents_suite):
26432           Provide more error margin in clock measurements to allow for 
26433           g_get_current_time inaccuracies.
26434
26435 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26436
26437         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26438         (test_event), (timediff), (gstevents_suite):
26439            Fix error message output so I might be able to tell why the
26440            test works here but fails on the build farm.
26441
26442 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26443
26444         * check/Makefile.am:
26445         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26446         (test_event), (timediff), (gstevents_suite), (main):
26447           I wrote a test!
26448
26449         * docs/design/part-seeking.txt:
26450           Spelling correction
26451
26452         * docs/gst/tmpl/gstevent.sgml:
26453         * docs/gst/tmpl/gstfakesrc.sgml:
26454           Docs updates.
26455
26456         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26457           Treat a buffer-without-newsegment the same as a receiving 
26458           a newsegment not in time format, and disable syncing to the clock
26459           with a warning.
26460
26461         * gst/gstbus.c: (gst_bus_set_sync_handler):
26462           Assert if anyone tries to replace the existing sync_handler for bus, 
26463           as only the owner should be setting it.
26464
26465         * gst/gstevent.h:
26466           Have a fixed set of custom event enums with events identified by
26467           their structure name (as in 0.8), rather than a free-for-all
26468           allowing collisions between enum values from different plugins.
26469
26470         * gst/gstpad.c: (gst_pad_class_init):
26471           Docs change.
26472           
26473         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26474           Handle out-of-band downstream events from the sending thread.
26475
26476 2005-08-17  Andy Wingo  <wingo@pobox.com>
26477
26478         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26479         play-timeout==0 to mean no timeout at all. In that case, don't
26480         bother with a get_state or a warning, just return directly, even
26481         if it's ASYNC.
26482
26483         * gst/base/gstbasetransform.c: Debug changes.
26484
26485         * gst/gstutils.h:
26486         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26487         ensure bins post state change messages. A bit of a hack but I can't
26488         think of a way to avoid it.
26489
26490         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26491
26492 2005-08-16  Andy Wingo  <wingo@pobox.com>
26493
26494         * gst/base/gstadapter.h:
26495         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26496         peek() but you own the data. Not terribly efficient atm.
26497
26498 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26499
26500         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26501         (gst_element_found_tags):
26502         * gst/gstutils.h:
26503           Add two utility functions for tag handling.
26504
26505 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26506
26507         * docs/manual/advanced-dataaccess.xml:
26508         * docs/manual/basics-helloworld.xml:
26509           Fix docs to use _bin_add() before _link(), which fixes the examples
26510           with recent core versions (reported by Madhan Raj M
26511           <raj_madan@rediffmail.com>, #313199).
26512
26513 2005-08-16  Wim Taymans  <wim@fluendo.com>
26514
26515         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26516         Added subtract checks.
26517
26518         * docs/design/part-events.txt:
26519         Some more docs about newsegment
26520
26521         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26522         Fix FIXME
26523
26524         * gst/gstcaps.c: (gst_caps_to_string):
26525         Add comments, cleanups.
26526         
26527         * gst/gstelement.c: (gst_element_save_thyself):
26528         cleanups
26529         
26530         * gst/gstvalue.c: (gst_value_collect_int_range),
26531         (gst_string_unwrap), (gst_value_union_int_int_range),
26532         (gst_value_union_int_range_int_range),
26533         (gst_value_intersect_int_int_range),
26534         (gst_value_intersect_int_range_int_range),
26535         (gst_value_intersect_double_double_range),
26536         (gst_value_intersect_double_range_double_range),
26537         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26538         (gst_value_subtract_int_range_int),
26539         (gst_value_subtract_double_range_double),
26540         (gst_value_subtract_double_range_double_range),
26541         (gst_value_subtract_from_list), (gst_value_subtract_list),
26542         (gst_value_can_compare), (gst_value_compare_fraction):
26543         Cleanups, add comments, remove unneeded asserts.
26544
26545 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26546
26547         * tools/gst-launch.c: (event_loop):
26548           don't convert NULL structures to strings
26549
26550 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26551
26552         * docs/gst/gstreamer-sections.txt:
26553           made some defines private
26554         * docs/gst/tmpl/gstconfig.sgml:
26555         * docs/gst/tmpl/gstqueue.sgml:
26556         * docs/gst/tmpl/gsttaglist.sgml:
26557         * docs/gst/tmpl/gsttypes.sgml:
26558         * docs/gst/tmpl/gstutils.sgml:
26559         * docs/pwg/appendix-porting.xml:
26560         * gst/base/gstbasesink.h:
26561         * gst/base/gstbasesrc.c:
26562         * gst/base/gstbasesrc.h:
26563         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26564         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26565         * gst/gstelement.c: (gst_element_class_init):
26566         * gst/gstpad.c: (gst_pad_class_init):
26567         * gst/gstqueue.c: (gst_queue_class_init):
26568         * gst/gstxml.c: (gst_xml_class_init):
26569           documented all undocumented signal inline
26570         * libs/gst/controller/gst-controller.h:
26571           added padding
26572
26573 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26574
26575         * docs/pwg/appendix-porting.xml:
26576           Document _set_link_function -> _set_setcaps_function.
26577
26578 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26579
26580         * check/Makefile.am:
26581           add a .check target for running the check
26582         * check/gst-libs/controller.c: (GST_START_TEST):
26583           cosmetic fixups
26584         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26585           complete checks for gstbuffer; would be nice if I could get the
26586           gcov stuff to work so I can see if I actually completed gstbuffer.c
26587         * check/gstcheck.h:
26588           add ASSERT_BUFFER_REFCOUNT
26589
26590 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26591
26592         * docs/gst/gstreamer-sections.txt:
26593         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26594         * gst/gsttag.h:
26595           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26596           spew out a warning if a tag that is already registered
26597           is re-registered, unless it is re-registered with a 
26598           different type (#308438).
26599
26600 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26601
26602         * docs/pwg/appendix-porting.xml:
26603         * docs/pwg/building-state.xml:
26604           Add some paragraphs about state changes in 0.9 to the PWG
26605           and the porting guide, in particular about the new meaning
26606           of GST_STATE_PAUSED and how to write state change functions
26607           with concurrent access by multiple threads in mind.
26608
26609 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26610
26611         * docs/gst/gstreamer-docs.sgml:
26612         * docs/libs/gstreamer-libs-docs.sgml:
26613           added deprecation and since indexes
26614         * libs/gst/controller/gst-controller.c:
26615         * libs/gst/controller/gst-helper.c:
26616           added since tags
26617
26618
26619 2005-08-11  Wim Taymans  <wim@fluendo.com>
26620
26621         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26622         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26623         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26624         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26625         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26626         (gst_ghost_pad_set_target):
26627         Actually implement (re)setting the target on a ghostpad
26628         as described in the docs.
26629
26630 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26631
26632         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26633           Check whether GST_DEBUG_NO_COLOR environment variable is
26634           set and disable coloured debug output if that is the case.
26635
26636 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26637
26638         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26639         (gst_type_find_helper):
26640           The memory returned by gst_type_find_peek() needs to
26641           stay valid until the end of a typefind function, and
26642           typefind functions may keep results from different 
26643           offsets around, so we can't just unref the buffer from
26644           the previous _peek(), but have to save all buffers 
26645           returned by _peek() until typefinding is done and only
26646           free them then.
26647
26648 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26649
26650         * docs/gst/gstreamer-sections.txt:
26651         * gst/gstutils.h:
26652           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26653
26654 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26655
26656         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26657           Fix a pretty good memleak.
26658
26659 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26660
26661         * gst/gstiterator.h:
26662           Fix wrong include and 'make distcheck'.
26663
26664 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26665
26666         * gst/gstbin.c: (bin_bus_handler):
26667           Use gst_element_post_message() instead.
26668
26669 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26670
26671         * gst/base/gstadapter.h:
26672         * gst/base/gstbasesink.h:
26673         * gst/base/gstbasesrc.h:
26674         * gst/base/gstbasetransform.h:
26675         * gst/base/gstcollectpads.h:
26676         * gst/base/gstpushsrc.h:
26677         * gst/gstiterator.h:
26678           Add padding to our base elements' class and instance structs and
26679           to GstIterator (you will need to rebuild all plugins and apps!)
26680
26681 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26682
26683         * gst/gstbin.c: (bin_bus_handler):
26684           Make default message forwarding from child->bus to bin->bus
26685           threadsafe and make it not emit warnings if the parent has no bus.
26686
26687 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26688
26689         * gst/gstelement.c: (activate_pads):
26690           On paused->ready, set pad->caps to NULL, as is the documented
26691           behaviour in this state change. Fixes playback of series of
26692           media files when visualization is enabled in Totem.
26693
26694 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26695
26696         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26697           Allow NULL as filter-caps (which means "any").
26698
26699 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26700
26701         * docs/libs/gstreamer-libs-sections.txt:
26702         * libs/gst/controller/gst-controller.c:
26703         * libs/gst/controller/gst-controller.h:
26704         * libs/gst/controller/gst-helper.c:
26705           adding more entries to the docs and fix small doc-bugs
26706
26707 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26708
26709         * docs/gst/gstreamer-docs.sgml:
26710         * docs/gst/gstreamer-sections.txt:
26711         * docs/gst/gstreamer.types:
26712         * docs/gst/tmpl/gstbasesink.sgml:
26713         * docs/gst/tmpl/gstbasesrc.sgml:
26714         * docs/gst/tmpl/gstbasetransform.sgml:
26715         * docs/gst/tmpl/gstfakesrc.sgml:
26716         * gst/base/gstcollectpads.c:
26717         * gst/base/gstcollectpads.h:
26718         * libs/gst/controller/gst-controller.c:
26719         * libs/gst/controller/gst-controller.h:
26720         * libs/gst/controller/gst-helper.c:
26721         * libs/gst/controller/gst-interpolation.c:
26722         * libs/gst/controller/lib.c:
26723           added long/short desc for controller docs
26724           added collectpads base class docs
26725           added correct includes to base-class docs
26726
26727 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26728
26729         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26730         (gst_test_mono_source_set_property),
26731         (gst_test_mono_source_class_init), (GST_START_TEST),
26732         (gst_controller_suite):
26733         * docs/gst/gstreamer-docs.sgml:
26734         * docs/gst/gstreamer-sections.txt:
26735         * docs/gst/gstreamer.types:
26736         * docs/libs/gstreamer-libs-docs.sgml:
26737         * docs/libs/gstreamer-libs-sections.txt:
26738         * gst/base/gstadapter.c:
26739         * libs/gst/controller/gst-controller.c:
26740         (gst_controlled_property_new), (gst_controlled_property_free),
26741         (gst_controller_new_valist),
26742         (gst_controller_remove_properties_valist),
26743         (gst_controller_sink_values), (_gst_controller_finalize):
26744         * libs/gst/controller/gst-controller.h:
26745         * libs/gst/controller/gst-helper.c:
26746         (gst_object_control_properties), (gst_object_uncontrol_properties),
26747         (gst_object_get_controller), (gst_object_set_controller),
26748         (gst_object_sink_values), (gst_object_get_value_arrays),
26749         (gst_object_get_value_array):
26750           more tests (and fixes) for the controller
26751           more docs for the controller
26752           integrated companies docs for the adapter 
26753
26754 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
26755
26756         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26757         (GST_START_TEST), (fakesrc_suite):
26758           add tests for sizetype
26759
26760 2005-08-04  Andy Wingo  <wingo@pobox.com>
26761
26762         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26763         fixes buffer_alloc proxying among other things.
26764
26765         * gst/base/gstbasetransform.c:
26766         * gst/base/gstbasetransform.h:
26767         Revert patch to gstbasetransform from 7-28 removing
26768         delay_configure.
26769
26770         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26771         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26772         Semantics changed, should return not the size of the output buffer
26773         but the byte size of a buffer with a given caps.
26774
26775         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26776         debug object.
26777         (gst_base_transform_configure_caps): Don't set out_size here: (in,
26778         out) are not the pad caps until setcaps finishes.
26779         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26780         not-in-place case as well. Deal with changing from in-place to
26781         not-in-place within calling pad_alloc_buffer. Still a bit
26782         concerned about the overhead here...
26783
26784 2005-08-03  Andy Wingo  <wingo@pobox.com>
26785
26786         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26787         fixating is an error.
26788
26789 2005-08-04  Edward Hervey  <edward@fluendo.com>
26790
26791         * gst/base/gstadapter.h: 
26792         Added gst_adapter_get_type() to the header
26793
26794 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26795
26796         * check/Makefile.am:
26797         * check/gst-libs/controller.c:
26798         * libs/gst/controller/gst-controller.c:
26799         (gst_controller_new_valist):
26800           added check test suite for the controller
26801         * gst/base/gstpushsrc.c:
26802           fixed a doc typo
26803
26804 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26805
26806         * docs/gst/Makefile.am:
26807         * docs/gst/gstreamer-docs.sgml:
26808         * docs/gst/gstreamer-sections.txt:
26809         * docs/gst/gstreamer.types:
26810         * docs/gst/tmpl/gstfakesrc.sgml:
26811         * gst/base/README:
26812         * gst/base/gstbasesink.c:
26813         * gst/base/gstbasesink.h:
26814         * gst/base/gstbasesrc.c:
26815         * gst/base/gstbasesrc.h:
26816         * gst/base/gstbasetransform.c:
26817         * gst/base/gstpushsrc.c:
26818         * gst/base/gstpushsrc.h:
26819           add short/long description docs to base classes
26820           add pushsrc to the docs
26821           remove consolidated doc fragments
26822
26823 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26824
26825         * configure.ac:
26826         * docs/libs/Makefile.am:
26827         * docs/libs/gstreamer-libs-docs.sgml:
26828         * docs/libs/gstreamer-libs-sections.txt:
26829         * docs/libs/gstreamer-libs.types:
26830         * examples/Makefile.am:
26831         * examples/controller/.cvsignore:
26832         * examples/controller/Makefile.am:
26833         * examples/controller/audio-example.c: (main):
26834         * libs/gst/Makefile.am:
26835         * libs/gst/controller/.cvsignore:
26836         * libs/gst/controller/Makefile.am:
26837         * libs/gst/controller/gst-controller.c:
26838         (on_object_controlled_property_changed), (gst_timed_value_compare),
26839         (gst_timed_value_find),
26840         (gst_controlled_property_set_interpolation_mode),
26841         (gst_controlled_property_new), (gst_controlled_property_free),
26842         (gst_controller_find_controlled_property),
26843         (gst_controller_new_valist), (gst_controller_new),
26844         (gst_controller_remove_properties_valist),
26845         (gst_controller_remove_properties), (gst_controller_set),
26846         (gst_controller_set_from_list), (gst_controller_unset),
26847         (gst_controller_get), (gst_controller_get_all),
26848         (gst_controller_sink_values), (gst_controller_get_value_arrays),
26849         (gst_controller_get_value_array),
26850         (gst_controller_set_interpolation_mode),
26851         (_gst_controller_finalize), (_gst_controller_init),
26852         (_gst_controller_class_init), (gst_controller_get_type):
26853         * libs/gst/controller/gst-controller.h:
26854         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26855         (g_object_uncontrol_properties), (g_object_get_controller),
26856         (g_object_set_controller), (g_object_sink_values),
26857         (g_object_get_value_arrays), (g_object_get_value_array):
26858         * libs/gst/controller/gst-interpolation.c:
26859         (gst_controlled_property_find_timed_value_node),
26860         (interpolate_none_get), (interpolate_trigger_get),
26861         (interpolate_trigger_get_value_array):
26862         * libs/gst/controller/lib.c: (gst_controller_init):
26863         * pkgconfig/Makefile.am:
26864         * pkgconfig/gstreamer-control-uninstalled.pc.in:
26865         * pkgconfig/gstreamer-control.pc.in:
26866         * testsuite/Makefile.am:
26867         * testsuite/controller/.cvsignore:
26868         * testsuite/controller/Makefile.am:
26869         * testsuite/controller/interpolator.c: (main):
26870           added controller code
26871           removed dparam pc files
26872
26873 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
26874         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26875         (gst_collectpads_stop):
26876           Broadcast the condition when shutting down, to make sure we wake all
26877           threads up. Shut down pads on finalize, for safety.
26878
26879 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
26880         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26881         (gst_base_transform_handle_buffer),
26882         (gst_base_transform_change_state):
26883           Handle PAUSED->READY->PAUSED transition after negotiation
26884           occurred already.
26885         * gst/gstmessage.c: (gst_message_init):
26886           Extra piece of debug for new messages.
26887
26888 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
26889
26890         * configure.ac:
26891         * docs/gst/tmpl/gstbasesrc.sgml:
26892         * docs/gst/tmpl/gstelement.sgml:
26893         * docs/gst/tmpl/gstevent.sgml:
26894         * docs/gst/tmpl/gstfakesrc.sgml:
26895         * docs/gst/tmpl/gstformat.sgml:
26896         * docs/gst/tmpl/gstghostpad.sgml:
26897         * docs/gst/tmpl/gstpad.sgml:
26898         * docs/gst/tmpl/gstquery.sgml:
26899         * docs/gst/tmpl/gststructure.sgml:
26900         * docs/gst/tmpl/gsttaglist.sgml:
26901         * docs/gst/tmpl/gstvalue.sgml:
26902         * docs/libs/gstreamer-libs-docs.sgml:
26903         * docs/libs/gstreamer-libs-sections.txt:
26904         * docs/libs/gstreamer-libs.types:
26905         * libs/gst/Makefile.am:
26906         * libs/gst/control/.cvsignore:
26907         * libs/gst/control/Makefile.am:
26908         * libs/gst/control/control.c:
26909         * libs/gst/control/control.h:
26910         * libs/gst/control/dparam.c:
26911         * libs/gst/control/dparam.h:
26912         * libs/gst/control/dparam_smooth.c:
26913         * libs/gst/control/dparam_smooth.h:
26914         * libs/gst/control/dparamcommon.h:
26915         * libs/gst/control/dparammanager.c:
26916         * libs/gst/control/dparammanager.h:
26917         * libs/gst/control/dplinearinterp.c:
26918         * libs/gst/control/dplinearinterp.h:
26919         * libs/gst/control/unitconvert.c:
26920         * libs/gst/control/unitconvert.h:
26921         * testsuite/Makefile.am:
26922         * testsuite/dynparams/.cvsignore:
26923         * testsuite/dynparams/Makefile.am:
26924         * testsuite/dynparams/dparamstest.c:
26925         * tools/Makefile.am:
26926         * tools/gst-inspect.c: (print_element_info), (main):
26927         * tools/gst-xmlinspect.c: (print_element_info), (main):
26928           deactivate and remove dparams (libgstcontrol)
26929
26930 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
26931
26932         * gst/elements/gsttypefindelement.c:
26933         (gst_type_find_element_have_type), (gst_type_find_element_init),
26934         (stop_typefinding), (gst_type_find_element_handle_event),
26935         (gst_type_find_element_chain), (gst_type_find_element_getrange):
26936         * gst/elements/gsttypefindelement.h:
26937           Set caps on all outgoing buffers, not just the first one.
26938
26939 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
26940
26941         * gst/elements/gsttypefindelement.c:
26942         (gst_type_find_element_have_type),
26943         (gst_type_find_element_check_set_buffer_caps),
26944         (gst_type_find_element_init), (stop_typefinding),
26945         (gst_type_find_element_handle_event),
26946         (gst_type_find_element_chain), (gst_type_find_element_getrange):
26947         * gst/elements/gsttypefindelement.h:
26948           Set caps on first outgoing buffer when we've found the type.
26949
26950 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
26951
26952         * docs/gst/gstreamer-docs.sgml:
26953         * docs/gst/gstreamer-sections.txt:
26954         * docs/gst/tmpl/gstscheduler.sgml:
26955         * docs/gst/tmpl/gstschedulerfactory.sgml:
26956           Remove some old cruft from docs.
26957
26958 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
26959
26960         * gst/gstpad.h:
26961           Fix inline docs for GstPadLinkReturn.
26962           
26963         * gst/gststructure.c: (gst_structure_has_name):
26964         * gst/gststructure.h:
26965         * docs/gst/gstreamer-sections.txt:
26966           New API: gst_structure_has_name().
26967
26968 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
26969
26970         * configure.ac:
26971           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
26972           and _LARGEFILE_SOURCE in config.h as required. Do not 
26973           export those flags in our .pc files any longer (#142209).
26974
26975           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
26976
26977         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
26978         (gst_file_sink_do_seek), (gst_file_sink_event),
26979         (gst_file_sink_get_current_offset), (gst_file_sink_render):
26980           Redo seek/tell calls with large file support in mind; add some
26981           debugging messages; add log message that tells us when large
26982           file support is unavailable or not enabled for some reason.
26983
26984         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
26985           Add log message that tells us when large file support 
26986           is unavailable or not enabled for some reason.
26987
26988 2005-07-29  Wim Taymans  <wim@fluendo.com>
26989
26990         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26991         Added test for removing an element with ghostpad from a bin.
26992         Fixed test as current implementation does the right thing.
26993
26994         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
26995         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
26996         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
26997         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
26998         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
26999         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27000         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27001         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27002         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27003         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27004         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27005         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27006         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27007         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27008         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27009         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27010         * gst/gstghostpad.h:
27011         Clean up ghostpads, remove properties for internal stuff.
27012         Make threadsafe.
27013         Fix refcounting.
27014         Prepare for switching targets, not all use cases work yet.
27015
27016 2005-07-29  Wim Taymans  <wim@fluendo.com>
27017
27018         * docs/design/part-gstghostpad.txt:
27019         Small update.
27020
27021         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27022         (gst_bin_remove_func):
27023         Unlinking pads while holding the bin LOCK is not a good
27024         idea.
27025
27026         * gst/gstpad.c: (gst_pad_class_init),
27027         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27028         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27029         No prob setting template after creating the pad.
27030
27031 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27032
27033         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27034         (gst_bus_peek), (gst_bus_source_dispatch),
27035         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27036         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27037           gst_bus_poll may be called from other threads. Handle
27038           this nicely by not making poll_data disappear off the
27039           stack once gst_bus_poll returns.
27040           gst_bus_peek now increments the refcount on the returned
27041           message.
27042
27043 2005-07-29  Wim Taymans  <wim@fluendo.com>
27044
27045         * docs/design/part-gstghostpad.txt:
27046         Overview of current GhostPad datastructures and use
27047         cases for changing the target.
27048
27049 2005-07-28  Wim Taymans  <wim@fluendo.com>
27050
27051         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27052         Added checks for hierarchy consistency whan adding linked
27053         elements to bins.
27054
27055         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27056         Added check to test element scheduling without bin/pipeline.
27057
27058         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27059         First add elements to bin, then link.
27060         
27061         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27062         (gst_bin_remove_func):
27063         Unlink pads from elements added/removed from bin to maintain
27064         hierarchy consistency.
27065
27066 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27067
27068         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27069         (gst_base_transform_handle_buffer):
27070         * gst/base/gstbasetransform.h:
27071           Remove broken delay_configure (fixes renegotiation of software
27072           scaling pipelines); remove some leftover printf()s.
27073
27074 2005-07-28  Wim Taymans  <wim@fluendo.com>
27075
27076         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27077         Added some more tests for wrong hierarchy
27078
27079         * docs/design/part-overview.txt:
27080         Some updates.
27081
27082         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27083         Cleanups.
27084
27085         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27086         (gst_element_dispose):
27087         Some more cleanups.
27088
27089         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27090         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27091         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27092         (gst_pad_set_caps), (gst_pad_send_event):
27093         Check for correct hierarchy when linking pads. Moving to
27094         strict requirement for ghostpads when linking elements in
27095         different bins.
27096
27097         * gst/gstpad.h:
27098         Clean ups. Added WRONG_HIERARCHY return value.
27099
27100 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27101
27102         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27103           Better debug if no transform is possible.
27104
27105 2005-07-27  Wim Taymans  <wim@fluendo.com>
27106
27107         * docs/random/wtay/network-transp:
27108         Some old doc I had.
27109
27110 2005-07-27  Wim Taymans  <wim@fluendo.com>
27111
27112         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27113         (gst_dp_event_from_packet):
27114         Fix serialization of seek events.
27115
27116 2005-07-27  Wim Taymans  <wim@fluendo.com>
27117
27118         * check/gst-libs/gdp.c: (GST_START_TEST):
27119         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27120         Fix compilation and fix event serialization.
27121
27122 2005-07-27  Wim Taymans  <wim@fluendo.com>
27123
27124         * CHANGES-0.9:
27125         * docs/design/part-TODO.txt:
27126         * docs/design/part-events.txt:
27127         Some docs updates
27128
27129         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27130         (gst_base_sink_event), (gst_base_sink_do_sync),
27131         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27132         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27133         (gst_base_src_do_seek), (gst_base_src_event_handler),
27134         (gst_base_src_loop):
27135         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27136         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27137         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27138         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27139         (gst_base_transform_set_passthrough),
27140         (gst_base_transform_is_passthrough):
27141         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27142         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27143         Event updates.
27144
27145         * gst/gstbuffer.h:
27146         Use faster casts.
27147
27148         * gst/gstelement.c: (gst_element_seek):
27149         * gst/gstelement.h:
27150         Update gst_element_seek.
27151
27152         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27153         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27154         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27155         (gst_event_new_eos), (gst_event_new_newsegment),
27156         (gst_event_parse_newsegment), (gst_event_new_tag),
27157         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27158         (gst_event_parse_qos), (gst_event_new_seek),
27159         (gst_event_parse_seek), (gst_event_new_navigation):
27160         * gst/gstevent.h:
27161         Make GstEvent use GstStructure. Add parsing code, make sure the
27162         API is sufficiently generic.
27163         Mark possible directions of events and serialization.
27164
27165         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27166         (_gst_message_copy), (gst_message_new_segment_start),
27167         (gst_message_new_segment_done), (gst_message_new_custom),
27168         (gst_message_parse_segment_start),
27169         (gst_message_parse_segment_done):
27170         Small cleanups.
27171
27172         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27173         (gst_pad_set_caps), (gst_pad_send_event):
27174         Update for new events. 
27175         Catch events sent in wrong directions.
27176
27177         * gst/gstqueue.c: (gst_queue_link_src),
27178         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27179         (gst_queue_handle_src_query):
27180         Event updates.
27181
27182         * gst/gsttag.c:
27183         * gst/gsttag.h:
27184         Remove event code from this file.
27185
27186         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27187         (gst_dp_event_from_packet):
27188         Event updates.
27189
27190 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27191
27192         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27193         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27194         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27195           Make debugging actually useful.
27196
27197 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27198
27199         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27200         (gst_pad_fixate_caps):
27201           Implement default fixation once again, so that gst_pad_fixate()
27202           actually does anything at all. This probably needs to be some
27203           sort of a last resort, and use profile-based fixation first, but
27204           since that doesn't exist yet, this is the best we have. Fixes
27205           visualization in Totem.
27206
27207 2005-07-22  Wim Taymans  <wim@fluendo.com>
27208
27209         * docs/design/part-events.txt:
27210         Small update.
27211
27212         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27213         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27214         (gst_base_sink_activate_pull):
27215         Some more comments.
27216
27217         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27218         (gst_fake_src_create):
27219         Fix handoff marshall.
27220
27221         * gst/elements/gstidentity.c: (gst_identity_class_init),
27222         (gst_identity_transform_ip):
27223         We're a real inplace element.
27224
27225         * gst/gstbus.c: (gst_bus_post):
27226         Added some comments.
27227
27228         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27229         * tests/muxing/case1.c: (main):
27230         * tests/sched/dynamic-pipeline.c: (main):
27231         * tests/sched/interrupt1.c: (main):
27232         * tests/sched/interrupt2.c: (main):
27233         * tests/sched/interrupt3.c: (main):
27234         * tests/sched/runxml.c: (main):
27235         * tests/sched/sched-stress.c: (main):
27236         * tests/seeking/seeking1.c: (event_received), (main):
27237         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27238         (main):
27239         * tests/threadstate/threadstate3.c: (main):
27240         * tests/threadstate/threadstate4.c: (main):
27241         * tests/threadstate/threadstate5.c: (main):
27242         Fix the tests.
27243
27244 2005-07-21  Wim Taymans  <wim@fluendo.com>
27245
27246         * docs/design/part-seeking.txt:
27247         Some small additions.
27248
27249         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27250         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27251         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27252         * gst/base/gstbasesink.h:
27253         discont values are gint64, handle the math correctly.
27254
27255         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27256         Make the basesrc report error if the source pad is not linked.
27257
27258         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27259         (gst_queue_loop), (gst_queue_handle_src_query),
27260         (gst_queue_src_activate_push):
27261         Make queue collect data even if the srcpad is not linked.
27262         Start pushing out data as soon as it is linked.
27263
27264         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27265         * gst/gstutils.h:
27266         Added gst_flow_get_name() to ease error reporting.
27267
27268 2005-07-20  Wim Taymans  <wim@fluendo.com>
27269
27270         * gst/gstmessage.c: (gst_message_new_segment_start),
27271         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27272         (gst_message_parse_segment_done):
27273         * gst/gstmessage.h:
27274         Added a bunch of messages for advanced seeking.
27275
27276         * gst/parse/grammar.y:
27277         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27278         (gst_dpman_state_changed):
27279         Fix some new-pad -> pad-added signals
27280
27281 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27282
27283         * docs/manual/appendix-porting.xml:
27284         * docs/pwg/appendix-porting.xml:
27285           Document new-pad/state-change signal renames and the FixedList
27286           type rename.
27287
27288 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27289
27290         * docs/manual/advanced-autoplugging.xml:
27291         * docs/manual/basics-helloworld.xml:
27292         * docs/manual/basics-pads.xml:
27293         * docs/random/ds/0.9-suggested-changes:
27294         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27295         * gst/gstelement.h:
27296         * gst/gstevent.h:
27297         * gst/gstformat.h:
27298         * gst/gstquery.h:
27299         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27300         (gst_structure_parse_array), (gst_structure_parse_value):
27301         * gst/gstvalue.c: (gst_type_is_fixed),
27302         (gst_value_list_prepend_value), (gst_value_list_append_value),
27303         (gst_value_list_get_size), (gst_value_list_get_value),
27304         (gst_value_transform_array_string), (gst_value_serialize_array),
27305         (gst_value_deserialize_array), (gst_value_intersect_array),
27306         (gst_value_is_fixed), (_gst_value_initialize):
27307         * gst/gstvalue.h:
27308           GstElement::new-pad -> pad-added, GstElement::state-change ->
27309           state-changed, GstValueFixedList -> GstValueArray, add format and
27310           flags as their own arguments in gst_element_seek() (should improve
27311           "bindeability"), remove function generators since they don't work
27312           under a whole bunch of compilers (they were deprecated already
27313           anyway).
27314
27315 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27316
27317         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27318         (_gst_debug_register_funcptr):
27319         * gst/gstinfo.h:
27320           Fix illegal cast on some platforms (#309253).
27321
27322 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27323
27324         * gst/gstmessage.c: (gst_message_new_custom):
27325         * gst/gstmessage.h:
27326           Add _new_custom, make _new_application a macro to _new_custom.
27327
27328 2005-07-20  Wim Taymans  <wim@fluendo.com>
27329
27330         * gst/base/gstbasesrc.c: (gst_base_src_init),
27331         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27332         * gst/base/gstbasesrc.h:
27333         Add a gboolean to decide when to push out a discont.
27334
27335         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27336         (gst_queue_loop), (gst_queue_handle_src_query),
27337         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27338         (gst_queue_set_property), (gst_queue_get_property):
27339         Some cleanups.
27340
27341         * tests/threadstate/threadstate1.c: (main):
27342         Make a thread test compile and run... very silly..
27343
27344
27345 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27346
27347         * docs/manual/appendix-porting.xml:
27348           Mention removal of libgstgconf-0.9.la and existence of gconf
27349           elements.
27350
27351 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27352
27353         * docs/pwg/advanced-clock.xml:
27354         * docs/pwg/appendix-porting.xml:
27355         * docs/pwg/intro-preface.xml:
27356         * docs/pwg/other-base.xml:
27357         * docs/pwg/other-manager.xml:
27358         * docs/pwg/other-nton.xml:
27359         * docs/pwg/other-ntoone.xml:
27360         * docs/pwg/other-oneton.xml:
27361         * docs/pwg/pwg.xml:
27362           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27363           demuxer), remove n-to-n (was never written), fix some code examples
27364           and links and update the porting section to include all this.
27365
27366 2005-07-19  Wim Taymans  <wim@fluendo.com>
27367
27368         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27369         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27370         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27371         (gst_queue_src_activate_push), (gst_queue_change_state),
27372         (gst_queue_get_property):
27373         * gst/gstqueue.h:
27374         Propagate GstFlowReturn more intelligently upstream and output
27375         an ERROR/EOS when streaming stopped due to fatal error.
27376
27377 2005-07-19  Wim Taymans  <wim@fluendo.com>
27378
27379         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27380         Don't block forever for the state change to complete, the
27381         pipeline already did with a sensible timeout.
27382
27383 2005-07-19  Wim Taymans  <wim@fluendo.com>
27384
27385         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27386         Make sure we never call the create function is we
27387         got deactivated.
27388
27389 2005-07-19  Andy Wingo  <wingo@pobox.com>
27390
27391         * gst/parse/parse.l: Attempt to solve bug #172815.
27392
27393 2005-07-19  Wim Taymans  <wim@fluendo.com>
27394
27395         * docs/design/part-clocks.txt:
27396         * docs/design/part-events.txt:
27397         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27398         Small docs updates.
27399         Only update the seeking values when we are not
27400         busy streaming.
27401
27402 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27403
27404         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27405           Oops, ignore the result of gst_pad_push_event here.
27406
27407 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27408
27409         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27410         (gst_base_src_activate_push):
27411           Send discont event from the loop function, as pads
27412           aren't activated yet in the activate_push handler.
27413
27414         * gst/gstbin.c: (bin_bus_handler):
27415           Don't leak element name.
27416
27417 2005-07-18  Andy Wingo  <wingo@pobox.com>
27418
27419         * configure.ac: Use AS_LIBTOOL_TAGS.
27420
27421 2005-07-18  Wim Taymans  <wim@fluendo.com>
27422
27423         * docs/gst/gstreamer.types:
27424         Remove deleted types.
27425
27426 2005-07-18  Wim Taymans  <wim@fluendo.com>
27427
27428         * check/elements/gstfakesrc.c: (GST_START_TEST):
27429         * configure.ac:
27430         * gst/Makefile.am:
27431         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27432         (init_popt_callback):
27433         * gst/gst.h:
27434         * gst/gst_private.h:
27435         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27436         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27437         * gst/gstbin.h:
27438         * gst/gstbus.h:
27439         * gst/gstconfig.h.in:
27440         * gst/gstelement.c: (gst_element_class_init),
27441         (gst_element_set_base_time), (gst_element_get_base_time),
27442         (iterator_fold_with_resync), (gst_element_change_state),
27443         (gst_element_dispose), (gst_element_get_bus):
27444         * gst/gstelement.h:
27445         * gst/gstelementfactory.h:
27446         * gst/gsterror.c: (_gst_core_errors_init):
27447         * gst/gsterror.h:
27448         * gst/gstevent.h:
27449         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27450         * gst/gstindex.c:
27451         * gst/gstinfo.c: (_gst_debug_init):
27452         * gst/gstmessage.c: (_gst_message_copy):
27453         * gst/gstmessage.h:
27454         * gst/gstminiobject.h:
27455         * gst/gstobject.c:
27456         * gst/gstobject.h:
27457         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27458         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27459         * gst/gstpad.h:
27460         * gst/gstparse.h:
27461         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27462         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27463         (gst_pipeline_get_last_stream_time):
27464         * gst/gstpipeline.h:
27465         * gst/gstpluginfeature.h:
27466         * gst/gstquery.h:
27467         * gst/gstscheduler.c:
27468         * gst/gstscheduler.h:
27469         * gst/gststructure.h:
27470         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27471         (gst_task_finalize), (gst_task_func), (gst_task_create),
27472         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27473         (gst_task_stop), (gst_task_pause):
27474         * gst/gsttask.h:
27475         * gst/gsttypefind.h:
27476         * gst/gsttypes.h:
27477         * gst/registries/gstlibxmlregistry.c: (load_feature),
27478         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27479         * gst/registries/gstxmlregistry.c:
27480         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27481         * gst/schedulers/threadscheduler.c:
27482         * libs/gst/control/dparammanager.h:
27483         * tools/gst-inspect.c: (print_element_list),
27484         (print_plugin_features), (print_element_features):
27485         * tools/gst-xmlinspect.c: (print_element_list),
27486         (print_plugin_info), (main):
27487         Removed plugable schedulers.
27488         Removed Scheduler/Manager from elements.
27489         Removed gsttypes.h, rearranged includes.
27490         Removed dependency pad<->element, element<>pipeline, and
27491         various others,  fix includes.
27492         implement gst_pad_get_parent() with gst_object_get_parent()
27493         Make GstTask sefcontained.
27494         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27495         timeout.
27496         Fix endless loop in iterator_fold_with_resync.
27497
27498
27499 2005-07-18  Wim Taymans  <wim@fluendo.com>
27500
27501         * gst/Makefile.am:
27502         * gst/gstarch.h:
27503         Remove old file.
27504
27505 2005-07-18  Wim Taymans  <wim@fluendo.com>
27506
27507         * gst/Makefile.am:
27508         No more cothreads.h
27509
27510 2005-07-18  Wim Taymans  <wim@fluendo.com>
27511
27512         * gst/cothreads.c:
27513         * gst/cothreads.h:
27514         Let's remove these.
27515
27516 2005-07-18  Wim Taymans  <wim@fluendo.com>
27517
27518         * docs/design/part-dynamic.txt:
27519         * docs/design/part-events.txt:
27520         * docs/design/part-seeking.txt:
27521         Some more docs in the works.
27522
27523         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27524         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27525         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27526         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27527         (gst_base_transform_handle_buffer),
27528         (gst_base_transform_sink_activate_push),
27529         (gst_base_transform_src_activate_pull),
27530         (gst_base_transform_set_passthrough),
27531         (gst_base_transform_is_passthrough):
27532         Refcounting fixes.
27533
27534         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27535         Cleanups.
27536
27537         * gst/gstevent.c: (gst_event_finalize):
27538         Set SRC to NULL.
27539
27540         * gst/gstutils.c: (gst_element_unlink),
27541         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27542         (gst_pad_proxy_setcaps):
27543         * gst/gstutils.h:
27544         Add _get_parent_element() to get a pads parent as an element.
27545
27546 2005-07-18  Wim Taymans  <wim@fluendo.com>
27547
27548         * check/gst/gstbin.c: (GST_START_TEST):
27549         Remove bogus test.
27550
27551 2005-07-18  Wim Taymans  <wim@fluendo.com>
27552
27553         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27554         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27555         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27556         (gst_base_sink_event), (gst_base_sink_do_sync),
27557         (gst_base_sink_chain), (gst_base_sink_loop),
27558         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27559         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27560         Refcounting fixes.
27561         Fix logic for returning ASYNC when not prerolled.
27562
27563 2005-07-18  Wim Taymans  <wim@fluendo.com>
27564
27565         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27566         Fix nasty refcount bug.
27567
27568 2005-07-16 Philippe Khalaf <burger@speedy.org>
27569
27570         * gst/elements/gstfdsrc.c:
27571         * gst/elements/gstfdsrc.h:
27572         * gst/elements/gstelements.c:
27573         * gst/elements/Makefile.am:
27574         Ported fdsrc to 0.9.
27575
27576 2005-07-16  Wim Taymans  <wim@fluendo.com>
27577
27578         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27579         (gst_base_sink_do_sync):
27580         Fix compile error.
27581
27582 2005-07-16  Wim Taymans  <wim@fluendo.com>
27583
27584         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27585         (gst_base_sink_event), (gst_base_sink_get_times),
27586         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27587         * gst/base/gstbasesink.h:
27588         Store and use discont values when syncing buffers as described
27589         in design docs.
27590         
27591         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27592         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27593         (gst_base_src_activate_push):
27594         Push discont event when starting.
27595
27596         * gst/elements/gstidentity.c: (gst_identity_transform):
27597         Small cleanups.
27598
27599         * gst/gstbin.c: (gst_bin_change_state):
27600         Small cleanups in base_time  distribution.
27601
27602         * gst/gstelement.c: (gst_element_set_base_time),
27603         (gst_element_get_base_time), (gst_element_change_state):
27604         * gst/gstelement.h:
27605         Added methods for the base_time of the element.
27606         Some MT fixes.
27607
27608         * gst/gstpipeline.c: (gst_pipeline_send_event),
27609         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27610         (gst_pipeline_get_last_stream_time):
27611         * gst/gstpipeline.h:
27612         MT fixes.
27613         Handle seeking as described in design doc, remove stream_time
27614         hack.
27615         Cleanups clock and stream_time selection code. Added accessors
27616         for the stream_time.
27617         
27618
27619 2005-07-16  Andy Wingo  <wingo@pobox.com>
27620
27621         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27622         (#305291).
27623
27624 2005-07-16  Wim Taymans  <wim@fluendo.com>
27625
27626         * check/gst/gstbin.c: (GST_START_TEST):
27627         Make elements silent as the deep_notify refs the
27628         parent, which might make the test fail.
27629
27630         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27631         Don't hold the lock for too long.
27632
27633 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27634
27635         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27636           Don't unref the caps we passed to gst_caps_make_writable() after
27637           passing them. gst_caps_make_writable() will do that for us.
27638
27639 2005-07-15  Andy Wingo  <wingo@pobox.com>
27640
27641         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27642         (#157311).
27643
27644         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27645         own marshalling function for the handoff signal. Properly type the
27646         buffer as a buffer. Fixes some warnings. Should do a more general
27647         solution.
27648         (gst_identity_class_init): Plug into the right marshaller.
27649
27650 2005-07-15  Wim Taymans  <wim@fluendo.com>
27651
27652         * docs/design/part-TODO.txt:
27653         * docs/design/part-clocks.txt:
27654         * docs/design/part-element-sink.txt:
27655         * docs/design/part-events.txt:
27656         * docs/design/part-gstpipeline.txt:
27657         Updated docs, mostly DISCONT related.
27658
27659 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27660
27661         * docs/pwg/building-pads.xml:
27662           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27663
27664 2005-07-15  Andy Wingo  <wingo@pobox.com>
27665
27666         * tools/gst-typefind.c: Update, add copyright block.
27667
27668         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27669         Normalize and truncate caps before fixation.
27670
27671         * gst/gstcaps.h:
27672         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27673         discards all but the first structure from its argument.
27674
27675 2005-07-15  Wim Taymans  <wim@fluendo.com>
27676
27677         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27678         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27679         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27680         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27681         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27682         (gst_base_transform_chain), (gst_base_transform_change_state),
27683         (gst_base_transform_set_passthrough),
27684         (gst_base_transform_is_passthrough):
27685         * gst/base/gstbasetransform.h:
27686         Make passthrough work using the bufferpools.
27687         Changed API a bit, subclasses have to write into a buffer
27688         provided by the base class.
27689         More debug info in nego functions.
27690         
27691         * gst/elements/gstidentity.c: (gst_identity_init),
27692         (gst_identity_transform):
27693         Port to new base class.
27694
27695 2005-07-15  Wim Taymans  <wim@fluendo.com>
27696
27697         * gst/gstmessage.c: (gst_message_new_state_changed):
27698         * tools/gst-launch.c: (event_loop), (main):
27699         Totally dump messages in -launch with the -m option.
27700         Fix message name for State messages,
27701
27702 2005-07-14  Wim Taymans  <wim@fluendo.com>
27703
27704         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27705         Post error messages on errors.
27706
27707 2005-07-14  Wim Taymans  <wim@fluendo.com>
27708
27709         * gst/gstcaps.c: (gst_caps_do_simplify):
27710         Remove debug info.
27711
27712         * gst/gsterror.h:
27713         Define error for stream stopped.
27714
27715         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27716         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27717         Do proper return values.
27718
27719         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27720         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27721         (gst_pad_get_range):
27722         Better return values.
27723
27724         * gst/gstpad.h:
27725         Reorganise return values, add macro to check for fatal errors.
27726
27727         * gst/gstqueue.c: (gst_queue_chain):
27728         Return proper GstFlowReturn values,
27729
27730 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
27731
27732         * docs/gst/gstreamer-sections.txt:
27733         * docs/gst/gstreamer.types:
27734         * docs/gst/tmpl/gst.sgml:
27735         * docs/gst/tmpl/gstbasesink.sgml:
27736         * docs/gst/tmpl/gstbasesrc.sgml:
27737         * docs/gst/tmpl/gstbasetransform.sgml:
27738         * docs/gst/tmpl/gstbin.sgml:
27739         * docs/gst/tmpl/gstbuffer.sgml:
27740         * docs/gst/tmpl/gstcaps.sgml:
27741         * docs/gst/tmpl/gstclock.sgml:
27742         * docs/gst/tmpl/gstcompat.sgml:
27743         * docs/gst/tmpl/gstconfig.sgml:
27744         * docs/gst/tmpl/gstelement.sgml:
27745         * docs/gst/tmpl/gstelementdetails.sgml:
27746         * docs/gst/tmpl/gstelementfactory.sgml:
27747         * docs/gst/tmpl/gstenumtypes.sgml:
27748         * docs/gst/tmpl/gsterror.sgml:
27749         * docs/gst/tmpl/gstevent.sgml:
27750         * docs/gst/tmpl/gstfakesink.sgml:
27751         * docs/gst/tmpl/gstfakesrc.sgml:
27752         * docs/gst/tmpl/gstfilesink.sgml:
27753         * docs/gst/tmpl/gstfilesrc.sgml:
27754         * docs/gst/tmpl/gstfilter.sgml:
27755         * docs/gst/tmpl/gstformat.sgml:
27756         * docs/gst/tmpl/gstghostpad.sgml:
27757         * docs/gst/tmpl/gstimplementsinterface.sgml:
27758         * docs/gst/tmpl/gstindex.sgml:
27759         * docs/gst/tmpl/gstindexfactory.sgml:
27760         * docs/gst/tmpl/gstinfo.sgml:
27761         * docs/gst/tmpl/gstiterator.sgml:
27762         * docs/gst/tmpl/gstmacros.sgml:
27763         * docs/gst/tmpl/gstmemchunk.sgml:
27764         * docs/gst/tmpl/gstminiobject.sgml:
27765         * docs/gst/tmpl/gstobject.sgml:
27766         * docs/gst/tmpl/gstpad.sgml:
27767         * docs/gst/tmpl/gstpadtemplate.sgml:
27768         * docs/gst/tmpl/gstparse.sgml:
27769         * docs/gst/tmpl/gstpipeline.sgml:
27770         * docs/gst/tmpl/gstplugin.sgml:
27771         * docs/gst/tmpl/gstpluginfeature.sgml:
27772         * docs/gst/tmpl/gstquery.sgml:
27773         * docs/gst/tmpl/gstqueue.sgml:
27774         * docs/gst/tmpl/gstregistry.sgml:
27775         * docs/gst/tmpl/gstregistrypool.sgml:
27776         * docs/gst/tmpl/gstscheduler.sgml:
27777         * docs/gst/tmpl/gstschedulerfactory.sgml:
27778         * docs/gst/tmpl/gststructure.sgml:
27779         * docs/gst/tmpl/gstsystemclock.sgml:
27780         * docs/gst/tmpl/gsttaglist.sgml:
27781         * docs/gst/tmpl/gsttagsetter.sgml:
27782         * docs/gst/tmpl/gsttrace.sgml:
27783         * docs/gst/tmpl/gsttrashstack.sgml:
27784         * docs/gst/tmpl/gsttypefind.sgml:
27785         * docs/gst/tmpl/gsttypefindfactory.sgml:
27786         * docs/gst/tmpl/gsttypes.sgml:
27787         * docs/gst/tmpl/gsturihandler.sgml:
27788         * docs/gst/tmpl/gsturitype.sgml:
27789         * docs/gst/tmpl/gstutils.sgml:
27790         * docs/gst/tmpl/gstvalue.sgml:
27791         * docs/gst/tmpl/gstversion.sgml:
27792         * docs/gst/tmpl/gstxml.sgml:
27793         * docs/libs/tmpl/gstcontrol.sgml:
27794         * docs/libs/tmpl/gstdataprotocol.sgml:
27795         * docs/libs/tmpl/gstdparam.sgml:
27796         * docs/libs/tmpl/gstdplinint.sgml:
27797         * docs/libs/tmpl/gstdpman.sgml:
27798         * docs/libs/tmpl/gstdpsmooth.sgml:
27799         * docs/libs/tmpl/gstgetbits.sgml:
27800         * docs/libs/tmpl/gstunitconvert.sgml:
27801         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27802         (gst_push_src_base_init), (gst_push_src_class_init),
27803         (gst_push_src_init), (gst_push_src_create):
27804         * gst/base/gstpushsrc.h:
27805         * gst/elements/gstelements.c:
27806         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27807         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27808         (gst_fake_sink_init), (gst_fake_sink_set_property),
27809         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27810         (gst_fake_sink_event), (gst_fake_sink_preroll),
27811         (gst_fake_sink_render), (gst_fake_sink_change_state):
27812         * gst/elements/gstfakesink.h:
27813         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27814         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27815         (gst_fake_src_base_init), (gst_fake_src_class_init),
27816         (gst_fake_src_init), (gst_fake_src_event_handler),
27817         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27818         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27819         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27820         (gst_fake_src_create_buffer), (gst_fake_src_create),
27821         (gst_fake_src_start), (gst_fake_src_stop):
27822         * gst/elements/gstfakesrc.h:
27823         * gst/elements/gstfilesink.c: (_do_init),
27824         (gst_file_sink_base_init), (gst_file_sink_class_init),
27825         (gst_file_sink_init), (gst_file_sink_dispose),
27826         (gst_file_sink_set_location), (gst_file_sink_set_property),
27827         (gst_file_sink_get_property), (gst_file_sink_open_file),
27828         (gst_file_sink_close_file), (gst_file_sink_query),
27829         (gst_file_sink_event), (gst_file_sink_render),
27830         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27831         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27832         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27833         * gst/elements/gstfilesink.h:
27834         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27835         (gst_file_src_class_init), (gst_file_src_init),
27836         (gst_file_src_finalize), (gst_file_src_set_location),
27837         (gst_file_src_set_property), (gst_file_src_get_property),
27838         (gst_file_src_map_region), (gst_file_src_map_small_region),
27839         (gst_file_src_create_mmap), (gst_file_src_create_read),
27840         (gst_file_src_create), (gst_file_src_is_seekable),
27841         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27842         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27843         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27844         (gst_file_src_uri_handler_init):
27845         * gst/elements/gstfilesrc.h:
27846           more autistic cleanliness in functions/names/defines
27847
27848 2005-07-13  Andy Wingo  <wingo@pobox.com>
27849
27850         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27851         source couldn't negotiate.
27852
27853         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27854         connections again.
27855
27856         * gst/gstutils.h:
27857         * gst/gstutils.c (gst_element_link_pads_filtered): New old
27858         function. I am channeling Hades. Put your boots on suckers!!!
27859
27860 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
27861
27862         * testsuite/caps/Makefile.am:
27863         * testsuite/caps/value_compare.c:
27864         * testsuite/caps/value_intersect.c:
27865         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27866           move two testsuite apps over to the check dir
27867
27868 2005-07-12  Wim Taymans  <wim@fluendo.com>
27869
27870         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27871         Added more debug info in the negotiate process.
27872
27873         * gst/gstmessage.h:
27874         Prepare for segment playback.
27875
27876         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27877         Better debugging.
27878
27879         * gst/gstutils.c:
27880         Some more docs.
27881
27882         * tools/gst-launch.c: (main):
27883         NULL pipeline on errors.
27884
27885 2005-07-12  Andy Wingo  <wingo@pobox.com>
27886
27887         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27888         not it comes from a malloc region. Make sure our copy gets freed.
27889
27890 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
27891
27892         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27893         * check/gst/gstmessage.c: (GST_START_TEST):
27894         * check/gst/gststructure.c: (GST_START_TEST),
27895         (gst_structure_suite), (main):
27896           more testing
27897         * gst/gstelement.c: (gst_element_message_full):
27898           clean up GError and debug string now that they get copied
27899         * gst/gstmessage.c: (gst_message_new_error),
27900         (gst_message_new_warning), (gst_message_parse_error),
27901         (gst_message_parse_warning):
27902           use GST_TYPE_G_ERROR for structure_new, and take copies of
27903           arguments, so that we don't mess up refcounting
27904
27905 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
27906
27907         * check/Makefile.am:
27908           add per-test valgrind targets
27909         * check/gst-libs/gdp.c: (GST_START_TEST),
27910         (gst_data_protocol_suite), (main):
27911           clean up
27912
27913 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
27914
27915         * check/Makefile.am:
27916           instate more valgrindable tests
27917         * check/elements/gstfakesrc.c: (chain_func), (event_func),
27918         (GST_START_TEST), (fakesrc_suite):
27919         * check/gst/gstpad.c: (GST_START_TEST):
27920         * check/gst/gststructure.c: (GST_START_TEST):
27921           fix test leaks
27922         * docs/gst/tmpl/gstminiobject.sgml:
27923         * gst/gstpad.c: (gst_pad_finalize):
27924           fix the static mutex leak
27925
27926 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
27927
27928         * check/Makefile.am:
27929           add two more tests for valgrinding
27930         * check/gst/gstvalue.c: (GST_START_TEST):
27931           test refcount of deserialized buffer, found a leak
27932         * docs/gst/gstreamer-docs.sgml:
27933         * docs/gst/gstreamer-sections.txt:
27934         * docs/gst/gstreamer.types:
27935         * docs/gst/tmpl/gstminiobject.sgml:
27936           add miniobject to docs
27937         * gst/gstminiobject.c:
27938           add some docs
27939         * gst/gstvalue.c: (gst_value_deserialize_buffer),
27940         (gst_string_unwrap):
27941           fix a hard-to-find invalid write for one of the tests
27942           fix a leak for deserialized buffers
27943
27944 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27945
27946         * docs/pwg/advanced-events.xml:
27947         * docs/pwg/advanced-request.xml:
27948         * docs/pwg/advanced-scheduling.xml:
27949         * docs/pwg/appendix-porting.xml:
27950         * docs/pwg/building-boiler.xml:
27951         * docs/pwg/intro-preface.xml:
27952         * docs/pwg/other-ntoone.xml:
27953           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
27954           of example code and explanation for pad activation, loop() and
27955           getrange() functions and a bit more. Remove old comments pointing
27956           to loop-functions.
27957         * examples/pwg/Makefile.am:
27958           Add loop/getrange examples.
27959
27960 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
27961
27962         * configure.ac:
27963           check for valgrind binary + some fixes
27964         * check/gst.supp:
27965           valgrind suppressions for the tests
27966         * check/Makefile.am:
27967           add a valgrind: target that valgrinds the unit tests
27968         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
27969         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
27970         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27971         * check/gst/gstghostpad.c:
27972           added some cleanup
27973         * check/gst/gstdata.c:
27974           removed
27975         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
27976         (thread_unref), (gst_mini_object_suite), (main):
27977           added
27978         * gst/gst.c: (gst_deinit):
27979         * gst/gst.h:
27980           add a method to clean up.
27981         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27982         (gst_system_clock_obtain):
27983           allow for disposing the system clock.
27984         * tools/gst-launch.c: (main):
27985           deinit
27986
27987 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
27988
27989         * docs/gst/tmpl/gstbasesrc.sgml:
27990         * docs/gst/tmpl/gstfakesrc.sgml:
27991         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27992         (gst_base_src_init), (gst_base_src_set_property),
27993         (gst_base_src_get_property), (gst_base_src_get_range),
27994         (gst_base_src_start):
27995         * gst/base/gstbasesrc.h:
27996           add num-buffers property
27997         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27998         (gst_fakesrc_init), (gst_fakesrc_set_property),
27999         (gst_fakesrc_get_property), (gst_fakesrc_create),
28000         (gst_fakesrc_start):
28001           remove num-buffers property
28002
28003 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28004
28005         * docs/gst/gstreamer-sections.txt:
28006         * docs/gst/tmpl/gstbasesink.sgml:
28007         * docs/gst/tmpl/gstbasesrc.sgml:
28008         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28009         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28010         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28011         (gst_base_sink_set_property), (gst_base_sink_get_property),
28012         (gst_base_sink_handle_object), (gst_base_sink_event),
28013         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28014         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28015         (gst_base_sink_loop), (gst_base_sink_deactivate),
28016         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28017         (gst_base_sink_change_state):
28018         * gst/base/gstbasesink.h:
28019         * gst/base/gstbasesrc.h:
28020         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28021         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28022         (gst_filesink_init):
28023           more macro splitting
28024
28025 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28026
28027         * gst/gstelement.c: (gst_element_get_bus):
28028           add debug
28029         * tools/gst-launch.c: (check_intr), (event_loop):
28030           fix bus leaks
28031
28032 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28033
28034         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28035           fix a caps leak
28036
28037 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28038
28039         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28040         (gst_base_src_finalize):
28041           add finalize method and clean up properly
28042         * gst/gstpipeline.c: (gst_pipeline_dispose):
28043           add debug
28044
28045 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28046
28047         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28048         (gst_bin_suite):
28049           add more things to check
28050         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28051         * gst/gstelement.c:
28052           more debug
28053
28054 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28055
28056         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28057         (GST_START_TEST), (fakesrc_suite):
28058         * check/gst-libs/gdp.c: (GST_START_TEST):
28059         * check/gst/gst.c: (GST_START_TEST):
28060         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28061         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28062         * check/gst/gstbus.c: (GST_START_TEST):
28063         * check/gst/gstcaps.c: (GST_START_TEST):
28064         * check/gst/gstdata.c: (GST_START_TEST):
28065         * check/gst/gstelement.c: (GST_START_TEST):
28066         * check/gst/gstghostpad.c: (GST_START_TEST):
28067         * check/gst/gstiterator.c: (GST_START_TEST):
28068         * check/gst/gstmessage.c: (GST_START_TEST):
28069         * check/gst/gstobject.c: (GST_START_TEST):
28070         * check/gst/gstpad.c: (GST_START_TEST):
28071         * check/gst/gststructure.c: (GST_START_TEST):
28072         * check/gst/gstsystemclock.c: (GST_START_TEST),
28073         (gst_systemclock_suite):
28074         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28075         * check/gst/gstvalue.c: (GST_START_TEST):
28076         * check/pipelines/cleanup.c: (GST_START_TEST):
28077         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28078         * check/states/sinks.c: (GST_START_TEST):
28079         * check/gstcheck.c: (gst_check_init):
28080         * check/gstcheck.h:
28081           add debugging category
28082           use GST_START_TEST now, so we add a debug line
28083
28084 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28085
28086         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28087           add test for state change message on a bin
28088         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28089           add another test
28090         * gst/gstbin.c: (gst_bin_init):
28091         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28092         * gst/gstelement.c: (gst_element_post_message),
28093         (gst_element_set_state):
28094         * gst/gstelementfactory.c: (gst_element_factory_create):
28095         * gst/gstmessage.c: (gst_message_new):
28096         * gst/gstscheduler.c:
28097           various debugging additions and cleanups
28098
28099 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28100
28101         * check/Makefile.am:
28102         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28103         (main):
28104           adding tests for elements
28105         * gst/gstelement.c: (gst_element_dispose):
28106
28107 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28108
28109         * gst/registries/gstlibxmlregistry.c: (load_feature):
28110           plug more leaks.  A simple gst_init() now is leakfree, yay.
28111
28112 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28113
28114         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28115         (gst_xml_registry_load):
28116           plug another memleak
28117
28118 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28119
28120         * configure.ac:
28121           use GST_SET_ERROR_CFLAGS
28122         * docs/faq/cvs.xml:
28123           change to ERROR_CFLAGS
28124
28125 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28126
28127         * configure.ac:
28128           make GST_ERROR_CFLAGS overridable and re-enable Werror
28129         * docs/faq/cvs.xml:
28130           add a note about error CFLAGS
28131         * docs/gst/tmpl/gstfakesrc.sgml:
28132         * gst/elements/gstfakesrc.c:
28133           comment out some unused code
28134         * gst/gst.c: (split_and_iterate):
28135         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28136         (load_feature):
28137           plug some memleaks
28138
28139 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28140
28141         * common/Makefile.am:
28142         * common/gtk-doc.mak:
28143         * docs/gst/Makefile.am:
28144           factor out gtk-doc.mak
28145
28146 2005-07-07  Wim Taymans  <wim@fluendo.com>
28147
28148         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28149         (gst_thread_scheduler_dispose):
28150         Unlock the STREAM_LOCK completely.
28151
28152 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28153
28154         * check/Makefile.am:
28155         * check/elements/.cvsignore:
28156         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28157         (START_TEST), (fakesrc_suite), (main):
28158         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28159         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28160         (gst_fakesrc_create), (gst_fakesrc_start):
28161         * gst/elements/gstfakesrc.h:
28162           adding a first element test
28163
28164 2005-07-07  Andy Wingo  <wingo@pobox.com>
28165
28166         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28167         debug message.
28168
28169 2005-07-07  Wim Taymans  <wim@fluendo.com>
28170
28171         * gst/gstquery.c:
28172         * gst/gstquery.h:
28173         Remove old types
28174
28175 2005-07-07  Wim Taymans  <wim@fluendo.com>
28176
28177         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28178         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28179         Allow subclasses to implement their own negotiation.
28180
28181 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28182
28183         * docs/design/part-gstbin.txt:
28184         * docs/design/part-gstpipeline.txt:
28185           Update design notes to reflect the movement of
28186           responsibility for bus handling from GstPipeline to
28187           GstBin
28188
28189 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28190
28191         * configure.ac:
28192           Remove unnecessary queue2/3/4 examples.
28193
28194 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28195
28196         * examples/Makefile.am:
28197         * examples/helloworld/helloworld.c: (event_loop), (main):
28198         * examples/queue/queue.c: (event_loop), (main):
28199         * examples/queue2/queue2.c: (main):
28200           Update a couple of the examples to work again.
28201
28202         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28203         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28204          Spelling corrections and extra debug.
28205         
28206         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28207         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28208         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28209         * gst/gstbin.h:
28210         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28211         (gst_pipeline_change_state):
28212         * gst/gstpipeline.h:
28213           Move the bus handler for children to the GstBin, and create a
28214           separate bus for receiving messages from children to the one the
28215           bus sends 'upwards' on.
28216
28217 2005-07-06  Wim Taymans  <wim@fluendo.com>
28218
28219         * gst/base/README:
28220         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28221         (gst_base_sink_handle_object), (gst_base_sink_loop),
28222         (gst_base_sink_change_state):
28223         * gst/base/gstbasesink.h:
28224         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28225         (gst_base_src_init), (gst_base_src_setcaps),
28226         (gst_base_src_getcaps), (gst_base_src_loop),
28227         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28228         (gst_base_src_start), (gst_base_src_change_state):
28229         * gst/base/gstbasesrc.h:
28230         Make basesrc negotiate.
28231         Handle the case where preroll fails in basesink.
28232         Update README.
28233
28234 2005-07-06  Wim Taymans  <wim@fluendo.com>
28235
28236         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28237         Implement the fixate function.
28238         Clean up acceptcaps.
28239
28240 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28241
28242         * docs/pwg/building-filterfactory.xml:
28243         * docs/pwg/pwg.xml:
28244           Remove never-written filter-factory chapter; I'll add the various
28245           base classes to part 4 ("other element types") later on.
28246
28247 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28248
28249         * docs/pwg/advanced-negotiation.xml:
28250         * docs/pwg/building-boiler.xml:
28251         * docs/pwg/building-pads.xml:
28252         * docs/pwg/pwg.xml:
28253         * examples/pwg/Makefile.am:
28254           Add a chapter on caps negotiation, simplify the original code
28255           samples a bit w.r.t. caps negotiation, add link to the advanced
28256           section. Add a bunch of examples showing different use cases of
28257           different types of caps negotiation. Upstream renegotiation isn't
28258           fully documented yet since nobody knows how that works.
28259
28260 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28261
28262         * check/gst/gstpad.c:
28263         * check/gstcheck.c:
28264         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28265           if pad has no parent, return NULL as list of internal links
28266
28267 2005-07-05  Andy Wingo  <wingo@pobox.com>
28268
28269         * gst/elements/gstfilesrc.c:
28270         * gst/elements/gstfakesrc.c: 
28271         * gst/base/gstpushsrc.c:
28272         * gst/base/gstbasesrc.h: 
28273         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28274         
28275 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28276
28277         * Makefile.am:
28278           better report generation target (lcov needs a patch)
28279
28280 2005-07-05  Andy Wingo  <wingo@pobox.com>
28281
28282         * gst/elements, testsuite: Null if we got it...
28283
28284 2005-07-05  Wim Taymans  <wim@fluendo.com>
28285
28286         * configure.ac:
28287         * libs/gst/dataprotocol/Makefile.am:
28288         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28289         * libs/gst/dataprotocol/dataprotocol.h:
28290         * pkgconfig/Makefile.am:
28291         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28292         * pkgconfig/gstreamer-dataprotocol.pc.in:
28293         Ported dataprotol to 0.9. 
28294         Added pkgconfig files.
28295
28296 2005-07-05  Andy Wingo  <wingo@pobox.com>
28297
28298         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28299         Default to returning TRUE for the case when tranform_caps returns
28300         a fixed caps, like for identity or volume.
28301
28302         * check/gst/gstbus.c (pound_bus_with_messages): 
28303         * check/gst/gstmessage.c (START_TEST): 
28304         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28305         message API change.
28306
28307         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28308         logic weaks here: always run transform_caps, trying passthrough
28309         operation only if the original caps intersects with the transform.
28310
28311         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28312         source and sink caps.
28313
28314         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28315         Intersect the peer caps with the pad template before going into
28316         transform_caps.
28317         (gst_base_transform_transform_caps): More debugging.
28318
28319         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28320         src argument.
28321
28322 2005-07-04  Edward Hervey  <edward@fluendo.com>
28323
28324         * gst/gstutils.c:
28325         * gst/gstutils.h:
28326         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28327         in bindings.
28328
28329 2005-07-04  Andy Wingo  <wingo@pobox.com>
28330
28331         * check/gst/gstpad.c: Only set explicit caps on pads.
28332
28333 2005-07-01  Andy Wingo  <wingo@pobox.com>
28334
28335         * tests/network-clock.scm: Commentary update.
28336
28337         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28338         Didn't really make sense, not implementable with basetransform,
28339         etc.
28340         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28341         attempt at implementing the sync property, needs an unlock method.
28342
28343         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28344         New func, by default returns the same caps (the identity
28345         transformation).
28346         (gst_base_transform_getcaps): Uses transform_caps to return
28347         something sensible.
28348         (gst_base_transform_setcaps): Complicated logic to get caps on
28349         both pads, even if they are different, and to call set_caps once
28350         for every time both pads get their caps set.
28351         (gst_base_transform_handle_buffer): Give the ref to the transform
28352         function. Allows in-place modification of the buffer.
28353
28354         * gst/base/gstbasetransform.h (transform_caps): New class method.
28355         Given caps on one side, what can I do on the other.
28356         (set_caps): Take two caps, one for each side of the element.
28357
28358         * gst/gstpad.h:
28359         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28360         caps in place. This is safe because we can check the mutability of
28361         the caps, and a good idea because fixate functions are just called
28362         as a matter of last resort. (Not actually implemented.)
28363         (gst_pad_set_caps): If the caps we're setting is actually the same
28364         as the existing pad caps, just update the pointer without calling
28365         setcaps. Assert that caps is either NULL or fixed, as per the
28366         docs.
28367
28368         * gst/gstghostpad.c: Update for fixate changes.
28369
28370 2005-07-02  Andy Wingo  <wingo@pobox.com>
28371
28372         * gst/gstcaps.c:
28373         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28374         two refcounts makes it immutable, which is enough. Doc more.
28375
28376 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28377
28378         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28379           Put the mini_object into GValue as a mini_object,
28380           not a gpointer, since that's how we declared
28381           the signal.
28382
28383 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28384
28385         * examples/pwg/Makefile.am:
28386           Fix buildbot again.
28387
28388 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28389
28390         * docs/pwg/building-testapp.xml:
28391           Add extra check.
28392         * examples/pwg/Makefile.am:
28393           Fix buildbot.
28394
28395 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28396
28397         * configure.ac:
28398         * examples/Makefile.am:
28399         * examples/pwg/Makefile.am:
28400         * examples/pwg/extract.pl:
28401           Enable building the PWG examples.
28402         * docs/pwg/advanced-interfaces.xml:
28403           Add URI interface stub.
28404         * docs/pwg/advanced-types.xml:
28405         * docs/pwg/other-autoplugger.xml:
28406         * docs/pwg/appendix-porting.xml:
28407         * docs/pwg/pwg.xml:
28408           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28409         * docs/pwg/building-boiler.xml:
28410         * docs/pwg/building-chainfn.xml:
28411         * docs/pwg/building-pads.xml:
28412         * docs/pwg/building-props.xml:
28413         * docs/pwg/building-state.xml:
28414         * docs/pwg/building-testapp.xml:
28415           Update the building-*.xml parts for 0.9 changes. All examples
28416           code blocks compile in examples/pwg/*.
28417
28418 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28419
28420         * docs/manual/advanced-autoplugging.xml:
28421         * docs/manual/appendix-checklist.xml:
28422         * docs/manual/appendix-integration.xml:
28423         * docs/manual/highlevel-components.xml:
28424           Fix playbin/decodebin examples, update docs a bit, mention bus
28425           instead of signals in various places, mention kmplayer and
28426           kaffeine since they have a working GStreamer backend in the KDE
28427           section.
28428
28429 2005-06-30  Wim Taymans  <wim@fluendo.com>
28430
28431         * CHANGES-0.9:
28432         * docs/design/draft-ghostpads.txt:
28433         * docs/design/draft-push-pull.txt:
28434         * docs/design/draft-query.txt:
28435         * docs/design/part-TODO.txt:
28436         * docs/design/part-query.txt:
28437         Added CHANGES-0.9 doc, updated status of other docs.
28438         
28439         * gst/gstquery.h:
28440         Remove "hmm" macro
28441
28442 2005-06-30  Wim Taymans  <wim@fluendo.com>
28443
28444         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28445         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28446         (gst_base_sink_change_state):
28447         * gst/base/gstbasesink.h:
28448         Some tweaks, only EOS and a buffer complete a preroll.
28449
28450 2005-06-30  Andy Wingo  <wingo@pobox.com>
28451
28452         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28453         activate_push down to the internal pad as well.
28454
28455 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28456
28457         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28458
28459         * gst/gsttaginterface.c:
28460           Some documentation fixes (#307394 and #307397).
28461
28462 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28463
28464         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28465
28466         * gst/gstvalue.c: (gst_value_intersect_list):
28467           Fix memleak (#309125).
28468
28469 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28470
28471         * docs/manual/advanced-dataaccess.xml:
28472           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28473         * docs/manual/basics-pads.xml:
28474           Add reference for filtered caps to above chapter.
28475
28476 2005-06-30  Wim Taymans  <wim@fluendo.com>
28477
28478         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28479         (gst_bin_change_state):
28480         Probes are gone.
28481         Lame attempt at making the state change function a bit
28482         more readable.
28483
28484 2005-06-30  Wim Taymans  <wim@fluendo.com>
28485
28486         * docs/design/part-clocks.txt:
28487         * docs/design/part-element-sink.txt:
28488         * docs/design/part-events.txt:
28489         * docs/design/part-preroll.txt:
28490         * docs/design/part-states.txt:
28491         Some more tweeks and additions to the docs.
28492
28493 2005-06-30  Wim Taymans  <wim@fluendo.com>
28494
28495         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28496         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28497         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28498         (gst_pad_check_pull_range), (gst_pad_get_range),
28499         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28500         * gst/gstpad.h:
28501         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28502         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28503         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28504         (gst_pad_remove_buffer_probe):
28505         Removed atomic operations, use existing LOCK.
28506         Move exception handling out of main code path.
28507
28508 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28509
28510         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28511         (silly_return_true_function), (gst_pad_class_init),
28512         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28513         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28514         (gst_pad_send_event):
28515           Fix accumulator, add default value by using _emitv() instead
28516           of _emit() for signal emission.
28517
28518 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28519
28520         * docs/manual/advanced-dataaccess.xml:
28521         * examples/manual/Makefile.am:
28522           Add probe example.
28523         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28524           Make work (??).
28525
28526 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28527
28528         * gst/elements/gstfilesink.c: (gst_filesink_render):
28529           Simplify code so that we don't have to handle short
28530           writes and return GST_FLOW_ERROR if an error occured.
28531
28532 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28533
28534         * docs/gst/gstreamer-docs.sgml:
28535           Remove probes more.
28536
28537 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28538
28539         * docs/gst/gstreamer-sections.txt:
28540         * docs/gst/tmpl/gstpad.sgml:
28541         * docs/gst/tmpl/gstprobe.sgml:
28542         * gst/Makefile.am:
28543         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28544         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28545         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28546         (gst_pad_push_event), (gst_pad_send_event):
28547         * gst/gstpad.h:
28548         * gst/gstutils.c: (gst_pad_add_data_probe),
28549         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28550         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28551         (gst_pad_remove_buffer_probe):
28552         * gst/gstutils.h:
28553           Remove old probes, add new g-signal-based probes and some utility
28554           functions.
28555
28556 2005-06-29  Edward Hervey  <edward@fluendo.com>
28557
28558         * gst/gstelementfactory.c:
28559         * gst/gstutils.h:
28560         * gst/gstutils.c:
28561         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28562         the definition to the header file.
28563
28564 2005-06-29  Andy Wingo  <wingo@pobox.com>
28565
28566         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28567         plugins from the source directory.
28568
28569 2005-06-29  Wim Taymans  <wim@fluendo.com>
28570
28571         * docs/gst/tmpl/gstbuffer.sgml:
28572         * docs/gst/tmpl/gstclock.sgml:
28573         Some fixings for blantently wrong text.
28574
28575 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28576
28577         * check/Makefile.am:
28578         * gst/gst.c: (add_path_func), (init_pre):
28579         * gst/gstregistry.c: (gst_registry_add_path):
28580           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28581           only scan the GST_PLUGIN_PATH locations, and not add
28582           system locations
28583
28584 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28585
28586         * docs/gst/gstreamer-sections.txt:
28587         * docs/gst/tmpl/gstbasesrc.sgml:
28588         * gst/gstelement.c:
28589         * gst/gstelement.h:
28590         * gst/gstevent.c:
28591         * gst/gstutils.c:
28592           doc fixes
28593
28594 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28595
28596         * docs/manual/advanced-autoplugging.xml:
28597           Fix autoplugging example.
28598
28599 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28600
28601         * docs/manual/advanced-autoplugging.xml:
28602         * docs/manual/mime-world.fig:
28603           Try to get autoplugging working, fix type detection. Fix text
28604           in hello-world image.
28605
28606 2005-06-29  Wim Taymans  <wim@fluendo.com>
28607
28608         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28609         (gst_base_sink_change_state):
28610         Small debug line.
28611
28612         * gst/gstclock.h:
28613         map SIGNAL and BROADCAST to the right function.
28614
28615         * gst/gstobject.h:
28616         Remove redundant braces.
28617
28618         * gst/gstpad.c: (gst_pad_set_caps):
28619         Don't call setcaps function when reseting caps to NULL.
28620
28621         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28622         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28623         (gst_system_clock_id_unschedule):
28624         Use BROADCAST as this is what we do.
28625
28626 2005-06-29  Wim Taymans  <wim@fluendo.com>
28627
28628         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28629         We are actually prerolling before commiting the state
28630         change. 
28631
28632 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28633
28634         * docs/manual/advanced-clocks.xml:
28635         * docs/manual/advanced-interfaces.xml:
28636         * docs/manual/advanced-metadata.xml:
28637         * docs/manual/advanced-position.xml:
28638         * docs/manual/advanced-schedulers.xml:
28639         * docs/manual/advanced-threads.xml:
28640         * docs/manual/appendix-porting.xml:
28641         * docs/manual/basics-bins.xml:
28642         * docs/manual/basics-bus.xml:
28643         * docs/manual/basics-elements.xml:
28644         * docs/manual/basics-helloworld.xml:
28645         * docs/manual/basics-pads.xml:
28646         * docs/manual/highlevel-components.xml:
28647         * docs/manual/manual.xml:
28648         * docs/manual/thread.fig:
28649           Update (until threads/scheduling) Application Development Manual;
28650           remove GstThread, add GstBus, add simple porting checklist, add
28651           documentation for tag writing, clocks, make all examples until this
28652           part compile and run.
28653         * examples/manual/Makefile.am:
28654           Update from changes to Application Development Manual; add bus
28655           example, remove thread example.
28656
28657 2005-06-28  Wim Taymans  <wim@fluendo.com>
28658
28659         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28660         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28661         (gst_bus_source_dispatch):
28662         Add debugging messages.
28663         Make internal methods static.
28664         Handle the case where the bus is flushed in the handler.
28665         
28666         * gst/gstelement.c: (gst_element_get_bus):
28667         Fix refcount in _get_bus();
28668
28669         * gst/gstpipeline.c: (gst_pipeline_change_state),
28670         (gst_pipeline_get_clock_func):
28671         Clock refcounting fixes.
28672         Handle the case where preroll timed out more gracefully.
28673         
28674         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28675         Clean up the internal thread in dispose. This is needed
28676         for subclasses that actually get disposed.
28677         
28678         * gst/schedulers/threadscheduler.c:
28679         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28680         (gst_thread_scheduler_dispose):
28681         Free thread pool in dispose.
28682
28683 2005-06-28  Andy Wingo  <wingo@pobox.com>
28684
28685         * tests/network-clock-utils.scm (debug, print-event): New utils.
28686
28687         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28688         (*packet-loss*): Unified loss probability.
28689         (network-time): Report out-of-band events.
28690
28691         * tests/plot-data: Add support for out-of-band events. Hack it
28692         into this script instead of passing it down the pipe; should fix
28693         this later.
28694
28695 2005-06-28  Wim Taymans  <wim@fluendo.com>
28696
28697         * docs/gst/gstreamer.types:
28698         * docs/gst/tmpl/gstbasesrc.sgml:
28699         * docs/gst/tmpl/gstpad.sgml:
28700         Docs fixes.
28701
28702 2005-06-28  Wim Taymans  <wim@fluendo.com>
28703
28704         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28705         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28706         (gst_proxy_pad_do_fixatecaps):
28707         Correctly proxy the check_pull_range function.
28708
28709 2005-06-28  Andy Wingo  <wingo@pobox.com>
28710
28711         * tests/network-clock.scm: Removed need for slib.
28712         
28713 2005-06-28  Wim Taymans  <wim@fluendo.com>
28714
28715         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28716         (gst_basesink_preroll_queue_flush):
28717         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28718         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28719         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28720         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28721         (gst_proxy_pad_set_property):
28722         * gst/gstpad.c:
28723         * gst/gstpad.h:
28724         * gst/gstqueue.c: (gst_queue_init):
28725         The deprecated pad loop function is removed now.
28726
28727 2005-06-28  Andy Wingo  <wingo@pobox.com>
28728
28729         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28730         New parameters, simulate network packet loss.
28731
28732         * tests/network-clock-utils.scm: Initialize the RNG.
28733
28734 2005-06-28  Wim Taymans  <wim@fluendo.com>
28735
28736         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28737         (gst_basesink_event), (gst_basesink_deactivate):
28738         Flushing the preroll queue always needs to unlock the waiters.
28739
28740 2005-06-28  Edward Hervey  <edward@fluendo.com>
28741
28742         * gst/gstpipeline.c: (gst_pipeline_send_event): 
28743         Wheen a seek was successful on a pipeline, set the stream_time to the
28744         seek offset in order to have a synchronized stream_time.
28745
28746 2005-06-28  Wim Taymans  <wim@fluendo.com>
28747
28748         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28749         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28750         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28751         (gst_proxy_pad_do_fixatecaps):
28752         Call wrapper function instead of just calling the function
28753         pointers. This takes care of any locking and whatmore.
28754
28755 2005-06-28  Wim Taymans  <wim@fluendo.com>
28756
28757         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28758         (gst_pad_pull_range):
28759         * gst/gstpad.h:
28760         CONNECTED -> LINKED.
28761
28762 2005-06-28  Andy Wingo  <wingo@pobox.com>
28763
28764         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28765         source-munging commit!!!
28766
28767         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
28768         (gst_object_sink): Take gpointer arguments, not GstObject --
28769         avoids casts. Like GLib.
28770
28771         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28772         activate.
28773
28774 2005-06-27  Andy Wingo  <wingo@pobox.com>
28775
28776         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28777         remaining buffer.
28778
28779         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28780         returns a sorted copy of the trace list.
28781         (gst_alloc_trace_print_live): New API, only prints traces with
28782         live objects. Sort the list.
28783         (gst_alloc_trace_print_all): Sort the list.
28784         (gst_alloc_trace_print): Align columns.
28785
28786         * gst/elements/gstttypefindelement.c:
28787         * gst/elements/gsttee.c:
28788         * gst/base/gstbasesrc.c:
28789         * gst/base/gstbasesink.c:
28790         * gst/base/gstbasetransform.c:
28791         * gst/gstqueue.c: Adapt for pad activation changes.
28792
28793         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28794         sched.
28795         (gst_pipeline_dispose): Drop ref on sched.
28796
28797         * gst/gstpad.c (gst_pad_init): Set the default activate func.
28798         (gst_pad_activate_default): Push mode by default.
28799         (pre_activate_switch, post_activate_switch): New stubs, things to
28800         do before and after switching activation modes on pads.
28801         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28802         the pad's activate function to choose which mode to activate.
28803         Shortcut on deactivation and call the right function directly.
28804         (gst_pad_activate_pull): New API, (de)activates a pad in pull
28805         mode.
28806         (gst_pad_activate_push): New API, same for push mode.
28807         (gst_pad_set_activate_function) 
28808         (gst_pad_set_activatepull_function) 
28809         (gst_pad_set_activatepush_function): Setters for new API.
28810
28811         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28812         Trace all miniobjects.
28813         (gst_mini_object_make_writable): Unref the arg if we copy, like
28814         gst_caps_make_writable.
28815
28816         * gst/gstmessage.c (_gst_message_initialize): No trace init.
28817
28818         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
28819         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28820         Adapt for new pad API.
28821
28822         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28823
28824         * gst/gstelement.h:
28825         * gst/gstelement.c (gst_element_iterate_src_pads) 
28826         (gst_element_iterate_sink_pads): New API functions.
28827         
28828         * gst/gstelement.c (iterator_fold_with_resync): New utility,
28829         should fold into gstiterator.c in some form.
28830         (gst_element_pads_activate): Simplified via use of fold and
28831         delegation of decisions to gstpad->activate.
28832
28833         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28834         help in debugging.
28835
28836         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28837         class once in init, like gstmessage. Didn't run into this issue
28838         but it seems correct. Don't initialize a trace, gstminiobject does
28839         that.
28840
28841         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28842         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28843         to the bus.
28844         (assert_live_count): New util function, uses alloc traces to check
28845         cleanup.
28846
28847         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28848         To be modified when unlink drops the internal pad.
28849
28850 2005-06-27  Wim Taymans  <wim@fluendo.com>
28851
28852         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28853         (gst_bin_change_state):
28854         Cleanup the get_state() function a little, make sure it
28855         iterates the same set of elements.
28856         Added stub iterate_state_order().
28857
28858 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
28859
28860         * docs/gst/gstreamer-docs.sgml:
28861         * docs/gst/gstreamer-sections.txt:
28862         * docs/gst/gstreamer.types:
28863         * docs/gst/tmpl/gstbasesink.sgml:
28864         * docs/gst/tmpl/gstbasesrc.sgml:
28865         * docs/gst/tmpl/gstbasetransform.sgml:
28866         * docs/gst/tmpl/gstelement.sgml:
28867         * docs/gst/tmpl/gstiterator.sgml:
28868         * gst/base/gstbasesrc.c:
28869         * gst/base/gstbasesrc.h:
28870         * gst/base/gstbasetransform.h:
28871         * gst/gstelement.c:
28872         * gst/gstiterator.h:
28873           adding basetransform and iterator docs
28874
28875 2005-06-27  Andy Wingo  <wingo@pobox.com>
28876
28877         * docs/design/part-activation.txt: Notes on how activation should
28878         work -- not quite implemented yet.
28879
28880 2005-06-25  Wim Taymans  <wim@fluendo.com>
28881
28882         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28883         At least get the chain function correct, needs more
28884         fixing.
28885
28886 2005-06-25  Wim Taymans  <wim@fluendo.com>
28887
28888         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28889         (gst_basesink_handle_object), (gst_basesink_event),
28890         (gst_basesink_do_sync), (gst_basesink_handle_event),
28891         (gst_basesink_change_state):
28892         * gst/gsttask.h:
28893         Right, two problems here: ghostpads don't take locks and
28894         glib _rec_mutex_lock_full() with depth==0 still locks.
28895         Catch illegal locking and g_warn them.
28896
28897 2005-06-25  Wim Taymans  <wim@fluendo.com>
28898
28899         * check/states/sinks.c: (START_TEST), (gst_object_suite):
28900         Have to check for completion now...
28901
28902 2005-06-25  Wim Taymans  <wim@fluendo.com>
28903
28904         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28905         (gst_basesink_handle_object), (gst_basesink_event),
28906         (gst_basesink_do_sync), (gst_basesink_handle_event),
28907         (gst_basesink_change_state):
28908         * gst/gstpad.h:
28909         Unlock STREAM_LOCK whatever the recursion was.
28910
28911 2005-06-25  Wim Taymans  <wim@fluendo.com>
28912
28913         * gst/base/gstbasesink.c: (gst_basesink_set_property),
28914         (gst_basesink_preroll_queue_empty),
28915         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28916         (gst_basesink_event), (gst_basesink_do_sync),
28917         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28918         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28919         (gst_basesink_change_state):
28920         Reworked the base sink, handle event and buffer serialisation
28921         correctly and removed possible deadlock.
28922         Handle EOS correctly.
28923
28924 2005-06-25  Wim Taymans  <wim@fluendo.com>
28925
28926         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28927         (gst_pipeline_change_state):
28928         * tools/gst-launch.c: (check_intr), (event_loop), (main):
28929         Allow elements to post EOS in the state change function.
28930         Fix up -launch, make it exit the poll loop when the
28931         pipeline actually changed state.
28932         Fix up warning parsing in -launch.
28933
28934 2005-06-25  Wim Taymans  <wim@fluendo.com>
28935
28936         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28937         (gst_tee_sink_activate):
28938         Core takes STREAM_LOCK for us now.
28939
28940 2005-06-25  Wim Taymans  <wim@fluendo.com>
28941
28942         * gst/gstelement.c: (gst_element_get_state_func),
28943         (gst_element_set_state):
28944         * gst/gstelement.h:
28945         * gst/gstmessage.c: (gst_message_parse_error),
28946         (gst_message_parse_warning):
28947         Keep track of current target state while performing a state
28948         change so that subclasses can do something interesting.
28949         Fix parsing of warning/error messages when GError is NULL.
28950
28951 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
28952
28953         * docs/gst/Makefile.am:
28954         * docs/gst/gstreamer-docs.sgml:
28955         * docs/gst/gstreamer-sections.txt:
28956         * docs/gst/gstreamer.types:
28957         * docs/gst/tmpl/gstbasesink.sgml:
28958         * docs/gst/tmpl/gstbasesrc.sgml:
28959         * docs/gst/tmpl/gstbin.sgml:
28960         * docs/gst/tmpl/gstcompat.sgml:
28961         * docs/gst/tmpl/gstfakesink.sgml:
28962         * docs/gst/tmpl/gstfakesrc.sgml:
28963         * docs/gst/tmpl/gstfilesink.sgml:
28964         * docs/gst/tmpl/gstfilesrc.sgml:
28965         * docs/gst/tmpl/gstindex.sgml:
28966         * docs/manual/appendix-quotes.xml:
28967         * gst/base/gstbasesrc.h:
28968         * gst/elements/gstfakesrc.h:
28969         * gst/gstmessage.h:
28970           start pulling in base classes and elements in our docs
28971
28972 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
28973
28974         * docs/gst/Makefile.am:
28975         * docs/libs/Makefile.am:
28976           fixed make distcheck with gtk-doc 1.3
28977
28978 2005-06-23  Wim Taymans  <wim@fluendo.com>
28979
28980         * gst/gstelement.c: (gst_element_get_state_func),
28981         (gst_element_set_state), (gst_element_change_state):
28982         When the state did not change, also report NO_PREROLL
28983         when it matters.
28984
28985 2005-06-23  Wim Taymans  <wim@fluendo.com>
28986
28987         * gst/gstpad.c: (gst_pad_event_default):
28988         * gst/gstqueue.c: (gst_queue_loop):
28989         No unsafe task pausing please.
28990
28991 2005-06-23  Wim Taymans  <wim@fluendo.com>
28992
28993         * gst/schedulers/threadscheduler.c:
28994         (gst_thread_scheduler_task_start),
28995         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
28996         Ref the task before pushing it on the threadpool. This
28997         makes sure that we have a ref when the threadfunction is
28998         actually called.
28999
29000 2005-06-23  Andy Wingo  <wingo@pobox.com>
29001
29002         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29003         offset is greater than the file's size.
29004
29005         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29006         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29007         * gst/gstobject.c (gst_object_class_init): Make the class lock
29008         recursive. Wim won't let me drop deep_notify. Decodebin works
29009         again, whoopdy doo.
29010
29011         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29012         internal pad, and hacks accordingly. Doesn't do it on the target
29013         pad because we change its caps. Probably catches all cases of
29014         interest tho.
29015         (gst_ghost_pad_set_property): Connect to notify::caps as
29016         appropritate.
29017
29018         * tests/network-clock.scm (plot-simulation): Pipe data to the
29019         elite python skript.
29020
29021         * tests/network-clock-utils.scm (define-parameter): New macro,
29022         defines a parameter that can be set via the command line.
29023         (set-parameter!, parse-parameter-arguments): Command line args
29024         parser.
29025
29026         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29027         stdin.
29028
29029 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29030
29031         * gst/elements/gsttypefindelement.c:
29032         (gst_type_find_element_handle_event):
29033           Don't restart typefinding on a discont.
29034         * gst/gstelement.c: (gst_element_set_state):
29035           Debug spelling fix.
29036         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29037           Allow changing mode of an active pad.
29038           Debug output fixes.
29039         * gst/registries/gstlibxmlregistry.c: (load_feature):
29040           Don't cast a static pad template to a normal pad template.
29041
29042 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29043
29044         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29045         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29046           remove gst_strtoll completely, since it didn't actually do
29047           anything more than what g_ascii_strtoull already does.
29048           check for range errors when deserializing
29049           do a cast for the unsigned cases; but further fixing needs
29050           a decision on what the interpretation of "(int)" and
29051           deserialization should be for values that fall outside the
29052           type's boundaries (ie, refuse, or interpret as casting)
29053
29054 2005-06-23  Wim Taymans  <wim@fluendo.com>
29055
29056         * check/Makefile.am:
29057         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29058         * docs/design/part-live-source.txt:
29059         * docs/design/part-states.txt:
29060         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29061         (gst_basesrc_set_live), (gst_basesrc_is_live),
29062         (gst_basesrc_get_range), (gst_basesrc_activate),
29063         (gst_basesrc_change_state):
29064         * gst/base/gstbasesrc.h:
29065         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29066         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29067         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29068         * gst/gstelement.c: (gst_element_get_state_func),
29069         (gst_element_set_state):
29070         * gst/gstelement.h:
29071         * gst/gsttypes.h:
29072         * tools/gst-launch.c: (event_loop), (main):
29073         Added support for live sources and other elements that
29074         cannot do preroll.
29075         Updated design docs, added live-source design doc.
29076         Implemented live source functionality in basesrc
29077         Fix error condition in _bin_get_state()
29078         Implement live source handling in -launch.
29079         Added check for live sources.
29080         Fixed case in GstBin where elements were changed state
29081         multiple times.
29082
29083
29084 2005-06-23  Andy Wingo  <wingo@pobox.com>
29085
29086         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29087         borken refcounting.
29088
29089         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29090         gst_caps_replace takes care of this for us.
29091
29092         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29093         gst_pad_set_caps on the target, not just its setcaps() function.
29094
29095         * tests/network-clock.scm: 
29096         * tests/network-clock-utils.scm: A network clock simulator.
29097         Something of an algorithmic testbed before doing something in C.
29098
29099 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29100
29101         * check/Makefile.am:
29102         * check/gst/capslist.h:
29103           copy over from 0.8, and add two with bitmasks specified with
29104           (int) 0xFF...
29105         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29106           add test to parse everything from capslist.h
29107         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29108         (main):
29109           add test for structure deserialization
29110         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29111           add tests for deserialization of strings to int types
29112         * gst/gststructure.c: (gst_structure_nth_field_name):
29113         * gst/gststructure.h:
29114           add a way to get the name of a field referenced by index
29115         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29116           instead of checking if the resulting long long lies between
29117           min and max, we check if the long long would fit into
29118           a number of bytes for the final type.
29119           This fixes cases where a string represents 2^32 - 1, which
29120           when cast to int would be the (valid) -1, but is bigger than
29121           G_MAXINT
29122
29123 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29124
29125         * gst/parse/grammar.y:
29126           add a log line for type deserialization
29127
29128 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29129
29130         * check/gst/gstvalue.c: (START_TEST):
29131         * gst/gstvalue.c: (gst_value_deserialize):
29132           return long long, not int, so gint64 deserialization actually
29133           works.  Is there any flag that makes the compiler check this ?
29134           Fixes #308559
29135
29136 2005-06-22  Wim Taymans  <wim@fluendo.com>
29137
29138         * gst/gstbuffer.h:
29139         Added convenience macros for setting buffers in GValue.
29140
29141 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29142
29143         * check/gst/.cvsignore:
29144         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29145           add a test deserializing int64, and comment part out because
29146           it fails, yay !
29147
29148 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29149
29150         * check/Makefile.am:
29151         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29152         * testsuite/Makefile.am:
29153         * testsuite/caps/Makefile.am:
29154         * testsuite/caps/value_serialize.c:
29155         * testsuite/test_gst_init.c:
29156           move a value_serialize test over
29157
29158 2005-06-20  Wim Taymans  <wim@fluendo.com>
29159
29160         * gst/gstpad.c:
29161         Small doc updates.
29162         
29163         * gst/gstvalue.c: (gst_value_compare_buffer),
29164         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29165         (gst_value_compare_flags), (gst_value_serialize_flags),
29166         (gst_value_deserialize_flags), (_gst_value_initialize):
29167         Fix serialisation of buffers, they are not boxed types anymore
29168
29169 2005-06-20  Wim Taymans  <wim@fluendo.com>
29170
29171         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29172         Testcase to show error in buffer-on-caps serialisation.
29173
29174 2005-06-20  Andy Wingo  <wingo@pobox.com>
29175
29176         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29177         will be adding to later.
29178
29179         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29180         if its socks fill with rocks.
29181         (gst_system_clock_obtain): Set the name on object construction.
29182         Avoid double-checked locking.
29183
29184 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29185
29186         * gst/gsturi.c: (gst_element_make_from_uri):
29187           Fix potential endless loop.
29188
29189 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29190
29191         * check/Makefile.am:
29192           add gsttag
29193         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29194         (main):
29195           move over from testsuite dir and clean up
29196         * configure.ac:
29197         * gst/gsttag.c:
29198         * testsuite/Makefile.am:
29199         * testsuite/tags/.cvsignore:
29200         * testsuite/tags/Makefile.am:
29201         * testsuite/tags/merge.c:
29202           remove testsuite/tags
29203
29204 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29205
29206         * docs/gst/gstreamer-sections.txt:
29207         * docs/gst/tmpl/gstenumtypes.sgml:
29208         * win32/gstenumtypes.c:
29209           clean up documentation build a little
29210
29211 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29212
29213         * check/gstcheck.h:
29214           add macros for checking refcounts on objects and caps
29215         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29216           add some more unit tests
29217         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29218         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29219           fix leaked refcounts (I hope :)) so unittest works
29220         * gst/gstpad.h:
29221           whitespace removal
29222
29223 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29224
29225         * configure.ac: back to HEAD
29226
29227 === release 0.9.1 ===
29228
29229 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29230
29231         * NEWS:
29232         * RELEASE:
29233           updated
29234
29235 2005-06-17  Andy Wingo  <wingo@pobox.com>
29236
29237         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29238         assert; it's always possible that the pad gets deactivated in
29239         between the checks in gstpad.c and the implementation. Rely on
29240         finish_preroll() to return a FLUSHING or similar instead of on the
29241         assert.
29242         
29243         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29244         clock and post an EOS message if we come out of finish_preroll in
29245         the playing state.
29246
29247 2005-06-16  David Schleef  <ds@schleef.org>
29248
29249         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29250         (gst_capsfilter_set_property): Allow NULL as possible value
29251         for filter_caps property, indicating GST_CAPS_ANY.
29252
29253 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29254
29255         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29256           fix debug output
29257         * gst/schedulers/Makefile.am:
29258           use libgst prefix
29259         * gstreamer.spec.in:
29260           fix spec for it
29261
29262 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29263
29264         * gstreamer.spec.in:
29265           clean up
29266
29267 2005-06-08  Andy Wingo  <wingo@pobox.com>
29268
29269         * gst/gstutils.c: RPAD fixes all around.
29270         (gst_element_link_pads): Refcounting fixes.
29271
29272         * tools/gst-inspect.c:
29273         * tools/gst-xmlinspect.c:
29274         * parse/grammar.y:
29275         * gst/base/gsttypefindhelper.c:
29276         * gst/base/gstbasesink.c:
29277         * gst/gstqueue.c: RPAD fixes.
29278
29279         * gst/gstghostpad.h:
29280         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29281         pads. The tricky thing is they provide both source and sink
29282         interfaces, since they proxy the internal pad for the external
29283         pad, and vice versa. Implement with lower-level ProxyPad objects,
29284         with the interior proxy pad as a child of the exterior ghost pad.
29285         Should write a doc on this.
29286         
29287         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29288         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29289         gst_object API.
29290         
29291         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29292         pads are real pads. No ghost pads in this file. Not documenting
29293         the myriad s/RPAD/PAD/ and REALIZE fixes.
29294         (gst_pad_class_init): Add properties for "direction" and
29295         "template". Both are construct-only, so they can't change during
29296         the life of the pad. Fixes properly deriving from GstPad.
29297         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29298         derived objects, just set properties when creating the objects via
29299         g_object_new.
29300         (gst_pad_get_parent): Implement as a function, return NULL if the
29301         parent is not an element.
29302         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29303         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29304         
29305         * gst/gstobject.c (gst_object_class_init): Make name a construct
29306         property. Don't set it in the object init.
29307
29308         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29309         with UNKNOWN direction.
29310         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29311         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29312         (gst_element_remove_pad): Remove ghost-pad special cases.
29313         (gst_element_pads_activate): Remove rpad cruft.
29314
29315         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29316         catch the pad's-parent-not-an-element case.
29317
29318         * gst/gst.h: Include gstghostpad.h.
29319
29320         * gst/gst.c (init_post): No more real, ghost pads.
29321
29322         * gst/Makefile.am: Add gstghostpad.[ch].
29323
29324         * check/Makefile.am:
29325         * check/gst/gstbin.c:
29326         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29327         into a bin creates ghost pads, and that the refcounts are right.
29328         Partly moved from gstbin.c.
29329
29330 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29331
29332         * check/gst-libs/.cvsignore:
29333         * check/gst/.cvsignore:
29334         * check/pipelines/.cvsignore:
29335           ignore more
29336         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29337         (START_TEST), (cleanup_suite), (main):
29338           add some tests related to cleanup after running pipelines
29339
29340 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29341
29342         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29343           add a testsuite for GstBuffer
29344
29345 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29346
29347         * gst/gstminiobject.h:
29348           add defines for accessing the refcount
29349
29350 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29351
29352         * Makefile.am: added support for html unit test coverage reports
29353
29354 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29355
29356         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29357           Free existing caps if the capsfilter changes. Add a FIXME about
29358           setting those caps on the pads.
29359
29360         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29361           Before adding a ghost pad to a parent bin, check that there isn't
29362           already one for the element on the bin. Prevents infinite recursion
29363           when using decodebin in parse pipelines. Andy says he'll rewrite the
29364           way this works anyway, so ignore the hack.
29365
29366 2005-06-02  Andy Wingo  <wingo@pobox.com>
29367
29368         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29369         file size, pass it on to the type find helper.
29370
29371         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29372         segment_start and segment_end properly according to the seek
29373         method. Segment_end is still a bit flaky because offset can be
29374         negative for CUR and END cases, but it takes -1 as an "unset"
29375         value.
29376
29377 2005-06-02  Wim Taymans  <wim@fluendo.com>
29378
29379         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29380         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29381         (gst_basesink_activate):
29382         * gst/base/gstbasesink.h:
29383         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29384         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29385         (gst_pad_query), (gst_pad_start_task):
29386         * gst/gstpad.h:
29387         * gst/gstqueue.c: (gst_queue_bufferalloc),
29388         (gst_queue_handle_sink_event), (gst_queue_chain):
29389         Bufferalloc: return GstFlowReturn to more accuratly report
29390         why allocation failed.
29391
29392 2005-06-02  Wim Taymans  <wim@fluendo.com>
29393
29394         * gst/gstpipeline.c: (gst_pipeline_send_event):
29395         Take snapshot of state without blocking.
29396
29397 2005-06-02  Wim Taymans  <wim@fluendo.com>
29398
29399         * docs/design/part-TODO.txt:
29400         * docs/design/part-caps.txt:
29401         * docs/design/part-clocks.txt:
29402         * docs/design/part-negotiation.txt:
29403         * docs/design/part-preroll.txt:
29404         Small doc updates 
29405
29406 2005-05-30  Wim Taymans  <wim@fluendo.com>
29407
29408         * gst/elements/gstidentity.c: (gst_identity_event),
29409         (gst_identity_transform), (gst_identity_get_property):
29410         Protect last_message property as it is accessed from
29411         multiple threads.
29412
29413 2005-05-30  Wim Taymans  <wim@fluendo.com>
29414
29415         * gst/gstelement.c: (gst_element_init),
29416         (gst_element_pads_activate), (gst_element_change_state):
29417         Slicker pad activation code.
29418
29419 2005-05-30  Wim Taymans  <wim@fluendo.com>
29420
29421         * gst/Makefile.am:
29422         * gst/gstelement.h:
29423         * gst/gstelementfactory.h:
29424         * gst/gsttypes.h:
29425         Move elementfactory methods to separate .h file.
29426
29427 2005-05-30  Wim Taymans  <wim@fluendo.com>
29428
29429         * docs/design/part-overview.txt:
29430         * gst/gstsystemclock.h:
29431         Small typo fixes, doc updates.
29432
29433 2005-05-30  Wim Taymans  <wim@fluendo.com>
29434
29435         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29436         (init_popt_callback):
29437         Remove cpu-opt flag.
29438
29439 2005-05-30  Wim Taymans  <wim@fluendo.com>
29440
29441         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29442         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29443         * gst/gstbuffer.h:
29444         Avoid typechecking in places where not needed.
29445         Added accessor for malloc_data.
29446
29447 2005-05-30  Wim Taymans  <wim@fluendo.com>
29448
29449         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29450         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29451         (gst_pad_configure_sink), (gst_pad_configure_src),
29452         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29453         (gst_pad_start_task):
29454         Propagate errors from _set_caps() in configure_src/sink
29455         functions instead of returning TRUE.
29456         FLUSH events can travel up and downstream
29457
29458
29459 2005-05-30  Wim Taymans  <wim@fluendo.com>
29460
29461         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29462         (gst_basesink_activate):
29463         Handle EOS in preroll.
29464
29465 2005-05-30  Wim Taymans  <wim@fluendo.com>
29466
29467         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29468         (gst_queue_loop), (gst_queue_handle_src_event):
29469         Remove old pieces of code
29470         Flushing the queue in an upstream event is a very bad idea.
29471
29472 2005-05-26  Andy Wingo  <wingo@pobox.com>
29473
29474         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29475         gst_value_set_mini_object so as to add a ref on the object (which
29476         will be removed when the value is unset).
29477
29478         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29479         arg type in ::handoff.
29480
29481         * gst/gstelement.c (gst_element_change_state): Also deactivate
29482         pads in READY->NULL, just in case the element didn't make it to
29483         PAUSED. Wingo tested, Wim approved.
29484
29485 2005-05-26  Wim Taymans  <wim@fluendo.com>
29486
29487         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29488         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29489         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29490         A flushing pad cannot be used to alloc_buffer from.
29491
29492 2005-05-26  Wim Taymans  <wim@fluendo.com>
29493
29494         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29495         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29496         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29497         (gst_bus_create_watch), (gst_bus_add_watch_full):
29498         * gst/gstbus.h:
29499         Implement a real GSource and use g_main_context_wakeup() to
29500         signal new messages instead of the socketpair.
29501
29502 2005-05-25  Wim Taymans  <wim@fluendo.com>
29503
29504         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29505         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29506         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29507         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29508         (gst_pad_send_event), (gst_pad_start_task):
29509         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29510         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29511         (gst_queue_sink_activate), (gst_queue_src_activate),
29512         (gst_queue_change_state):
29513         * gst/gstqueue.h:
29514         Fix state changes for non sinks. We now change sinks, then elements
29515         with unconnected srcpads, then the rest.
29516         More efficient queue unlocking in flush and state changes.
29517         Set the pad activate mode even if it does not have an activate
29518         function.
29519
29520 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29521
29522         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29523           Don't go in pull mode for non-seekable sources.
29524         * gst/elements/gsttypefindelement.h:
29525         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29526         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29527         (free_entry), (stop_typefinding),
29528         (gst_type_find_element_handle_event), (find_peek),
29529         (gst_type_find_element_chain), (do_pull_typefind),
29530         (gst_type_find_element_change_state):
29531           Allow typefinding (w/o seeking) in push-mode, simplified version
29532           of what was in 0.8.
29533         * gst/gstutils.c: (gst_buffer_join):
29534         * gst/gstutils.h:
29535           gst_buffer_join() from 0.8.
29536
29537 2005-05-25  Wim Taymans  <wim@fluendo.com>
29538
29539         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29540         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29541         (gst_pad_send_event), (gst_pad_start_task):
29542         Disable attempt at mode switching until it is figured out.
29543
29544 2005-05-25  Wim Taymans  <wim@fluendo.com>
29545
29546         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29547         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29548         (gst_basesink_finish_preroll), (gst_basesink_chain),
29549         (gst_basesink_loop), (gst_basesink_activate),
29550         (gst_basesink_change_state):
29551         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29552         (gst_basesrc_get_range), (gst_basesrc_loop),
29553         (gst_basesrc_activate):
29554         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29555         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29556         (gst_real_pad_init), (gst_real_pad_set_property),
29557         (gst_real_pad_get_property), (gst_pad_set_active),
29558         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29559         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29560         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29561         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29562         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29563         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29564         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29565         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29566         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29567         (gst_pad_stop_task):
29568         * gst/gstpad.h:
29569         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29570         (gst_queue_loop), (gst_queue_src_activate):
29571         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29572         (gst_task_get_state):
29573         * gst/gsttask.h:
29574         * gst/schedulers/threadscheduler.c:
29575         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29576         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29577         in task function.
29578         Remove ACTIVE pad flag, use FLUSHING everywhere
29579         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29580         functions.
29581         Add locks around IS_FLUSHING when reading.
29582         Take STREAM lock in chain(), get_range() functions so plugins
29583         don't need to take it anymore.
29584         
29585
29586
29587 2005-05-25  Wim Taymans  <wim@fluendo.com>
29588
29589         * tools/gst-launch.c: (event_loop):
29590         Unref message after using its contents instead of
29591         before.
29592
29593 2005-05-24  Wim Taymans  <wim@fluendo.com>
29594
29595         * docs/design/draft-ghostpads.txt:
29596         * docs/design/draft-push-pull.txt:
29597         * docs/design/draft-query.txt:
29598         * docs/design/part-overview.txt:
29599         Docs updates, added general overview doc.
29600
29601 2005-05-21  David Schleef  <ds@schleef.org>
29602
29603         * docs/gst/tmpl/old/GstBin.sgml:
29604         * docs/gst/tmpl/old/GstBuffer.sgml:
29605         * docs/gst/tmpl/old/GstCaps.sgml:
29606         * docs/gst/tmpl/old/GstClock.sgml:
29607         * docs/gst/tmpl/old/GstCompat.sgml:
29608         * docs/gst/tmpl/old/GstData.sgml:
29609         * docs/gst/tmpl/old/GstElement.sgml:
29610         * docs/gst/tmpl/old/GstEvent.sgml:
29611         * docs/gst/tmpl/old/GstIndex.sgml:
29612         * docs/gst/tmpl/old/GstStructure.sgml:
29613         * docs/gst/tmpl/old/GstTag.sgml:
29614         * docs/gst/tmpl/old/cothreads.sgml:
29615         * docs/gst/tmpl/old/cothreads_compat.sgml:
29616         * docs/gst/tmpl/old/gettext.sgml:
29617         * docs/gst/tmpl/old/gobject2gtk.sgml:
29618         * docs/gst/tmpl/old/grammar.tab.sgml:
29619         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29620         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29621         * docs/gst/tmpl/old/gst_private.sgml:
29622         * docs/gst/tmpl/old/gstaggregator.sgml:
29623         * docs/gst/tmpl/old/gstarch.sgml:
29624         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29625         * docs/gst/tmpl/old/gstbufferstore.sgml:
29626         * docs/gst/tmpl/old/gstdata_private.sgml:
29627         * docs/gst/tmpl/old/gstdisksink.sgml:
29628         * docs/gst/tmpl/old/gstdisksrc.sgml:
29629         * docs/gst/tmpl/old/gstelementfactory.sgml:
29630         * docs/gst/tmpl/old/gstextratypes.sgml:
29631         * docs/gst/tmpl/old/gstfakesink.sgml:
29632         * docs/gst/tmpl/old/gstfakesrc.sgml:
29633         * docs/gst/tmpl/old/gstfdsink.sgml:
29634         * docs/gst/tmpl/old/gstfdsrc.sgml:
29635         * docs/gst/tmpl/old/gstfilesink.sgml:
29636         * docs/gst/tmpl/old/gstfilesrc.sgml:
29637         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29638         * docs/gst/tmpl/old/gstidentity.sgml:
29639         * docs/gst/tmpl/old/gstindexfactory.sgml:
29640         * docs/gst/tmpl/old/gstmarshal.sgml:
29641         * docs/gst/tmpl/old/gstmd5sink.sgml:
29642         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29643         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29644         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29645         * docs/gst/tmpl/old/gstpipefilter.sgml:
29646         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29647         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29648         * docs/gst/tmpl/old/gstshaper.sgml:
29649         * docs/gst/tmpl/old/gstspider.sgml:
29650         * docs/gst/tmpl/old/gstspideridentity.sgml:
29651         * docs/gst/tmpl/old/gststatistics.sgml:
29652         * docs/gst/tmpl/old/gsttee.sgml:
29653         * docs/gst/tmpl/old/gsttimecache.sgml:
29654         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29655         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29656         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29657         * docs/gst/tmpl/old/types.sgml:
29658           I didn't intend to add these or check them in.
29659
29660 2005-05-19  David Schleef  <ds@schleef.org>
29661
29662         * configure.ac: Use -no-common everywhere.  In a sane world, it
29663           would be the default in libtool, because without it, you can't
29664           build DLLs on Windows.
29665         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29666         * docs/gst/gstreamer-sections.txt:
29667         * docs/gst/tmpl/gstcpu.sgml:
29668         * docs/gst/tmpl/gstdata.sgml:
29669         * docs/gst/tmpl/gstthread.sgml:
29670
29671 2005-05-19  David Schleef  <ds@schleef.org>
29672
29673         * gst/gstminiobject.c: (gst_value_set_mini_object),
29674         (gst_value_take_mini_object), (gst_value_get_mini_object):
29675         * gst/gstminiobject.h: Add GValue set/get functions.
29676
29677 2005-05-19  Wim Taymans  <wim@fluendo.com>
29678
29679         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29680         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29681         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29682         * gst/gstbuffer.h:
29683         * gst/gstbus.c: (gst_bus_post):
29684         * gst/gstelement.c: (gst_element_get_random_pad):
29685         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29686         Make subbufer unref the parent in finalize.
29687         some more debugging info.
29688
29689
29690 2005-05-19  Wim Taymans  <wim@fluendo.com>
29691
29692         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29693         (gst_basesink_init), (gst_basesink_finalize),
29694         (gst_basesink_activate), (gst_basesink_change_state):
29695         Don't free preroll queue too early.
29696
29697 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29698
29699         * gst/Makefile.am:
29700         * gst/ROADMAP:
29701           Hi, I'm outdated. Please shoot me.
29702
29703 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29704
29705         * gst/gstpipeline.c: (gst_pipeline_send_event):
29706           Do not access variables after they have been deleted.
29707
29708 2005-05-19  Wim Taymans  <wim@fluendo.com>
29709
29710         * tools/gst-inspect.c: (print_plugin_features):
29711         A plugin feature does unfortunatly not use the
29712         object name yet...
29713
29714 2005-05-18  Wim Taymans  <wim@fluendo.com>
29715
29716         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29717         Port _span() functions to new subbuffers.
29718
29719 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29720
29721         * gst/gstbin.c: (gst_bin_add_func):
29722           Fix clock settery in bins when adding kids after the clock has
29723           been selected.
29724
29725 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29726
29727         * gst/elements/gstidentity.c: (gst_identity_class_init):
29728           Workaround until signals support GstMiniObject.
29729
29730 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
29731
29732         * gst/gstbuffer.c:
29733         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29734
29735 2005-05-18  Wim Taymans  <wim@fluendo.com>
29736
29737         * gst/base/Makefile.am:
29738         * gst/base/gstadapter.c: (gst_adapter_base_init),
29739         (gst_adapter_class_init), (gst_adapter_init),
29740         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29741         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29742         (gst_adapter_flush), (gst_adapter_available),
29743         (gst_adapter_available_fast):
29744         * gst/base/gstadapter.h:
29745         Ported and added adapter to the base classes.
29746
29747 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29748
29749         * gst/gst.c:
29750         * gst/gstmessage.c:
29751           Make sure the class is reffed/unreffed once before threads can be
29752           used.  Fixes #304551.
29753
29754 2005-05-17  Wim Taymans  <wim@fluendo.com>
29755
29756         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29757         (gst_basesink_chain_unlocked), (gst_basesink_activate):
29758         * gst/gstminiobject.c: (gst_mini_object_get_type),
29759         (gst_mini_object_free):
29760         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29761         (gst_pad_push), (gst_pad_push_event):
29762         * gst/gstqueue.c: (gst_queue_change_state):
29763         Don't queue buffers in basesink when we are flushing.
29764         Unref buffer when flushing in basesink.
29765         Flush queue when going to READY
29766         Unref buffer when _push() returns an error.
29767         Don't free MiniObject instance when refcount is incremented
29768         in _finalize() so that we can recover objects.
29769
29770 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29771
29772         * docs/manual/advanced-schedulers.xml:
29773         * docs/manual/appendix-checklist.xml:
29774         * docs/pwg/advanced-clock.xml:
29775         * docs/pwg/advanced-interfaces.xml:
29776         * docs/pwg/advanced-request.xml:
29777         * docs/pwg/advanced-types.xml:
29778         * docs/pwg/intro-preface.xml:
29779         * examples/plugins/example.c: (gst_example_get_type),
29780         (gst_example_class_init), (gst_example_chain),
29781         (gst_example_set_property), (gst_example_get_property),
29782         (gst_example_change_state), (plugin_init):
29783         * examples/plugins/example.h:
29784           small doc fixes
29785
29786 2005-05-17  Wim Taymans  <wim@fluendo.com>
29787
29788         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29789         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29790         * gst/gstqueue.c: (gst_queue_change_state):
29791         Clear queue when going to READY.
29792         Remove IN_SETCAPS flag too.
29793
29794 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
29795
29796         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29797           Remove implicit cast from gboolean to GstElementStateReturn;
29798           make sure we still return failure in paused => ready case if
29799           the parent class fails to change state and our own stop 
29800           vfunc succeeds.
29801
29802 2005-05-17  Wim Taymans  <wim@fluendo.com>
29803
29804         * tools/gst-launch.c: (event_loop):
29805         Message was unreffed too soon.
29806
29807 2005-05-16  Andy Wingo  <wingo@pobox.com>
29808
29809         * gst/gstbin.c (sink_iterator_filter): Err... um...
29810
29811         * check/gst/gstbin.c (test_ghost_pads): New test for the
29812         ghosting-if-elements-not-in-same-bin behavior.
29813
29814 2005-05-16  David Schleef  <ds@schleef.org>
29815
29816         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29817         accessing refcount directly.
29818
29819 2005-05-15  David Schleef  <ds@schleef.org>
29820
29821         * check/Makefile.am: remove GstData checks
29822         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29823         * gst/Makefile.am: add miniobject, remove data
29824         * gst/gst.h: add miniobject, remove data
29825         * gst/gstdata.c: remove
29826         * gst/gstdata.h: remove
29827         * gst/gstdata_private.h: remove
29828         * gst/gsttypes.h: remove GstEvent and GstMessage
29829         * gst/gstelement.c: (gst_element_post_message): fix for API changes
29830         * gst/gstmarshal.list: change BOXED -> OBJECT
29831
29832         Implement GstMiniObject.
29833         * gst/gstminiobject.c:
29834         * gst/gstminiobject.h:
29835
29836         Modify to be subclasses of GstMiniObject.
29837         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29838         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29839         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29840         (gst_subbuffer_get_type), (gst_subbuffer_init),
29841         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29842         (gst_buffer_span):
29843         * gst/gstbuffer.h:
29844         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29845         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29846         (_gst_event_copy), (gst_event_new):
29847         * gst/gstevent.h:
29848         * gst/gstmessage.c: (_gst_message_initialize),
29849         (gst_message_get_type), (gst_message_class_init),
29850         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29851         (gst_message_new), (gst_message_new_error),
29852         (gst_message_new_warning), (gst_message_new_tag),
29853         (gst_message_new_state_changed), (gst_message_new_application):
29854         * gst/gstmessage.h:
29855         * gst/gstprobe.c: (gst_probe_perform),
29856         (gst_probe_dispatcher_dispatch):
29857         * gst/gstprobe.h:
29858         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29859         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29860         (_gst_query_copy), (gst_query_new):
29861
29862         Update elements for GstData -> GstMiniObject changes
29863         * gst/gstquery.h:
29864         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29865         (gst_queue_chain), (gst_queue_loop):
29866         * gst/elements/gstbufferstore.c:
29867         (gst_buffer_store_add_buffer_func),
29868         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29869         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29870         (gst_fakesink_render):
29871         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29872         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29873         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29874         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29875         (gst_filesrc_create_read):
29876         * gst/elements/gstidentity.c: (gst_identity_class_init):
29877         * gst/elements/gsttypefindelement.c:
29878         (gst_type_find_element_src_event), (free_entry_buffers),
29879         (gst_type_find_element_handle_event):
29880         * libs/gst/dataprotocol/dataprotocol.c:
29881         (gst_dp_header_from_buffer):
29882         * libs/gst/dataprotocol/dataprotocol.h:
29883         * libs/gst/dataprotocol/dp-private.h:
29884
29885 2005-05-15  David Schleef  <ds@schleef.org>
29886
29887         * gst/elements/gstelements.c: Don't include headers that were
29888         just removed.
29889
29890 2005-05-15  David Schleef  <ds@schleef.org>
29891
29892         * gst/elements/Makefile.am: Remove some elements that don't
29893         need to be in the core (or even exist at all).
29894         * gst/elements/gstaggregator.c:
29895         * gst/elements/gstaggregator.h:
29896         * gst/elements/gstmd5sink.c:
29897         * gst/elements/gstmd5sink.h:
29898         * gst/elements/gstmultifilesrc.c:
29899         * gst/elements/gstmultifilesrc.h:
29900         * gst/elements/gstpipefilter.c:
29901         * gst/elements/gstpipefilter.h:
29902         * gst/elements/gstshaper.c:
29903         * gst/elements/gstshaper.h:
29904         * gst/elements/gststatistics.c:
29905         * gst/elements/gststatistics.h:
29906         * po/POTFILES.in: Remove above files.
29907
29908 2005-05-14  Andy Wingo  <wingo@pobox.com>
29909
29910         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29911         so as to get the refs right.
29912         (sink_iterator_filter): New function, wraps bin_element_is_sink,
29913         unreffing objects that don't pass the filter.
29914
29915         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29916         gst_element_set_bus.
29917         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29918         normal cases, this will destroy the bus.
29919
29920         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29921         object.
29922
29923         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29924         has no sinks.
29925
29926 2005-05-13  Andy Wingo  <wingo@pobox.com>
29927
29928         * gst/gstutils.c (gst_element_link_pads): Instead of calling
29929         gst_pad_link, call pad_link_maybe_ghosting,
29930         (pad_link_maybe_ghosting): Links pads, making sure that the
29931         elements being linked are in the same bin.
29932         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29933         Helpers for pad_link_maybe_ghosting.
29934
29935 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
29936
29937         * configure.ac:
29938           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
29939
29940 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
29941
29942         * docs/design/part-element-source.txt:
29943           Mention GstPushSrc
29944
29945 2005-05-12  Wim Taymans  <wim@fluendo.com>
29946
29947         * gst/base/gstbasesink.c: (gst_basesink_init),
29948         (gst_basesink_activate):
29949         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
29950         (gst_basesrc_is_seekable):
29951         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
29952         (bin_element_is_sink), (gst_bin_change_state):
29953         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29954         * gst/gstelement.h:
29955         Identify sinks by their flag to avoid overly complicated
29956         checks (fow now).
29957         Do state changes even for elements not reachable from the
29958         sinks.
29959         BaseSink is a sink now :)
29960         Some more debugging info in the basesrc.
29961
29962
29963 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29964
29965         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
29966           Implement _query on a bin, similar to _send_event.
29967
29968 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
29969
29970         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
29971           Discont event offset format should be GST_FORMAT_BYTES,
29972           not GST_FORMAT_TIME.
29973
29974 2005-05-12  Wim Taymans  <wim@fluendo.com>
29975
29976         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
29977         Same fix as Ronald's but without the signal. 
29978
29979 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29980
29981         * gst/gstutils.c: (gst_element_query_position):
29982           No, an element is not a pad.
29983
29984 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29985
29986         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
29987         (gst_bin_get_state):
29988           If a child is removed from a bin while we remove the child from
29989           the bin and while we're retrieving its state, signal this to the
29990           get_state function so we abort the wait (instead of waiting for
29991           a timeout) and can immediately re-iterate over all other elements.
29992
29993 2005-05-12  Wim Taymans  <wim@fluendo.com>
29994
29995         * gst/base/Makefile.am:
29996         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
29997         (gst_basesrc_start):
29998         * gst/base/gstbasesrc.h:
29999         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30000         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30001         (gst_pushsrc_init), (gst_pushsrc_create):
30002         * gst/base/gstpushsrc.h:
30003         Added is_seekable to BaseSrc
30004         Added simple PushSrc.
30005
30006 2005-05-11  Wim Taymans  <wim@fluendo.com>
30007
30008         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30009         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30010         (gst_element_link_pads), (gst_element_query_position),
30011         (gst_element_query_convert), (intersect_caps_func),
30012         (gst_pad_query_position), (gst_pad_query_convert):
30013         Fix refcounting in utils function.
30014         No point in trying to activate a pad when it's added, it could
30015         be added from the state change function and then we deadlock, the
30016         element has to decide what to do.
30017
30018 2005-05-10  Andy Wingo  <wingo@pobox.com>
30019
30020         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30021         *all* the arguments.
30022
30023         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30024         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30025         lock (according to the docs -- if this is wrong change the docs).
30026
30027         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30028         flush messages in the NULL state.
30029
30030         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30031         message immediately and return.
30032         (gst_bus_set_flushing): New function. If a bus is flushing, it
30033         flushes out any queued messages and immediately unrefs new
30034         messages. This is so when an element goes to NULL, all of the
30035         unhandled messages coming from it can be freed, and their
30036         references to the element dropped. In other words: message source
30037         ref considered harmful :P
30038
30039         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30040         we're finished with it.
30041
30042         * gst/gstmessage.c (gst_message_new_state_changed): 
30043
30044 2005-05-10  Wim Taymans  <wim@fluendo.com>
30045
30046         * gst/gstvalue.c: (gst_value_compare_flags),
30047         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30048         (_gst_value_initialize):
30049         Added flags serialize/deserialize/compare code.
30050
30051 2005-05-09  Andy Wingo  <wingo@pobox.com>
30052
30053         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30054         Intersect the peer's caps with our caps.
30055
30056 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30057
30058         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30059         * gst/elements/gsttypefindelement.c: (find_peek):
30060           Handle negative offsets better. Fixes decodebin.
30061
30062 2005-05-09  Wim Taymans  <wim@fluendo.com>
30063
30064         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30065         (gst_base_transform_event):
30066         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30067         Implement accept_caps.
30068         Fix silly lock/unlock mismatch in base class.
30069
30070 2005-05-09  Wim Taymans  <wim@fluendo.com>
30071
30072         * docs/design/draft-push-pull.txt:
30073         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30074         * gst/elements/gstfilesink.c: (gst_filesink_init),
30075         (gst_filesink_query):
30076         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30077         (gst_type_find_handle_src_query), (find_element_get_length):
30078         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30079         * gst/gstelement.h:
30080         * gst/gstmessage.c:
30081         * gst/gstmessage.h:
30082         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30083         (gst_real_pad_get_caps_unlocked),
30084         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30085         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30086         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30087         (gst_real_pad_dispose), (gst_real_pad_finalize),
30088         (gst_pad_load_and_link), (gst_pad_save_thyself),
30089         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30090         (gst_pad_check_pull_range), (gst_pad_pull_range),
30091         (gst_pad_template_get_type), (gst_pad_template_class_init),
30092         (gst_pad_template_init), (gst_pad_template_dispose),
30093         (name_is_valid), (gst_static_pad_template_get),
30094         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30095         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30096         (gst_pad_get_element_private), (gst_pad_start_task),
30097         (gst_pad_pause_task), (gst_pad_stop_task),
30098         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30099         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30100         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30101         (gst_ghost_pad_new):
30102         * gst/gstpad.h:
30103         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30104         (gst_query_new_position), (gst_query_set_position),
30105         (gst_query_parse_position), (gst_query_new_convert),
30106         (gst_query_set_convert), (gst_query_parse_convert):
30107         * gst/gstquery.h:
30108         * gst/gstqueryutils.c:
30109         * gst/gstqueryutils.h:
30110         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30111         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30112         (gst_queue_handle_src_query):
30113         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30114         (gst_element_query_position), (gst_element_query_convert),
30115         (intersect_caps_func), (gst_pad_query_position),
30116         (gst_pad_query_convert):
30117         * gst/gstutils.h:
30118         * tools/gst-inspect.c: (print_pad_info):
30119         * tools/gst-xmlinspect.c: (print_element_info):
30120         Remove old query functions. Ported old code.
30121         Added position/convert helper functions to gstutils.
30122         Reordered gstpad.c code, grouping relevant things.
30123         Remove gst_message_new(), always need to speficy a specific
30124         message.
30125
30126
30127 2005-05-09  Andy Wingo  <wingo@pobox.com>
30128
30129         * gst/gstiterator.h: Add some includes.
30130
30131         * gst/gstqueryutils.h: Include more headers.
30132
30133         * gst/gstpad.h:
30134         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30135         some uses of gst_pad_query.
30136
30137         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30138         NULL out parameters.
30139         (gst_query_new_position): New proc, allocates a new position
30140         query.
30141
30142         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30143         gstqueryutils.c to the build.
30144
30145         * gst/gststructure.c (gst_structure_set_valist): Implement with
30146         the generic G_VALUE_COLLECT.
30147         
30148 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30149
30150         * gst/Makefile.am: (gst_headers):
30151         Added gstqueryutils.h to the list of headers to install, that was
30152         a 'nachty' move wingo :)
30153
30154 2005-05-06  Andy Wingo  <wingo@pobox.com>
30155
30156         * gst/gstquery.h
30157         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30158         GstData, init a memchunk.
30159         (standard_definitions): Add a few query types, deprecate a few.
30160         (gst_query_get_type): New proc.
30161         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30162         implementation.
30163         (gst_query_new_application, gst_query_get_structure): New public
30164         procs.
30165
30166         * docs/design/draft-query.txt: Removed LINKS from the query types,
30167         because all the rest can be dispatched to other pads -- seemed
30168         ugly to have a query that couldn't be dispatched. internal_links
30169         is fine as a pad method.
30170
30171         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30172         in gstpad.c, but maintain binary compatibility for the moment.
30173         Will fix before 0.9 is out.
30174
30175         * gst/gstqueryutils.c: 
30176         * gst/gstqueryutils.h: New files, implement 3 methods for each
30177         query type: parse_query, parse_response, and set. Probably need an
30178         allocator as well.
30179
30180         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30181
30182         * gst/elements/gstfilesink.c (gst_filesink_query2):
30183         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30184         query_types, and formats methods.
30185
30186         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30187         (gst_pad_set_query2_function): New functions.
30188         (gst_real_pad_init): Set query2_default as the default query2
30189         function. Basically just dispatches to internally linked pads.
30190
30191         Needs review!
30192         
30193         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30194         without using the atomic operations. Only one thread can possibly
30195         be accessing the data at this point. Changed so as to avoid
30196         gst_atomic operations.
30197
30198 2005-05-06  Wim Taymans  <wim@fluendo.com>
30199
30200         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30201         Also set caps if we use the fallback buffer alloc.
30202
30203 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30204
30205         * docs/gst/Makefile.am:
30206         * docs/gst/gstreamer-docs.sgml:
30207         * docs/gst/gstreamer-sections.txt:
30208         * docs/gst/tmpl/gstatomic.sgml:
30209         * docs/gst/tmpl/gstmemchunk.sgml:
30210         * testsuite/elements/struct_i386.h:
30211         * win32/GStreamer.vcproj:
30212         * win32/Makefile:
30213           Purge GstAtomic stuff from docs and win32 makefiles as well
30214
30215 2005-05-06  Wim Taymans  <wim@fluendo.com>
30216
30217         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30218         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30219         * gst/gstpad.c: (gst_pad_peer_get_caps):
30220         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30221         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30222         (gst_queue_src_activate), (gst_queue_change_state):
30223         * gst/gstqueue.h:
30224         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30225         (intersect_caps_func):
30226         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30227         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30228         Some fixes for the peer_get_caps() change.
30229
30230 2005-05-06  Wim Taymans  <wim@fluendo.com>
30231
30232         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30233         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30234         (gst_basesink_activate):
30235         Actually do something with error codes returned from the push
30236         functions.
30237
30238 2005-05-06  Wim Taymans  <wim@fluendo.com>
30239
30240         * docs/design/part-element-sink.txt:
30241         * docs/design/part-element-source.txt:
30242         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30243         (gst_basesink_event), (gst_basesink_activate):
30244         * gst/base/gstbasesink.h:
30245         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30246         (gst_basesrc_activate):
30247         * gst/base/gstbasesrc.h:
30248         * gst/gstelement.c: (gst_element_pads_activate):
30249         Some more documentation.
30250         Fixed scheduling decision in _pads_activate().
30251
30252 2005-05-05  Andy Wingo  <wingo@pobox.com>
30253
30254         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30255         the test suite.
30256
30257 2005-05-05  Wim Taymans  <wim@fluendo.com>
30258
30259         * gst/base/Makefile.am:
30260         * gst/base/gstbasesink.h:
30261         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30262         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30263         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30264         (gst_collectpads_class_init), (gst_collectpads_init),
30265         (gst_collectpads_finalize), (gst_collectpads_new),
30266         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30267         (find_pad), (gst_collectpads_remove_pad),
30268         (gst_collectpads_is_active), (gst_collectpads_collect),
30269         (gst_collectpads_collect_range), (gst_collectpads_start),
30270         (gst_collectpads_stop), (gst_collectpads_peek),
30271         (gst_collectpads_pop), (gst_collectpads_available),
30272         (gst_collectpads_read), (gst_collectpads_flush),
30273         (gst_collectpads_chain):
30274         * gst/base/gstcollectpads.h:
30275         * gst/elements/Makefile.am:
30276         * gst/elements/gstelements.c:
30277         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30278         (gst_fakesink_get_times), (gst_fakesink_event),
30279         (gst_fakesink_preroll), (gst_fakesink_render):
30280         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30281         (gst_filesink_init), (gst_filesink_set_location),
30282         (gst_filesink_open_file), (gst_filesink_close_file),
30283         (gst_filesink_pad_query), (gst_filesink_event),
30284         (gst_filesink_render), (gst_filesink_change_state):
30285         * gst/elements/gstfilesink.h:
30286         Added object to help in making collect pad based elements.
30287         Ported filesink.
30288         Make event function in sink baseclass return gboolean.
30289
30290 2005-05-05  Wim Taymans  <wim@fluendo.com>
30291
30292         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30293         (gst_bin_get_by_name):
30294         * gst/gstbuffer.h:
30295         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30296         (gst_clock_finalize):
30297         * gst/gstdata.c: (gst_data_replace):
30298         * gst/gstdata.h:
30299         * gst/gstelement.c: (gst_element_request_pad),
30300         (gst_element_pads_activate):
30301         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30302         (gst_object_unref):
30303         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30304         (gst_pad_set_checkgetrange_function),
30305         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30306         (gst_pad_check_pull_range), (gst_pad_pull_range),
30307         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30308         (gst_pad_pause_task), (gst_pad_stop_task):
30309         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30310         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30311         Fix name lookup in GstBin.
30312         Added _data_replace() function and _buffer_replace()
30313         Use finalize method to clean up clock.
30314         Fix refcounting on request pads.
30315         Fix pad schedule mode error.
30316         Some more object refcounting debug info,
30317
30318
30319 2005-05-04  Andy Wingo <wingo@pobox.com>
30320
30321         * check/Makefile.am:
30322         * docs/gst/tmpl/gstatomic.sgml:
30323         * docs/gst/tmpl/gstplugin.sgml:
30324         * gst/base/gstbasesink.c: (gst_basesink_activate):
30325         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30326         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30327         (gst_basesrc_query), (gst_basesrc_set_property),
30328         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30329         (gst_basesrc_activate):
30330         * gst/base/gstbasesrc.h:
30331         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30332         (gst_base_transform_src_activate):
30333         * gst/elements/gstelements.c:
30334         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30335         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30336         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30337         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30338         (gst_type_find_element_checkgetrange),
30339         (gst_type_find_element_activate):
30340         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30341         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30342         (gst_caps_load_thyself):
30343         * gst/gstelement.c: (gst_element_pads_activate),
30344         (gst_element_save_thyself), (gst_element_restore_thyself):
30345         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30346         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30347         * gst/gstpad.h:
30348         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30349         (gst_xml_parse_file), (gst_xml_parse_memory),
30350         (gst_xml_get_element), (gst_xml_make_element):
30351         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30352         (_file_index_id_save_xml), (gst_file_index_commit):
30353         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30354         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30355         (load_paths):
30356         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30357         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30358         * tools/gst-complete.c: (main):
30359         * tools/gst-compprep.c: (main):
30360         * tools/gst-inspect.c: (print_element_properties_info):
30361         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30362         * tools/gst-xmlinspect.c: (print_element_properties):
30363         GCC 4 fixen.
30364         
30365 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30366
30367         * gst/gstplugin.c: (gst_plugin_check_module),
30368         (gst_plugin_check_file), (gst_plugin_load_file):
30369             apply patch from #172526 to make register work on MacOSX
30370
30371 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30372
30373         * docs/gst/tmpl/gstconfig.sgml:
30374         * gst/gstconfig.h.in:
30375           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30376         * testsuite/debug/printf_extension.c: (main):
30377           Do not use GST_PTR_FORMAT on pointers to types with
30378           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30379         * testsuite/elements/property.h:
30380           use correct printf format
30381
30382 2005-05-02  Wim Taymans  <wim@fluendo.com>
30383
30384         * docs/design/draft-push-pull.txt:
30385         * docs/design/draft-query.txt:
30386         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30387         (gst_basesrc_start):
30388         Added draft for new query API.
30389         Added draft for better selecting scheduling methods.
30390         Make basesrc ignore length if the subclass does not support
30391         it.
30392
30393 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30394
30395         * gst/Makefile.am:
30396           possible fixes for automake-1.5 - _LIBADD is reserved
30397
30398 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30399
30400         * docs/faq/Makefile.am:
30401         * docs/manual/Makefile.am:
30402         * docs/manuals.mak:
30403         * docs/pwg/Makefile.am:
30404         * gst/Makefile.am:
30405           possible fixes for automake-1.5
30406
30407 2005-04-28  Wim Taymans  <wim@fluendo.com>
30408
30409         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30410         (gst_basesink_pad_getcaps), (gst_basesink_init),
30411         (gst_basesink_do_sync):
30412         * gst/gstclock.c: (gst_clock_entry_new):
30413         * gst/gstevent.c: (gst_event_discont_get_value):
30414         * gst/gstpipeline.c: (pipeline_bus_handler),
30415         (gst_pipeline_change_state):
30416         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30417         Better debugging of clocking info.
30418         Allow NULL values when getting discont values.
30419
30420 2005-04-27  Wim Taymans  <wim@fluendo.com>
30421
30422         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30423         * check/gst/gstpad.c: (gst_pad_suite):
30424         Increase timeout for checks.
30425
30426 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30427
30428         * check/Makefile.am:
30429           fix the broken rule for cleanup.  Apparently this rule is
30430           only needed on FC2, so maybe this warrants further autotool
30431           inspection.
30432
30433 2005-04-26  Wim Taymans  <wim@fluendo.com>
30434
30435         * gst/gsttrashstack.h:
30436         Ooohh. a nasty one! After having a failed pop() from the stack,
30437         it's possible that the stack is empty. In that case, don't
30438         follow the NULL pointer.
30439
30440 2005-04-25  Wim Taymans  <wim@fluendo.com>
30441
30442         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30443         (gst_pad_set_checkgetrange_function),
30444         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30445         (gst_pad_check_pull_range), (gst_pad_pull_range),
30446         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30447         (gst_pad_pause_task), (gst_pad_stop_task):
30448         * gst/gstplugin.c: (gst_plugin_load):
30449         * gst/gstplugin.h:
30450         Remove gst_library_load as it does more harm than good with
30451         the new g_module flags.
30452         Revert bogus caps template check in pad linking, pad caps
30453         are important when linking not the template, which is more
30454         general than the current caps.
30455
30456 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30457
30458         * gst/autoplug/.cvsignore:
30459         * gst/autoplug/Makefile.am:
30460         * gst/autoplug/gstsearchfuncs.c:
30461         * gst/autoplug/gstsearchfuncs.h:
30462         * gst/autoplug/gstspider.c:
30463         * gst/autoplug/gstspider.h:
30464         * gst/autoplug/gstspideridentity.c:
30465         * gst/autoplug/gstspideridentity.h:
30466         * gst/autoplug/spidertest.c:
30467           Die, spider, die.
30468
30469 2005-04-25  Wim Taymans  <wim@fluendo.com>
30470
30471         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30472         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30473         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30474         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30475         * gst/gstpad.h:
30476         Added stubs for unimplemented functions. 
30477
30478 2005-04-24  David Schleef  <ds@schleef.org>
30479
30480         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30481         please fix.
30482
30483 2005-04-24  David Schleef  <ds@schleef.org>
30484
30485         Convert everything from GstAtomicInt to g_atomic_int_*, and
30486         remove gstatomic.
30487         * gst/Makefile.am:
30488         * gst/gstatomic.c:
30489         * gst/gstatomic.h:
30490         * gst/gstatomic_impl.h:
30491         * gst/gstbuffer.c:
30492         * gst/gstcaps.c:
30493         * gst/gstcaps.h:
30494         * gst/gstclock.c:
30495         * gst/gstclock.h:
30496         * gst/gstdata.c:
30497         * gst/gstdata.h:
30498         * gst/gstdata_private.h:
30499         * gst/gstevent.c:
30500         * gst/gstinfo.c:
30501         * gst/gstinfo.h:
30502         * gst/gstmessage.c:
30503         * gst/gstobject.c:
30504         * gst/gstobject.h:
30505         * gst/gststructure.c:
30506         * gst/gststructure.h:
30507         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30508         * gst/gstutils.h:
30509
30510 2005-04-24  David Schleef  <ds@schleef.org>
30511
30512         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30513         make the regressions tests work.  Remove some code that is no
30514         longer true.
30515         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30516         Disable warning for pads without templates.
30517
30518 2005-04-24  David Schleef  <ds@schleef.org>
30519
30520         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30521         functions that handle filtered links.
30522         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30523         removed functions.
30524         * gst/gstutils.c: Fix/remove utility functions that handle
30525         filtered caps.
30526         * gst/gstutils.h:
30527         * gst/gstvalue.c: Add serialization/deserialization of caps
30528         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30529         requires fixing so that the filter caps notation creates
30530         a capsfilter element and sets the filter_caps property.  I
30531         think everyone probably wants to keep the shorthand notation.
30532         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30533         * docs/gst/tmpl/gstpad.sgml:
30534
30535         * gst/elements/gstelements.c: Register capsfilter element.
30536         * gst/Makefile.am: fix spacing
30537         * docs/random/ds/0.9-suggested-changes: random
30538
30539 2005-04-23  David Schleef  <ds@schleef.org>
30540
30541         * gst/elements/Makefile.am:
30542         * gst/elements/gstcapsfilter.c: New element that acts like an
30543         identity, but filters caps.  Will eventually replace filtered
30544         caps in pad linking.
30545         * gst/gstutils.c: (gst_element_create_all_pads): New function
30546         to create all the ALWAYS pads that are registered with an
30547         element class.  This functionality should eventually be
30548         merged in with GstElement initialization.
30549         * gst/gstutils.h:
30550         * testsuite/trigger/README: part of trigger test code that should
30551         have been checked in a long time ago.
30552
30553 2005-04-23  David Schleef  <ds@schleef.org>
30554
30555         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30556         needed with new versions of libtool (nobody will confirm this),
30557         and hard to carry around.
30558         * gst/autoplug/Makefile.am:
30559         * gst/base/Makefile.am:
30560         * gst/elements/Makefile.am:
30561         * gst/indexers/Makefile.am:
30562         * gst/schedulers/Makefile.am:
30563         * libs/gst/bytestream/Makefile.am:
30564         * libs/gst/control/Makefile.am:
30565         * libs/gst/dataprotocol/Makefile.am:
30566         * libs/gst/getbits/Makefile.am:
30567
30568 2005-04-21  Wim Taymans  <wim@fluendo.com>
30569
30570         * docs/design/draft-push-pull.txt:
30571         * docs/design/part-MT-refcounting.txt:
30572         * docs/design/part-TODO.txt:
30573         * docs/design/part-caps.txt:
30574         * docs/design/part-events.txt:
30575         * docs/design/part-gstbus.txt:
30576         * docs/design/part-gstpipeline.txt:
30577         * docs/design/part-messages.txt:
30578         * docs/design/part-push-pull.txt:
30579         * docs/design/part-query.txt:
30580         Some more docs.
30581
30582 2005-04-21  Wim Taymans  <wim@fluendo.com>
30583
30584         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30585         (gst_message_new), (gst_message_new_error),
30586         (gst_message_new_warning), (gst_message_new_tag),
30587         (gst_message_new_state_changed), (gst_message_new_application),
30588         (gst_message_get_structure):
30589         * gst/gstmessage.h:
30590         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30591         (gst_structure_copy_conditional):
30592         Use parent refcount in GstMessage to ensure GstStructure
30593         consistency.
30594         Cleaned up headers a bit.
30595         
30596
30597 2005-04-20  Wim Taymans  <wim@fluendo.com>
30598
30599         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30600         (gst_basesink_pad_getcaps), (gst_basesink_init),
30601         (gst_basesink_chain_unlocked):
30602         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30603         (gst_type_find_helper):
30604         * gst/elements/gsttypefindelement.c:
30605         (gst_type_find_element_have_type), (gst_type_find_element_init),
30606         (stop_typefinding), (gst_type_find_element_handle_event),
30607         (find_suggest), (gst_type_find_element_chain),
30608         (gst_type_find_element_checkgetrange),
30609         (gst_type_find_element_getrange), (do_typefind),
30610         (gst_type_find_element_activate):
30611         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30612         (gst_buffer_default_free), (gst_buffer_default_copy),
30613         (gst_buffer_set_caps):
30614         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30615         (gst_caps_replace):
30616         * gst/gstmessage.c: (gst_message_new),
30617         (gst_message_new_state_changed):
30618         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30619         (gst_pad_set_checkgetrange_function),
30620         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30621         (gst_pad_set_caps), (gst_pad_check_pull_range),
30622         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30623         * gst/gstpad.h:
30624         * gst/gsttypefind.c: (gst_type_find_register):
30625         Make gst_caps_replace() work like other _replace() functions.
30626         Use _caps_replace() where possible.
30627         Make sure _message_new() initialises its field.
30628         Add gst_static_pad_template_get_caps()
30629
30630
30631 2005-04-18  Andy Wingo  <wingo@pobox.com>
30632
30633         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30634         on the peer, not the pad. I think that was a typo. Pass an extra
30635         arg to see if random access is possible. Activate the pads as
30636         PULL_RANGE if possible.
30637
30638         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30639
30640         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30641         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30642         to PROP_....
30643
30644 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30645
30646         * docs/faq/using.xml:
30647           Add note on gstreamer-properties (#154996).
30648
30649 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30650
30651         * docs/random/bbb/optional-properties:
30652           Some analysis on optional properties.
30653
30654 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30655
30656         * docs/gst/tmpl/gstelementfactory.sgml:
30657         * gst/gstelement.h:
30658         * gst/gstelementfactory.c: (gst_element_factory_init),
30659         (gst_element_factory_cleanup), (gst_element_register),
30660         (__gst_element_factory_add_static_pad_template),
30661         (gst_element_factory_get_static_pad_templates),
30662         (gst_element_factory_can_src_caps),
30663         (gst_element_factory_can_sink_caps):
30664         * gst/registries/Makefile.am:
30665         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30666         (gst_xml_registry_class_init), (gst_xml_registry_init),
30667         (gst_xml_registry_new), (gst_xml_registry_set_property),
30668         (gst_xml_registry_get_property), (get_time), (make_dir),
30669         (gst_xml_registry_get_perms_func),
30670         (plugin_times_older_than_recurse), (plugin_times_older_than),
30671         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30672         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30673         (add_to_char_array), (read_string), (read_uint), (read_enum),
30674         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30675         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30676         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30677         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30678         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30679         (gst_xml_registry_rebuild):
30680         * gst/registries/gstlibxmlregistry.h:
30681         * tools/gst-compprep.c: (main):
30682         * tools/gst-inspect.c: (print_pad_templates_info):
30683         * tools/gst-xmlinspect.c: (print_element_info):
30684           Use libxml2 for registry parsing, use staticpadtemplates in
30685           elementfactories. Makes gst_init() +/- 10x faster.
30686
30687 2005-04-12  Wim Taymans  <wim@fluendo.com>
30688
30689         * gst/base/Makefile.am:
30690         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30691         (gst_basesink_pad_getcaps), (gst_basesink_init),
30692         (gst_basesink_event), (gst_basesink_change_state):
30693         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30694         (gst_basesrc_init), (gst_basesrc_query),
30695         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30696         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30697         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30698         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30699         (gst_basesrc_stop), (gst_basesrc_activate),
30700         (gst_basesrc_change_state):
30701         * gst/base/gsttypefindhelper.c: (helper_find_peek),
30702         (helper_find_suggest), (gst_type_find_helper):
30703         * gst/base/gsttypefindhelper.h:
30704         * gst/elements/Makefile.am:
30705         * gst/elements/gstelements.c:
30706         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30707         (gst_fakesink_get_times), (gst_fakesink_event),
30708         (gst_fakesink_preroll), (gst_fakesink_render):
30709         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30710         (gst_fakesrc_init), (gst_fakesrc_event_handler),
30711         (gst_fakesrc_get_property), (gst_fakesrc_create),
30712         (gst_fakesrc_start), (gst_fakesrc_stop):
30713         * gst/elements/gstfakesrc.h:
30714         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30715         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30716         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30717         (gst_filesrc_create_read), (gst_filesrc_create),
30718         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30719         (gst_filesrc_start):
30720         * gst/elements/gsttypefindelement.c:
30721         (gst_type_find_element_have_type), (gst_type_find_element_init),
30722         (start_typefinding), (stop_typefinding), (push_buffer_store),
30723         (gst_type_find_element_handle_event),
30724         (gst_type_find_element_chain),
30725         (gst_type_find_element_checkgetrange),
30726         (gst_type_find_element_getrange), (do_typefind),
30727         (gst_type_find_element_activate),
30728         (gst_type_find_element_change_state):
30729         * gst/elements/gsttypefindelement.h:
30730         * gst/gstpipeline.c: (pipeline_bus_handler):
30731         Added typefind helper.
30732         Small preroll fix in the base sink.
30733         Disable typefind code in basesrc.
30734         Crude port of typefindelement.
30735         Fakesrc cleanups.
30736
30737
30738 2005-04-11  Wim Taymans  <wim@fluendo.com>
30739
30740         * check/gst/gstbus.c: (gstbus_suite):
30741         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30742         * check/gstcheck.h:
30743           Fix up the timeout so that the test does not fail.
30744
30745 2005-04-06  Wim Taymans  <wim@fluendo.com>
30746
30747         * gst/base/README:
30748         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30749         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30750         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30751         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30752         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30753         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30754         (gst_basesrc_stop), (gst_basesrc_activate),
30755         (gst_basesrc_change_state), (basesrc_find_peek),
30756         (basesrc_find_suggest), (gst_basesrc_type_find):
30757         * gst/base/gstbasesrc.h:
30758         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30759         (gst_filesrc_class_init), (gst_filesrc_init),
30760         (gst_filesrc_finalize), (gst_filesrc_set_location),
30761         (gst_filesrc_set_property), (gst_filesrc_get_property),
30762         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30763         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30764         (gst_filesrc_create_read), (gst_filesrc_create),
30765         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30766         * gst/elements/gstfilesrc.h:
30767         * gst/gstelement.c: (gst_element_get_state_func),
30768         (gst_element_lost_state), (gst_element_pads_activate):
30769         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30770         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30771         (gst_pad_pull_range):
30772         * gst/gstpad.h:
30773         More work on the generic source base class, implement seeking,
30774         query.
30775         Make filesrc extend the base source class.
30776         Added gst_pad_set_checkgetrange_function to GstPad.
30777
30778 2005-04-06  Andy Wingo  <wingo@pobox.com>
30779
30780         * pkgconfig/gstreamer-base.pc.in:
30781         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30782
30783         * pkgconfig/Makefile.am:
30784         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30785
30786 2005-04-04  Wim Taymans  <wim@fluendo.com>
30787
30788         * gst/base/Makefile.am:
30789         * gst/base/README:
30790         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30791         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30792         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30793         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30794         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30795         (gst_basesrc_base_init), (gst_basesrc_class_init),
30796         (gst_basesrc_init), (gst_basesrc_get_formats),
30797         (gst_basesrc_get_query_types), (gst_basesrc_query),
30798         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30799         (gst_basesrc_set_property), (gst_basesrc_get_property),
30800         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30801         (gst_basesrc_loop), (gst_basesrc_activate),
30802         (gst_basesrc_change_state):
30803         * gst/base/gstbasesrc.h:
30804         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30805         (gst_fakesrc_class_init), (gst_fakesrc_init),
30806         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30807         (gst_fakesrc_get_property), (gst_fakesrc_create):
30808         * gst/elements/gstfakesrc.h:
30809         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30810         (gst_filesrc_open_file), (gst_filesrc_loop),
30811         (gst_filesrc_activate), (filesrc_find_peek),
30812         (gst_filesrc_type_find):
30813         Made base source class, make fakesrc extend it.
30814         Add comments to basesink class.
30815         Some filesrc cleanup.
30816
30817 2005-03-31  David Schleef  <ds@schleef.org>
30818
30819         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30820         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30821         expected to link against libgstreamer.
30822         * gst/base/Makefile.am: link against libgstreamer
30823         * gst/elements/Makefile.am: same
30824
30825 2005-03-31  Andy Wingo  <wingo@pobox.com>
30826
30827         * tests/instantiate/Makefile.am:
30828         * tests/instantiate/caps.c: Add test to test speed of caps copy
30829         and free.
30830
30831         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30832         GMemChunk to be fair.
30833
30834         * gst/gsttrashstack.h: Remove warning about using the fallback
30835         trash stack implementation, it's still faster than malloc.
30836
30837 2005-03-30  Andy Wingo  <wingo@pobox.com>
30838
30839         * tests/complexity.c: Add a copyright.
30840
30841 2005-03-31  Wim Taymans  <wim@fluendo.com>
30842
30843         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30844         (gst_base_transform_class_init), (gst_base_transform_init),
30845         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30846         (gst_base_transform_get_property),
30847         (gst_base_transform_sink_activate),
30848         (gst_base_transform_src_activate),
30849         (gst_base_transform_change_state):
30850         * gst/base/gstbasetransform.h:
30851         * gst/elements/gstidentity.c: (gst_identity_class_init),
30852         (gst_identity_event), (gst_identity_check_perfect),
30853         (gst_identity_transform), (gst_identity_start),
30854         (gst_identity_stop):
30855         Added start/stop methods to transform base class so subclasses 
30856         don't need to deal with state changes even.
30857
30858 2005-03-31  Wim Taymans  <wim@fluendo.com>
30859
30860         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30861         (gst_event_new_discontinuous), (gst_event_discont_get_value):
30862         * gst/gstevent.h:
30863         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30864         (gst_pad_pull_range):
30865         Added rate to the discont event to prepare for variable speed
30866         and reverse playback.
30867
30868 2005-03-29  David Schleef  <ds@schleef.org>
30869
30870         * configure.ac:
30871         * testsuite/trigger/Makefile.am:
30872         * testsuite/trigger/trigger.c: A little example program to show
30873         how trigger-based elements can work.
30874
30875 2005-03-29  Wim Taymans  <wim@fluendo.com>
30876
30877         * gst/base/Makefile.am:
30878         * gst/base/README:
30879         * gst/base/gstbasesink.c: (gst_basesink_get_type),
30880         (gst_basesink_base_init), (gst_basesink_class_init),
30881         (gst_basesink_pad_getcaps), (gst_basesink_init),
30882         (gst_basesink_activate), (gst_basesink_change_state):
30883         * gst/base/gstbasesink.h:
30884         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30885         (gst_base_transform_base_init), (gst_base_transform_finalize),
30886         (gst_base_transform_class_init), (gst_base_transform_init),
30887         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30888         (gst_base_transform_event), (gst_base_transform_getrange),
30889         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30890         (gst_base_transform_set_property),
30891         (gst_base_transform_get_property),
30892         (gst_base_transform_sink_activate),
30893         (gst_base_transform_src_activate),
30894         (gst_base_transform_change_state):
30895         * gst/base/gstbasetransform.h:
30896         * gst/elements/gstidentity.c: (gst_identity_finalize),
30897         (gst_identity_class_init), (gst_identity_init),
30898         (gst_identity_event), (gst_identity_check_perfect),
30899         (gst_identity_transform), (gst_identity_set_property),
30900         (gst_identity_get_property), (gst_identity_change_state):
30901         * gst/elements/gstidentity.h:
30902         * gst/gstelement.c: (gst_element_get_state_func),
30903         (gst_element_lost_state), (gst_element_pads_activate):
30904         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30905         (gst_pad_check_pull_range), (gst_pad_pull_range):
30906         * gst/gstpad.h:
30907         Simplify pad activation.
30908         Added function to check if pull_range can be performed.
30909         Error out when pulling inactive or flushing pads.
30910         Removed const from refcounted types as it does not make sense.
30911         Simplify pad templates in basesink
30912         Added base class for simple 1-to-1 transforms.
30913         Make identity subclass the base transform.
30914
30915 2005-03-29  Andy Wingo  <wingo@pobox.com>
30916
30917         * docs/libs/gstreamer-libs-overrides.txt: 
30918         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30919         really don't understand what's going on, but like whatever. I want
30920         green buildbot!
30921
30922         * docs/gst/Makefile.am:
30923         * docs/libs/Makefile.am: Dist the overrides files.
30924
30925         * check/Makefile.am (clean-local): Remove .libs directories.
30926
30927         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30928         elements to EXTRA_DIST, so po/ files are happy.
30929
30930         * po/POTFILES.in: Er, remove it here.
30931
30932         * po/POTFILES: Remove gstspider.c.
30933
30934         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30935
30936         * docs/libs/gstreamer-libs-docs.sgml: 
30937         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
30938         bytestream.
30939
30940         * tests/complexity.c (main): Set the length of the preroll queue
30941         on the sinks to prevent a lockup.
30942
30943         * libs/gst/dataprotocol/Makefile.am: 
30944         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
30945         the same as the one in check/gst-libs/gdp.c.
30946
30947         * po/, docs/gst/: Commit automatic changes to docs and po files.
30948
30949         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
30950         the versioned libgstbase.
30951
30952         * check/Makefile.am: Depend on an unversioned gst-register, seems
30953         to make autoconf happier.
30954
30955         * gst/base/Makefile.am: Make libgstbase a versioned lib.
30956
30957 2005-03-28  Wim Taymans  <wim@fluendo.com>
30958
30959         * configure.ac:
30960         * docs/design/part-gstelement.txt:
30961         * docs/design/part-negotiation.txt:
30962         * docs/design/part-preroll.txt:
30963         * docs/design/part-scheduling.txt:
30964         * docs/design/part-states.txt:
30965         * gst/Makefile.am:
30966         * gst/base/Makefile.am:
30967         * gst/base/README:
30968         * gst/base/gstbasesink.c: (gst_basesink_get_template),
30969         (gst_basesink_base_init), (gst_basesink_class_init),
30970         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30971         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30972         (gst_basesink_set_pad_functions),
30973         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
30974         (gst_basesink_set_property), (gst_basesink_get_property),
30975         (gst_base_sink_get_template), (gst_base_sink_get_caps),
30976         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
30977         (gst_basesink_preroll_queue_push),
30978         (gst_basesink_preroll_queue_empty),
30979         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
30980         (gst_basesink_event), (gst_basesink_get_times),
30981         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
30982         (gst_basesink_chain_unlocked), (gst_basesink_chain),
30983         (gst_basesink_loop), (gst_basesink_activate),
30984         (gst_basesink_change_state):
30985         * gst/base/gstbasesink.h:
30986         * gst/elements/Makefile.am:
30987         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
30988         (gst_fakesink_class_init), (gst_fakesink_init),
30989         (gst_fakesink_set_property), (gst_fakesink_get_property),
30990         (gst_fakesink_get_times), (gst_fakesink_event),
30991         (gst_fakesink_preroll), (gst_fakesink_render),
30992         (gst_fakesink_change_state):
30993         * gst/elements/gstfakesink.h:
30994         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30995         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
30996         * gst/gstelement.c: (gst_element_add_pad),
30997         (gst_element_get_state_func), (gst_element_abort_state),
30998         (gst_element_commit_state), (gst_element_lost_state),
30999         (gst_element_set_state), (gst_element_pads_activate):
31000         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31001         * gst/gstpipeline.c: (gst_pipeline_send_event),
31002         (gst_pipeline_change_state):
31003         Added state change code.
31004         Added/updated docs.
31005         Added sink base class, make fakesink extend the base class.
31006         Small cleanups in GstPipeline.
31007
31008 2005-03-26  David Schleef  <ds@schleef.org>
31009
31010         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31011         is broken and should be implemented in a different library.
31012         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31013         * gst/gst.h: remove gstcpu.h
31014         * gst/gstcpu.c: remove
31015         * gst/gstcpu.h: remove
31016         * gst/Makefile.am.future: Remove this file.  It's ancient.
31017
31018 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31019
31020         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31021         (gst_bin_send_event):
31022           Add default event/set_manager handlers. The set_manager handler
31023           takes care that the manager is distributed over kids that were
31024           already in the bin before the manager was set. The event handler
31025           is a utility virtual function that sends the event over all sinks,
31026           so that gst_element_send_event (bin, event); has the expected
31027           behaviour.
31028         * gst/gstpad.c: (gst_pad_event_default):
31029           Re-install default event handling for discontinuities, so that
31030           seeking works without requiring hacks in applications or extra
31031           code in sinks.
31032         * gst/gstpipeline.c: (gst_pipeline_class_init),
31033         (gst_pipeline_send_event):
31034           Half hack, half utility: set a pipeline to PAUSED for seek events,
31035           since that is the only way we can guarantee a/v sync. Means that
31036           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31037           and it "just works".
31038
31039 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31040
31041         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31042           Lock/unlock mismatch.
31043
31044 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31045
31046         * docs/faq/gst-uninstalled:
31047           add gst-plugins-base
31048         * docs/gst/Makefile.am:
31049           don't error out until docs are fixed
31050         * docs/gst/gstreamer.types:
31051           remove thread
31052
31053 2005-03-22  Wim Taymans  <wim@fluendo.com>
31054
31055         * check/Makefile.am:
31056         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31057         * gst/gststructure.c: (gst_structure_set_valist),
31058         (gst_structure_copy_conditional):
31059         Activated more tests.
31060         Added message test.
31061         Added G_TYPE_POINTER to GstStructure.
31062         
31063
31064 2005-03-22  Wim Taymans  <wim@fluendo.com>
31065
31066         * docs/design/part-TODO.txt:
31067         * docs/design/part-events.txt:
31068         * docs/design/part-gstbin.txt:
31069         * docs/design/part-gstbus.txt:
31070         * docs/design/part-gstpipeline.txt:
31071         * docs/design/part-messages.txt:
31072         * gst/gstbus.c:
31073         * gst/gstmessage.c:
31074         Docs updates
31075
31076 2005-03-21  Wim Taymans  <wim@fluendo.com>
31077
31078         * gst/gstbus.c: (gst_bus_post):
31079         Fix copy-and-paste error.
31080
31081 2005-03-21  Wim Taymans  <wim@fluendo.com>
31082
31083         * check/Makefile.am:
31084         * gst/Makefile.am:
31085         * gst/elements/Makefile.am:
31086         * gst/elements/gstelements.c:
31087         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31088         (gst_fakesink_event), (gst_fakesink_chain):
31089         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31090         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31091         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31092         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31093         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31094         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31095         (gst_fakesrc_loop), (gst_fakesrc_activate),
31096         (gst_fakesrc_change_state):
31097         * gst/elements/gstfakesrc.h:
31098         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31099         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31100         (gst_filesrc_open_file), (gst_filesrc_loop),
31101         (gst_filesrc_activate), (gst_filesrc_change_state),
31102         (filesrc_find_peek), (filesrc_find_suggest),
31103         (gst_filesrc_type_find):
31104         * gst/elements/gstidentity.c: (gst_identity_finalize),
31105         (gst_identity_class_init), (gst_identity_init),
31106         (gst_identity_proxy_getcaps), (identity_queue_push),
31107         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31108         (gst_identity_getrange), (gst_identity_chain),
31109         (gst_identity_sink_loop), (gst_identity_src_loop),
31110         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31111         (gst_identity_set_property), (gst_identity_get_property),
31112         (gst_identity_change_state):
31113         * gst/elements/gstidentity.h:
31114         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31115         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31116         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31117         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31118         (gst_tee_sink_activate):
31119         * gst/elements/gsttee.h:
31120         * gst/gst.c: (gst_register_core_elements), (init_post):
31121         * gst/gst.h:
31122         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31123         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31124         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31125         (gst_bin_change_state):
31126         * gst/gstbin.h:
31127         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31128         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31129         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31130         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31131         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31132         (bus_watch_callback), (bus_watch_destroy),
31133         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31134         (poll_timeout), (gst_bus_poll):
31135         * gst/gstbus.h:
31136         * gst/gstcaps.h:
31137         * gst/gstdata.h:
31138         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31139         (gst_element_post_message), (gst_element_message_full),
31140         (gst_element_get_state_func), (gst_element_get_state),
31141         (gst_element_abort_state), (gst_element_commit_state),
31142         (gst_element_lost_state), (gst_element_set_state),
31143         (gst_element_pads_activate), (gst_element_change_state),
31144         (gst_element_dispose), (gst_element_set_manager_func),
31145         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31146         (gst_element_set_manager), (gst_element_get_manager),
31147         (gst_element_set_bus), (gst_element_get_bus),
31148         (gst_element_set_scheduler), (gst_element_get_scheduler):
31149         * gst/gstelement.h:
31150         * gst/gstevent.c: (gst_event_new_segment_seek),
31151         (gst_event_new_flush):
31152         * gst/gstevent.h:
31153         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31154         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31155         (gst_message_new_eos), (gst_message_new_error),
31156         (gst_message_new_warning), (gst_message_new_tag),
31157         (gst_message_new_state_changed), (gst_message_new_application),
31158         (gst_message_get_structure), (gst_message_parse_tag),
31159         (gst_message_parse_state_changed), (gst_message_parse_error),
31160         (gst_message_parse_warning):
31161         * gst/gstmessage.h:
31162         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31163         (gst_real_pad_set_property), (gst_pad_set_active),
31164         (gst_pad_is_active), (gst_pad_set_blocked_async),
31165         (gst_pad_set_blocked), (gst_pad_is_blocked),
31166         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31167         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31168         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31169         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31170         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31171         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31172         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31173         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31174         (gst_pad_set_caps), (gst_pad_configure_sink),
31175         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31176         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31177         (gst_real_pad_dispose), (gst_real_pad_finalize),
31178         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31179         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31180         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31181         * gst/gstpad.h:
31182         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31183         (pipeline_bus_handler), (gst_pipeline_change_state),
31184         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31185         * gst/gstpipeline.h:
31186         * gst/gstprobe.h:
31187         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31188         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31189         (gst_queue_link_src), (gst_queue_bufferalloc),
31190         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31191         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31192         (gst_queue_loop), (gst_queue_handle_src_event),
31193         (gst_queue_handle_src_query), (gst_queue_src_activate),
31194         (gst_queue_change_state):
31195         * gst/gstqueue.h:
31196         * gst/gstscheduler.c: (gst_scheduler_init),
31197         (gst_scheduler_dispose), (gst_scheduler_create_task),
31198         (gst_scheduler_factory_create):
31199         * gst/gstscheduler.h:
31200         * gst/gststructure.c: (gst_structure_get_type),
31201         (gst_structure_copy_conditional):
31202         * gst/gststructure.h:
31203         * gst/gsttaginterface.h:
31204         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31205         (gst_task_init), (gst_task_dispose), (gst_task_create),
31206         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31207         (gst_task_pause):
31208         * gst/gsttask.h:
31209         * gst/gstthread.c:
31210         * gst/gstthread.h:
31211         * gst/gsttypes.h:
31212         * gst/schedulers/Makefile.am:
31213         * gst/schedulers/cothreads_compat.h:
31214         * gst/schedulers/entryscheduler.c:
31215         * gst/schedulers/faircothreads.c:
31216         * gst/schedulers/faircothreads.h:
31217         * gst/schedulers/fairscheduler.c:
31218         * gst/schedulers/gstbasicscheduler.c:
31219         * gst/schedulers/gstoptimalscheduler.c:
31220         * gst/schedulers/gthread-cothreads.h:
31221         * gst/schedulers/threadscheduler.c:
31222         (gst_thread_scheduler_task_get_type),
31223         (gst_thread_scheduler_task_class_init),
31224         (gst_thread_scheduler_task_init),
31225         (gst_thread_scheduler_task_start),
31226         (gst_thread_scheduler_task_stop),
31227         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31228         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31229         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31230         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31231         (plugin_init):
31232         * libs/gst/Makefile.am:
31233         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31234         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31235         (gst_file_pad_parent_set):
31236         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31237         (gst_dp_event_from_packet):
31238         * tests/complexity.c: (main):
31239         * tests/mass_elements.c: (main):
31240         * testsuite/states/locked.c: (message_received), (main):
31241         * testsuite/states/parent.c: (main):
31242         * tools/gst-inspect.c: (print_element_flag_info),
31243         (print_implementation_info), (print_pad_info):
31244         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31245         (main):
31246         * tools/gst-md5sum.c: (event_loop), (main):
31247         * tools/gst-typefind.c: (main):
31248         * tools/gst-xmlinspect.c: (print_element_info):
31249         Next big merge.
31250         Added GstBus for mainloop integration.
31251         Added GstMessage for sending notifications on the bus.
31252         Added GstTask as an abstraction for pipeline entry points.
31253         Removed GstThread.
31254         Removed Schedulers.
31255         Simplified GstQueue for multithreaded core.
31256         Made _link threadsafe, removed old capsnego.
31257         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31258         Added pad blocking functions.
31259         Reworked scheduling functions in GstPad to prepare for
31260         scheduling updates soon.
31261         Moved events out of data stream.
31262         Simplified GstEvent types.
31263         Added return values to push/pull.
31264         Removed clocking from GstElement.
31265         Added prototypes for state change function for next merge.
31266         Removed iterate from bins and state change management.
31267         Fixed some elements, disabled others for now.
31268         Fixed -inspect and -launch.
31269         Added check for GstBus.
31270
31271 2005-03-10  Wim Taymans  <wim@fluendo.com>
31272
31273         * docs/design/part-MT-refcounting.txt:
31274         * docs/design/part-clocks.txt:
31275         * docs/design/part-gstelement.txt:
31276         * docs/design/part-gstobject.txt:
31277         * docs/design/part-standards.txt:
31278         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31279         (gst_bin_remove_func), (gst_bin_remove):
31280         * gst/gstbin.h:
31281         * gst/gstbuffer.c:
31282         * gst/gstcaps.h:
31283         * testsuite/clock/clock1.c: (main):
31284         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31285         (main):
31286         * testsuite/dlopen/loadgst.c: (do_test):
31287         * testsuite/refcounting/bin.c: (add_remove_test1),
31288         (add_remove_test2), (main):
31289         * testsuite/refcounting/element.c: (main):
31290         * testsuite/refcounting/element_pad.c: (main):
31291         * testsuite/refcounting/pad.c: (main):
31292         * tools/gst-launch.c: (sigint_handler_sighandler):
31293         * tools/gst-typefind.c: (main):
31294         Doc updates.
31295         Added doc about clock.
31296         removed gst_bin_iterate_recurse_up(), marked methods
31297         for removal.
31298         Fix more testsuites.
31299
31300 2005-03-09  Wim Taymans  <wim@fluendo.com>
31301
31302         * gst/gstpad.c: (gst_pad_get_direction),
31303         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31304         (gst_pad_collect_valist):
31305         * testsuite/bins/interface.c: (main):
31306         * testsuite/caps/audioscale.c: (test_caps):
31307         * testsuite/caps/caps.c: (test1), (test2), (test3):
31308         * testsuite/caps/deserialize.c: (main):
31309         * testsuite/caps/enumcaps.c: (main):
31310         * testsuite/caps/filtercaps.c: (main):
31311         * testsuite/caps/intersect2.c: (main):
31312         * testsuite/caps/random.c: (main):
31313         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31314         * testsuite/caps/sets.c: (check_caps):
31315         * testsuite/caps/simplify.c: (check_caps), (main):
31316         * testsuite/caps/subtract.c: (check_caps):
31317         Fix _pad_get_direction wrt ghostpads.
31318         Fix caps testsuite.
31319
31320 2005-03-09  Wim Taymans  <wim@fluendo.com>
31321
31322         * check/Makefile.am:
31323         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31324         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31325         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31326         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31327         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31328         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31329         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31330         (bin_element_is_sink), (gst_bin_iterate_sinks),
31331         (gst_bin_iterate_all_by_interface):
31332         * gst/gstbin.h:
31333         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31334         (gst_element_change_state), (gst_element_dispose),
31335         (gst_element_finalize), (gst_element_set_loop_function):
31336         * gst/gstelement.h:
31337         * gst/gstiterator.c: (find_custom_fold_func):
31338         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31339         (gst_pad_collectv), (gst_pad_collect_valist),
31340         (gst_pad_template_new):
31341         * gst/gstpipeline.c: (gst_pipeline_class_init),
31342         (gst_pipeline_dispose), (gst_pipeline_set_property),
31343         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31344         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31345         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31346         * gst/gstutils.h:
31347         * gst/schedulers/entryscheduler.c:
31348         * gst/schedulers/gstbasicscheduler.c:
31349         (gst_basic_scheduler_cothreaded_chain),
31350         (gst_basic_scheduler_chain_add_element):
31351         * testsuite/bins/interface.c: (main):
31352         Added GstBin test.
31353         Added GstSystemClock test.
31354         Implemented clock distribution code in GstBin.
31355         Implemented iterate sinks method for future use.
31356         Rearranged gstelement.h
31357         Fix GstIterator comparison bug.
31358         Moved some code to GstPipeline, mostly clocking related.
31359
31360 2005-03-09  Wim Taymans  <wim@fluendo.com>
31361
31362         * configure.ac:
31363         * gst/gst_private.h:
31364         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31365         (gst_bin_remove_func), (gst_bin_remove),
31366         (gst_bin_get_by_name_recurse_up):
31367         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31368         (gst_clock_id_compare_func), (gst_clock_id_wait),
31369         (gst_clock_id_wait_async), (gst_clock_init),
31370         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31371         * gst/gstelement.h:
31372         * gst/gstinfo.c: (_gst_debug_init):
31373         * gst/gstobject.h:
31374         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31375         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31376         * gst/gstpad.h:
31377         Bump version number, we're now 0.9.0
31378         Add future debugging category.
31379         Fix NULL _unref() in _get_by_name_recurse_up
31380         Rearrange gstpad.h.
31381         Update some docs.
31382
31383 2005-03-08  Wim Taymans  <wim@fluendo.com>
31384
31385         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31386         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31387         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31388         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31389         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31390         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31391         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31392         * gst/elements/gstidentity.c: (gst_identity_class_init):
31393         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31394         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31395         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31396         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31397         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31398         (gst_tee_link):
31399         * gst/gstelement.c: (gst_element_class_init),
31400         (gst_element_base_class_init), (gst_element_init),
31401         (gst_element_get_random_pad), (gst_element_wait_state_change),
31402         (gst_element_change_state), (gst_element_dispose),
31403         (gst_element_finalize), (gst_element_set_loop_function):
31404         * gst/gstelement.h:
31405         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31406         * gst/gstthread.c: (gst_thread_class_init),
31407         (gst_thread_release_children_locks), (gst_thread_change_state):
31408         * gst/schedulers/gstbasicscheduler.c:
31409         (gst_basic_scheduler_loopfunc_wrapper),
31410         (gst_basic_scheduler_chain_wrapper),
31411         (gst_basic_scheduler_src_wrapper),
31412         (gst_basic_scheduler_remove_element):
31413         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31414         Remove threadsafe properties. Fix elements because GObject
31415         complains when installing a property before declaring a
31416         set/get_property handler.
31417         Rearrange gstelement.h file, use STATE macros for state locks.
31418         Free mutexes in the finalize method instead of dispose.
31419
31420 2005-03-08  Wim Taymans  <wim@fluendo.com>
31421
31422         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31423         * gst/gstthread.c: (gst_thread_release_children_locks):
31424         Added parentage check.
31425         Fix build og GstThread again.
31426
31427 2005-03-08  Wim Taymans  <wim@fluendo.com>
31428
31429         * docs/design/part-MT-refcounting.txt:
31430         * docs/design/part-conventions.txt:
31431         * docs/design/part-gstobject.txt:
31432         * docs/design/part-relations.txt:
31433         * docs/design/part-standards.txt:
31434         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31435         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31436         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31437         (gst_bin_iterate_all_by_interface):
31438         * gst/gstbuffer.h:
31439         * gst/gstclock.h:
31440         * gst/gstelement.c: (gst_element_class_init),
31441         (gst_element_change_state), (gst_element_set_loop_function):
31442         * gst/gstelement.h:
31443         * gst/gstiterator.c:
31444         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31445         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31446         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31447         (gst_object_set_parent), (gst_object_unparent),
31448         (gst_object_check_uniqueness):
31449         * gst/gstobject.h:
31450         Docs updates, clean up some headers.
31451
31452 2005-03-07  Wim Taymans  <wim@fluendo.com>
31453
31454         * check/.cvsignore:
31455         * check/Makefile.am:
31456         * check/gst-libs/.cvsignore:
31457         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31458         * check/gst/.cvsignore:
31459         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31460         (START_TEST), (gstbus_suite), (main):
31461         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31462         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31463         (gst_data_suite), (main):
31464         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31465         (add_fold_func), (gstiterator_suite), (main):
31466         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31467         (thread_name_object), (thread_name_object_default),
31468         (gst_object_name_compare), (gst_object_suite), (main):
31469         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31470         (gst_pad_suite), (main):
31471         * check/gstcheck.c: (gst_check_log_message_func),
31472         (gst_check_log_critical_func), (gst_check_init):
31473         * check/gstcheck.h:
31474         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31475         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31476         Added checks.
31477
31478 2005-03-07  Wim Taymans  <wim@fluendo.com>
31479
31480         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31481         (gst_list_iterator_next), (gst_list_iterator_resync),
31482         (gst_list_iterator_free), (gst_iterator_new_list),
31483         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31484         (gst_iterator_free), (gst_iterator_push), (filter_next),
31485         (filter_resync), (filter_uninit), (filter_free),
31486         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31487         (gst_iterator_foreach), (find_custom_fold_func),
31488         (gst_iterator_find_custom):
31489         * gst/gstiterator.h:
31490         Added missing files.
31491
31492 2005-03-07  Wim Taymans  <wim@fluendo.com>
31493
31494         * Makefile.am:
31495         * configure.ac:
31496         * docs/design/part-MT-refcounting.txt:
31497         * docs/design/part-conventions.txt:
31498         * docs/design/part-gstobject.txt:
31499         * docs/design/part-relations.txt:
31500         * examples/mixer/mixer.c: (main):
31501         * examples/thread/thread.c: (eos), (main):
31502         * gst/Makefile.am:
31503         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31504         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31505         (gst_spider_plug_from_srcpad):
31506         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31507         (gst_spider_identity_change_state),
31508         (gst_spider_identity_sink_loop_type_finding):
31509         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31510         * gst/elements/gstidentity.c: (gst_identity_init):
31511         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31512         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31513         * gst/elements/gsttypefindelement.c: (free_entry):
31514         * gst/gst.c:
31515         * gst/gst.h:
31516         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31517         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31518         (gst_bin_set_index), (gst_bin_set_element_sched),
31519         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31520         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31521         (gst_bin_iterate_elements), (iterate_child_recurse),
31522         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31523         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31524         (compare_interface), (gst_bin_get_by_interface),
31525         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31526         * gst/gstbin.h:
31527         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31528         (gst_buffer_default_free), (gst_buffer_default_copy),
31529         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31530         (gst_buffer_create_sub):
31531         * gst/gstbuffer.h:
31532         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31533         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31534         (gst_caps_unref), (gst_static_caps_get),
31535         (gst_caps_remove_and_get_structure), (gst_caps_append),
31536         (gst_caps_append_structure), (gst_caps_remove_structure),
31537         (gst_caps_copy_nth), (gst_caps_set_simple),
31538         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31539         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31540         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31541         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31542         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31543         (gst_caps_structure_figure_out_union),
31544         (gst_caps_switch_structures), (gst_caps_do_simplify),
31545         (gst_caps_replace), (gst_caps_from_string),
31546         (gst_caps_copy_conditional):
31547         * gst/gstcaps.h:
31548         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31549         (_gst_clock_id_free), (gst_clock_id_unref),
31550         (gst_clock_id_compare_func), (gst_clock_id_wait),
31551         (gst_clock_id_wait_async), (gst_clock_class_init),
31552         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31553         (gst_clock_get_time), (gst_clock_set_time_adjust),
31554         (gst_clock_set_property), (gst_clock_get_property):
31555         * gst/gstclock.h:
31556         * gst/gstcompat.h:
31557         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31558         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31559         * gst/gstdata.h:
31560         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31561         (gst_element_requires_clock), (gst_element_provides_clock),
31562         (gst_element_set_clock), (gst_element_clock_wait),
31563         (gst_element_wait), (gst_element_set_time_delay),
31564         (gst_element_is_indexable), (gst_element_add_pad),
31565         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31566         (pad_compare_name), (gst_element_get_static_pad),
31567         (gst_element_request_pad), (gst_element_get_request_pad),
31568         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31569         (gst_element_class_get_pad_template_list),
31570         (gst_element_class_get_pad_template), (gst_element_error_func),
31571         (gst_element_get_random_pad), (gst_element_get_event_masks),
31572         (gst_element_send_event), (gst_element_seek),
31573         (gst_element_get_query_types), (gst_element_query),
31574         (gst_element_get_formats), (gst_element_convert),
31575         (gst_element_is_locked_state), (gst_element_set_locked_state),
31576         (gst_element_sync_state_with_parent), (gst_element_change_state),
31577         (gst_element_finalize), (gst_element_yield),
31578         (gst_element_interrupt), (gst_element_set_scheduler),
31579         (gst_element_get_scheduler), (gst_element_set_loop_function):
31580         * gst/gstelement.h:
31581         * gst/gstevent.h:
31582         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31583         (gst_format_get_by_nick), (gst_format_get_details),
31584         (gst_format_iterate_definitions):
31585         * gst/gstformat.h:
31586         * gst/gstindex.c: (gst_index_gtype_resolver):
31587         * gst/gstinfo.c:
31588         * gst/gstinfo.h:
31589         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31590         (gst_mem_chunk_free):
31591         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31592         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31593         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31594         (gst_object_dispatch_properties_changed),
31595         (gst_object_set_name_default), (gst_object_set_name),
31596         (gst_object_get_name), (gst_object_set_name_prefix),
31597         (gst_object_get_name_prefix), (gst_object_set_parent),
31598         (gst_object_get_parent), (gst_object_unparent),
31599         (gst_object_check_uniqueness), (gst_object_save_thyself),
31600         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31601         (gst_object_set_property), (gst_object_get_property),
31602         (gst_object_get_path_string):
31603         * gst/gstobject.h:
31604         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31605         (gst_real_pad_init), (gst_real_pad_get_property),
31606         (gst_pad_custom_new), (gst_pad_get_direction),
31607         (gst_pad_set_active), (gst_pad_is_active),
31608         (gst_pad_set_event_function), (gst_pad_is_linked),
31609         (gst_pad_link_free), (gst_pad_link_intersect),
31610         (gst_pad_link_fixate), (gst_pad_set_caps),
31611         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31612         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31613         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31614         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31615         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31616         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31617         (gst_pad_realize), (gst_pad_get_allowed_caps),
31618         (gst_real_pad_dispose), (gst_real_pad_finalize),
31619         (gst_pad_collectv), (gst_pad_collect_valist),
31620         (gst_pad_template_dispose), (gst_pad_template_new),
31621         (gst_pad_get_internal_links):
31622         * gst/gstpad.h:
31623         * gst/gstpipeline.c: (gst_pipeline_dispose),
31624         (gst_pipeline_change_state):
31625         * gst/gstpipeline.h:
31626         * gst/gstplugin.c:
31627         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31628         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31629         * gst/gstpluginfeature.h:
31630         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31631         * gst/gstquery.c: (_gst_query_type_initialize),
31632         (gst_query_type_register), (gst_query_type_get_by_nick),
31633         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31634         * gst/gstquery.h:
31635         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31636         * gst/gstscheduler.c: (gst_scheduler_add_element),
31637         (gst_scheduler_factory_create):
31638         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31639         (gst_structure_free), (gst_structure_set_name),
31640         (gst_structure_id_set_value), (gst_structure_set_value),
31641         (gst_structure_set_valist), (gst_structure_remove_field),
31642         (gst_structure_remove_fields),
31643         (gst_structure_remove_fields_valist),
31644         (gst_structure_remove_all_fields), (gst_structure_foreach),
31645         (gst_structure_map_in_place),
31646         (gst_caps_structure_fixate_field_nearest_int),
31647         (gst_caps_structure_fixate_field_nearest_double):
31648         * gst/gststructure.h:
31649         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31650         (gst_system_clock_init), (gst_system_clock_dispose),
31651         (gst_system_clock_async_thread),
31652         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31653         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31654         * gst/gstsystemclock.h:
31655         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31656         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31657         * gst/gsttaginterface.c:
31658         * gst/gstthread.c: (gst_thread_dispose),
31659         (gst_thread_release_children_locks), (gst_thread_change_state),
31660         (gst_thread_main_loop):
31661         * gst/gsttrashstack.h:
31662         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31663         * gst/gsttypes.h:
31664         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31665         (gst_element_request_pad), (gst_element_get_pad_from_template),
31666         (gst_element_request_compatible_pad),
31667         (gst_element_get_compatible_pad_filtered),
31668         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31669         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31670         (gst_element_link_many), (gst_element_link),
31671         (gst_element_link_pads), (gst_element_unlink_pads),
31672         (gst_element_unlink_many), (gst_element_unlink),
31673         (gst_pad_can_link_filtered), (gst_pad_can_link),
31674         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31675         (gst_object_default_error), (gst_bin_add_many),
31676         (gst_bin_remove_many), (gst_element_populate_std_props),
31677         (gst_element_class_install_std_props), (gst_buffer_merge),
31678         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31679         (link_fold_func), (gst_pad_proxy_setcaps):
31680         * gst/gstutils.h:
31681         * gst/gstvalue.c: (gst_value_deserialize_string):
31682         * gst/parse/grammar.y:
31683         * gst/schedulers/gstbasicscheduler.c:
31684         (gst_basic_scheduler_cothreaded_chain),
31685         (gst_basic_scheduler_chain_recursive_add),
31686         (gst_basic_scheduler_pad_link):
31687         * gst/schedulers/gstoptimalscheduler.c:
31688         (get_group_schedule_function),
31689         (gst_opt_scheduler_state_transition),
31690         (gst_opt_scheduler_add_element), (element_get_reachables_func):
31691         * libs/gst/bytestream/bytestream.c:
31692         * libs/gst/dataprotocol/dataprotocol.c:
31693         (gst_dp_header_from_buffer):
31694         * po/nb.po:
31695         * po/ru.po:
31696         * tests/threadstate/threadstate2.c: (eos):
31697         * tools/gst-compprep.c: (main):
31698         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31699         (print_pad_info), (print_children_info):
31700         * tools/gst-launch.c: (idle_func), (main):
31701         * tools/gst-md5sum.c: (idle_func), (main):
31702         * tools/gst-xmlinspect.c: (print_element_info):
31703         First THREADED backport attempt, focusing on adding locks and
31704         making sure the API is threadsafe. Needs more work. More docs
31705         follow this week.
31706
31707 2005-02-24  Andy Wingo  <wingo@pobox.com>
31708
31709         * tests/bench-complexity.scm:
31710         * tests/complexity.gnuplot: New files, good for running complexity
31711         benchmarks.
31712
31713         * tests/Makefile.am:
31714         * tests/complexity.c: New test, sets up N elements, at each level
31715         teeing into M streams per element. Eeeenteresting.
31716
31717         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31718         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31719         running bench-mass_elements.scm.
31720
31721         * tests/bench-mass_elements.scm: New script, runs mass_elements
31722         for various numbers of identities, outputting the results to a
31723         file. Requires guile 1.6. Just for testing.
31724
31725 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
31726
31727         * gst/schedulers/fairscheduler.c:
31728           compile with debug disabled
31729
31730 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
31731
31732         * configure.ac:
31733           hunting season on 0.9 is now OPEN